pub struct CommandInfo {
pub name: &'static str,
pub description: &'static str,
}Expand description
A registered command’s name and description, as returned by
CommandRegistry::list - e.g. for xr command:list to print.
Fields§
§name: &'static str§description: &'static strTrait Implementations§
Source§impl Clone for CommandInfo
impl Clone for CommandInfo
impl Copy for CommandInfo
Source§impl Debug for CommandInfo
impl Debug for CommandInfo
impl Eq for CommandInfo
Source§impl PartialEq for CommandInfo
impl PartialEq for CommandInfo
impl StructuralPartialEq for CommandInfo
Auto Trait Implementations§
impl Forget for CommandInfo
impl Freeze for CommandInfo
impl RefUnwindSafe for CommandInfo
impl Send for CommandInfo
impl Sync for CommandInfo
impl Unpin for CommandInfo
impl UnsafeUnpin for CommandInfo
impl UnwindSafe for CommandInfo
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