pub struct Merged<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Merged<'a>
impl<'a> Merged<'a>
pub fn new(base: &'a Definition, imported: Option<Context>) -> Self
pub fn imported(&self) -> Option<&Definition>
pub fn base(&self) -> Option<Nullable<&IriRef>>
pub fn vocab(&self) -> Option<Nullable<&Vocab>>
pub fn language(&self) -> Option<Nullable<&LenientLangTagBuf>>
pub fn direction(&self) -> Option<Nullable<Direction>>
pub fn protected(&self) -> Option<bool>
pub fn type_(&self) -> Option<Type>
pub fn bindings(&self) -> MergedBindings<'_> ⓘ
pub fn get(&self, key: &KeyOrKeyword) -> Option<EntryValueRef<'_>>
Trait Implementations§
Source§impl<'a> From<&'a Definition> for Merged<'a>
impl<'a> From<&'a Definition> for Merged<'a>
Source§fn from(base: &'a Definition) -> Self
fn from(base: &'a Definition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for Merged<'a>
impl<'a> RefUnwindSafe for Merged<'a>
impl<'a> Send for Merged<'a>
impl<'a> Sync for Merged<'a>
impl<'a> Unpin for Merged<'a>
impl<'a> UnwindSafe for Merged<'a>
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