pub enum ActionName {
MoveUp,
MoveDown,
AddRow,
CopyRow,
RemoveRow,
ToggleRow,
SelectRow,
ExpandAll,
CollapseAll,
Undo,
Redo,
}Expand description
The eleven operations that an action button can request (CURT-081).
Variants§
MoveUp
Move the row one position up.
MoveDown
Move the row one position down.
AddRow
Insert a row, after the row key when the button declares one.
CopyRow
Copy the row after itself.
RemoveRow
Remove the row.
ToggleRow
Expand or collapse the row.
SelectRow
Focus the row without changing the form.
ExpandAll
Expand every row.
CollapseAll
Collapse every collapsible row.
Undo
Restore the record before the last change.
Redo
Reapply the most recently undone change.
Implementations§
Trait Implementations§
Source§impl Clone for ActionName
impl Clone for ActionName
Source§fn clone(&self) -> ActionName
fn clone(&self) -> ActionName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ActionName
Source§impl Debug for ActionName
impl Debug for ActionName
impl Eq for ActionName
Source§impl PartialEq for ActionName
impl PartialEq for ActionName
impl StructuralPartialEq for ActionName
Auto Trait Implementations§
impl Freeze for ActionName
impl RefUnwindSafe for ActionName
impl Send for ActionName
impl Sync for ActionName
impl Unpin for ActionName
impl UnsafeUnpin for ActionName
impl UnwindSafe for ActionName
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.