naga::front::glsl::functions

Function conversion

source
fn conversion(target: &TypeInner, source: &TypeInner) -> Option<Conversion>
Expand description

Helper function, returns the type of conversion from source to target, if a conversion is not possible returns None.