Struct json_ld_core::flattening::NodeMap
source · pub struct NodeMap<T, B, M> { /* private fields */ }
Implementations
sourceimpl<T, B, M> NodeMap<T, B, M>
impl<T, B, M> NodeMap<T, B, M>
pub fn new() -> Self
pub fn into_parts(self) -> Parts<T, B, M>
pub fn iter(&self) -> Iter<'_, T, B, M>ⓘNotable traits for Iter<'a, T, B, M>impl<'a, T, B, M> Iterator for Iter<'a, T, B, M> type Item = (Option<Meta<&'a Id<T, B>, &'a M>>, &'a NodeMapGraph<T, B, M>);
pub fn iter_named(&self) -> Iter<'_, Id<T, B>, NamedNodeMapGraph<T, B, M>>
sourceimpl<T: Eq + Hash, B: Eq + Hash, M> NodeMap<T, B, M>
impl<T: Eq + Hash, B: Eq + Hash, M> NodeMap<T, B, M>
sourceimpl<T: Clone + Eq + Hash, B: Clone + Eq + Hash, M: Clone> NodeMap<T, B, M>
impl<T: Clone + Eq + Hash, B: Clone + Eq + Hash, M: Clone> NodeMap<T, B, M>
pub fn flatten(self, ordered: bool) -> Vec<IndexedNode<T, B, M>>where
(): Vocabulary<Iri = T, BlankId = B>,
pub fn flatten_with<V>(
self,
vocabulary: &V,
ordered: bool
) -> Vec<IndexedNode<T, B, M>>where
V: Vocabulary<Iri = T, BlankId = B>,
pub fn flatten_unordered(self) -> HashSet<StrippedIndexedNode<T, B, M>>
Trait Implementations
sourceimpl<'a, T, B, M> IntoIterator for &'a NodeMap<T, B, M>
impl<'a, T, B, M> IntoIterator for &'a NodeMap<T, B, M>
sourceimpl<T, B, M> IntoIterator for NodeMap<T, B, M>
impl<T, B, M> IntoIterator for NodeMap<T, B, M>
sourceimpl<T: Eq + Hash, B: Eq + Hash, M> RdfQuads<T, B, M> for NodeMap<T, B, M>
impl<T: Eq + Hash, B: Eq + Hash, M> RdfQuads<T, B, M> for NodeMap<T, B, M>
fn rdf_quads_with<'n, 'g, V: Vocabulary<Iri = T, BlankId = B>, G: Generator<V, M>>(
&self,
vocabulary: &'n mut V,
generator: &'g mut G,
rdf_direction: Option<RdfDirection>
) -> Quads<'_, 'n, 'g, V, M, G>ⓘNotable traits for Quads<'a, 'n, 'g, N, M, G>impl<'a, 'n, 'g, N: Vocabulary + IriVocabularyMut, M, G: Generator<N, M>> Iterator for Quads<'a, 'n, 'g, N, M, G>where
N::Iri: Clone,
N::BlankId: Clone, type Item = QuadRef<'a, N::Iri, N::BlankId>;
N::Iri: Clone,
N::BlankId: Clone, type Item = QuadRef<'a, N::Iri, N::BlankId>;
fn rdf_quads<'g, G: Generator<(), M>>(
&self,
generator: &'g mut G,
rdf_direction: Option<RdfDirection>
) -> Quads<'_, 'static, 'g, (), M, G>ⓘNotable traits for Quads<'a, 'n, 'g, N, M, G>impl<'a, 'n, 'g, N: Vocabulary + IriVocabularyMut, M, G: Generator<N, M>> Iterator for Quads<'a, 'n, 'g, N, M, G>where
N::Iri: Clone,
N::BlankId: Clone, type Item = QuadRef<'a, N::Iri, N::BlankId>;
where
(): Vocabulary<Iri = T, BlankId = B>,
N::Iri: Clone,
N::BlankId: Clone, type Item = QuadRef<'a, N::Iri, N::BlankId>;
Auto Trait Implementations
impl<T, B, M> RefUnwindSafe for NodeMap<T, B, M>where
B: RefUnwindSafe,
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, B, M> Send for NodeMap<T, B, M>where
B: Send,
M: Send,
T: Send,
impl<T, B, M> Sync for NodeMap<T, B, M>where
B: Sync,
M: Sync,
T: Sync,
impl<T, B, M> Unpin for NodeMap<T, B, M>where
B: Unpin,
M: Unpin,
T: Unpin,
impl<T, B, M> UnwindSafe for NodeMap<T, B, M>where
B: UnwindSafe,
M: UnwindSafe,
T: UnwindSafe,
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