pub enum WindowClassParentViewport {
Default,
NoParent,
Parent(Id),
}Expand description
Parent viewport policy for a docking window class.
Variants§
Default
Use Dear ImGui’s default parent viewport behavior.
NoParent
Request the platform backend to avoid parent-child platform windows.
Parent(Id)
Request a specific parent viewport.
Trait Implementations§
Source§impl Clone for WindowClassParentViewport
impl Clone for WindowClassParentViewport
Source§fn clone(&self) -> WindowClassParentViewport
fn clone(&self) -> WindowClassParentViewport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowClassParentViewport
impl Debug for WindowClassParentViewport
Source§impl Default for WindowClassParentViewport
impl Default for WindowClassParentViewport
Source§impl Hash for WindowClassParentViewport
impl Hash for WindowClassParentViewport
Source§impl PartialEq for WindowClassParentViewport
impl PartialEq for WindowClassParentViewport
Source§fn eq(&self, other: &WindowClassParentViewport) -> bool
fn eq(&self, other: &WindowClassParentViewport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WindowClassParentViewport
impl Eq for WindowClassParentViewport
impl StructuralPartialEq for WindowClassParentViewport
Auto Trait Implementations§
impl Freeze for WindowClassParentViewport
impl RefUnwindSafe for WindowClassParentViewport
impl Send for WindowClassParentViewport
impl Sync for WindowClassParentViewport
impl Unpin for WindowClassParentViewport
impl UnsafeUnpin for WindowClassParentViewport
impl UnwindSafe for WindowClassParentViewport
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