pub struct DockNode(/* private fields */);Implementations§
Source§impl DockNode
impl DockNode
Sourcepub fn get(&self) -> &ImGuiDockNode
pub fn get(&self) -> &ImGuiDockNode
Gets a reference to the native wrapper struct.
Source§impl DockNode
impl DockNode
Sourcepub fn cast(r: &ImGuiDockNode) -> &DockNode
pub fn cast(r: &ImGuiDockNode) -> &DockNode
Converts a native reference into a wrapper reference.
Sourcepub fn cast_mut(r: &mut ImGuiDockNode) -> &mut DockNode
pub fn cast_mut(r: &mut ImGuiDockNode) -> &mut DockNode
Converts a native reference into a wrapper reference.
It is safe because if you have a reference to the native reference, you already can change anything.
Source§impl DockNode
impl DockNode
pub fn local_flags(&self) -> DockNodeFlags
pub fn set_local_flags(&mut self, flags: DockNodeFlags)
Methods from Deref<Target = ImGuiDockNode>§
pub fn AuthorityForPos(&self) -> i32
pub fn AuthorityForSize(&self) -> i32
pub fn AuthorityForViewport(&self) -> i32
pub fn IsVisible(&self) -> bool
pub fn IsFocused(&self) -> bool
pub fn IsBgDrawnThisFrame(&self) -> bool
pub fn HasCloseButton(&self) -> bool
pub fn HasWindowMenuButton(&self) -> bool
pub fn HasCentralNodeChild(&self) -> bool
pub fn WantCloseAll(&self) -> bool
pub fn WantLockSizeOnce(&self) -> bool
pub fn WantMouseMove(&self) -> bool
pub fn WantHiddenTabBarUpdate(&self) -> bool
pub fn WantHiddenTabBarToggle(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DockNode
impl !RefUnwindSafe for DockNode
impl !Send for DockNode
impl !Sync for DockNode
impl Unpin for DockNode
impl !UnwindSafe for DockNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more