pub enum ConfigType {
Bool,
Tristate,
String,
Int,
Hex,
}
Expand description
A Config structure should have a type. Because types can change depending on a dependency (typically through an if expression)
Variants§
Trait Implementations§
Source§impl Clone for ConfigType
impl Clone for ConfigType
Source§fn clone(&self) -> ConfigType
fn clone(&self) -> ConfigType
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 ConfigType
impl Debug for ConfigType
Source§impl Display for ConfigType
Implements the display functionality for a each configuration type
impl Display for ConfigType
Implements the display functionality for a each configuration type
Source§impl Hash for ConfigType
impl Hash for ConfigType
Source§impl PartialEq for ConfigType
impl PartialEq for ConfigType
impl Eq for ConfigType
impl StructuralPartialEq for ConfigType
Auto Trait Implementations§
impl Freeze for ConfigType
impl RefUnwindSafe for ConfigType
impl Send for ConfigType
impl Sync for ConfigType
impl Unpin for ConfigType
impl UnwindSafe for ConfigType
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