pub enum Dock {
Top,
Bottom,
Left,
Right,
}Expand description
Dock position for anchoring a widget to an edge.
Variants§
Top
Dock to the top edge.
Bottom
Dock to the bottom edge.
Left
Dock to the left edge.
Right
Dock to the right edge.
Trait Implementations§
impl Copy for Dock
impl Eq for Dock
impl StructuralPartialEq for Dock
Auto Trait Implementations§
impl Freeze for Dock
impl RefUnwindSafe for Dock
impl Send for Dock
impl Sync for Dock
impl Unpin for Dock
impl UnwindSafe for Dock
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