pub struct VirtualListConfig {
pub estimated_item_height: f32,
pub overscan_count: usize,
pub variable_heights: bool,
pub initial_scroll: f32,
pub load_more_threshold: f32,
}Expand description
Configuration for virtualized list
Fields§
§estimated_item_height: f32Estimated height of each item (used when actual height unknown)
overscan_count: usizeNumber of items to render above/below visible area
variable_heights: boolEnable variable height items
initial_scroll: f32Initial scroll position
load_more_threshold: f32Scroll threshold for triggering load more
Trait Implementations§
Source§impl Clone for VirtualListConfig
impl Clone for VirtualListConfig
Source§fn clone(&self) -> VirtualListConfig
fn clone(&self) -> VirtualListConfig
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 VirtualListConfig
impl Debug for VirtualListConfig
Auto Trait Implementations§
impl Freeze for VirtualListConfig
impl RefUnwindSafe for VirtualListConfig
impl Send for VirtualListConfig
impl Sync for VirtualListConfig
impl Unpin for VirtualListConfig
impl UnwindSafe for VirtualListConfig
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