pub enum CommandArgumentValue {
String(String),
I64(i64),
F64(f64),
}Expand description
The actual argument value
Variants§
Trait Implementations§
Source§impl Clone for CommandArgumentValue
impl Clone for CommandArgumentValue
Source§fn clone(&self) -> CommandArgumentValue
fn clone(&self) -> CommandArgumentValue
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 CommandArgumentValue
impl Debug for CommandArgumentValue
Source§impl From<&CommandArgumentValue> for CommandArgumentValueType
impl From<&CommandArgumentValue> for CommandArgumentValueType
Source§fn from(value: &CommandArgumentValue) -> Self
fn from(value: &CommandArgumentValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommandArgumentValue
impl PartialEq for CommandArgumentValue
impl StructuralPartialEq for CommandArgumentValue
Auto Trait Implementations§
impl Freeze for CommandArgumentValue
impl RefUnwindSafe for CommandArgumentValue
impl Send for CommandArgumentValue
impl Sync for CommandArgumentValue
impl Unpin for CommandArgumentValue
impl UnwindSafe for CommandArgumentValue
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