pub enum OperationTier {
Big,
Small,
Menu,
}Expand description
How prominently an editor offers an operation within its group, from the few used most to the rarely used: the order the group lists them in.
Variants§
Big
One of the few used most: a big button.
Small
Used often: a small button.
Menu
Used rarely: only in its group’s menu.
Trait Implementations§
Source§impl Clone for OperationTier
impl Clone for OperationTier
Source§fn clone(&self) -> OperationTier
fn clone(&self) -> OperationTier
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 OperationTier
Source§impl Debug for OperationTier
impl Debug for OperationTier
impl Eq for OperationTier
Source§impl Hash for OperationTier
impl Hash for OperationTier
Source§impl Ord for OperationTier
impl Ord for OperationTier
Source§fn cmp(&self, other: &OperationTier) -> Ordering
fn cmp(&self, other: &OperationTier) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OperationTier
impl PartialEq for OperationTier
Source§impl PartialOrd for OperationTier
impl PartialOrd for OperationTier
Source§impl Serialize for OperationTier
impl Serialize for OperationTier
impl StructuralPartialEq for OperationTier
Auto Trait Implementations§
impl Freeze for OperationTier
impl RefUnwindSafe for OperationTier
impl Send for OperationTier
impl Sync for OperationTier
impl Unpin for OperationTier
impl UnsafeUnpin for OperationTier
impl UnwindSafe for OperationTier
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