Trait GetKeyIter

Source
pub trait GetKeyIter {
    // Required method
    fn key_iter(&self) -> impl Iterator<Item = &str>;
}

Required Methods§

Source

fn key_iter(&self) -> impl Iterator<Item = &str>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl GetKeyIter for BTreeMap<String, String>

Source§

fn key_iter(&self) -> impl Iterator<Item = &str>

Source§

impl GetKeyIter for HashMap<String, String>

Source§

fn key_iter(&self) -> impl Iterator<Item = &str>

Implementors§