pub struct DetentSnap { /* private fields */ }Expand description
Zero-allocation inline snap detents ([f32; 8] + len: u8) for bottom sheets, drawers, and
irregular card carousels.
Implementations§
Trait Implementations§
Source§impl Clone for DetentSnap
impl Clone for DetentSnap
impl Copy for DetentSnap
Source§impl Debug for DetentSnap
impl Debug for DetentSnap
Source§impl Default for DetentSnap
impl Default for DetentSnap
Source§impl PartialEq for DetentSnap
impl PartialEq for DetentSnap
Source§impl SnapPhysics for DetentSnap
impl SnapPhysics for DetentSnap
impl StructuralPartialEq for DetentSnap
Auto Trait Implementations§
impl Forget for DetentSnap
impl Freeze for DetentSnap
impl Move for DetentSnap
impl RefUnwindSafe for DetentSnap
impl Send for DetentSnap
impl Sync for DetentSnap
impl Unpin for DetentSnap
impl UnsafeUnpin for DetentSnap
impl UnwindSafe for DetentSnap
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