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: ?Sized + Hash + Eq + Ord;
fn get_object<Q>(&self, k: &Q) -> Option<&Self::Object>
where Self::Key: Borrow<Q> + Hash + Eq,
Q: ?Sized + Hash + Eq + Ord;
}
Expand description
Access to container values in an object
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.