pub enum BreakOpportunity {
Mandatory,
Allowed,
}
Expand description
Break opportunity type.
Variants§
Trait Implementations§
source§impl Clone for BreakOpportunity
impl Clone for BreakOpportunity
source§fn clone(&self) -> BreakOpportunity
fn clone(&self) -> BreakOpportunity
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 Debug for BreakOpportunity
impl Debug for BreakOpportunity
source§impl PartialEq<BreakOpportunity> for BreakOpportunity
impl PartialEq<BreakOpportunity> for BreakOpportunity
source§fn eq(&self, other: &BreakOpportunity) -> bool
fn eq(&self, other: &BreakOpportunity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BreakOpportunity
impl Eq for BreakOpportunity
impl StructuralEq for BreakOpportunity
impl StructuralPartialEq for BreakOpportunity
Auto Trait Implementations§
impl RefUnwindSafe for BreakOpportunity
impl Send for BreakOpportunity
impl Sync for BreakOpportunity
impl Unpin for BreakOpportunity
impl UnwindSafe for BreakOpportunity
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