pub struct ScrollDebugInfo {
pub items_above: usize,
pub items_below: usize,
pub trigger_threshold: usize,
pub first_visible_index: usize,
pub last_visible_index: usize,
pub update_count: u32,
pub update_pending: bool,
}Expand description
Debug info about scroll position and buffer state
Fields§
§items_above: usizeItems above the visible area (buffer before)
items_below: usizeItems below the visible area (buffer after)
trigger_threshold: usizeThreshold that triggers pagination (screen_items)
first_visible_index: usizeIndex of first visible item
last_visible_index: usizeIndex of last visible item
update_count: u32Number of pagination updates initiated
update_pending: boolWhether a pagination update is currently pending
Trait Implementations§
Source§impl Clone for ScrollDebugInfo
impl Clone for ScrollDebugInfo
Source§fn clone(&self) -> ScrollDebugInfo
fn clone(&self) -> ScrollDebugInfo
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 ScrollDebugInfo
impl Debug for ScrollDebugInfo
Source§impl Default for ScrollDebugInfo
impl Default for ScrollDebugInfo
Source§fn default() -> ScrollDebugInfo
fn default() -> ScrollDebugInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScrollDebugInfo
impl RefUnwindSafe for ScrollDebugInfo
impl Send for ScrollDebugInfo
impl Sync for ScrollDebugInfo
impl Unpin for ScrollDebugInfo
impl UnwindSafe for ScrollDebugInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.