Trait core_extensions::type_level_bool::Boolean
source · [−]pub trait Boolean: Sealed + MarkerType + ConstDefault + Default + Sized + Debug + Copy + Clone + Not + BitAnd<True, Output = Self> + BitAnd<False, Output = False> + BitAnd<Self, Output = Self> + BitOr<True, Output = True> + BitOr<False, Output = Self> + BitOr<Self, Output = Self> + BitXor<True, Output = <Self as Not>::Output> + BitXor<False, Output = Self> + BitXor<Self, Output = False> {
const VALUE: bool;
}
Available on crate feature
type_level_bool
only.Expand description
Represents a type-level bool
Only implemented on True
and False
.
For examples look at the module-level documentation.
This trait is sealed and cannot be implemented for types outside this crate.