pub struct ClauseMeta<'a> {
pub name: &'a str,
pub separator: &'a str,
pub help: Option<&'a str>,
pub long_help: Option<&'a str>,
pub args: &'a [ArgMeta<'a>],
}Expand description
Cold metadata for a command’s compiled clause table.
Fields§
§name: &'a str§separator: &'a str§help: Option<&'a str>§long_help: Option<&'a str>§args: &'a [ArgMeta<'a>]Trait Implementations§
Source§impl<'a> Clone for ClauseMeta<'a>
impl<'a> Clone for ClauseMeta<'a>
Source§fn clone(&self) -> ClauseMeta<'a>
fn clone(&self) -> ClauseMeta<'a>
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 moreimpl<'a> Copy for ClauseMeta<'a>
Auto Trait Implementations§
impl<'a> Freeze for ClauseMeta<'a>
impl<'a> RefUnwindSafe for ClauseMeta<'a>
impl<'a> Send for ClauseMeta<'a>
impl<'a> Sync for ClauseMeta<'a>
impl<'a> Unpin for ClauseMeta<'a>
impl<'a> UnsafeUnpin for ClauseMeta<'a>
impl<'a> UnwindSafe for ClauseMeta<'a>
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