Trait arithmetic_typing::arith::WithBoolean

source ·
pub trait WithBoolean: PrimitiveType {
    const BOOL: Self;
}
Expand description

PrimitiveType that has Boolean type as one of its variants.

Required Associated Constants§

source

const BOOL: Self

Boolean type.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl WithBoolean for Num

source§

const BOOL: Self = Self::Bool