pub enum EntryRef<'a> {
Base(Nullable<&'a IriRef>),
Import(&'a IriRef),
Language(Nullable<&'a LenientLangTagBuf>),
Direction(Nullable<Direction>),
Propagate(bool),
Protected(bool),
Type(Type),
Version(Version),
Vocab(Nullable<&'a Vocab>),
Definition(&'a Key, Nullable<&'a TermDefinition>),
}
Variants§
Base(Nullable<&'a IriRef>)
Import(&'a IriRef)
Language(Nullable<&'a LenientLangTagBuf>)
Direction(Nullable<Direction>)
Propagate(bool)
Protected(bool)
Type(Type)
Version(Version)
Vocab(Nullable<&'a Vocab>)
Definition(&'a Key, Nullable<&'a TermDefinition>)
Implementations§
Source§impl<'a> EntryRef<'a>
impl<'a> EntryRef<'a>
pub fn into_key(self) -> EntryKeyRef<'a>
pub fn key(&self) -> EntryKeyRef<'a>
pub fn into_value(self) -> EntryValueRef<'a>
pub fn value(&self) -> EntryValueRef<'a>
pub fn into_key_value(self) -> (EntryKeyRef<'a>, EntryValueRef<'a>)
pub fn key_value(&self) -> (EntryKeyRef<'a>, EntryValueRef<'a>)
Auto Trait Implementations§
impl<'a> Freeze for EntryRef<'a>
impl<'a> RefUnwindSafe for EntryRef<'a>
impl<'a> Send for EntryRef<'a>
impl<'a> Sync for EntryRef<'a>
impl<'a> Unpin for EntryRef<'a>
impl<'a> UnwindSafe for EntryRef<'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