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
Prelude to include needed traits Access to container values in an object
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.