pub struct CachedStdin { /* private fields */ }
Expand description
A wrapper around stdin that buffers and caches input so that it can be manipulated like a Buffer
Implementations§
Source§impl CachedStdin
impl CachedStdin
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct a new, empty CachedStdin ready to process input.
Trait Implementations§
Source§impl Debug for CachedStdin
impl Debug for CachedStdin
Source§impl Default for CachedStdin
impl Default for CachedStdin
Source§impl Edit for CachedStdin
impl Edit for CachedStdin
Auto Trait Implementations§
impl !Freeze for CachedStdin
impl !RefUnwindSafe for CachedStdin
impl Send for CachedStdin
impl !Sync for CachedStdin
impl Unpin for CachedStdin
impl UnwindSafe for CachedStdin
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