Skip to main content

impl_cmov_with_cast

Macro impl_cmov_with_cast 

Source
macro_rules! impl_cmov_with_cast {
    ( $($src:ty => $dst:ty),+ ) => { ... };
}
Expand description

Implement Cmov and CmovEq traits by casting to a different type that impls the traits.