trait TwoWayStrategy {
type Output;
// Required methods
fn use_early_reject() -> bool;
fn rejecting(a: usize, b: usize) -> Self::Output;
fn matching(a: usize, b: usize) -> Self::Output;
}
🔬This is a nightly-only experimental API. (
pattern
#27721)Required Associated Types§
Required Methods§
fn use_early_reject() -> bool
🔬This is a nightly-only experimental API. (
pattern
#27721)fn rejecting(a: usize, b: usize) -> Self::Output
🔬This is a nightly-only experimental API. (
pattern
#27721)fn matching(a: usize, b: usize) -> Self::Output
🔬This is a nightly-only experimental API. (
pattern
#27721)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.