Enum cacao::listview::RowActionStyle
source · [−]pub enum RowActionStyle {
Regular,
Destructive,
}
Expand description
Represents the “type” or “style” of row action. A Regular
action is
nothing special; do whatever you want. A Destructive
action will have
a special animation when being deleted, among any other system specialties.
Variants
Regular
The stock, standard, regular action.
Destructive
Use this to denote that an action is destructive.
Trait Implementations
sourceimpl Debug for RowActionStyle
impl Debug for RowActionStyle
sourceimpl Default for RowActionStyle
impl Default for RowActionStyle
sourceimpl From<RowActionStyle> for NSUInteger
impl From<RowActionStyle> for NSUInteger
sourcefn from(style: RowActionStyle) -> Self
fn from(style: RowActionStyle) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for RowActionStyle
impl Send for RowActionStyle
impl Sync for RowActionStyle
impl Unpin for RowActionStyle
impl UnwindSafe for RowActionStyle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more