Skip to main content

Truthy

Trait Truthy 

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

Required Methods§

Source

fn is_truthy(&self) -> bool

Implementations on Foreign Types§

Source§

impl Truthy for bool

Source§

fn is_truthy(&self) -> bool

Source§

impl<T> Truthy for Option<T>

Source§

fn is_truthy(&self) -> bool

Source§

impl<T, E> Truthy for Result<T, E>

Source§

fn is_truthy(&self) -> bool

Implementors§