Struct leetcode_tui_rs::app_ui::list::StatefulList
source · pub struct StatefulList<T> {
pub state: ListState,
pub items: Vec<T>,
}
Fields§
§state: ListState
§items: Vec<T>
Implementations§
source§impl<T> StatefulList<T>
impl<T> StatefulList<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for StatefulList<T>where T: RefUnwindSafe,
impl<T> Send for StatefulList<T>where T: Send,
impl<T> Sync for StatefulList<T>where T: Sync,
impl<T> Unpin for StatefulList<T>where T: Unpin,
impl<T> UnwindSafe for StatefulList<T>where T: UnwindSafe,
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