pub struct ListItem {
pub key: String,
pub size: f32,
pub selected: bool,
}Expand description
List item data for virtualization.
Fields§
§key: StringUnique key for this item
size: f32Item height (or width in horizontal mode)
selected: boolWhether item is selected
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ListItem
impl RefUnwindSafe for ListItem
impl Send for ListItem
impl Sync for ListItem
impl Unpin for ListItem
impl UnwindSafe for ListItem
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