Skip to main content

Boolean

Trait Boolean 

Source
pub trait Boolean: Sealed {
    const VALUE: bool;
}
Expand description

Either True or False.

Required Associated Constants§

Source

const VALUE: bool

The boolean’s value.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<const VALUE: bool> Boolean for Bool<VALUE>

Source§

const VALUE: bool = VALUE