pub struct VirtualGridConfig {
pub columns: usize,
pub cell_width: f32,
pub cell_height: f32,
pub gap: f32,
pub overscan_rows: usize,
}Expand description
Configuration for virtualized grid
Fields§
§columns: usizeNumber of columns
cell_width: f32Cell width
cell_height: f32Cell height
gap: f32Gap between cells
overscan_rows: usizeNumber of rows to render above/below visible area
Trait Implementations§
Source§impl Clone for VirtualGridConfig
impl Clone for VirtualGridConfig
Source§fn clone(&self) -> VirtualGridConfig
fn clone(&self) -> VirtualGridConfig
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 VirtualGridConfig
impl Debug for VirtualGridConfig
Auto Trait Implementations§
impl Freeze for VirtualGridConfig
impl RefUnwindSafe for VirtualGridConfig
impl Send for VirtualGridConfig
impl Sync for VirtualGridConfig
impl Unpin for VirtualGridConfig
impl UnwindSafe for VirtualGridConfig
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