pub enum DrawerSnapPoint {
Closed,
Partial(f32),
Full,
}Expand description
Drawer snap points for partial open states
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DrawerSnapPoint
impl Clone for DrawerSnapPoint
Source§fn clone(&self) -> DrawerSnapPoint
fn clone(&self) -> DrawerSnapPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DrawerSnapPoint
impl Debug for DrawerSnapPoint
Source§impl PartialEq for DrawerSnapPoint
impl PartialEq for DrawerSnapPoint
impl Copy for DrawerSnapPoint
impl StructuralPartialEq for DrawerSnapPoint
Auto Trait Implementations§
impl Freeze for DrawerSnapPoint
impl RefUnwindSafe for DrawerSnapPoint
impl Send for DrawerSnapPoint
impl Sync for DrawerSnapPoint
impl Unpin for DrawerSnapPoint
impl UnsafeUnpin for DrawerSnapPoint
impl UnwindSafe for DrawerSnapPoint
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