pub trait MaybeBooleanwhere
    Self: From<bool>,{
    // Required method
    fn try_as_bool(&self) -> Result<bool, TypeMismatch>;
}
Expand description

Types that can be boolean

Required Methods§

source

fn try_as_bool(&self) -> Result<bool, TypeMismatch>

Try to interpret datum as boolean value

Implementors§