Struct rustc_save_analysis::Def [−][src]
pub(crate) struct Def {
pub kind: DefKind,
pub id: Id,
pub span: SpanData,
pub name: String,
pub qualname: String,
pub value: String,
pub parent: Option<Id>,
pub children: Vec<Id, Global>,
pub decl_id: Option<Id>,
pub docs: String,
pub sig: Option<Signature>,
pub attributes: Vec<Attribute, Global>,
}Fields
kind: DefKindid: Idspan: SpanDataname: Stringqualname: Stringvalue: Stringparent: Option<Id>children: Vec<Id, Global>decl_id: Option<Id>docs: Stringsig: Option<Signature>attributes: Vec<Attribute, Global>Auto Trait Implementations
impl RefUnwindSafe for Def
impl UnwindSafe for Def
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 304 bytes