pub struct PersistedScrollOffset {
pub x: f32,
pub y: f32,
}Fields§
§x: f32§y: f32Trait Implementations§
Source§impl Clone for PersistedScrollOffset
impl Clone for PersistedScrollOffset
Source§fn clone(&self) -> PersistedScrollOffset
fn clone(&self) -> PersistedScrollOffset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PersistedScrollOffset
Source§impl Debug for PersistedScrollOffset
impl Debug for PersistedScrollOffset
Source§impl PartialEq for PersistedScrollOffset
impl PartialEq for PersistedScrollOffset
impl StructuralPartialEq for PersistedScrollOffset
Auto Trait Implementations§
impl Freeze for PersistedScrollOffset
impl RefUnwindSafe for PersistedScrollOffset
impl Send for PersistedScrollOffset
impl Sync for PersistedScrollOffset
impl Unpin for PersistedScrollOffset
impl UnsafeUnpin for PersistedScrollOffset
impl UnwindSafe for PersistedScrollOffset
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