pub struct LineMetadata {
pub is_pure_ascii: bool,
pub byte_length: usize,
pub char_count: usize,
}Expand description
Metadata for a logical line.
Fields§
§is_pure_ascii: boolFast path flag: whether this is pure ASCII.
byte_length: usizeByte length of this line.
char_count: usizeCharacter count of this line.
Implementations§
Trait Implementations§
Source§impl Clone for LineMetadata
impl Clone for LineMetadata
Source§impl Debug for LineMetadata
impl Debug for LineMetadata
Auto Trait Implementations§
impl Forget for LineMetadata
impl Freeze for LineMetadata
impl Move for LineMetadata
impl RefUnwindSafe for LineMetadata
impl Send for LineMetadata
impl Sync for LineMetadata
impl Unpin for LineMetadata
impl UnsafeUnpin for LineMetadata
impl UnwindSafe for LineMetadata
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