#[non_exhaustive]pub enum IntervalBound {
Lower,
Upper,
}Expand description
Endpoint of an interval constructor input.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for IntervalBound
impl Clone for IntervalBound
Source§fn clone(&self) -> IntervalBound
fn clone(&self) -> IntervalBound
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 IntervalBound
Source§impl Debug for IntervalBound
impl Debug for IntervalBound
impl Eq for IntervalBound
Source§impl PartialEq for IntervalBound
impl PartialEq for IntervalBound
impl StructuralPartialEq for IntervalBound
Auto Trait Implementations§
impl Freeze for IntervalBound
impl RefUnwindSafe for IntervalBound
impl Send for IntervalBound
impl Sync for IntervalBound
impl Unpin for IntervalBound
impl UnsafeUnpin for IntervalBound
impl UnwindSafe for IntervalBound
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