Struct planus_types::intermediate::Namespace
source · pub struct Namespace {
pub spans: Vec<(FileId, Option<Span>)>,
pub docstrings: Docstrings,
pub child_namespaces: IndexMap<String, NamespaceIndex>,
pub declaration_ids: IndexMap<String, DeclarationIndex>,
}Fields§
§spans: Vec<(FileId, Option<Span>)>The span is where the namespace path is defined
docstrings: Docstrings§child_namespaces: IndexMap<String, NamespaceIndex>§declaration_ids: IndexMap<String, DeclarationIndex>Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnwindSafe for Namespace
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