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