pub trait BoolOps {
// Provided methods
fn new(value: bool) -> bool { ... }
fn __expand_new(
_scope: &mut Scope,
value: ExpandElementTyped<bool>,
) -> ExpandElementTyped<bool> { ... }
}
Expand description
Extension trait for bool.
Provided Methods§
fn new(value: bool) -> bool
fn __expand_new( _scope: &mut Scope, value: ExpandElementTyped<bool>, ) -> ExpandElementTyped<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.