#[repr(usize)]pub enum LineBreakMode {
WordWrapping = 0,
CharWrapping = 1,
Clipping = 2,
TruncatingHead = 3,
TruncatingTail = 4,
TruncatingMiddle = 5,
}Expand description
NSLineBreakMode
Variants§
WordWrapping = 0
CharWrapping = 1
Clipping = 2
TruncatingHead = 3
TruncatingTail = 4
TruncatingMiddle = 5
Trait Implementations§
Source§impl Clone for LineBreakMode
impl Clone for LineBreakMode
Source§fn clone(&self) -> LineBreakMode
fn clone(&self) -> LineBreakMode
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 moreimpl Copy for LineBreakMode
Source§impl Debug for LineBreakMode
impl Debug for LineBreakMode
impl Eq for LineBreakMode
Source§impl Hash for LineBreakMode
impl Hash for LineBreakMode
Source§impl PartialEq for LineBreakMode
impl PartialEq for LineBreakMode
Source§fn eq(&self, other: &LineBreakMode) -> bool
fn eq(&self, other: &LineBreakMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LineBreakMode
Auto Trait Implementations§
impl Freeze for LineBreakMode
impl RefUnwindSafe for LineBreakMode
impl Send for LineBreakMode
impl Sync for LineBreakMode
impl Unpin for LineBreakMode
impl UnsafeUnpin for LineBreakMode
impl UnwindSafe for LineBreakMode
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