pub trait consoleMethods<D: DomTypes> {
Show 16 methods // Required methods fn Assert( cx: SafeJSContext, global: &GlobalScope, condition: bool, data: Vec<HandleValue<'_>>, ); fn Clear(global: &GlobalScope); fn Debug( cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>, ); fn Error( cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>, ); fn Info( cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>, ); fn Log( cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>, ); fn Trace( cx: SafeJSContext, global: &GlobalScope, data: Vec<HandleValue<'_>>, ); fn Warn( cx: SafeJSContext, global: &GlobalScope, messages: Vec<HandleValue<'_>>, ); 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 Assert( cx: SafeJSContext, global: &GlobalScope, condition: bool, data: Vec<HandleValue<'_>>, )

source

fn Clear(global: &GlobalScope)

source

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

source

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

source

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

source

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

source

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

source

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

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§