pub enum RangeRelation {
Intersects,
Contains,
Within,
}Expand description
How a range relates to range-typed field values (relation).
Variants§
Intersects
The ranges overlap (default).
Contains
The field range fully contains the query range.
Within
The field range falls entirely within the query range.
Trait Implementations§
Source§impl Clone for RangeRelation
impl Clone for RangeRelation
Source§fn clone(&self) -> RangeRelation
fn clone(&self) -> RangeRelation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RangeRelation
Auto Trait Implementations§
impl Freeze for RangeRelation
impl RefUnwindSafe for RangeRelation
impl Send for RangeRelation
impl Sync for RangeRelation
impl Unpin for RangeRelation
impl UnsafeUnpin for RangeRelation
impl UnwindSafe for RangeRelation
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