Trait strum::VariantIterator

source ·
pub trait VariantIterator: Sized {
    type Iterator: Iterator<Item = Self>;

    // Required method
    fn iter() -> Self::Iterator;
}

Required Associated Types§

source

type Iterator: Iterator<Item = Self>

Required Methods§

source

fn iter() -> Self::Iterator

Object Safety§

This trait is not object safe.

Implementors§