pub enum VariantDataType {
String,
Bool,
Tristate,
Hex,
Int,
}
Variants§
String
The data type underpinning the variant is a character string
Bool
The data type underpinning the variant is a boolean value
Tristate
The data type underpinning the variant is a tristate value
Hex
The data type underpinning the variant is a hexadecimal value
Int
The data type underpinning the variant is an integer value
Trait Implementations§
Source§impl Clone for VariantDataType
impl Clone for VariantDataType
Source§fn clone(&self) -> VariantDataType
fn clone(&self) -> VariantDataType
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 VariantDataType
impl Debug for VariantDataType
Source§impl From<&ConfigType> for VariantDataType
impl From<&ConfigType> for VariantDataType
Source§fn from(ct: &ConfigType) -> Self
fn from(ct: &ConfigType) -> Self
Converts a given ConfigType value to the associated VariantDataType value
Source§impl Into<ConfigType> for VariantDataType
impl Into<ConfigType> for VariantDataType
Source§fn into(self) -> ConfigType
fn into(self) -> ConfigType
Converts a given VariantDataType back into a ConfigType
Source§impl Ord for VariantDataType
impl Ord for VariantDataType
Source§fn cmp(&self, other: &VariantDataType) -> Ordering
fn cmp(&self, other: &VariantDataType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VariantDataType
impl PartialEq for VariantDataType
Source§impl PartialOrd for VariantDataType
impl PartialOrd for VariantDataType
impl Eq for VariantDataType
impl StructuralPartialEq for VariantDataType
Auto Trait Implementations§
impl Freeze for VariantDataType
impl RefUnwindSafe for VariantDataType
impl Send for VariantDataType
impl Sync for VariantDataType
impl Unpin for VariantDataType
impl UnwindSafe for VariantDataType
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