pub trait MapCollection:
Debug
+ Clone
+ Default
+ Send
+ Sync
+ 'static {
// Required methods
fn len(&self) -> usize;
fn iter_values(&self) -> impl Iterator<Item = Value>;
fn select(v: Value) -> Option<Self>;
fn project(self) -> Value;
fn etyp(ft: &FnType) -> Result<Type>;
}Required Methods§
Sourcefn iter_values(&self) -> impl Iterator<Item = Value>
fn iter_values(&self) -> impl Iterator<Item = Value>
iterate the collection elements as values
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".