Trait ParamMode

Source
pub trait ParamMode: Toggle {
    const BIASED: bool = false;

    // Provided method
    fn is_biased(&self) -> bool { ... }
}

Provided Associated Constants§

Source

const BIASED: bool = false

Provided Methods§

Source

fn is_biased(&self) -> bool

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.

Implementations on Foreign Types§

Source§

impl<T> ParamMode for Option<T>
where T: 'static,

Source§

const BIASED: bool = false

Source§

fn is_biased(&self) -> bool

Implementors§