pub struct ScrollingState { /* private fields */ }
Expand description
Data needed to record the state of a scrolling animation.
Implementations of Scrollable
should contain one of these and make it
available via state()
and state_mut()
.
Implementations§
Trait Implementations§
Source§impl Clone for ScrollingState
impl Clone for ScrollingState
Source§fn clone(&self) -> ScrollingState
fn clone(&self) -> ScrollingState
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 ScrollingState
impl Debug for ScrollingState
Source§impl Default for ScrollingState
impl Default for ScrollingState
Source§fn default() -> ScrollingState
fn default() -> ScrollingState
Returns the “default value” for a type. Read more
impl Copy for ScrollingState
Auto Trait Implementations§
impl Freeze for ScrollingState
impl RefUnwindSafe for ScrollingState
impl Send for ScrollingState
impl Sync for ScrollingState
impl Unpin for ScrollingState
impl UnwindSafe for ScrollingState
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