ImGuiDockNode

Struct ImGuiDockNode 

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

Fields§

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

Implementations§

Source§

impl ImGuiDockNode

Source

pub fn AuthorityForPos(&self) -> ImGuiDataAuthority

Source

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

Source

pub unsafe fn AuthorityForPos_raw(this: *const Self) -> ImGuiDataAuthority

Source

pub unsafe fn set_AuthorityForPos_raw(this: *mut Self, val: ImGuiDataAuthority)

Source

pub fn AuthorityForSize(&self) -> ImGuiDataAuthority

Source

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

Source

pub unsafe fn AuthorityForSize_raw(this: *const Self) -> ImGuiDataAuthority

Source

pub unsafe fn set_AuthorityForSize_raw(this: *mut Self, val: ImGuiDataAuthority)

Source

pub fn AuthorityForViewport(&self) -> ImGuiDataAuthority

Source

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

Source

pub unsafe fn AuthorityForViewport_raw(this: *const Self) -> ImGuiDataAuthority

Source

pub unsafe fn set_AuthorityForViewport_raw( this: *mut Self, val: ImGuiDataAuthority, )

Source

pub fn IsVisible(&self) -> bool

Source

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

Source

pub unsafe fn IsVisible_raw(this: *const Self) -> bool

Source

pub unsafe fn set_IsVisible_raw(this: *mut Self, val: bool)

Source

pub fn IsFocused(&self) -> bool

Source

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

Source

pub unsafe fn IsFocused_raw(this: *const Self) -> bool

Source

pub unsafe fn set_IsFocused_raw(this: *mut Self, val: bool)

Source

pub fn IsBgDrawnThisFrame(&self) -> bool

Source

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

Source

pub unsafe fn IsBgDrawnThisFrame_raw(this: *const Self) -> bool

Source

pub unsafe fn set_IsBgDrawnThisFrame_raw(this: *mut Self, val: bool)

Source

pub fn HasCloseButton(&self) -> bool

Source

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

Source

pub unsafe fn HasCloseButton_raw(this: *const Self) -> bool

Source

pub unsafe fn set_HasCloseButton_raw(this: *mut Self, val: bool)

Source

pub fn HasWindowMenuButton(&self) -> bool

Source

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

Source

pub unsafe fn HasWindowMenuButton_raw(this: *const Self) -> bool

Source

pub unsafe fn set_HasWindowMenuButton_raw(this: *mut Self, val: bool)

Source

pub fn HasCentralNodeChild(&self) -> bool

Source

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

Source

pub unsafe fn HasCentralNodeChild_raw(this: *const Self) -> bool

Source

pub unsafe fn set_HasCentralNodeChild_raw(this: *mut Self, val: bool)

Source

pub fn WantCloseAll(&self) -> bool

Source

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

Source

pub unsafe fn WantCloseAll_raw(this: *const Self) -> bool

Source

pub unsafe fn set_WantCloseAll_raw(this: *mut Self, val: bool)

Source

pub fn WantLockSizeOnce(&self) -> bool

Source

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

Source

pub unsafe fn WantLockSizeOnce_raw(this: *const Self) -> bool

Source

pub unsafe fn set_WantLockSizeOnce_raw(this: *mut Self, val: bool)

Source

pub fn WantMouseMove(&self) -> bool

Source

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

Source

pub unsafe fn WantMouseMove_raw(this: *const Self) -> bool

Source

pub unsafe fn set_WantMouseMove_raw(this: *mut Self, val: bool)

Source

pub fn WantHiddenTabBarUpdate(&self) -> bool

Source

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

Source

pub unsafe fn WantHiddenTabBarUpdate_raw(this: *const Self) -> bool

Source

pub unsafe fn set_WantHiddenTabBarUpdate_raw(this: *mut Self, val: bool)

Source

pub fn WantHiddenTabBarToggle(&self) -> bool

Source

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

Source

pub unsafe fn WantHiddenTabBarToggle_raw(this: *const Self) -> bool

Source

pub unsafe fn set_WantHiddenTabBarToggle_raw(this: *mut Self, val: bool)

Source

pub fn new_bitfield_1( AuthorityForPos: ImGuiDataAuthority, AuthorityForSize: ImGuiDataAuthority, AuthorityForViewport: ImGuiDataAuthority, 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]>

Source

pub unsafe fn new(id: ImGuiID) -> Self

Source

pub unsafe fn destruct(&mut self)

Trait Implementations§

Source§

impl Debug for ImGuiDockNode

Source§

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

Formats the value using the given formatter. Read more

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> 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, 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.