Trait BooleanMatchers

Source
pub trait BooleanMatchers {
    // Required methods
    fn to_be_true(self) -> Self;
    fn to_be_false(self) -> Self;
}

Required Methods§

Source

fn to_be_true(self) -> Self

Source

fn to_be_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§

Source§

impl<V> BooleanMatchers for Assertion<V>
where V: AsBoolean + Debug + Clone,