pub struct LazyListItemInfo {
pub index: usize,
pub key: u64,
pub offset: f32,
pub size: f32,
}Expand description
Information about a single visible item in a lazy list.
Fields§
§index: usizeIndex of the item in the data source.
key: u64Key of the item.
offset: f32Offset of the item from the start of the list content.
size: f32Size of the item in the main axis.
Trait Implementations§
Source§impl Clone for LazyListItemInfo
impl Clone for LazyListItemInfo
Source§fn clone(&self) -> LazyListItemInfo
fn clone(&self) -> LazyListItemInfo
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 moreAuto Trait Implementations§
impl Freeze for LazyListItemInfo
impl RefUnwindSafe for LazyListItemInfo
impl Send for LazyListItemInfo
impl Sync for LazyListItemInfo
impl Unpin for LazyListItemInfo
impl UnwindSafe for LazyListItemInfo
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