pub struct QuerySolutions<S>where
S: SRDFBasic,{ /* private fields */ }
Expand description
Represent a list of query solutions
Implementations§
Source§impl<S> QuerySolutions<S>where
S: SRDFBasic,
impl<S> QuerySolutions<S>where
S: SRDFBasic,
pub fn empty() -> QuerySolutions<S>
pub fn new(solutions: Vec<QuerySolution<S>>) -> QuerySolutions<S>
pub fn extend(&mut self, solutions: Vec<QuerySolution<S>>)
pub fn iter(&self) -> impl Iterator<Item = &QuerySolution<S>>
pub fn count(&self) -> usize
Trait Implementations§
Source§impl<S> Clone for QuerySolutions<S>
impl<S> Clone for QuerySolutions<S>
Source§fn clone(&self) -> QuerySolutions<S>
fn clone(&self) -> QuerySolutions<S>
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<S> Debug for QuerySolutions<S>
impl<S> Debug for QuerySolutions<S>
Source§impl<S> IntoIterator for QuerySolutions<S>where
S: SRDFBasic,
impl<S> IntoIterator for QuerySolutions<S>where
S: SRDFBasic,
Source§type Item = QuerySolution<S>
type Item = QuerySolution<S>
The type of the elements being iterated over.
Source§type IntoIter = IntoIter<QuerySolution<S>>
type IntoIter = IntoIter<QuerySolution<S>>
Which kind of iterator are we turning this into?
Source§fn into_iter(self) -> <QuerySolutions<S> as IntoIterator>::IntoIter
fn into_iter(self) -> <QuerySolutions<S> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
Auto Trait Implementations§
impl<S> Freeze for QuerySolutions<S>
impl<S> RefUnwindSafe for QuerySolutions<S>
impl<S> Send for QuerySolutions<S>
impl<S> Sync for QuerySolutions<S>
impl<S> Unpin for QuerySolutions<S>
impl<S> UnwindSafe for QuerySolutions<S>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more