pub struct ViewSmoothScrollState {
pub top_visual_row: usize,
pub sub_row_offset: u16,
pub overscan_rows: usize,
}Expand description
Smooth-scrolling state for a view.
Fields§
§top_visual_row: usizeTop visual row anchor.
sub_row_offset: u16Sub-row offset within top_visual_row (0..=65535, normalized).
overscan_rows: usizeOverscan rows for prefetching.
Trait Implementations§
Source§impl Clone for ViewSmoothScrollState
impl Clone for ViewSmoothScrollState
impl Copy for ViewSmoothScrollState
Source§impl Debug for ViewSmoothScrollState
impl Debug for ViewSmoothScrollState
impl Eq for ViewSmoothScrollState
Source§impl PartialEq for ViewSmoothScrollState
impl PartialEq for ViewSmoothScrollState
impl StructuralPartialEq for ViewSmoothScrollState
Auto Trait Implementations§
impl Forget for ViewSmoothScrollState
impl Freeze for ViewSmoothScrollState
impl Move for ViewSmoothScrollState
impl RefUnwindSafe for ViewSmoothScrollState
impl Send for ViewSmoothScrollState
impl Sync for ViewSmoothScrollState
impl Unpin for ViewSmoothScrollState
impl UnsafeUnpin for ViewSmoothScrollState
impl UnwindSafe for ViewSmoothScrollState
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