pub enum BreakOpportunity {
Mandatory,
Allowed,
}
Expand description
Break opportunity type.
Variants
Mandatory
A line must break at this spot.
Allowed
A line is allowed to end at this spot.
Trait Implementations
sourceimpl Clone for BreakOpportunity
impl Clone for BreakOpportunity
sourcefn clone(&self) -> BreakOpportunity
fn clone(&self) -> BreakOpportunity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BreakOpportunity
impl Debug for BreakOpportunity
sourceimpl PartialEq<BreakOpportunity> for BreakOpportunity
impl PartialEq<BreakOpportunity> for BreakOpportunity
sourcefn eq(&self, other: &BreakOpportunity) -> bool
fn eq(&self, other: &BreakOpportunity) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more