pub enum LeafPosition {
Left,
Middle,
Right,
Bottom,
Top,
NotDefined,
}Expand description
Where a leaf sits in its door, as the source states it.
Variants§
Left
At the low end of the door’s width.
Middle
In the middle.
Right
At the high end of the door’s width.
Bottom
At the bottom of a window.
Top
At the top of a window.
NotDefined
Not stated.
Trait Implementations§
Source§impl Clone for LeafPosition
impl Clone for LeafPosition
impl Copy for LeafPosition
Source§impl Debug for LeafPosition
impl Debug for LeafPosition
impl Eq for LeafPosition
Source§impl Hash for LeafPosition
impl Hash for LeafPosition
Source§impl Ord for LeafPosition
impl Ord for LeafPosition
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 LeafPosition
impl PartialEq for LeafPosition
Source§impl PartialOrd for LeafPosition
impl PartialOrd for LeafPosition
impl StructuralPartialEq for LeafPosition
Auto Trait Implementations§
impl Freeze for LeafPosition
impl RefUnwindSafe for LeafPosition
impl Send for LeafPosition
impl Sync for LeafPosition
impl Unpin for LeafPosition
impl UnsafeUnpin for LeafPosition
impl UnwindSafe for LeafPosition
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