pub struct NodeMap<T, B, M> { /* private fields */ }
Expand description
Node identifier to node definition map.
Implementations§
source§impl<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> ⓘ
pub fn iter_named(&self) -> Iter<'_, Id<T, B>, NamedNodeMapGraph<T, B, M>>
source§impl<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,
source§impl<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<V>( self, vocabulary: &V, ordered: bool ) -> Vec<Meta<Indexed<Node<T, B, M>, M>, M>, Global>where V: Vocabulary<Iri = T, BlankId = B>,
pub fn flatten_unordered( self ) -> HashSet<Stripped<Meta<Indexed<Node<T, B, M>, M>, M>>, RandomState>
Trait Implementations§
source§impl<'a, T, B, M> IntoIterator for &'a NodeMap<T, B, M>
impl<'a, T, B, M> IntoIterator for &'a NodeMap<T, B, M>
source§impl<T, B, M> IntoIterator for NodeMap<T, B, M>
impl<T, B, M> IntoIterator for NodeMap<T, B, M>
source§impl<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_full<V, G, 'n, 'g>( &self, vocabulary: &'n mut V, generator: &'g mut G, rdf_direction: Option<RdfDirection>, produce_generalized_rdf: bool ) -> Quads<'_, 'n, 'g, V, M, G> ⓘwhere V: Vocabulary<Iri = T, BlankId = B>, G: MetaGenerator<V, M>,
fn rdf_quads_with<V, G, 'n, 'g>( &self, vocabulary: &'n mut V, generator: &'g mut G, rdf_direction: Option<RdfDirection> ) -> Quads<'_, 'n, 'g, V, M, G> ⓘwhere V: Vocabulary<Iri = T, BlankId = B>, G: MetaGenerator<V, M>,
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§
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