pub struct Value {
pub name: &'static str,
// some fields omitted
}
Expand description
Represents a setting value.
This is used for iterating values in Flags
.
The name of the setting associated with this value.
Gets the kind of setting.
Gets the enum value if the value is from an enum setting.
Gets the numerical value if the value is from a num setting.
Gets the boolean value if the value is from a boolean setting.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.