Trait AssertTrue

Source
pub trait AssertTrue { }
Expand description

Asserts that a binary equals to _1

Example

use const_arithmetic::*;
 
fn bin_assert_true<B>(_b: B) where
B: Binary,
B: AssertTrue
{}
 
bin_assert_true(_1);

Implementors§