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_ImGuiWindowPtr, pub TabBar: *mut ImGuiTabBar, pub Pos: ImVec2_c, pub Size: ImVec2_c, pub SizeRef: ImVec2_c, 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_ImGuiWindowPtr§TabBar: *mut ImGuiTabBar§Pos: ImVec2_c§Size: ImVec2_c§SizeRef: ImVec2_c§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]>

Trait Implementations§

Source§

impl Clone for ImGuiDockNode

Source§

fn clone(&self) -> ImGuiDockNode

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for ImGuiDockNode

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for ImGuiDockNode

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for ImGuiDockNode

Source§

fn eq(&self, other: &ImGuiDockNode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for ImGuiDockNode

Source§

impl StructuralPartialEq 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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.