Skip to main content

Boolean

Trait Boolean 

pub unsafe trait Boolean: Copy {
    const CONST_DEFAULT: Self;
}

Required Associated Constants§

const CONST_DEFAULT: Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

§

impl Boolean for bool

§

const CONST_DEFAULT: bool = false

Implementors§