Enum webrender_api::ScrollLocation
source · 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