pub enum ScrollLocation {
Delta(LayoutVector2D),
Start,
End,
}
Expand description
Variants§
Delta(LayoutVector2D)
Scroll by a certain amount.
Start
Scroll to very top of element.
End
Scroll to very bottom of element.
Trait Implementations§
Source§impl Clone for ScrollLocation
impl Clone for ScrollLocation
Source§fn clone(&self) -> ScrollLocation
fn clone(&self) -> ScrollLocation
Returns a copy 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 ScrollLocation
impl Debug for ScrollLocation
impl Copy for ScrollLocation
Auto Trait Implementations§
impl Freeze for ScrollLocation
impl RefUnwindSafe for ScrollLocation
impl Send for ScrollLocation
impl Sync for ScrollLocation
impl Unpin for ScrollLocation
impl UnwindSafe for ScrollLocation
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