Skip to main content

BoolOps

Trait BoolOps 

Source
pub trait BoolOps {
    // Provided methods
    fn new(value: bool) -> bool { ... }
    fn __expand_new(
        _scope: &mut Scope,
        value: NativeExpand<bool>,
    ) -> NativeExpand<bool> { ... }
}
Expand description

Extension trait for bool.

Provided Methods§

Source

fn new(value: bool) -> bool

Source

fn __expand_new( _scope: &mut Scope, value: NativeExpand<bool>, ) -> NativeExpand<bool>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl BoolOps for bool

Implementors§