#[repr(u8)]pub enum RangeBoundKind {
Inclusive = 0,
Exclusive = 1,
}Expand description
For range types, indicates if each bound is inclusive or exclusive
Variants§
Trait Implementations§
Source§impl Clone for RangeBoundKind
impl Clone for RangeBoundKind
Source§fn clone(&self) -> RangeBoundKind
fn clone(&self) -> RangeBoundKind
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 RangeBoundKind
impl Debug for RangeBoundKind
Source§impl Ord for RangeBoundKind
impl Ord for RangeBoundKind
Source§fn cmp(&self, other: &RangeBoundKind) -> Ordering
fn cmp(&self, other: &RangeBoundKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RangeBoundKind
impl PartialEq for RangeBoundKind
Source§impl PartialOrd for RangeBoundKind
impl PartialOrd for RangeBoundKind
impl Copy for RangeBoundKind
impl Eq for RangeBoundKind
impl StructuralPartialEq for RangeBoundKind
Auto Trait Implementations§
impl Freeze for RangeBoundKind
impl RefUnwindSafe for RangeBoundKind
impl Send for RangeBoundKind
impl Sync for RangeBoundKind
impl Unpin for RangeBoundKind
impl UnwindSafe for RangeBoundKind
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