[][src]Struct yew::services::console::ConsoleService

pub struct ConsoleService {}

A service to use methods of a Console.

Methods

impl ConsoleService[src]

pub fn new() -> Self[src]

Creates a new service instance connected to App by provided sender.

pub fn log(&mut self, message: &str)[src]

console.log method implementation.

pub fn warn(&mut self, message: &str)[src]

console.warn method implementation.

pub fn info(&mut self, message: &str)[src]

console.info method implementation.

pub fn error(&mut self, message: &str)[src]

console.error method implementation.

pub fn debug(&mut self, message: &str)[src]

console.debug method implementation.

pub fn count_named(&mut self, name: &str)[src]

console.count_named method implementation.

pub fn count(&mut self)[src]

console.count method implementation.

pub fn time_named(&mut self, name: &str)[src]

console.time_named method implementation.

pub fn time_named_end(&mut self, name: &str)[src]

console.time_named_end method implementation.

pub fn time(&mut self)[src]

console.time method implementation.

pub fn time_end(&mut self)[src]

console.time_end method implementation.

pub fn clear(&mut self)[src]

console.clear method implementation.

pub fn group(&mut self)[src]

console.group method implementation.

pub fn group_collapsed(&mut self)[src]

console.group_collapsed method implementation.

pub fn group_end(&mut self)[src]

console.group_end method implementation.

pub fn trace(&mut self)[src]

console.trace method implementation.

pub fn assert(&mut self, condition: bool, message: &str)[src]

console.assert method implementation.

Trait Implementations

impl Debug for ConsoleService[src]

impl Default for ConsoleService[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.