Struct script::dom::domstringlist::DOMStringList
source · Fields
reflector_: Reflector
strings: Vec<DOMString>
Implementations
sourceimpl DOMStringList
impl DOMStringList
pub fn new_inherited(strings: Vec<DOMString>) -> DOMStringList
pub fn new(window: &Window, strings: Vec<DOMString>) -> Root<Dom<DOMStringList>>
Trait Implementations
sourceimpl DOMStringListMethods for DOMStringList
impl DOMStringListMethods for DOMStringList
sourceimpl DomObject for DOMStringList
impl DomObject for DOMStringList
sourceimpl DomObjectWrap for DOMStringList
impl DomObjectWrap for DOMStringList
sourceconst WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Box<Self>) -> Root<Dom<Self>> = {dom::bindings::codegen::Bindings::DOMStringListBinding::DOMStringListBinding::Wrap as for<'a> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::boxed::Box<dom::domstringlist::DOMStringList>) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::domstringlist::DOMStringList>>}
const WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Box<Self>) -> Root<Dom<Self>> = {dom::bindings::codegen::Bindings::DOMStringListBinding::DOMStringListBinding::Wrap as for<'a> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::boxed::Box<dom::domstringlist::DOMStringList>) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::domstringlist::DOMStringList>>}
Function pointer to the general wrap function type
sourceimpl HasParent for DOMStringList
impl HasParent for DOMStringList
sourceimpl IDLInterface for DOMStringList
impl IDLInterface for DOMStringList
sourceimpl JSTraceable for DOMStringList
impl JSTraceable for DOMStringList
sourceimpl MallocSizeOf for DOMStringList
impl MallocSizeOf for DOMStringList
sourcefn 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. Read more
sourceimpl MutDomObject for DOMStringList
impl MutDomObject for DOMStringList
sourceunsafe fn init_reflector(&self, obj: *mut JSObject)
unsafe fn init_reflector(&self, obj: *mut JSObject)
Initializes the Reflector
sourceimpl PartialEq<DOMStringList> for DOMStringList
impl PartialEq<DOMStringList> for DOMStringList
sourcefn eq(&self, other: &DOMStringList) -> bool
fn eq(&self, other: &DOMStringList) -> bool
sourceimpl ToJSValConvertible for DOMStringList
impl ToJSValConvertible for DOMStringList
sourceunsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandleValue<'_>)
unsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandleValue<'_>)
Convert
self
to a JSVal
. JSAPI failure causes a panic.Auto Trait Implementations
impl !RefUnwindSafe for DOMStringList
impl !Send for DOMStringList
impl !Sync for DOMStringList
impl Unpin for DOMStringList
impl UnwindSafe for DOMStringList
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
sourcefn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
sourceimpl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
sourcefn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert