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