Enum args::ArgumentValue
source · pub enum ArgumentValue {
None,
Boolean(bool),
Integer(i64),
Float(f32),
Double(f64),
String(String),
}
Variants§
Trait Implementations§
source§impl Clone for ArgumentValue
impl Clone for ArgumentValue
source§fn clone(&self) -> ArgumentValue
fn clone(&self) -> ArgumentValue
Returns a copy 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 ArgumentValue
impl Debug for ArgumentValue
source§impl Into<String> for ArgumentValue
impl Into<String> for ArgumentValue
source§impl Into<f32> for ArgumentValue
impl Into<f32> for ArgumentValue
source§impl Into<f64> for ArgumentValue
impl Into<f64> for ArgumentValue
source§impl Into<i64> for ArgumentValue
impl Into<i64> for ArgumentValue
source§impl PartialEq<ArgumentValue> for ArgumentValue
impl PartialEq<ArgumentValue> for ArgumentValue
source§fn eq(&self, other: &ArgumentValue) -> bool
fn eq(&self, other: &ArgumentValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ArgumentValue> for ArgumentValue
impl PartialOrd<ArgumentValue> for ArgumentValue
source§fn partial_cmp(&self, other: &ArgumentValue) -> Option<Ordering>
fn partial_cmp(&self, other: &ArgumentValue) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more