If

Type Alias If 

Source
pub type If<C, A, B> = <C as Bool>::If<A, B>;
Expand description

If Self is True construct type A otherwise B.