Trait HasCheckedValue

Source
pub trait HasCheckedValue {
    // Required method
    fn is_checked_value(&self) -> bool;
}
Expand description

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§

Source

fn is_checked_value(&self) -> bool

Returns whether this value represents “checked”

Implementations on Foreign Types§

Source§

impl HasCheckedValue for bool

Implementors§