pub enum Mobility {
Floating,
Anchored,
Docked,
}
Expand description
Defines what spatial operations are allowed in the frame.
Variants§
Floating
Frame can be moved and resized.
Anchored
Frame can only be resized.
Docked
Frame cannot be moved nor resized.
Implementations§
Trait Implementations§
impl Copy for Mobility
impl StructuralPartialEq for Mobility
Auto Trait Implementations§
impl Freeze for Mobility
impl RefUnwindSafe for Mobility
impl Send for Mobility
impl Sync for Mobility
impl Unpin for Mobility
impl UnwindSafe for Mobility
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