pub struct Scroll {
pub top: usize,
pub total: usize,
pub height: usize,
pub mode: Mode,
}Expand description
Input sources all use the same clamping and follow transition rules.
Fields§
§top: usize§total: usize§height: usize§mode: ModeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scroll
impl RefUnwindSafe for Scroll
impl Send for Scroll
impl Sync for Scroll
impl Unpin for Scroll
impl UnsafeUnpin for Scroll
impl UnwindSafe for Scroll
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