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);Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".