pub struct PaletteCommand {
pub label: String,
pub description: String,
pub shortcut: Option<String>,
}Expand description
A single command entry in the palette.
Fields§
§label: String§description: String§shortcut: Option<String>Implementations§
Auto Trait Implementations§
impl Freeze for PaletteCommand
impl RefUnwindSafe for PaletteCommand
impl Send for PaletteCommand
impl Sync for PaletteCommand
impl Unpin for PaletteCommand
impl UnsafeUnpin for PaletteCommand
impl UnwindSafe for PaletteCommand
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