#[repr(C)]pub enum ScrollSnap {
None = 0,
Start = 1,
End = 2,
Center = 3,
}Variants§
Trait Implementations§
Source§impl Clone for ScrollSnap
impl Clone for ScrollSnap
Source§fn clone(&self) -> ScrollSnap
fn clone(&self) -> ScrollSnap
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 ScrollSnap
impl Debug for ScrollSnap
Source§impl PartialEq for ScrollSnap
impl PartialEq for ScrollSnap
impl Copy for ScrollSnap
impl Eq for ScrollSnap
impl StructuralPartialEq for ScrollSnap
Auto Trait Implementations§
impl Freeze for ScrollSnap
impl RefUnwindSafe for ScrollSnap
impl Send for ScrollSnap
impl Sync for ScrollSnap
impl Unpin for ScrollSnap
impl UnwindSafe for ScrollSnap
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