pub enum EntryRef<'a> {
Id(Nullable<&'a Id>),
Type(Nullable<&'a Type>),
Context(&'a Context),
Reverse(&'a Key),
Index(&'a Index),
Language(Nullable<&'a LenientLangTagBuf>),
Direction(Nullable<Direction>),
Container(Nullable<&'a Container>),
Nest(&'a Nest),
Prefix(bool),
Propagate(bool),
Protected(bool),
}
Variants§
Id(Nullable<&'a Id>)
Type(Nullable<&'a Type>)
Context(&'a Context)
Reverse(&'a Key)
Index(&'a Index)
Language(Nullable<&'a LenientLangTagBuf>)
Direction(Nullable<Direction>)
Container(Nullable<&'a Container>)
Nest(&'a Nest)
Prefix(bool)
Propagate(bool)
Protected(bool)
Implementations§
Source§impl<'a> EntryRef<'a>
impl<'a> EntryRef<'a>
pub fn into_key(self) -> EntryKey
pub fn key(&self) -> EntryKey
pub fn into_value(self) -> EntryValueRef<'a>
pub fn value(&self) -> EntryValueRef<'a>
pub fn into_key_value(self) -> (EntryKey, EntryValueRef<'a>)
pub fn key_value(&self) -> (EntryKey, EntryValueRef<'a>)
Trait Implementations§
Source§impl<'a> PrecomputeSize for EntryRef<'a>
impl<'a> PrecomputeSize for EntryRef<'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