Enum rustdoc::clean::AttributeExperimental [-]  [+] [src]

pub enum Attribute {
    Word(String),
    List(String, Vec<Attribute>),
    NameValue(String, String),
}

Variants

Word
List
NameValue

Trait Implementations

impl AttrMetaMethods for Attribute

fn name(&self) -> InternedString

fn value_str(&self) -> Option<InternedString>

fn meta_item_list<'a>(&'a self) -> Option<&'a [P<MetaItem>]>

fn check_name(&self, name: &str) -> bool

Derived Implementations

impl PartialEq for Attribute

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

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

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

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

impl Clone for Attribute

fn clone(&self) -> Attribute

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