Struct rustdoc::doctree::Constant [−] [src]

pub struct Constant {
    pub type_: P<Ty>,
    pub expr: P<Expr>,
    pub name: Ident,
    pub attrs: Vec<Attribute>,
    pub vis: Visibility,
    pub stab: Option<Stability>,
    pub id: NodeId,
    pub whence: Span,
}
Unstable

Fields

type_
Unstable
expr
Unstable
name
Unstable
attrs
Unstable
vis
Unstable
stab
Unstable
id
Unstable
whence
Unstable

Trait Implementations

impl Clean<Item> for Constant

fn clean(&self, cx: &DocContext) -> Item