pub trait consoleMethods {
Show 15 methods // Required methods fn Log( cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>, ); fn Debug( cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>, ); fn Info( cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>, ); fn Warn( cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>, ); fn Error( cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>, ); fn Assert( cx: SafeJSContext, global: &GlobalScope, condition: bool, message: HandleValue<'_>, ); fn Clear(global: &GlobalScope); fn Count(global: &GlobalScope, label: DOMString); fn CountReset(global: &GlobalScope, label: DOMString); fn Group( cx: SafeJSContext, global: &GlobalScope, data: Vec<HandleValue<'_>>, ); fn GroupCollapsed( cx: SafeJSContext, global: &GlobalScope, data: Vec<HandleValue<'_>>, ); fn GroupEnd(global: &GlobalScope); fn Time(global: &GlobalScope, label: DOMString); fn TimeLog( cx: SafeJSContext, global: &GlobalScope, label: DOMString, data: Vec<HandleValue<'_>>, ); fn TimeEnd(global: &GlobalScope, label: DOMString);
}

Required Methods§

source

fn Log(cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>)

source

fn Debug( cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>, )

source

fn Info(cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>)

source

fn Warn(cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>)

source

fn Error( cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>, )

source

fn Assert( cx: SafeJSContext, global: &GlobalScope, condition: bool, message: HandleValue<'_>, )

source

fn Clear(global: &GlobalScope)

source

fn Count(global: &GlobalScope, label: DOMString)

source

fn CountReset(global: &GlobalScope, label: DOMString)

source

fn Group(cx: SafeJSContext, global: &GlobalScope, data: Vec<HandleValue<'_>>)

source

fn GroupCollapsed( cx: SafeJSContext, global: &GlobalScope, data: Vec<HandleValue<'_>>, )

source

fn GroupEnd(global: &GlobalScope)

source

fn Time(global: &GlobalScope, label: DOMString)

source

fn TimeLog( cx: SafeJSContext, global: &GlobalScope, label: DOMString, data: Vec<HandleValue<'_>>, )

source

fn TimeEnd(global: &GlobalScope, label: DOMString)

Object Safety§

This trait is not object safe.

Implementors§