Enum leetcode_tui_rs::app_ui::app::Widget
source · pub enum Widget<'a> {
QuestionList(&'a mut StatefulList<QuestionModel>),
TopicTagList(&'a mut StatefulList<TopicTagModel>),
}
Variants§
QuestionList(&'a mut StatefulList<QuestionModel>)
TopicTagList(&'a mut StatefulList<TopicTagModel>)
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Widget<'a>
impl<'a> Send for Widget<'a>
impl<'a> Sync for Widget<'a>
impl<'a> Unpin for Widget<'a>
impl<'a> !UnwindSafe for Widget<'a>
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