#[repr(i32)]pub enum WrapMode {
None = 0,
AtColumn = 1,
AtPixel = 2,
AtBounds = 3,
}
Expand description
Defines wrap modes
Variants§
None = 0
No wrapping
AtColumn = 1
Wrap text at certain column
AtPixel = 2
Wrap text at certain pixel
AtBounds = 3
Wrap text at certain bounds
Trait Implementations§
source§impl PartialEq for WrapMode
impl PartialEq for WrapMode
impl Copy for WrapMode
impl Eq for WrapMode
impl StructuralEq for WrapMode
impl StructuralPartialEq for WrapMode
Auto Trait Implementations§
impl RefUnwindSafe for WrapMode
impl Send for WrapMode
impl Sync for WrapMode
impl Unpin for WrapMode
impl UnwindSafe for WrapMode
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