#[repr(C)]pub struct IterableIterator<T: DomObjectIteratorWrap + JSTraceable + Iterable> {
reflector: Reflector,
iterable: Dom<T>,
type_: IteratorType,
index: Cell<u32>,
}
Expand description
An iterator over the iterable entries of a given DOM interface.
Fields§
§reflector: Reflector
§iterable: Dom<T>
§type_: IteratorType
§index: Cell<u32>
Implementations§
source§impl<T: DomObjectIteratorWrap + JSTraceable + Iterable> IterableIterator<T>
impl<T: DomObjectIteratorWrap + JSTraceable + Iterable> IterableIterator<T>
Trait Implementations§
source§impl<T: DomObjectIteratorWrap + JSTraceable + Iterable> DomObject for IterableIterator<T>
impl<T: DomObjectIteratorWrap + JSTraceable + Iterable> DomObject for IterableIterator<T>
source§impl<T: DomObjectIteratorWrap + JSTraceable + Iterable> DomObjectWrap for IterableIterator<T>
impl<T: DomObjectIteratorWrap + JSTraceable + Iterable> DomObjectWrap for IterableIterator<T>
source§impl IDLInterface for IterableIterator<FormData>
impl IDLInterface for IterableIterator<FormData>
source§impl IDLInterface for IterableIterator<Headers>
impl IDLInterface for IterableIterator<Headers>
source§impl<T> MallocSizeOf for IterableIterator<T>
impl<T> MallocSizeOf for IterableIterator<T>
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<T: DomObjectIteratorWrap + JSTraceable + Iterable> MutDomObject for IterableIterator<T>
impl<T: DomObjectIteratorWrap + JSTraceable + Iterable> MutDomObject for IterableIterator<T>
source§unsafe fn init_reflector(&self, obj: *mut JSObject)
unsafe fn init_reflector(&self, obj: *mut JSObject)
Initializes the Reflector
source§impl PartialEq for IterableIterator<FormData>
impl PartialEq for IterableIterator<FormData>
source§impl PartialEq for IterableIterator<GPUSupportedFeatures>
impl PartialEq for IterableIterator<GPUSupportedFeatures>
source§fn eq(&self, other: &IterableIterator<GPUSupportedFeatures>) -> bool
fn eq(&self, other: &IterableIterator<GPUSupportedFeatures>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq for IterableIterator<Headers>
impl PartialEq for IterableIterator<Headers>
source§impl PartialEq for IterableIterator<TestBindingMaplike>
impl PartialEq for IterableIterator<TestBindingMaplike>
source§fn eq(&self, other: &IterableIterator<TestBindingMaplike>) -> bool
fn eq(&self, other: &IterableIterator<TestBindingMaplike>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq for IterableIterator<TestBindingPairIterable>
impl PartialEq for IterableIterator<TestBindingPairIterable>
source§fn eq(&self, other: &IterableIterator<TestBindingPairIterable>) -> bool
fn eq(&self, other: &IterableIterator<TestBindingPairIterable>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq for IterableIterator<TestBindingSetlike>
impl PartialEq for IterableIterator<TestBindingSetlike>
source§fn eq(&self, other: &IterableIterator<TestBindingSetlike>) -> bool
fn eq(&self, other: &IterableIterator<TestBindingSetlike>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq for IterableIterator<URLSearchParams>
impl PartialEq for IterableIterator<URLSearchParams>
source§fn eq(&self, other: &IterableIterator<URLSearchParams>) -> bool
fn eq(&self, other: &IterableIterator<URLSearchParams>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T: DomObjectIteratorWrap + JSTraceable + Iterable> ToJSValConvertible for IterableIterator<T>
impl<T: DomObjectIteratorWrap + JSTraceable + Iterable> ToJSValConvertible for IterableIterator<T>
source§impl<T> Traceable for IterableIterator<T>
impl<T> Traceable for IterableIterator<T>
Auto Trait Implementations§
impl<T> !Freeze for IterableIterator<T>
impl<T> !RefUnwindSafe for IterableIterator<T>
impl<T> !Send for IterableIterator<T>
impl<T> !Sync for IterableIterator<T>
impl<T> Unpin for IterableIterator<T>
impl<T> UnwindSafe for IterableIterator<T>where
T: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
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