Enum glyph_brush_layout::LineBreak
source · pub enum LineBreak {
Soft(usize),
Hard(usize),
}
Expand description
Indicator that a character is a line break, soft or hard. Includes the offset (byte-index) position.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for LineBreak
impl PartialEq for LineBreak
impl Copy for LineBreak
impl Eq for LineBreak
impl StructuralEq for LineBreak
impl StructuralPartialEq for LineBreak
Auto Trait Implementations§
impl RefUnwindSafe for LineBreak
impl Send for LineBreak
impl Sync for LineBreak
impl Unpin for LineBreak
impl UnwindSafe for LineBreak
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