[][src]Trait cfgmap::Checkable

pub trait Checkable {
    fn check_that(&self, condition: Condition) -> bool;
}

Trait for the check_that function, that allows it to run a condition on a struct.

Required methods

fn check_that(&self, condition: Condition) -> bool

Checks whether the object satisfies the condition passed as c.

Note that the condition can be chained using .and (&) and .or (|).

Loading content...

Implementations on Foreign Types

impl Checkable for Option<CfgValue>[src]

impl<'_> Checkable for Option<&'_ CfgValue>[src]

impl<'_> Checkable for Option<&'_ mut CfgValue>[src]

Loading content...

Implementors

impl Checkable for CfgValue[src]

Loading content...