Struct rat_ftable::edit::FEditTableState
source · pub struct FEditTableState<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> Debug for FEditTableState<EditorState>
impl<EditorState: Debug> Debug for FEditTableState<EditorState>
source§impl<EditorState: Default> Default for FEditTableState<EditorState>
impl<EditorState: Default> Default for FEditTableState<EditorState>
source§fn default() -> FEditTableState<EditorState>
fn default() -> FEditTableState<EditorState>
Returns the “default value” for a type. Read more
source§impl<EState, EQualifier> HandleEvent<Event, EQualifier, EditOutcome> for FEditTableState<EState>
impl<EState, EQualifier> HandleEvent<Event, EQualifier, EditOutcome> for FEditTableState<EState>
Auto Trait Implementations§
impl<EditorState> !Freeze for FEditTableState<EditorState>
impl<EditorState> !RefUnwindSafe for FEditTableState<EditorState>
impl<EditorState> Send for FEditTableState<EditorState>where
EditorState: Send,
impl<EditorState> !Sync for FEditTableState<EditorState>
impl<EditorState> Unpin for FEditTableState<EditorState>where
EditorState: Unpin,
impl<EditorState> UnwindSafe for FEditTableState<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