Struct syntax::ast::Attribute_[src]
pub struct Attribute_ {
pub id: AttrId,
pub style: AttrStyle,
pub value: Gc<MetaItem>,
pub is_sugared_doc: bool,
}Fields
id | |
style | |
value | |
is_sugared_doc |
pub struct Attribute_ {
pub id: AttrId,
pub style: AttrStyle,
pub value: Gc<MetaItem>,
pub is_sugared_doc: bool,
}id | |
style | |
value | |
is_sugared_doc |
impl<__S: Writer> Hash<__S> for Attribute_fn hash(&self, __arg_0: &mut __S)impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Attribute_fn decode(__arg_0: &mut __D) -> Result<Attribute_, __E>impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Attribute_impl Eq for Attribute_fn assert_receiver_is_total_eq(&self)impl PartialEq for Attribute_fn eq(&self, __arg_0: &Attribute_) -> boolfn ne(&self, __arg_0: &Attribute_) -> boolimpl Clone for Attribute_fn clone(&self) -> Attribute_fn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).