pub struct UnionGraph<T: Dataset>(/* private fields */);
Expand description
Implementations§
Trait Implementations§
Source§impl<T: Clone + Dataset> Clone for UnionGraph<T>
impl<T: Clone + Dataset> Clone for UnionGraph<T>
Source§fn clone(&self) -> UnionGraph<T>
fn clone(&self) -> UnionGraph<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Dataset> Graph for UnionGraph<T>
impl<T: Dataset> Graph for UnionGraph<T>
Source§type Triple<'x> = [<<T as Dataset>::Quad<'x> as Quad>::Term; 3]
where
Self: 'x
type Triple<'x> = [<<T as Dataset>::Quad<'x> as Quad>::Term; 3] where Self: 'x
Determine the type of
Triple
s
that the methods of this graph will yield.Source§fn triples(&self) -> GTripleSource<'_, Self>
fn triples(&self) -> GTripleSource<'_, Self>
An iterator visiting all triples of this graph in arbitrary order. Read more
Source§fn triples_matching<'s, S, P, O>(
&'s self,
sm: S,
pm: P,
om: O,
) -> GTripleSource<'s, Self>
fn triples_matching<'s, S, P, O>( &'s self, sm: S, pm: P, om: O, ) -> GTripleSource<'s, Self>
An iterator visiting all triples matching the given subject, predicate and object.
See
crate::term::matcher
. Read moreSource§fn subjects(&self) -> GTermSource<'_, Self>
fn subjects(&self) -> GTermSource<'_, Self>
Build a fallible iterator of all the terms used as subject in this Graph. Read more
Source§fn predicates(&self) -> GTermSource<'_, Self>
fn predicates(&self) -> GTermSource<'_, Self>
Build a fallible iterator of all the terms used as predicate in this Graph. Read more
Source§fn objects(&self) -> GTermSource<'_, Self>
fn objects(&self) -> GTermSource<'_, Self>
Build a fallible iterator of all the terms used as object in this Graph. Read more
Source§fn iris(&self) -> GTermSource<'_, Self>
fn iris(&self) -> GTermSource<'_, Self>
Build a fallible iterator of all the IRIs used in this Graph
(including those used inside quoted triples, if any). Read more
Source§fn blank_nodes(&self) -> GTermSource<'_, Self>
fn blank_nodes(&self) -> GTermSource<'_, Self>
Build a fallible iterator of all the blank nodes used in this Graph
(including those used inside quoted triples, if any). Read more
Source§fn literals(&self) -> GTermSource<'_, Self>
fn literals(&self) -> GTermSource<'_, Self>
Build a fallible iterator of all the literals used in this Graph
(including those used inside quoted triples, if any). Read more
Source§fn quoted_triples<'s>(&'s self) -> GTermSource<'s, Self>
fn quoted_triples<'s>(&'s self) -> GTermSource<'s, Self>
Build a fallible iterator of all the quoted triples used in this Graph
(including those used inside quoted triples, if any). Read more
Source§fn variables(&self) -> GTermSource<'_, Self>
fn variables(&self) -> GTermSource<'_, Self>
Build a fallible iterator of all the variables used in this Graph
(including those used inside quoted triples, if any). Read more
Source§fn contains<TS, TP, TO>(&self, s: TS, p: TP, o: TO) -> GResult<Self, bool>
fn contains<TS, TP, TO>(&self, s: TS, p: TP, o: TO) -> GResult<Self, bool>
Return
true
if this graph contains the given triple.Source§fn as_dataset(&self) -> GraphAsDataset<&Self>
fn as_dataset(&self) -> GraphAsDataset<&Self>
Dataset
adapter borrowing this graphSource§fn as_dataset_mut(&mut self) -> GraphAsDataset<&mut Self>
fn as_dataset_mut(&mut self) -> GraphAsDataset<&mut Self>
Dataset
adapter borrowing this graph mutablySource§fn into_dataset(self) -> GraphAsDataset<Self>where
Self: Sized,
fn into_dataset(self) -> GraphAsDataset<Self>where
Self: Sized,
Dataset
adapter taking ownership of this graphimpl<T: Copy + Dataset> Copy for UnionGraph<T>
Auto Trait Implementations§
impl<T> Freeze for UnionGraph<T>where
T: Freeze,
impl<T> RefUnwindSafe for UnionGraph<T>where
T: RefUnwindSafe,
impl<T> Send for UnionGraph<T>where
T: Send,
impl<T> Sync for UnionGraph<T>where
T: Sync,
impl<T> Unpin for UnionGraph<T>where
T: Unpin,
impl<T> UnwindSafe for UnionGraph<T>where
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