pub struct Declaration {
pub definition_span: Span,
pub file_id: FileId,
pub namespace_id: NamespaceIndex,
pub kind: DeclarationKind,
pub docstrings: Docstrings,
}Fields§
§definition_span: Span§file_id: FileId§namespace_id: NamespaceIndex§kind: DeclarationKind§docstrings: DocstringsTrait Implementations§
Auto Trait Implementations§
impl Freeze for Declaration
impl RefUnwindSafe for Declaration
impl Send for Declaration
impl Sync for Declaration
impl Unpin for Declaration
impl UnwindSafe for Declaration
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