#[repr(u8)]pub enum BoundsMode {
Restrictive = 1,
None = 0,
}Variants§
Trait Implementations§
Source§impl Clone for BoundsMode
impl Clone for BoundsMode
Source§fn clone(&self) -> BoundsMode
fn clone(&self) -> BoundsMode
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 BoundsMode
Source§impl Debug for BoundsMode
impl Debug for BoundsMode
impl Eq for BoundsMode
Source§impl Hash for BoundsMode
impl Hash for BoundsMode
Source§impl Ord for BoundsMode
impl Ord for BoundsMode
Source§fn cmp(&self, other: &BoundsMode) -> Ordering
fn cmp(&self, other: &BoundsMode) -> Ordering
1.21.0 (const: unstable) · 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 BoundsMode
impl PartialEq for BoundsMode
Source§fn eq(&self, other: &BoundsMode) -> bool
fn eq(&self, other: &BoundsMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BoundsMode
impl PartialOrd for BoundsMode
impl StructuralPartialEq for BoundsMode
Auto Trait Implementations§
impl Freeze for BoundsMode
impl RefUnwindSafe for BoundsMode
impl Send for BoundsMode
impl Sync for BoundsMode
impl Unpin for BoundsMode
impl UnsafeUnpin for BoundsMode
impl UnwindSafe for BoundsMode
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