[][src]Trait ari::BoolExt

pub trait BoolExt {
    fn as_option(&self) -> Option<()>;
}

extensions to bool.

Required methods

fn as_option(&self) -> Option<()>

converts a true into Some(()) and false into None.

Loading content...

Implementations on Foreign Types

impl BoolExt for bool[src]

Loading content...

Implementors

Loading content...