0.1.1 |
|
---|---|
0.1.0 |
|
#36 in #checked
4KB
Const Layout
Compile time checked Layout bounds.
Example
the input and output type must habe the same size
use const_layout::EqSize;
fn must_have_same_size<I: EqSize<O>, O>(input: I) -> O {
...
}
0.1.1 |
|
---|---|
0.1.0 |
|
#36 in #checked
4KB
Compile time checked Layout bounds.
the input and output type must habe the same size
use const_layout::EqSize;
fn must_have_same_size<I: EqSize<O>, O>(input: I) -> O {
...
}