Struct rat_widget::table::edit::EditFTableState
source · pub struct EditFTableState<EditorState> {
pub table: FTableState<RowSelection>,
pub edit: Option<EditorState>,
pub mouse: MouseFlags,
}Expand description
Edit state for the table.
If the edit-state is set, this widget switches to edit-mode.
Fields§
§table: FTableState<RowSelection>Backing table.
edit: Option<EditorState>Editor state.
mouse: MouseFlagsTrait Implementations§
source§impl<EditorState> Debug for EditFTableState<EditorState>where
EditorState: Debug,
impl<EditorState> Debug for EditFTableState<EditorState>where
EditorState: Debug,
source§impl<EditorState> Default for EditFTableState<EditorState>where
EditorState: Default,
impl<EditorState> Default for EditFTableState<EditorState>where
EditorState: Default,
source§fn default() -> EditFTableState<EditorState>
fn default() -> EditFTableState<EditorState>
Returns the “default value” for a type. Read more
source§impl<EState, EQualifier> HandleEvent<Event, EQualifier, EditOutcome> for EditFTableState<EState>
impl<EState, EQualifier> HandleEvent<Event, EQualifier, EditOutcome> for EditFTableState<EState>
Auto Trait Implementations§
impl<EditorState> !Freeze for EditFTableState<EditorState>
impl<EditorState> !RefUnwindSafe for EditFTableState<EditorState>
impl<EditorState> Send for EditFTableState<EditorState>where
EditorState: Send,
impl<EditorState> !Sync for EditFTableState<EditorState>
impl<EditorState> Unpin for EditFTableState<EditorState>where
EditorState: Unpin,
impl<EditorState> UnwindSafe for EditFTableState<EditorState>where
EditorState: 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