imgui::c

Struct ImGuiDockNode

#[repr(C)]
pub struct ImGuiDockNode {
Show 31 fields pub ID: u32, pub SharedFlags: i32, pub LocalFlags: i32, pub LocalFlagsInWindows: i32, pub MergedFlags: i32, pub State: u32, pub ParentNode: *mut ImGuiDockNode, pub ChildNodes: [*mut ImGuiDockNode; 2], pub Windows: ImVector_ImGuiWindowPtr, pub TabBar: *mut ImGuiTabBar, pub Pos: ImVec2, pub Size: ImVec2, pub SizeRef: ImVec2, pub SplitAxis: i32, pub WindowClass: ImGuiWindowClass, pub LastBgColor: u32, pub HostWindow: *mut ImGuiWindow, pub VisibleWindow: *mut ImGuiWindow, pub CentralNode: *mut ImGuiDockNode, pub OnlyNodeWithWindows: *mut ImGuiDockNode, pub CountNodeWithWindows: i32, pub LastFrameAlive: i32, pub LastFrameActive: i32, pub LastFrameFocused: i32, pub LastFocusedNodeId: u32, pub SelectedTabId: u32, pub WantCloseTabId: u32, pub RefViewportId: u32, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3]>, pub __bindgen_padding_0: [u8; 5],
}

Fields§

§ID: u32§SharedFlags: i32§LocalFlags: i32§LocalFlagsInWindows: i32§MergedFlags: i32§State: u32§ParentNode: *mut ImGuiDockNode§ChildNodes: [*mut ImGuiDockNode; 2]§Windows: ImVector_ImGuiWindowPtr§TabBar: *mut ImGuiTabBar§Pos: ImVec2§Size: ImVec2§SizeRef: ImVec2§SplitAxis: i32§WindowClass: ImGuiWindowClass§LastBgColor: u32§HostWindow: *mut ImGuiWindow§VisibleWindow: *mut ImGuiWindow§CentralNode: *mut ImGuiDockNode§OnlyNodeWithWindows: *mut ImGuiDockNode§CountNodeWithWindows: i32§LastFrameAlive: i32§LastFrameActive: i32§LastFrameFocused: i32§LastFocusedNodeId: u32§SelectedTabId: u32§WantCloseTabId: u32§RefViewportId: u32§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 3]>§__bindgen_padding_0: [u8; 5]

Implementations§

§

impl ImGuiDockNode

pub fn AuthorityForPos(&self) -> i32

pub fn set_AuthorityForPos(&mut self, val: i32)

pub fn AuthorityForSize(&self) -> i32

pub fn set_AuthorityForSize(&mut self, val: i32)

pub fn AuthorityForViewport(&self) -> i32

pub fn set_AuthorityForViewport(&mut self, val: i32)

pub fn IsVisible(&self) -> bool

pub fn set_IsVisible(&mut self, val: bool)

pub fn IsFocused(&self) -> bool

pub fn set_IsFocused(&mut self, val: bool)

pub fn IsBgDrawnThisFrame(&self) -> bool

pub fn set_IsBgDrawnThisFrame(&mut self, val: bool)

pub fn HasCloseButton(&self) -> bool

pub fn set_HasCloseButton(&mut self, val: bool)

pub fn HasWindowMenuButton(&self) -> bool

pub fn set_HasWindowMenuButton(&mut self, val: bool)

pub fn HasCentralNodeChild(&self) -> bool

pub fn set_HasCentralNodeChild(&mut self, val: bool)

pub fn WantCloseAll(&self) -> bool

pub fn set_WantCloseAll(&mut self, val: bool)

pub fn WantLockSizeOnce(&self) -> bool

pub fn set_WantLockSizeOnce(&mut self, val: bool)

pub fn WantMouseMove(&self) -> bool

pub fn set_WantMouseMove(&mut self, val: bool)

pub fn WantHiddenTabBarUpdate(&self) -> bool

pub fn set_WantHiddenTabBarUpdate(&mut self, val: bool)

pub fn WantHiddenTabBarToggle(&self) -> bool

pub fn set_WantHiddenTabBarToggle(&mut self, val: bool)

pub fn new_bitfield_1( AuthorityForPos: i32, AuthorityForSize: i32, AuthorityForViewport: i32, IsVisible: bool, IsFocused: bool, IsBgDrawnThisFrame: bool, HasCloseButton: bool, HasWindowMenuButton: bool, HasCentralNodeChild: bool, WantCloseAll: bool, WantLockSizeOnce: bool, WantMouseMove: bool, WantHiddenTabBarUpdate: bool, WantHiddenTabBarToggle: bool, ) -> __BindgenBitfieldUnit<[u8; 3]>

Trait Implementations§

§

impl Clone for ImGuiDockNode

§

fn clone(&self) -> ImGuiDockNode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ImGuiDockNode

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Copy for ImGuiDockNode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.