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, B, M> ObjectRef<'a, T, B, M>
impl<'a, T, B, M> ObjectRef<'a, T, B, M>
pub fn rdf_value_with<V, G>(
&self,
vocabulary: &mut V,
generator: &mut G,
rdf_direction: Option<RdfDirection>
) -> Option<CompoundValue<'a, T, B, <V as LiteralVocabulary>::Literal, M>>where
V: Vocabulary<Iri = T, BlankId = B, Type = Type<<V as IriVocabulary>::Iri, <V as LanguageTagVocabulary>::LanguageTag>, Value = String> + IriVocabularyMut + LanguageTagVocabularyMut + LiteralVocabularyMut,
G: MetaGenerator<V, M>,
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