pub struct Console {}
Implementations§
source§impl Console
impl Console
pub fn new() -> Console
pub fn print(&self, msg: &str)
pub fn cmd(&self) -> String
pub fn cmd2(&self) -> String
pub fn cmd_hex32(&self) -> Result<u32, ParseIntError>
pub fn cmd_hex64(&self) -> Result<u64, ParseIntError>
pub fn cmd_num(&self) -> Result<u64, ParseIntError>
pub fn help(&self)
Auto Trait Implementations§
impl Freeze for Console
impl RefUnwindSafe for Console
impl Send for Console
impl Sync for Console
impl Unpin for Console
impl UnwindSafe for Console
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