pub struct List {
pub x: usize,
pub y: usize,
pub width: usize,
pub height: usize,
pub items: [ListItem; 10],
pub item_count: usize,
pub selected_index: usize,
pub scroll_offset: usize,
}Fields§
§x: usize§y: usize§width: usize§height: usize§items: [ListItem; 10]§item_count: usize§selected_index: usize§scroll_offset: usizeImplementations§
Auto Trait Implementations§
impl Freeze for List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
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