[][src]Function directx_math::XMMin

pub fn XMMin<T: PartialOrd>(a: T, b: T) -> T

Compares two numeric data type instances, or two instances of an object which supports an overload of <, and returns the smaller one of the two instances. The data type of the arguments and the return value is the same.

https://docs.microsoft.com/en-us/windows/win32/dxmath/xmmin-template