Enum json_ld_core::quad::ObjectRef
source · pub enum ObjectRef<'a, T, B, M> {
Object(&'a Object<T, B, M>),
Node(&'a Node<T, B, M>),
Ref(&'a Id<T, B>),
}
Variants§
Implementations§
source§impl<'a, T: Clone, B: Clone, M> ObjectRef<'a, T, B, M>
impl<'a, T: Clone, B: Clone, M> ObjectRef<'a, T, B, M>
pub fn rdf_value_with<V, G: Generator<V, M>>(
&self,
vocabulary: &mut V,
generator: &mut G,
rdf_direction: Option<RdfDirection>
) -> Option<CompoundValue<'a, T, B, V::Literal, M>>where
V: LiteralVocabularyMut<Type = Type<V::Iri, V::LanguageTag>, Value = String> + Vocabulary<Iri = T, BlankId = B> + IriVocabularyMut + LanguageTagVocabularyMut,
Auto Trait Implementations§
impl<'a, T, B, M> RefUnwindSafe for ObjectRef<'a, T, B, M>
impl<'a, T, B, M> Send for ObjectRef<'a, T, B, M>
impl<'a, T, B, M> Sync for ObjectRef<'a, T, B, M>
impl<'a, T, B, M> Unpin for ObjectRef<'a, T, B, M>
impl<'a, T, B, M> UnwindSafe for ObjectRef<'a, T, B, M>
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