pub enum CommandArgument {
Word(SymbolName),
StringLiteral(StringLiteral),
}Variants§
Word(SymbolName)
StringLiteral(StringLiteral)
Trait Implementations§
Source§impl Clone for CommandArgument
impl Clone for CommandArgument
Source§fn clone(&self) -> CommandArgument
fn clone(&self) -> CommandArgument
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 moreSource§impl Debug for CommandArgument
impl Debug for CommandArgument
Source§impl<'de> Deserialize<'de> for CommandArgument
impl<'de> Deserialize<'de> for CommandArgument
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CommandArgument
impl PartialEq for CommandArgument
Source§fn eq(&self, other: &CommandArgument) -> bool
fn eq(&self, other: &CommandArgument) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommandArgument
impl Serialize for CommandArgument
impl StructuralPartialEq for CommandArgument
Auto Trait Implementations§
impl Freeze for CommandArgument
impl RefUnwindSafe for CommandArgument
impl Send for CommandArgument
impl Sync for CommandArgument
impl Unpin for CommandArgument
impl UnsafeUnpin for CommandArgument
impl UnwindSafe for CommandArgument
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