pub trait PredicateMember: Sized {
// Required methods
fn get_if(v: &Predicate) -> Option<&Self>;
fn get_if_mut(v: &mut Predicate) -> Option<&mut Self>;
}Expand description
get_if<T>(&v) — the Rust shape of C++ overload-on-T over this variant.
Required Methods§
fn get_if(v: &Predicate) -> Option<&Self>
fn get_if_mut(v: &mut Predicate) -> Option<&mut Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".