Struct rustc_ap_rustc_feature::AttributeTemplate [−][src]
pub struct AttributeTemplate { pub word: bool, pub list: Option<&'static str>, pub name_value_str: Option<&'static str>, }
Expand description
A template that the attribute input must match.
Only top-level shape (#[attr]
vs #[attr(...)]
vs #[attr = ...]
) is considered now.
Fields
word: bool
list: Option<&'static str>
name_value_str: Option<&'static str>
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for AttributeTemplate
impl Send for AttributeTemplate
impl Sync for AttributeTemplate
impl Unpin for AttributeTemplate
impl UnwindSafe for AttributeTemplate
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V