pub enum Attribute {
Show 14 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),
Transitional,
}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)
Transitional
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
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl Freeze for Attribute
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