Trait TwoWayStrategy

Source
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§

Source

type Output

🔬This is a nightly-only experimental API. (pattern #27721)

Required Methods§

Source

fn use_early_reject() -> bool

🔬This is a nightly-only experimental API. (pattern #27721)
Source

fn rejecting(a: usize, b: usize) -> Self::Output

🔬This is a nightly-only experimental API. (pattern #27721)
Source

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.

Implementors§