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