#[non_exhaustive]pub enum RibbonSize {
Large,
Small,
IconOnly,
}Expand description
How much room a ribbon command takes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Large
A tall button: large icon above a (wrapping) label.
Small
A row with a small icon and a label; three stack in a column.
IconOnly
A small icon only (with a tooltip); three stack in a column.
Trait Implementations§
Source§impl Clone for RibbonSize
impl Clone for RibbonSize
Source§fn clone(&self) -> RibbonSize
fn clone(&self) -> RibbonSize
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 RibbonSize
Source§impl Debug for RibbonSize
impl Debug for RibbonSize
Source§impl Default for RibbonSize
impl Default for RibbonSize
Source§fn default() -> RibbonSize
fn default() -> RibbonSize
Returns the “default value” for a type. Read more
impl Eq for RibbonSize
Source§impl PartialEq for RibbonSize
impl PartialEq for RibbonSize
impl StructuralPartialEq for RibbonSize
Auto Trait Implementations§
impl Freeze for RibbonSize
impl RefUnwindSafe for RibbonSize
impl Send for RibbonSize
impl Sync for RibbonSize
impl Unpin for RibbonSize
impl UnsafeUnpin for RibbonSize
impl UnwindSafe for RibbonSize
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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
impl<T> Brush for T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§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.