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

pub struct ConsoleService {}
Expand description

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]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for ConsoleService[src]

fn default() -> ConsoleService[src]

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

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