Skip to main content

Union

Type Alias Union 

Source
pub type Union<T, R> = <T as Extend<R>>::Output;
Expand description

Type alias for the union of two type sets.

ยงExample

assert::eq::<Union<(i32,), (i16,)>, (i32, i16)>();