pub struct ScrollNodeState {
pub id: ExternalScrollId,
pub scroll_offset: LayoutVector2D,
}
Expand description
Fields§
§id: ExternalScrollId
§scroll_offset: LayoutVector2D
Trait Implementations§
Source§impl Clone for ScrollNodeState
impl Clone for ScrollNodeState
Source§fn clone(&self) -> ScrollNodeState
fn clone(&self) -> ScrollNodeState
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 moreAuto Trait Implementations§
impl Freeze for ScrollNodeState
impl RefUnwindSafe for ScrollNodeState
impl Send for ScrollNodeState
impl Sync for ScrollNodeState
impl Unpin for ScrollNodeState
impl UnwindSafe for ScrollNodeState
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