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