pub trait ACMapContains<S: PauliStorage, V: Coefficient, H: BuildHasher + Clone + Default, W: PauliWordTrait> {
// Required method
fn contains_with<F>(&self, key: &W, f: F) -> bool
where F: Fn(&V) -> bool;
// Provided method
fn contains(&self, key: &W, value: &V) -> bool { ... }
}Expand description
Membership queries — (key, value) exact match or with a custom
predicate on the value.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".