[][src]Trait valid::property::HasCheckedValue

pub trait HasCheckedValue {
    fn is_checked_value(&self) -> bool;
}

The checked property of a type.

This can be property of enums with 2 variants that have a similar meaning to the boolean type, e.g. yes/no, agreed/rejected, open/closed, etc.

Required methods

fn is_checked_value(&self) -> bool

Returns whether this value represents "checked"

Loading content...

Implementations on Foreign Types

impl HasCheckedValue for bool[src]

Loading content...

Implementors

Loading content...