pub struct LineInfo {
pub byte_len: u64,
}Expand description
Metadata for an existing line, including its terminating LF if present.
Fields§
§byte_len: u64Number of raw bytes in the line, including its LF if present.
An existing line always contains at least one byte.
Trait Implementations§
impl Copy for LineInfo
impl Eq for LineInfo
impl StructuralPartialEq for LineInfo
Auto Trait Implementations§
impl Freeze for LineInfo
impl RefUnwindSafe for LineInfo
impl Send for LineInfo
impl Sync for LineInfo
impl Unpin for LineInfo
impl UnsafeUnpin for LineInfo
impl UnwindSafe for LineInfo
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