pub trait ValueObjectAccessAsArray {
type Key: ?Sized;
type Array: Array;
// Required method
fn get_array<Q>(&self, k: &Q) -> Option<&Self::Array>
where Self::Key: Borrow<Q>,
Q: ?Sized + Hash + Eq + Ord;
}
Expand description
Access to array values in an object
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.