Trait value_trait::derived::ValueObjectAccess
source · pub trait ValueObjectAccess {
type Key: ?Sized;
type Target;
// Required methods
fn get<Q>(&self, k: &Q) -> Option<&Self::Target>
where Self::Key: Borrow<Q> + Hash + Eq,
Q: ?Sized + Hash + Eq + Ord;
fn contains_key<Q>(&self, k: &Q) -> bool
where Self::Key: Borrow<Q> + Hash + Eq,
Q: ?Sized + Hash + Eq + Ord;
}
Expand description
Access to a value as an object
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.