pub trait Selectable<T = Self> {
type Conditional;
type Output;
// Required method
fn construct_selection(
condition: Self::Conditional,
a: Self,
b: T,
) -> Self::Output;
}Required Associated Types§
type Conditional
type Output
Required Methods§
fn construct_selection( condition: Self::Conditional, a: Self, b: T, ) -> Self::Output
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.