Module wyz::conv[][src]

Directed Type Conversion

This module provides sibling traits to the std::convert module. The standard library puts the type parameter in the trait declaration, which makes those traits generic and suitable for constraint clauses and function calls, but not usable in indeterminate method-call positions. These traits put the type parameter in the function declaration, making the trait non-generic and allowing the function to be called in method-call position without ambiguity.

Traits

Conv

Directed Type Conversion

TryConv

Directed Fallible Type Conversion