#[non_exhaustive]pub enum DockAt {
First,
With(WidgetId),
Beside(WidgetId, DockSide),
}Expand description
Where DockArea::add_panel puts a panel.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
First
As another tab of the first group (a new group if the dock is empty).
With(WidgetId)
As another tab of panel’s group.
Beside(WidgetId, DockSide)
In a new group on side of panel’s group, taking half its space.
Trait Implementations§
impl Copy for DockAt
impl Eq for DockAt
impl StructuralPartialEq for DockAt
Auto Trait Implementations§
impl Freeze for DockAt
impl RefUnwindSafe for DockAt
impl Send for DockAt
impl Sync for DockAt
impl Unpin for DockAt
impl UnsafeUnpin for DockAt
impl UnwindSafe for DockAt
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