Enum fdb_rl::range::endpoint::LowEndpoint
source · pub enum LowEndpoint<T>where
T: Debug + PartialEq,{
Start,
RangeInclusive(T),
RangeExclusive(T),
}
Expand description
Low endpoint of a range.
Variants§
Start
Start of the range.
RangeInclusive(T)
Includes endpoint value.
RangeExclusive(T)
Excludes endpoint value.
Implementations§
Trait Implementations§
source§impl<T> Clone for LowEndpoint<T>where
T: Debug + PartialEq + Clone,
impl<T> Clone for LowEndpoint<T>where T: Debug + PartialEq + Clone,
source§fn clone(&self) -> LowEndpoint<T>
fn clone(&self) -> LowEndpoint<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> PartialEq<LowEndpoint<T>> for LowEndpoint<T>where
T: Debug + PartialEq + PartialEq,
impl<T> PartialEq<LowEndpoint<T>> for LowEndpoint<T>where T: Debug + PartialEq + PartialEq,
source§fn eq(&self, other: &LowEndpoint<T>) -> bool
fn eq(&self, other: &LowEndpoint<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T> StructuralPartialEq for LowEndpoint<T>where T: Debug + PartialEq,
Auto Trait Implementations§
impl<T> RefUnwindSafe for LowEndpoint<T>where T: RefUnwindSafe,
impl<T> Send for LowEndpoint<T>where T: Send,
impl<T> Sync for LowEndpoint<T>where T: Sync,
impl<T> Unpin for LowEndpoint<T>where T: Unpin,
impl<T> UnwindSafe for LowEndpoint<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