Struct rat_ftable::edit::FEditTable
source · pub struct FEditTable<'a, Editor: EditorWidget + 'a> { /* private fields */ }Expand description
Widget that supports row-wise editing of a table.
It’s parameterized with a Editor widget, that renders
the input line.
Implementations§
source§impl<'a, Editor> FEditTable<'a, Editor>where
Editor: EditorWidget + 'a,
impl<'a, Editor> FEditTable<'a, Editor>where
Editor: EditorWidget + 'a,
pub fn new(table: FTable<'a, RowSelection>, edit: Editor) -> Self
Trait Implementations§
source§impl<'a, Editor: Debug + EditorWidget + 'a> Debug for FEditTable<'a, Editor>
impl<'a, Editor: Debug + EditorWidget + 'a> Debug for FEditTable<'a, Editor>
source§impl<'a, Editor> StatefulWidget for FEditTable<'a, Editor>where
Editor: EditorWidget + 'a,
impl<'a, Editor> StatefulWidget for FEditTable<'a, Editor>where
Editor: EditorWidget + 'a,
§type State = FEditTableState<<Editor as EditorWidget>::State>
type State = FEditTableState<<Editor as EditorWidget>::State>
State associated with the stateful widget. Read more
Auto Trait Implementations§
impl<'a, Editor> !Freeze for FEditTable<'a, Editor>
impl<'a, Editor> !RefUnwindSafe for FEditTable<'a, Editor>
impl<'a, Editor> !Send for FEditTable<'a, Editor>
impl<'a, Editor> !Sync for FEditTable<'a, Editor>
impl<'a, Editor> Unpin for FEditTable<'a, Editor>where
Editor: Unpin,
impl<'a, Editor> !UnwindSafe for FEditTable<'a, Editor>
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