pub struct CommandId(pub Arc<str>);Expand description
Stable command identifier.
Command ids are used to register commands, route input, and bind key chords across the
workspace. They are expected to be stable and human-readable (e.g. "app.quit",
"workspace.toggle_sidebar").
Tuple Fields§
§0: Arc<str>Implementations§
Trait Implementations§
impl Eq for CommandId
impl StructuralPartialEq for CommandId
Auto Trait Implementations§
impl Freeze for CommandId
impl RefUnwindSafe for CommandId
impl Send for CommandId
impl Sync for CommandId
impl Unpin for CommandId
impl UnsafeUnpin for CommandId
impl UnwindSafe for CommandId
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