Skip to main content

AssertFalse

Trait AssertFalse 

Source
pub trait AssertFalse { }
Expand description

Asserts that a binary equals to _0

Example

use const_arithmetic::*;
let True = _1;
let False = _0;
 
fn bin_assert_false<B>(_b: B) where
B: Binary,
B: AssertFalse
{}
 
bin_assert_false(_0);

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§