Enum json_ld_core::rdf::CompoundValueTriples
source · pub enum CompoundValueTriples<'a, T, B, M> {
Literal(Box<CompoundLiteralTriples<T, B>>),
List(ListTriples<'a, T, B, M>),
}
Variants§
Literal(Box<CompoundLiteralTriples<T, B>>)
List(ListTriples<'a, T, B, M>)
Implementations§
source§impl<'a, T, B, M> CompoundValueTriples<'a, T, B, M>
impl<'a, T, B, M> CompoundValueTriples<'a, T, B, M>
pub fn literal(l: CompoundLiteralTriples<T, B>) -> Self
pub fn with<'n, V: Vocabulary<Iri = T, BlankId = B>, G: Generator<V, M>>( self, vocabulary: &'n mut V, generator: G, rdf_direction: Option<RdfDirection> ) -> CompoundValueTriplesWith<'a, 'n, V, M, G> ⓘ
pub fn next<V: Vocabulary<Iri = T, BlankId = B> + IriVocabularyMut, G: Generator<V, M>>( &mut self, vocabulary: &mut V, generator: &mut G, rdf_direction: Option<RdfDirection> ) -> Option<Triple<T, B>>where T: Clone, B: Clone,
Auto Trait Implementations§
impl<'a, T, B, M> RefUnwindSafe for CompoundValueTriples<'a, T, B, M>where B: RefUnwindSafe, M: RefUnwindSafe, T: RefUnwindSafe,
impl<'a, T, B, M> Send for CompoundValueTriples<'a, T, B, M>where B: Send + Sync, M: Sync, T: Send + Sync,
impl<'a, T, B, M> Sync for CompoundValueTriples<'a, T, B, M>where B: Sync, M: Sync, T: Sync,
impl<'a, T, B, M> Unpin for CompoundValueTriples<'a, T, B, M>where B: Unpin, T: Unpin,
impl<'a, T, B, M> UnwindSafe for CompoundValueTriples<'a, T, B, M>where B: UnwindSafe + RefUnwindSafe, M: RefUnwindSafe, T: UnwindSafe + 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