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

pub struct ConsoleService {}

A service to use methods of a Console.

Implementations

impl ConsoleService[src]

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

console.log method implementation. This method outputs the provided message to the console.

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

console.warn method implementation. This method outputs the provided message to the console as a warning.

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

console.info method implementation. This method outputs the provided message to the console as information.

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

console.error method implementation. This method outputs the provided message to the console as an error.

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

console.debug method implementation.

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

console.count_named method implementation.

pub fn count()[src]

console.count method implementation.

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

console.time_named method implementation.

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

console.time_named_end method implementation.

pub fn time()[src]

console.time method implementation.

pub fn time_end()[src]

console.time_end method implementation.

pub fn clear()[src]

console.clear method implementation.

pub fn group()[src]

console.group method implementation.

pub fn group_collapsed()[src]

console.group_collapsed method implementation.

pub fn group_end()[src]

console.group_end method implementation.

pub fn trace()[src]

console.trace method implementation. This method outputs the current stack trace to the console.

pub fn assert(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.