Struct rustdoc::doctree::Variant[src]
pub struct Variant {
pub name: Ident,
pub attrs: Vec<Attribute>,
pub kind: VariantKind,
pub id: NodeId,
pub vis: Visibility,
pub where: Span,
}Fields
name | |
attrs | |
kind | |
id | |
vis | |
where |
pub struct Variant {
pub name: Ident,
pub attrs: Vec<Attribute>,
pub kind: VariantKind,
pub id: NodeId,
pub vis: Visibility,
pub where: Span,
}name | |
attrs | |
kind | |
id | |
vis | |
where |
impl Clean<Item> for Variant
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).