pub struct rin;
Expand description
Emulates the behavior of cin
.
Unlike cin
, this reads and parses a line.
Examples
let mut a = "".to_owned();
let mut b = 42;
rin >> &mut a >> &mut b;
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for rin
impl Send for rin
impl Sync for rin
impl Unpin for rin
impl UnwindSafe for rin
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