Struct leetcode_tui_rs::app_ui::components::list::StatefulList
source · pub struct StatefulList<T> {
pub state: ListState,
pub items: Vec<Rc<T>>,
}
Fields§
§state: ListState
§items: Vec<Rc<T>>
Implementations§
source§impl<T> StatefulList<T>
impl<T> StatefulList<T>
Trait Implementations§
source§impl<T: Clone> Clone for StatefulList<T>
impl<T: Clone> Clone for StatefulList<T>
source§fn clone(&self) -> StatefulList<T>
fn clone(&self) -> StatefulList<T>
Returns a copy 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<T: Debug> Debug for StatefulList<T>
impl<T: Debug> Debug for StatefulList<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for StatefulList<T>where T: RefUnwindSafe,
impl<T> !Send for StatefulList<T>
impl<T> !Sync for StatefulList<T>
impl<T> Unpin for StatefulList<T>
impl<T> UnwindSafe for StatefulList<T>where T: RefUnwindSafe,
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