pub trait MapAccessor {
// Required methods
fn get_keys<'a>(&'a self) -> Box<dyn ListAccessor + 'a>;
fn get_values<'a>(&'a self) -> Box<dyn ListAccessor + 'a>;
}
Expand description
Trait for type-safe access of an index for a Map
Required Methods§
Sourcefn get_keys<'a>(&'a self) -> Box<dyn ListAccessor + 'a>
fn get_keys<'a>(&'a self) -> Box<dyn ListAccessor + 'a>
Get the keys of the map.
Sourcefn get_values<'a>(&'a self) -> Box<dyn ListAccessor + 'a>
fn get_values<'a>(&'a self) -> Box<dyn ListAccessor + 'a>
Get the values of the map.