pub struct ScrollState {
pub scroll_handle: ScrollHandle,
/* private fields */
}Expand description
Cross-frame element-local state for scroll containers.
Fields§
§scroll_handle: ScrollHandleTrait Implementations§
Source§impl Clone for ScrollState
impl Clone for ScrollState
Source§fn clone(&self) -> ScrollState
fn clone(&self) -> ScrollState
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 ScrollState
impl Debug for ScrollState
Source§impl Default for ScrollState
impl Default for ScrollState
Source§fn default() -> ScrollState
fn default() -> ScrollState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScrollState
impl !RefUnwindSafe for ScrollState
impl !Send for ScrollState
impl !Sync for ScrollState
impl Unpin for ScrollState
impl UnsafeUnpin for ScrollState
impl !UnwindSafe for ScrollState
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