Struct rustdoc::doctree::Constant
[−]
[src]
pub struct Constant {
pub type_: P<Ty>,
pub expr: P<Expr>,
pub name: Name,
pub attrs: HirVec<Attribute>,
pub vis: Visibility,
pub stab: Option<Stability>,
pub depr: Option<Deprecation>,
pub id: NodeId,
pub whence: Span,
}Unstable (
rustdoc)Fields
type_: P<Ty>
Unstable (
rustdoc)expr: P<Expr>
Unstable (
rustdoc)name: Name
Unstable (
rustdoc)attrs: HirVec<Attribute>
Unstable (
rustdoc)vis: Visibility
Unstable (
rustdoc)stab: Option<Stability>
Unstable (
rustdoc)depr: Option<Deprecation>
Unstable (
rustdoc)id: NodeId
Unstable (
rustdoc)whence: Span
Unstable (
rustdoc)