#[repr(i32)]
pub enum WrapMode {
None,
AtColumn,
AtPixel,
AtBounds,
}
Expand description
Defines wrap modes
Variants
None
No wrapping
AtColumn
Wrap text at certain column
AtPixel
Wrap text at certain pixel
AtBounds
Wrap text at certain bounds
Trait Implementations
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
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