#[non_exhaustive]pub enum DockOp {
Insert {
panel: PanelId,
target: PanelId,
drop: DockDrop,
frac: f32,
moving: bool,
},
Float {
panel: PanelId,
x: f32,
y: f32,
w: f32,
h: f32,
},
DockFloating {
panel: PanelId,
target: PanelId,
drop: DockDrop,
frac: f32,
},
Close {
panel: PanelId,
},
SetFrac {
panel: PanelId,
frac: f32,
},
Activate {
panel: PanelId,
},
MoveTab {
panel: PanelId,
to: usize,
},
}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.
Trait Implementations§
impl StructuralPartialEq for DockOp
Auto Trait Implementations§
impl Freeze for DockOp
impl RefUnwindSafe for DockOp
impl Send for DockOp
impl Sync for DockOp
impl Unpin for DockOp
impl UnsafeUnpin for DockOp
impl UnwindSafe for DockOp
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