Struct yew::services::console::ConsoleService
source · pub struct ConsoleService {}
Expand description
A service to use methods of a Console.
Implementations
sourceimpl ConsoleService
impl ConsoleService
sourcepub fn log(&mut self, message: &str)
pub fn log(&mut self, message: &str)
console.log method implementation.
sourcepub fn warn(&mut self, message: &str)
pub fn warn(&mut self, message: &str)
console.warn method implementation.
sourcepub fn info(&mut self, message: &str)
pub fn info(&mut self, message: &str)
console.info method implementation.
sourcepub fn error(&mut self, message: &str)
pub fn error(&mut self, message: &str)
console.error method implementation.
sourcepub fn debug(&mut self, message: &str)
pub fn debug(&mut self, message: &str)
console.debug method implementation.
sourcepub fn count_named(&mut self, name: &str)
pub fn count_named(&mut self, name: &str)
console.count_named method implementation.
sourcepub fn count(&mut self)
pub fn count(&mut self)
console.count method implementation.
sourcepub fn time_named(&mut self, name: &str)
pub fn time_named(&mut self, name: &str)
console.time_named method implementation.
sourcepub fn time_named_end(&mut self, name: &str)
pub fn time_named_end(&mut self, name: &str)
console.time_named_end method implementation.
sourcepub fn time(&mut self)
pub fn time(&mut self)
console.time method implementation.
sourcepub fn time_end(&mut self)
pub fn time_end(&mut self)
console.time_end method implementation.
sourcepub fn clear(&mut self)
pub fn clear(&mut self)
console.clear method implementation.
sourcepub fn group(&mut self)
pub fn group(&mut self)
console.group method implementation.
sourcepub fn group_collapsed(&mut self)
pub fn group_collapsed(&mut self)
console.group_collapsed method implementation.
sourcepub fn group_end(&mut self)
pub fn group_end(&mut self)
console.group_end method implementation.
sourcepub fn trace(&mut self)
pub fn trace(&mut self)
console.trace method implementation.
sourcepub fn assert(&mut self, condition: bool, message: &str)
pub fn assert(&mut self, condition: bool, message: &str)
console.assert method implementation.
Trait Implementations
sourceimpl Default for ConsoleService
impl Default for ConsoleService
sourcefn default() -> ConsoleService
fn default() -> ConsoleService
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ConsoleService
impl Send for ConsoleService
impl Sync for ConsoleService
impl Unpin for ConsoleService
impl UnwindSafe for ConsoleService
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more