pub enum EntryRef<'a, T, B> {
Value(EntryRef<'a, T>),
List(&'a [Indexed<Object<T, B>>]),
Node(EntryRef<'a, T, B>),
}
Variants§
Implementations§
Source§impl<'a, T, B> EntryRef<'a, T, B>
impl<'a, T, B> EntryRef<'a, T, B>
pub fn into_key(self) -> EntryKeyRef<'a, T, B>
pub fn key(&self) -> EntryKeyRef<'a, T, B>
pub fn into_value(self) -> EntryValueRef<'a, T, B>
pub fn value(&self) -> EntryValueRef<'a, T, B>
pub fn into_key_value(self) -> (EntryKeyRef<'a, T, B>, EntryValueRef<'a, T, B>)
pub fn as_key_value(&self) -> (EntryKeyRef<'a, T, B>, EntryValueRef<'a, T, B>)
Trait Implementations§
Auto Trait Implementations§
impl<'a, T, B> Freeze for EntryRef<'a, T, B>
impl<'a, T, B> RefUnwindSafe for EntryRef<'a, T, B>where
T: RefUnwindSafe,
B: RefUnwindSafe,
impl<'a, T, B> Send for EntryRef<'a, T, B>
impl<'a, T, B> Sync for EntryRef<'a, T, B>
impl<'a, T, B> Unpin for EntryRef<'a, T, B>
impl<'a, T, B> UnwindSafe for EntryRef<'a, T, B>where
T: RefUnwindSafe,
B: RefUnwindSafe,
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