pub struct EmptyRelOps;Expand description
RelOps iterator which never returns any rows.
Used to compile queries with unsatisfiable bounds, like WHERE x < 5 AND x > 5.
Trait Implementations§
Source§impl Clone for EmptyRelOps
impl Clone for EmptyRelOps
Source§fn clone(&self) -> EmptyRelOps
fn clone(&self) -> EmptyRelOps
Returns a duplicate 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 Debug for EmptyRelOps
impl Debug for EmptyRelOps
Source§impl<'a> RelOps<'a> for EmptyRelOps
impl<'a> RelOps<'a> for EmptyRelOps
Source§fn next(&mut self) -> Option<RelValue<'a>>
fn next(&mut self) -> Option<RelValue<'a>>
Advances the
iterator and returns the next RelValue.Source§fn select<P>(self, predicate: P) -> Select<Self, P>
fn select<P>(self, predicate: P) -> Select<Self, P>
Creates an
Iterator which uses a closure to determine if a [RelValueRef] should be yielded. Read moreSource§fn join_inner<Pred, Proj, KeyLhs, KeyRhs, Rhs>(
self,
with: Rhs,
key_lhs: KeyLhs,
key_rhs: KeyRhs,
predicate: Pred,
project: Proj,
) -> JoinInner<'a, Self, Rhs, KeyLhs, KeyRhs, Pred, Proj>
fn join_inner<Pred, Proj, KeyLhs, KeyRhs, Rhs>( self, with: Rhs, key_lhs: KeyLhs, key_rhs: KeyRhs, predicate: Pred, project: Proj, ) -> JoinInner<'a, Self, Rhs, KeyLhs, KeyRhs, Pred, Proj>
Intersection between the left and the right, both (non-sorted)
iterators. Read moreSource§fn collect_vec<T>(self, convert: impl FnMut(RelValue<'a>) -> T) -> Vec<T>where
Self: Sized,
fn collect_vec<T>(self, convert: impl FnMut(RelValue<'a>) -> T) -> Vec<T>where
Self: Sized,
Collect all the rows in this relation into a
Vec<T> given a function RelValue<'a> -> T.fn iter(&mut self) -> impl Iterator<Item = RelValue<'a>>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for EmptyRelOps
impl RefUnwindSafe for EmptyRelOps
impl Send for EmptyRelOps
impl Sync for EmptyRelOps
impl Unpin for EmptyRelOps
impl UnwindSafe for EmptyRelOps
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> 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