Enum kconfig_parser::ast::structs::ConfigType
source · 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
Bool
Tristate
String
Int
Hex
Trait Implementations
sourceimpl Clone for ConfigType
impl Clone for ConfigType
sourcefn clone(&self) -> ConfigType
fn clone(&self) -> ConfigType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ConfigType
impl Debug for ConfigType
sourceimpl Display for ConfigType
impl Display for ConfigType
Implements the display functionality for a each configuration type
sourceimpl Hash for ConfigType
impl Hash for ConfigType
sourceimpl PartialEq<ConfigType> for ConfigType
impl PartialEq<ConfigType> for ConfigType
sourcefn eq(&self, other: &ConfigType) -> bool
fn eq(&self, other: &ConfigType) -> bool
impl Eq for ConfigType
impl StructuralEq for ConfigType
impl StructuralPartialEq for ConfigType
Auto Trait Implementations
impl RefUnwindSafe for ConfigType
impl Send for ConfigType
impl Sync for ConfigType
impl Unpin for ConfigType
impl UnwindSafe for ConfigType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more