Struct script::dom::testrunner::TestRunner
source · #[repr(C)]pub struct TestRunner {
reflector_: Reflector,
}
Fields§
§reflector_: Reflector
Implementations§
source§impl TestRunner
impl TestRunner
fn __assert_parent_type(&self)
source§impl TestRunner
impl TestRunner
pub fn new_inherited() -> TestRunner
pub fn new(global: &GlobalScope) -> Root<Dom<TestRunner>>
fn get_bluetooth_thread(&self) -> IpcSender<BluetoothRequest>
Trait Implementations§
source§impl DomObject for TestRunner
impl DomObject for TestRunner
source§impl DomObjectWrap for TestRunner
impl DomObjectWrap for TestRunner
source§const WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<Self>) -> Root<Dom<Self>> = {dom::bindings::codegen::Bindings::TestRunnerBinding::TestRunnerBinding::Wrap as for<'a, 'b> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::option::Option<js::rust::Handle<'b, *mut js::jsapi::JSObject>>, std::boxed::Box<dom::testrunner::TestRunner>) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::testrunner::TestRunner>>}
const WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<Self>) -> Root<Dom<Self>> = {dom::bindings::codegen::Bindings::TestRunnerBinding::TestRunnerBinding::Wrap as for<'a, 'b> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::option::Option<js::rust::Handle<'b, *mut js::jsapi::JSObject>>, std::boxed::Box<dom::testrunner::TestRunner>) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::testrunner::TestRunner>>}
Function pointer to the general wrap function type
source§impl HasParent for TestRunner
impl HasParent for TestRunner
source§impl IDLInterface for TestRunner
impl IDLInterface for TestRunner
source§impl JSTraceable for TestRunner
impl JSTraceable for TestRunner
source§impl MallocSizeOf for TestRunner
impl MallocSizeOf for TestRunner
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl MutDomObject for TestRunner
impl MutDomObject for TestRunner
source§unsafe fn init_reflector(&self, obj: *mut JSObject)
unsafe fn init_reflector(&self, obj: *mut JSObject)
Initializes the Reflector
source§impl PartialEq<TestRunner> for TestRunner
impl PartialEq<TestRunner> for TestRunner
source§fn eq(&self, other: &TestRunner) -> bool
fn eq(&self, other: &TestRunner) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TestRunnerMethods for TestRunner
impl TestRunnerMethods for TestRunner
source§impl ToJSValConvertible for TestRunner
impl ToJSValConvertible for TestRunner
Auto Trait Implementations§
impl !RefUnwindSafe for TestRunner
impl !Send for TestRunner
impl !Sync for TestRunner
impl Unpin for TestRunner
impl UnwindSafe for TestRunner
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert