Trait StaticBool

Source
pub trait StaticBool: StaticValue<CorrespondingRuntimeType = bool> { }
Expand description

To be used as an associated type which is analogous to a bool.

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<X: StaticValue<CorrespondingRuntimeType = bool> + ?Sized> StaticBool for X