Enum nom_kconfig::attribute::Attribute
source · pub enum Attribute {
Show 13 variants
Help(String),
Prompt(Prompt),
Modules,
Select(Select),
DependsOn(Expression),
Optional,
Range(Range),
Visible(Option<Expression>),
Default(DefaultAttribute),
Imply(Imply),
Requires(Expression),
Type(ConfigType),
Option(OptionValues),
}
Expand description
Official documentation regarding the different attributes: https://www.kernel.org/doc/html/next/kbuild/kconfig-language.html#menu-attributes
Variants§
Help(String)
Prompt(Prompt)
Modules
Select(Select)
DependsOn(Expression)
Optional
Range(Range)
Visible(Option<Expression>)
Default(DefaultAttribute)
Imply(Imply)
Requires(Expression)
Type(ConfigType)
Option(OptionValues)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Attribute
impl<'de> Deserialize<'de> for Attribute
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Attribute> for Attribute
impl PartialEq<Attribute> for Attribute
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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