Trait smart_config::de::ToEntries
source · pub trait ToEntries<K: 'static, V: 'static> {
// Required method
fn to_entries(&self) -> impl Iterator<Item = (&K, &V)>;
}
Expand description
Collection that can iterate over its entries.
Implemented for maps in the standard library, Vec<(K, V)>
, Box<[(K, V)]>
etc.
Required Methods§
sourcefn to_entries(&self) -> impl Iterator<Item = (&K, &V)>
fn to_entries(&self) -> impl Iterator<Item = (&K, &V)>
Iterates over entries in the collection.
Object Safety§
This trait is not object safe.