deno_ast::swc::transforms::perf

Trait 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,

Source§

type Elem = &'a T

Source§

fn len(&self) -> usize

Source§

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

Source§

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

Source§

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

Source§

type Elem = T

Source§

fn len(&self) -> usize

Implementors§