Skip to main content

ToBool

Trait ToBool 

Source
pub trait ToBool {
    // Required method
    fn to_bool(&self) -> bool;
}

Required Methods§

Source

fn to_bool(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§