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
Source§fn clone(&self) -> ViewSmoothScrollState
fn clone(&self) -> ViewSmoothScrollState
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 ViewSmoothScrollState
impl Debug for ViewSmoothScrollState
Source§impl PartialEq for ViewSmoothScrollState
impl PartialEq for ViewSmoothScrollState
impl Copy for ViewSmoothScrollState
impl Eq for ViewSmoothScrollState
impl StructuralPartialEq for ViewSmoothScrollState
Auto Trait Implementations§
impl Freeze 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