pub struct LineStep { /* private fields */ }Expand description
An explicit iterator over lines in a particular slice of bytes.
This iterator avoids borrowing the bytes themselves, and instead requires callers to explicitly provide the bytes when moving through the iterator.
Line terminators are considered part of the line they terminate. All lines yielded by the iterator are guaranteed to be non-empty.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LineStep
impl RefUnwindSafe for LineStep
impl Send for LineStep
impl Sync for LineStep
impl Unpin for LineStep
impl UnsafeUnpin for LineStep
impl UnwindSafe for LineStep
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