pub struct Ended {
pub matches: Vec<(usize, Span)>,
pub held: Vec<u8>,
pub base: usize,
pub lines_before: Option<usize>,
}Expand description
What a held stream comes to at its input’s end: the matches the scanner
held until then, as spans over held, with each member, and the bytes
and their place, as HeldStream gives them.
Fields§
§matches: Vec<(usize, Span)>§held: Vec<u8>§base: usizeWhere held begins in the input.
lines_before: Option<usize>How many of the input’s lines come before held, where the stream
counted them.
Auto Trait Implementations§
impl Freeze for Ended
impl RefUnwindSafe for Ended
impl Send for Ended
impl Sync for Ended
impl Unpin for Ended
impl UnsafeUnpin for Ended
impl UnwindSafe for Ended
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