pub enum CommandBarCommand {
Button {
key: Key,
label: String,
icon: Option<Symbol>,
enabled: bool,
},
Separator {
key: Key,
},
}Expand description
A keyed command owned by a command bar or command-bar flyout.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CommandBarCommand
impl Clone for CommandBarCommand
Source§fn clone(&self) -> CommandBarCommand
fn clone(&self) -> CommandBarCommand
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 moreSource§impl Debug for CommandBarCommand
impl Debug for CommandBarCommand
Source§impl PartialEq for CommandBarCommand
impl PartialEq for CommandBarCommand
impl StructuralPartialEq for CommandBarCommand
Auto Trait Implementations§
impl !Send for CommandBarCommand
impl !Sync for CommandBarCommand
impl Freeze for CommandBarCommand
impl RefUnwindSafe for CommandBarCommand
impl Unpin for CommandBarCommand
impl UnsafeUnpin for CommandBarCommand
impl UnwindSafe for CommandBarCommand
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