pub enum ScrollStrategy {
Start,
Center,
End,
Nearest,
}Variants§
Trait Implementations§
Source§impl Clone for ScrollStrategy
impl Clone for ScrollStrategy
Source§fn clone(&self) -> ScrollStrategy
fn clone(&self) -> ScrollStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScrollStrategy
Source§impl Debug for ScrollStrategy
impl Debug for ScrollStrategy
impl Eq for ScrollStrategy
Source§impl PartialEq for ScrollStrategy
impl PartialEq for ScrollStrategy
Source§fn eq(&self, other: &ScrollStrategy) -> bool
fn eq(&self, other: &ScrollStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScrollStrategy
Auto Trait Implementations§
impl Freeze for ScrollStrategy
impl RefUnwindSafe for ScrollStrategy
impl Send for ScrollStrategy
impl Sync for ScrollStrategy
impl Unpin for ScrollStrategy
impl UnsafeUnpin for ScrollStrategy
impl UnwindSafe for ScrollStrategy
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