pub struct CommandPrefix(pub Vec<CommandPrefixOrSuffixItem>);Expand description
Represents a prefix to a simple command.
Tuple Fields§
§0: Vec<CommandPrefixOrSuffixItem>Trait Implementations§
Source§impl Clone for CommandPrefix
impl Clone for CommandPrefix
Source§fn clone(&self) -> CommandPrefix
fn clone(&self) -> CommandPrefix
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandPrefix
impl Debug for CommandPrefix
Source§impl Default for CommandPrefix
impl Default for CommandPrefix
Source§fn default() -> CommandPrefix
fn default() -> CommandPrefix
Returns the “default value” for a type. Read more
Source§impl Display for CommandPrefix
impl Display for CommandPrefix
Source§impl SourceLocation for CommandPrefix
impl SourceLocation for CommandPrefix
Source§fn location(&self) -> Option<TokenLocation>
fn location(&self) -> Option<TokenLocation>
The location of the syntax item, when known
Auto Trait Implementations§
impl Freeze for CommandPrefix
impl RefUnwindSafe for CommandPrefix
impl Send for CommandPrefix
impl Sync for CommandPrefix
impl Unpin for CommandPrefix
impl UnwindSafe for CommandPrefix
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