pub struct ResolvedDocument {
pub enums: BTreeMap<String, EnumType>,
pub measurands: BTreeMap<String, MeasurandDefinition>,
pub imports: BTreeMap<String, ModDefDocument>,
}Expand description
A document’s visible symbol tables after import resolution: local symbols
first, then imported ones (alias-prefixed as <alias>:<id>, never
overriding an existing entry).
Fields§
§enums: BTreeMap<String, EnumType>§measurands: BTreeMap<String, MeasurandDefinition>§imports: BTreeMap<String, ModDefDocument>Imported documents keyed by uri.
Auto Trait Implementations§
impl Forget for ResolvedDocument
impl Freeze for ResolvedDocumentwhere
*const LeafNode<String, EnumType> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, EnumType)>>: Freeze,
*const LeafNode<String, MeasurandDefinition> is !null: Freeze,
PhantomData<Box<(String, MeasurandDefinition)>>: Freeze,
*const LeafNode<String, ModDefDocument> is !null: Freeze,
PhantomData<Box<(String, ModDefDocument)>>: Freeze,
impl Move for ResolvedDocument
impl RefUnwindSafe for ResolvedDocument
impl Send for ResolvedDocumentwhere
NodeRef<Owned, String, EnumType, LeafOrInternal>: Send,
BoxRaw<(String, EnumType)>: Send,
NodeRef<Owned, String, MeasurandDefinition, LeafOrInternal>: Send,
BoxRaw<(String, MeasurandDefinition)>: Send,
NodeRef<Owned, String, ModDefDocument, LeafOrInternal>: Send,
BoxRaw<(String, ModDefDocument)>: Send,
impl Sync for ResolvedDocumentwhere
NodeRef<Owned, String, EnumType, LeafOrInternal>: Sync,
BoxRaw<(String, EnumType)>: Sync,
NodeRef<Owned, String, MeasurandDefinition, LeafOrInternal>: Sync,
BoxRaw<(String, MeasurandDefinition)>: Sync,
NodeRef<Owned, String, ModDefDocument, LeafOrInternal>: Sync,
BoxRaw<(String, ModDefDocument)>: Sync,
impl Unpin for ResolvedDocument
impl UnsafeUnpin for ResolvedDocumentwhere
*const LeafNode<String, EnumType> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, EnumType)>>: UnsafeUnpin,
*const LeafNode<String, MeasurandDefinition> is !null: UnsafeUnpin,
PhantomData<Box<(String, MeasurandDefinition)>>: UnsafeUnpin,
*const LeafNode<String, ModDefDocument> is !null: UnsafeUnpin,
PhantomData<Box<(String, ModDefDocument)>>: UnsafeUnpin,
impl UnwindSafe for ResolvedDocumentwhere
BTreeMap<String, EnumType>: UnwindSafe,
BTreeMap<String, MeasurandDefinition>: UnwindSafe,
BTreeMap<String, ModDefDocument>: UnwindSafe,
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