pub struct Dictionary { /* private fields */ }Expand description
A resolved data dictionary, produced by Spec::resolve.
Implementations§
Source§impl Dictionary
impl Dictionary
pub fn version(&self) -> Version
Sourcepub fn header(&self) -> impl Iterator<Item = Member<'_>>
pub fn header(&self) -> impl Iterator<Item = Member<'_>>
The members every message starts with, in source order, components expanded in place.
Sourcepub fn messages(&self) -> impl Iterator<Item = Message<'_>>
pub fn messages(&self) -> impl Iterator<Item = Message<'_>>
The messages, with references resolved and components expanded.
Trait Implementations§
Source§impl Clone for Dictionary
impl Clone for Dictionary
Auto Trait Implementations§
impl Freeze for Dictionary
impl RefUnwindSafe for Dictionary
impl Send for Dictionary
impl Sync for Dictionary
impl Unpin for Dictionary
impl UnsafeUnpin for Dictionary
impl UnwindSafe for Dictionary
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