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