pub enum EntryRef<'a, T, B> {
Id(&'a Id<T, B>),
Type(&'a [Id<T, B>]),
Graph(&'a IndexSet<Indexed<Object<T, B>>>),
Included(&'a IndexSet<Indexed<Node<T, B>>>),
Reverse(&'a ReverseProperties<T, B>),
Property(&'a Id<T, B>, &'a [Indexed<Object<T, B>>]),
}
Variants§
Id(&'a Id<T, B>)
Type(&'a [Id<T, B>])
Graph(&'a IndexSet<Indexed<Object<T, B>>>)
Included(&'a IndexSet<Indexed<Node<T, B>>>)
Reverse(&'a ReverseProperties<T, B>)
Property(&'a Id<T, B>, &'a [Indexed<Object<T, B>>])
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
B: RefUnwindSafe,
T: 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
B: RefUnwindSafe,
T: 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