Trait script::dom::bindings::codegen::Bindings::ConsoleBinding::Console_Binding::consoleMethods
source · 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§
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)
Object Safety§
This trait is not object safe.