pub struct Def {
pub kind: DefKind,
pub span: Span,
pub name: String,
pub qualname: String,
pub distro_crate: bool,
pub parent: Option<Id>,
pub value: String,
pub docs: String,
}
Fields§
§kind: DefKind
§span: Span
§name: String
§qualname: String
§distro_crate: bool
§parent: Option<Id>
§value: String
§docs: String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Def
impl RefUnwindSafe for Def
impl Send for Def
impl Sync for Def
impl Unpin for Def
impl UnwindSafe for Def
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more