BoolAssertions

Trait BoolAssertions 

Source
pub trait BoolAssertions {
    // Required methods
    fn is_true(self) -> Self;
    fn is_false(self) -> Self;
}
Expand description

Assertions for boolean values.

Required Methods§

Source

fn is_true(self) -> Self

Source

fn is_false(self) -> Self

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§