Enum combu::flag::FlagValue [−][src]
Expand description
Enum for storage FlagValue
Variants
Bool(bool)
Variant shows bool flag value
String(String)
Variant shows string flag value
Int(isize)
Variant shows int flag value
Float(f64)
Variant for float flag value
Invalid(String)
Variant for invalid flag value
Variant for no flag value
Implementations
Get &self’s corresponding type of FlagType. Returns None if &self is a invalid flag value. FlagValueに対応するFlagTypeを取得する
Returns true if &self’s FlagType is flag_type.
Gets bool FlagValue from string
Gets string from self
Returns true if self is FlagValue::Bool(true)
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for FlagValue
impl UnwindSafe for FlagValue
Blanket Implementations
Mutably borrows from an owned value. Read more