pub struct Console;Expand description
A console abstraction providing web console API methods.
Methods are associated functions (not instance methods) that internally
access the global Console signal, so callers use Console::log(msg)
without needing to obtain or hold a Console instance.
Implementations§
Source§impl Console
Implements the Console struct providing web console API methods.
impl Console
Implements the Console struct providing web console API methods.
Each method outputs to both the browser developer console and the vConsole panel signal, with appropriate log level classification. Methods are associated functions that internally access the global Console instance, so callers never need to hold a reference.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Console
impl RefUnwindSafe for Console
impl Send for Console
impl Sync for Console
impl Unpin for Console
impl UnsafeUnpin 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