Enum json_ld::object::node::EntryValueRef
source · pub enum EntryValueRef<'a, T, B, M> {
Id(Meta<&'a Id<T, B>, &'a M>),
Type(&'a Meta<Vec<Meta<Id<T, B>, M>, Global>, M>),
Graph(&'a HashSet<Stripped<Meta<Indexed<Object<T, B, M>, M>, M>>, RandomState>),
Included(&'a HashSet<Stripped<Meta<Indexed<Node<T, B, M>, M>, M>>, RandomState>),
Reverse(&'a ReverseProperties<T, B, M>),
Property(&'a [Stripped<Meta<Indexed<Object<T, B, M>, M>, M>>]),
}
Variants§
Id(Meta<&'a Id<T, B>, &'a M>)
Type(&'a Meta<Vec<Meta<Id<T, B>, M>, Global>, M>)
Graph(&'a HashSet<Stripped<Meta<Indexed<Object<T, B, M>, M>, M>>, RandomState>)
Included(&'a HashSet<Stripped<Meta<Indexed<Node<T, B, M>, M>, M>>, RandomState>)
Reverse(&'a ReverseProperties<T, B, M>)
Property(&'a [Stripped<Meta<Indexed<Object<T, B, M>, M>, M>>])
Implementations§
source§impl<'a, T, B, M> EntryValueRef<'a, T, B, M>
impl<'a, T, B, M> EntryValueRef<'a, T, B, M>
pub fn is_json_array(&self) -> bool
pub fn is_json_object(&self) -> bool
Trait Implementations§
source§impl<'a, T, B, M> Clone for EntryValueRef<'a, T, B, M>
impl<'a, T, B, M> Clone for EntryValueRef<'a, T, B, M>
source§fn clone(&self) -> EntryValueRef<'a, T, B, M>
fn clone(&self) -> EntryValueRef<'a, T, B, M>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a, T, B, M, N> PrecomputeSizeWithContext<N> for EntryValueRef<'a, T, B, M>where
N: Vocabulary<Iri = T, BlankId = B>,
impl<'a, T, B, M, N> PrecomputeSizeWithContext<N> for EntryValueRef<'a, T, B, M>where N: Vocabulary<Iri = T, BlankId = B>,
source§impl<'a, T, B, M, N> PrintWithSizeAndContext<N> for EntryValueRef<'a, T, B, M>where
N: Vocabulary<Iri = T, BlankId = B>,
impl<'a, T, B, M, N> PrintWithSizeAndContext<N> for EntryValueRef<'a, T, B, M>where N: Vocabulary<Iri = T, BlankId = B>,
impl<'a, T, B, M> Copy for EntryValueRef<'a, T, B, M>
Auto Trait Implementations§
impl<'a, T, B, M> RefUnwindSafe for EntryValueRef<'a, T, B, M>where B: RefUnwindSafe, M: RefUnwindSafe, T: RefUnwindSafe,
impl<'a, T, B, M> Send for EntryValueRef<'a, T, B, M>where B: Sync, M: Sync, T: Sync,
impl<'a, T, B, M> Sync for EntryValueRef<'a, T, B, M>where B: Sync, M: Sync, T: Sync,
impl<'a, T, B, M> Unpin for EntryValueRef<'a, T, B, M>
impl<'a, T, B, M> UnwindSafe for EntryValueRef<'a, T, B, M>where B: RefUnwindSafe, M: 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