Trait deno_ast::swc::transforms::perf::Items

source ·
pub trait Items: IntoIterator<Item = Self::Elem> {
    type Elem: Send + Sync;

    // Required method
    fn len(&self) -> usize;
}
Expand description

This is considered as a private type and it’s NOT A PUBLIC API.

Required Associated Types§

Required Methods§

source

fn len(&self) -> usize

Implementations on Foreign Types§

source§

impl<'a, T> Items for &'a [T]
where T: Send + Sync,

§

type Elem = &'a T

source§

fn len(&self) -> usize

source§

impl<'a, T> Items for &'a mut [T]
where T: Send + Sync,

§

type Elem = &'a mut T

source§

fn len(&self) -> usize

source§

impl<'a, T> Items for &'a mut Vec<T>
where T: Send + Sync,

§

type Elem = &'a mut T

source§

fn len(&self) -> usize

source§

impl<T> Items for Vec<T>
where T: Send + Sync,

§

type Elem = T

source§

fn len(&self) -> usize

Implementors§