#[repr(u32)]pub enum BreakCondition {
Neutral = 0,
CanBreak = 1,
MayNotBreak = 2,
MustBreak = 3,
}Variants§
Implementations§
Trait Implementations§
Source§impl CheckedEnum for BreakCondition
impl CheckedEnum for BreakCondition
Source§impl Clone for BreakCondition
impl Clone for BreakCondition
Source§fn clone(&self) -> BreakCondition
fn clone(&self) -> BreakCondition
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 moreSource§impl Debug for BreakCondition
impl Debug for BreakCondition
Source§impl Hash for BreakCondition
impl Hash for BreakCondition
Source§impl Ord for BreakCondition
impl Ord for BreakCondition
Source§fn cmp(&self, other: &BreakCondition) -> Ordering
fn cmp(&self, other: &BreakCondition) -> 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 BreakCondition
impl PartialEq for BreakCondition
Source§fn eq(&self, other: &BreakCondition) -> bool
fn eq(&self, other: &BreakCondition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BreakCondition
impl PartialOrd for BreakCondition
impl Copy for BreakCondition
impl Eq for BreakCondition
impl StructuralPartialEq for BreakCondition
Auto Trait Implementations§
impl Freeze for BreakCondition
impl RefUnwindSafe for BreakCondition
impl Send for BreakCondition
impl Sync for BreakCondition
impl Unpin for BreakCondition
impl UnsafeUnpin for BreakCondition
impl UnwindSafe for BreakCondition
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