pub trait ClosureUnderOperation<T> {
// Required methods
fn verify_closure_add(&self, other: &Self) -> bool
where Self: AdditiveOperation<T>;
fn verify_closure_mul(&self, other: &Self) -> bool
where Self: MultiplicativeOperation<T>;
}Required Methods§
fn verify_closure_add(&self, other: &Self) -> boolwhere
Self: AdditiveOperation<T>,
fn verify_closure_mul(&self, other: &Self) -> boolwhere
Self: MultiplicativeOperation<T>,
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.