Skip to main content

convert

Function convert 

Source
pub fn convert<T: Convert + Ty + Clone>(i1: &T, i2: &T) -> Option<(T, T)>
Expand description

Performs overload resolution when two instances of T are involved (which is the most common). it just makes sure that the two instance types are the same. This is sufficient in most cases.