Enum json_ld::rdf::CompoundValueTriples
source · [−]pub enum CompoundValueTriples<'a, T, B, M> {
Literal(Box<CompoundLiteralTriples<T, B>, Global>),
List(ListTriples<'a, T, B, M>),
}
Variants
Literal(Box<CompoundLiteralTriples<T, B>, Global>)
List(ListTriples<'a, T, B, M>)
Implementations
sourceimpl<'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>
) -> CompoundValueTriples<'a, T, B, M>
pub fn with<N, G>(
self,
vocabulary: &'n mut N,
generator: G,
rdf_direction: Option<RdfDirection>
) -> CompoundValueTriplesWith<'a, 'n, T, B, N, M, G>ⓘNotable traits for CompoundValueTriplesWith<'a, 'n, T, B, N, M, G>impl<'a, 'n, T, B, M, N, G> Iterator for CompoundValueTriplesWith<'a, 'n, T, B, N, M, G>where
T: AsIri + Clone,
B: Clone,
N: IriVocabularyMut<Iri = T>,
G: Generator<T, B, M, N>, type Item = Triple<ValidId<T, B>, ValidId<T, B>, Value<T, B>>;
where
G: Generator<T, B, M, N>,
T: AsIri + Clone,
B: Clone,
N: IriVocabularyMut<Iri = T>,
G: Generator<T, B, M, N>, type Item = Triple<ValidId<T, B>, ValidId<T, B>, Value<T, B>>;
pub fn next<N, G>(
&mut self,
vocabulary: &mut N,
generator: &mut G,
rdf_direction: Option<RdfDirection>
) -> Option<Triple<ValidId<T, B>, ValidId<T, B>, Value<T, B>>>where
N: IriVocabularyMut<Iri = T>,
G: Generator<T, B, M, N>,
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more