pub struct MetaData {
pub completion_hidden: bool,
pub help_text: String,
pub is_special_command: bool,
}Expand description
Command/setting meta-data coming from the attributes.
See EnumMetaData to see the list of supported attributes.
Fields§
Whether this command/setting should be shown in the completion or not.
help_text: StringThe help text associated with this command/setting.
is_special_command: boolWhether this is a special command or not. This is not applicable to settings.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetaData
impl RefUnwindSafe for MetaData
impl Send for MetaData
impl Sync for MetaData
impl Unpin for MetaData
impl UnwindSafe for MetaData
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