pub trait OutputMode<Op: ?Sized> {
type Case: ?Sized;
// Required method
fn output_mode(input: &Self::Case) -> Mode;
}
Expand description
Trait for determining the mode of the output of an operation.
Required Associated Types§
Required Methods§
Sourcefn output_mode(input: &Self::Case) -> Mode
fn output_mode(input: &Self::Case) -> Mode
Returns the mode of the 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.