pub trait Value: PartialEq<Self> {
type Key;
type Item;
// Required method
fn items<'a>(
&'a self,
) -> Option<Box<dyn Iterator<Item = (Self::Key, &'a Self::Item)> + 'a>>;
}Expand description
Represents a scalar value or an associative array.
Required Associated Types§
Required Methods§
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.