Enum rustdoc::clean::Attribute[src]
pub enum Attribute {
Word(String),
List(String, Vec<Attribute>),
NameValue(String, String),
}Variants
Word | |
List | |
NameValue |
pub enum Attribute {
Word(String),
List(String, Vec<Attribute>),
NameValue(String, String),
}Word | |
List | |
NameValue |
impl AttrMetaMethods for Attributefn name(&self) -> InternedStringfn value_str(&self) -> Option<InternedString>fn meta_item_list<'a>(&'a self) -> Option<&'a [Gc<MetaItem>]>fn check_name(&self, name: &str) -> boolimpl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Attributeimpl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Attributeimpl Clone for Attributefn clone(&self) -> Attributefn 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).