pub struct ResolvedDictionary(/* private fields */);Expand description
Resolved dictionary
Implementations§
Source§impl ResolvedDictionary
impl ResolvedDictionary
pub fn new( identifier: Fragment, namespace: ResolvedNamespace, def: DictionaryDef, ) -> Self
Sourcepub fn def(&self) -> &DictionaryDef
pub fn def(&self) -> &DictionaryDef
Get the dictionary def
Sourcepub fn namespace(&self) -> &ResolvedNamespace
pub fn namespace(&self) -> &ResolvedNamespace
Get the namespace
Sourcepub fn identifier(&self) -> &Fragment
pub fn identifier(&self) -> &Fragment
Get the identifier
Sourcepub fn fully_qualified_name(&self) -> String
pub fn fully_qualified_name(&self) -> String
Get fully qualified name
Sourcepub fn to_static(&self) -> ResolvedDictionary
pub fn to_static(&self) -> ResolvedDictionary
Convert to owned version with ’static lifetime
Trait Implementations§
Source§impl Clone for ResolvedDictionary
impl Clone for ResolvedDictionary
Source§fn clone(&self) -> ResolvedDictionary
fn clone(&self) -> ResolvedDictionary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResolvedDictionary
impl RefUnwindSafe for ResolvedDictionary
impl Send for ResolvedDictionary
impl Sync for ResolvedDictionary
impl Unpin for ResolvedDictionary
impl UnwindSafe for ResolvedDictionary
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