Struct Iter

pub struct Iter<'a, T = JsValue> { /* private fields */ }

An iterator over the JS Symbol.iterator iteration protocol.

Use the IntoIterator for &js_sys::Iterator implementation to create this.

Trait Implementations

impl<T: FromWasmAbi + JsGeneric> Iterator for Iter<'_, T>

type Item = Result<T, JsValue>;
fn next(&mut self) -> Option<Self::Item>

Auto Trait Implementations

impl<'a, T> Freeze for Iter<'a, T> where &'a Iterator<T>: Freeze,

impl<'a, T> RefUnwindSafe for Iter<'a, T> where &'a Iterator<T>: RefUnwindSafe,

impl<'a, T> Send for Iter<'a, T> where &'a Iterator<T>: Send,

impl<'a, T> Sync for Iter<'a, T> where &'a Iterator<T>: Sync,

impl<'a, T> Unpin for Iter<'a, T> where &'a Iterator<T>: Unpin,

impl<'a, T> UnsafeUnpin for Iter<'a, T> where &'a Iterator<T>: UnsafeUnpin,

impl<'a, T> UnwindSafe for Iter<'a, T> where &'a Iterator<T>: UnwindSafe,

Blanket Implementations

impl<I> IntoIterator for Iter<'a, T> where I: Iterator,

impl<S, T> Upcast<T> for Iter<'a, T> where T: UpcastFrom<S> + ?Sized, S: ?Sized,

impl<T> Any for Iter<'a, T> where T: 'static + ?Sized,

impl<T> Borrow<T> for Iter<'a, T> where T: ?Sized,

impl<T> BorrowMut<T> for Iter<'a, T> where T: ?Sized,

impl<T> From<T> for Iter<'a, T>

impl<T, U> Into<U> for Iter<'a, T> where U: From<T>,

impl<T, U> TryFrom<U> for Iter<'a, T> where U: Into<T>,

impl<T, U> TryInto<U> for Iter<'a, T> where U: TryFrom<T>,