IntoSiteIterator

Trait IntoSiteIterator 

Source
pub trait IntoSiteIterator<const N: usize> {
    type Item: AsSiteView<N>;
    type Iter: ExactSizeIterator<Item = Self::Item>;

    // Required method
    fn into_site_iter(self) -> Self::Iter;
}
Expand description

A type that can be turned into an iterator over SAF sites.

Required Associated Types§

Source

type Item: AsSiteView<N>

The type of each individual site.

Source

type Iter: ExactSizeIterator<Item = Self::Item>

The type of iterator.

Required Methods§

Source

fn into_site_iter(self) -> Self::Iter

Convert this type into a SAF site iterator.

Implementors§

Source§

impl<'a, 'b, const N: usize> IntoSiteIterator<N> for &'b SafView<'a, N>

Source§

type Item = SiteView<'a, N>

Source§

type Iter = SiteIter<'a, N>

Source§

impl<'a, const N: usize> IntoSiteIterator<N> for &'a Saf<N>

Source§

type Item = SiteView<'a, N>

Source§

type Iter = SiteIter<'a, N>

Source§

impl<'a, const N: usize> IntoSiteIterator<N> for SafView<'a, N>

Source§

type Item = SiteView<'a, N>

Source§

type Iter = SiteIter<'a, N>

Source§

impl<const N: usize, T> IntoSiteIterator<N> for T