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