Pipe Trait
Add pipe
method to every type.
Usage Examples
Same type
use *;
let inc = ;
let double = ;
let square = ;
let a = .pipe.pipe.pipe;
let b = square;
assert_eq!;
Type transformation
use *;
let x = 'x';
let a = x
.pipe // (char, char, char)
.pipe // [(char, char, char); 2]
.pipe; // String
let b = "[('x', 'x', 'x'), ('x', 'x', 'x')]";
assert_eq!;