pub trait ValueObjectAccessAsContainer {
type Key: ?Sized;
type Target;
type Array: Array;
type Object: Object;
// Required methods
fn get_array<Q>(&self, k: &Q) -> Option<&Self::Array>
where Self::Key: Borrow<Q> + Hash + Eq,
Q: Hash + Eq + Ord + ?Sized;
fn get_object<Q>(&self, k: &Q) -> Option<&Self::Object>
where Self::Key: Borrow<Q> + Hash + Eq,
Q: Hash + Eq + Ord + ?Sized;
}
Expand description
Access to container 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.