[−][src]Trait melange::tensor::shape::TRUE
This trait "aliases" B1 (type-level bit one) for use in trait bounds. It is especially useful with type-level binary operators.
Example
use melange::tensor::shape::{Same, TRUE}; fn test<S, Z>() where S: Same<Z>, // This bound is required by the following line <S as Same<Z>>::Output: TRUE // Constrains "S Same Z" hold (Output = B1) {}