pub struct LineRead {
pub from: u64,
pub limit: u64,
pub prefix: u64,
pub bytes: u64,
}Expand description
Stored lines to read: up to limit from line from (past a gap pruning left, too), each cut to its first
prefix bytes, stopping after the line that brings the text read to bytes.
Fields§
§from: u64The first line.
limit: u64How many lines at most.
prefix: u64How much of each line’s text, in bytes.
bytes: u64How much text in all, in bytes: the line that reaches it is the last.
Implementations§
Trait Implementations§
impl Copy for LineRead
impl Eq for LineRead
impl StructuralPartialEq for LineRead
Auto Trait Implementations§
impl Forget for LineRead
impl Freeze for LineRead
impl Move for LineRead
impl RefUnwindSafe for LineRead
impl Send for LineRead
impl Sync for LineRead
impl Unpin for LineRead
impl UnsafeUnpin for LineRead
impl UnwindSafe for LineRead
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.