pub struct LineBreakInfo {
pub position: usize,
pub break_type: LineBreakType,
}Available on crate feature
analysis only.Expand description
Line break information in processed text
Fields§
§position: usizePosition in the plain text where the break occurs
break_type: LineBreakTypeType of line break
Trait Implementations§
Source§impl Clone for LineBreakInfo
impl Clone for LineBreakInfo
Source§fn clone(&self) -> LineBreakInfo
fn clone(&self) -> LineBreakInfo
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 moreAuto Trait Implementations§
impl Freeze for LineBreakInfo
impl RefUnwindSafe for LineBreakInfo
impl Send for LineBreakInfo
impl Sync for LineBreakInfo
impl Unpin for LineBreakInfo
impl UnsafeUnpin for LineBreakInfo
impl UnwindSafe for LineBreakInfo
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