Struct syntex_syntax::ast::Attribute_ [] [src]

pub struct Attribute_ {
    pub id: AttrId,
    pub style: AttrStyle,
    pub value: P<MetaItem>,
    pub is_sugared_doc: bool,
}

Doc-comments are promoted to attributes that have is_sugared_doc = true

Fields

id
style
value
is_sugared_doc

Trait Implementations

Derived Implementations

impl Debug for Attribute_

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for Attribute_

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for Attribute_

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Attribute_, __D::Error>

impl Encodable for Attribute_

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Eq for Attribute_

impl PartialEq for Attribute_

fn eq(&self, __arg_0: &Attribute_) -> bool

fn ne(&self, __arg_0: &Attribute_) -> bool

impl Clone for Attribute_

fn clone(&self) -> Attribute_

fn clone_from(&mut self, source: &Self)