#[non_exhaustive]#[repr(C)]pub enum LineBreakStrictness {
Loose = 0,
Normal = 1,
Strict = 2,
Anywhere = 3,
}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 LineBreakStrictness
impl Clone for LineBreakStrictness
Source§fn clone(&self) -> LineBreakStrictness
fn clone(&self) -> LineBreakStrictness
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 From<LineBreakStrictness> for LineBreakStrictness
impl From<LineBreakStrictness> for LineBreakStrictness
Source§fn from(other: LineBreakStrictness) -> Self
fn from(other: LineBreakStrictness) -> Self
Converts to this type from the input type.
Source§impl From<LineBreakStrictness> for LineBreakStrictness
impl From<LineBreakStrictness> for LineBreakStrictness
Source§fn from(this: LineBreakStrictness) -> Self
fn from(this: LineBreakStrictness) -> Self
Converts to this type from the input type.
impl Copy for LineBreakStrictness
Auto Trait Implementations§
impl Freeze for LineBreakStrictness
impl RefUnwindSafe for LineBreakStrictness
impl Send for LineBreakStrictness
impl Sync for LineBreakStrictness
impl Unpin for LineBreakStrictness
impl UnsafeUnpin for LineBreakStrictness
impl UnwindSafe for LineBreakStrictness
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