pub struct IndexBuilder { /* private fields */ }Expand description
Builds a GcodeIndex from a file streamed into it, a piece at a time,
in one pass: the GcodeSink the printer port’s whole-file read feeds.
Implementations§
Source§impl IndexBuilder
impl IndexBuilder
Sourcepub fn finish(self) -> GcodeIndex
pub fn finish(self) -> GcodeIndex
The index of everything read, the file’s last line counting whether or not it ended in a newline.
Trait Implementations§
Source§impl Debug for IndexBuilder
impl Debug for IndexBuilder
Source§impl Default for IndexBuilder
impl Default for IndexBuilder
Source§impl GcodeSink for IndexBuilder
impl GcodeSink for IndexBuilder
Auto Trait Implementations§
impl Forget for IndexBuilder
impl Freeze for IndexBuilder
impl Move for IndexBuilder
impl RefUnwindSafe for IndexBuilder
impl Send for IndexBuilder
impl Sync for IndexBuilder
impl Unpin for IndexBuilder
impl UnsafeUnpin for IndexBuilder
impl UnwindSafe for IndexBuilder
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