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() -> NodeMap<T, B, M>
pub fn into_parts(
self
) -> (NodeMapGraph<T, B, M>, HashMap<Id<T, B>, NamedNodeMapGraph<T, B, M>, RandomState>)
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, B, M> NodeMap<T, B, M>where
T: Eq + Hash,
B: Eq + Hash,
impl<T, B, M> NodeMap<T, B, M>where
T: Eq + Hash,
B: Eq + Hash,
sourceimpl<T, B, M> NodeMap<T, B, M>where
T: Clone + Eq + Hash,
B: Clone + Eq + Hash,
M: Clone,
impl<T, B, M> NodeMap<T, B, M>where
T: Clone + Eq + Hash,
B: Clone + Eq + Hash,
M: Clone,
pub fn flatten(
self,
ordered: bool
) -> Vec<Meta<Indexed<Node<T, B, M>, M>, M>, Global>where
(): Vocabulary<Iri = T, BlankId = B>,
pub fn flatten_with<N>(
self,
vocabulary: &N,
ordered: bool
) -> Vec<Meta<Indexed<Node<T, B, M>, M>, M>, Global>where
N: Vocabulary<Iri = T, BlankId = B>,
pub fn flatten_unordered(
self
) -> HashSet<Stripped<Meta<Indexed<Node<T, B, M>, M>, M>>, RandomState>
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>
type Item = (Option<Meta<Id<T, B>, M>>, NodeMapGraph<T, B, M>)
type Item = (Option<Meta<Id<T, B>, M>>, NodeMapGraph<T, B, M>)
The type of the elements being iterated over.
sourceimpl<T, B, M> RdfQuads<T, B, M> for NodeMap<T, B, M>where
T: Eq + Hash,
B: Eq + Hash,
impl<T, B, M> RdfQuads<T, B, M> for NodeMap<T, B, M>where
T: Eq + Hash,
B: Eq + Hash,
fn rdf_quads_with<N, G>(
&self,
vocabulary: &'n mut N,
generator: &'g mut G,
rdf_direction: Option<RdfDirection>
) -> Quads<'_, 'n, 'g, T, B, N, M, G>ⓘNotable traits for Quads<'a, 'n, 'g, T, B, N, M, G>impl<'a, 'n, 'g, T, B, N, M, G> Iterator for Quads<'a, 'n, 'g, T, B, N, M, G>where
T: Clone,
B: Clone,
N: IriVocabularyMut<Iri = T>,
G: MetaGenerator<T, B, N, M>, type Item = Quad<Cow<'a, Subject<T, B>>, Cow<'a, Subject<T, B>>, Value<T, B>, &'a Subject<T, B>>;
where
G: MetaGenerator<T, B, N, M>,
T: Clone,
B: Clone,
N: IriVocabularyMut<Iri = T>,
G: MetaGenerator<T, B, N, M>, type Item = Quad<Cow<'a, Subject<T, B>>, Cow<'a, Subject<T, B>>, Value<T, B>, &'a Subject<T, B>>;
fn rdf_quads<G>(
&self,
generator: &'g mut G,
rdf_direction: Option<RdfDirection>
) -> Quads<'_, 'static, 'g, T, B, (), M, G>ⓘNotable traits for Quads<'a, 'n, 'g, T, B, N, M, G>impl<'a, 'n, 'g, T, B, N, M, G> Iterator for Quads<'a, 'n, 'g, T, B, N, M, G>where
T: Clone,
B: Clone,
N: IriVocabularyMut<Iri = T>,
G: MetaGenerator<T, B, N, M>, type Item = Quad<Cow<'a, Subject<T, B>>, Cow<'a, Subject<T, B>>, Value<T, B>, &'a Subject<T, B>>;
where
G: MetaGenerator<T, B, (), M>,
T: Clone,
B: Clone,
N: IriVocabularyMut<Iri = T>,
G: MetaGenerator<T, B, N, M>, type Item = Quad<Cow<'a, Subject<T, B>>, Cow<'a, Subject<T, B>>, Value<T, B>, &'a Subject<T, B>>;
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