Struct rat_widget::list::edit::EditList
source · pub struct EditList<'a, Editor: StatefulWidget + 'a> { /* private fields */ }Expand description
Edit-List widget.
Contains the base list and the edit-widget.
Implementations§
source§impl<'a, Editor> EditList<'a, Editor>where
Editor: StatefulWidget + 'a,
impl<'a, Editor> EditList<'a, Editor>where
Editor: StatefulWidget + 'a,
pub fn new(list: List<'a, RowSelection>, edit: Editor) -> Self
Trait Implementations§
source§impl<'a, Editor> StatefulWidget for EditList<'a, Editor>where
Editor: StatefulWidget + 'a,
impl<'a, Editor> StatefulWidget for EditList<'a, Editor>where
Editor: StatefulWidget + 'a,
source§type State = EditListState<<Editor as StatefulWidget>::State>
type State = EditListState<<Editor as StatefulWidget>::State>
State associated with the stateful widget. Read more
Auto Trait Implementations§
impl<'a, Editor> Freeze for EditList<'a, Editor>where
Editor: Freeze,
impl<'a, Editor> RefUnwindSafe for EditList<'a, Editor>where
Editor: RefUnwindSafe,
impl<'a, Editor> Send for EditList<'a, Editor>where
Editor: Send,
impl<'a, Editor> Sync for EditList<'a, Editor>where
Editor: Sync,
impl<'a, Editor> Unpin for EditList<'a, Editor>where
Editor: Unpin,
impl<'a, Editor> UnwindSafe for EditList<'a, Editor>where
Editor: 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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more