pub struct GlobalStdin(/* private fields */);Implementations§
Source§impl GlobalStdin
impl GlobalStdin
pub fn read(&'static self) -> String
pub fn reread(&'static self) -> String
pub fn reread_lines( &'static self, ln_begin: usize, ln_end: usize, ) -> Vec<String>
pub fn lineno(&'static self) -> usize
pub fn block_begin(&'static self) -> usize
pub fn set_block_begin(&'static self, n: usize)
pub fn set_indent(&'static self, n: usize)
pub fn insert_whitespace(&'static self, whitespace: &str)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for GlobalStdin
impl !RefUnwindSafe for GlobalStdin
impl Send for GlobalStdin
impl Sync for GlobalStdin
impl Unpin for GlobalStdin
impl !UnwindSafe for GlobalStdin
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