#[repr(C)]pub enum TransientDock {
Popup = 0,
Inline = 1,
}Expand description
Where a transient window lives while it is NOT torn off.
Variants§
Popup = 0
A popup window anchored to an edge of its parent (or of the drop zone it was dropped on). The default: menus, pickers, tooltips.
Inline = 1
Laid out INLINE as ordinary content of its parent - or of the drop
zone it was dropped on, where it then scrolls, clips and reflows
with that zone’s layout. The Visual-Studio tool-window model: drag
the grip out to float it (tearoff), drop it on another zone to move
it there, and the app’s DOM never changes - the engine re-parents
the subtree in the layout tree.
Implementations§
Trait Implementations§
Source§impl Clone for TransientDock
impl Clone for TransientDock
Source§fn clone(&self) -> TransientDock
fn clone(&self) -> TransientDock
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 moreimpl Copy for TransientDock
Source§impl Debug for TransientDock
impl Debug for TransientDock
Source§impl Default for TransientDock
impl Default for TransientDock
Source§fn default() -> TransientDock
fn default() -> TransientDock
Returns the “default value” for a type. Read more
impl Eq for TransientDock
Source§impl Hash for TransientDock
impl Hash for TransientDock
Source§impl Ord for TransientDock
impl Ord for TransientDock
Source§fn cmp(&self, other: &TransientDock) -> Ordering
fn cmp(&self, other: &TransientDock) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TransientDock
impl PartialEq for TransientDock
Source§impl PartialOrd for TransientDock
impl PartialOrd for TransientDock
impl StructuralPartialEq for TransientDock
Auto Trait Implementations§
impl Freeze for TransientDock
impl RefUnwindSafe for TransientDock
impl Send for TransientDock
impl Sync for TransientDock
impl Unpin for TransientDock
impl UnsafeUnpin for TransientDock
impl UnwindSafe for TransientDock
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