pub enum DrawerAlignment {
Start,
End,
}Expand description
The possible alignments of a Drawer.
Variants§
Start
Denotes that the Drawer is at the start side of the Scaffold.
This corresponds to the left side when the text direction is left-to-right and the right side when the text direction is right-to-left.
End
Denotes that the Drawer is at the end side of the Scaffold.
This corresponds to the right side when the text direction is left-to-right and the left side when the text direction is right-to-left.
Trait Implementations§
Source§impl Clone for DrawerAlignment
impl Clone for DrawerAlignment
impl Copy for DrawerAlignment
Source§impl Debug for DrawerAlignment
impl Debug for DrawerAlignment
impl Eq for DrawerAlignment
Source§impl PartialEq for DrawerAlignment
impl PartialEq for DrawerAlignment
impl StructuralPartialEq for DrawerAlignment
Auto Trait Implementations§
impl Forget for DrawerAlignment
impl Freeze for DrawerAlignment
impl Move for DrawerAlignment
impl RefUnwindSafe for DrawerAlignment
impl Send for DrawerAlignment
impl Sync for DrawerAlignment
impl Unpin for DrawerAlignment
impl UnsafeUnpin for DrawerAlignment
impl UnwindSafe for DrawerAlignment
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.