pub enum ObjectRef<'a, T, B> {
    Object(&'a Object<T, B>),
    Node(&'a Node<T, B>),
    Ref(&'a Id<T, B>),
}Variants§
Implementations§
source§impl<'a, T, B> ObjectRef<'a, T, B>
 
impl<'a, T, B> ObjectRef<'a, T, B>
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>>where
    G: Generator<V>,
    V: Vocabulary<Iri = T, BlankId = B> + IriVocabularyMut + LiteralVocabularyMut,
Auto Trait Implementations§
impl<'a, T, B> Freeze for ObjectRef<'a, T, B>
impl<'a, T, B> RefUnwindSafe for ObjectRef<'a, T, B>where
    B: RefUnwindSafe,
    T: RefUnwindSafe,
impl<'a, T, B> Send for ObjectRef<'a, T, B>
impl<'a, T, B> Sync for ObjectRef<'a, T, B>
impl<'a, T, B> Unpin for ObjectRef<'a, T, B>
impl<'a, T, B> UnwindSafe for ObjectRef<'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