Struct DefConv

Source
pub struct DefConv<S, D>(/* private fields */);
Expand description

The default conversion from S to D, if it exists.

Trait Implementations§

Source§

impl<S: Debug, D: Debug> Debug for DefConv<S, D>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl OneWay for DefConv<Complex<f32>, f32>

Source§

type Source = Complex<f32>

The type being converted from.
Source§

type Dest = f32

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f32>, f64>

Source§

type Source = Complex<f32>

The type being converted from.
Source§

type Dest = f64

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f32>, i128>

Source§

type Source = Complex<f32>

The type being converted from.
Source§

type Dest = i128

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f32>, i16>

Source§

type Source = Complex<f32>

The type being converted from.
Source§

type Dest = i16

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f32>, i32>

Source§

type Source = Complex<f32>

The type being converted from.
Source§

type Dest = i32

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f32>, i64>

Source§

type Source = Complex<f32>

The type being converted from.
Source§

type Dest = i64

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f32>, i8>

Source§

type Source = Complex<f32>

The type being converted from.
Source§

type Dest = i8

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f32>, u128>

Source§

type Source = Complex<f32>

The type being converted from.
Source§

type Dest = u128

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f32>, u16>

Source§

type Source = Complex<f32>

The type being converted from.
Source§

type Dest = u16

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f32>, u32>

Source§

type Source = Complex<f32>

The type being converted from.
Source§

type Dest = u32

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f32>, u64>

Source§

type Source = Complex<f32>

The type being converted from.
Source§

type Dest = u64

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f32>, u8>

Source§

type Source = Complex<f32>

The type being converted from.
Source§

type Dest = u8

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f64>, f32>

Source§

type Source = Complex<f64>

The type being converted from.
Source§

type Dest = f32

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f64>, f64>

Source§

type Source = Complex<f64>

The type being converted from.
Source§

type Dest = f64

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f64>, i128>

Source§

type Source = Complex<f64>

The type being converted from.
Source§

type Dest = i128

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f64>, i16>

Source§

type Source = Complex<f64>

The type being converted from.
Source§

type Dest = i16

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f64>, i32>

Source§

type Source = Complex<f64>

The type being converted from.
Source§

type Dest = i32

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f64>, i64>

Source§

type Source = Complex<f64>

The type being converted from.
Source§

type Dest = i64

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f64>, i8>

Source§

type Source = Complex<f64>

The type being converted from.
Source§

type Dest = i8

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f64>, u128>

Source§

type Source = Complex<f64>

The type being converted from.
Source§

type Dest = u128

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f64>, u16>

Source§

type Source = Complex<f64>

The type being converted from.
Source§

type Dest = u16

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f64>, u32>

Source§

type Source = Complex<f64>

The type being converted from.
Source§

type Dest = u32

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f64>, u64>

Source§

type Source = Complex<f64>

The type being converted from.
Source§

type Dest = u64

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<Complex<f64>, u8>

Source§

type Source = Complex<f64>

The type being converted from.
Source§

type Dest = u8

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl<S> OneWay for DefConv<S, S>

Source§

type Source = S

The type being converted from.
Source§

type Dest = S

The type being converted to.
Source§

fn one_way(src: S) -> Result<S>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f32, Complex<f32>>

Source§

type Source = f32

The type being converted from.
Source§

type Dest = Complex<f32>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f32, Complex<f64>>

Source§

type Source = f32

The type being converted from.
Source§

type Dest = Complex<f64>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f32, f64>

Source§

type Source = f32

The type being converted from.
Source§

type Dest = f64

The type being converted to.
Source§

fn one_way(src: f32) -> Result<f64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f32, i128>

Source§

type Source = f32

The type being converted from.
Source§

type Dest = i128

The type being converted to.
Source§

fn one_way(src: f32) -> Result<i128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f32, i16>

Source§

type Source = f32

The type being converted from.
Source§

type Dest = i16

The type being converted to.
Source§

fn one_way(src: f32) -> Result<i16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f32, i32>

Source§

type Source = f32

The type being converted from.
Source§

type Dest = i32

The type being converted to.
Source§

fn one_way(src: f32) -> Result<i32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f32, i64>

Source§

type Source = f32

The type being converted from.
Source§

type Dest = i64

The type being converted to.
Source§

fn one_way(src: f32) -> Result<i64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f32, i8>

Source§

type Source = f32

The type being converted from.
Source§

type Dest = i8

The type being converted to.
Source§

fn one_way(src: f32) -> Result<i8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f32, u128>

Source§

type Source = f32

The type being converted from.
Source§

type Dest = u128

The type being converted to.
Source§

fn one_way(src: f32) -> Result<u128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f32, u16>

Source§

type Source = f32

The type being converted from.
Source§

type Dest = u16

The type being converted to.
Source§

fn one_way(src: f32) -> Result<u16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f32, u32>

Source§

type Source = f32

The type being converted from.
Source§

type Dest = u32

The type being converted to.
Source§

fn one_way(src: f32) -> Result<u32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f32, u64>

Source§

type Source = f32

The type being converted from.
Source§

type Dest = u64

The type being converted to.
Source§

fn one_way(src: f32) -> Result<u64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f32, u8>

Source§

type Source = f32

The type being converted from.
Source§

type Dest = u8

The type being converted to.
Source§

fn one_way(src: f32) -> Result<u8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f64, Complex<f32>>

Source§

type Source = f64

The type being converted from.
Source§

type Dest = Complex<f32>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f64, Complex<f64>>

Source§

type Source = f64

The type being converted from.
Source§

type Dest = Complex<f64>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f64, f32>

Source§

type Source = f64

The type being converted from.
Source§

type Dest = f32

The type being converted to.
Source§

fn one_way(src: f64) -> Result<f32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f64, i128>

Source§

type Source = f64

The type being converted from.
Source§

type Dest = i128

The type being converted to.
Source§

fn one_way(src: f64) -> Result<i128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f64, i16>

Source§

type Source = f64

The type being converted from.
Source§

type Dest = i16

The type being converted to.
Source§

fn one_way(src: f64) -> Result<i16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f64, i32>

Source§

type Source = f64

The type being converted from.
Source§

type Dest = i32

The type being converted to.
Source§

fn one_way(src: f64) -> Result<i32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f64, i64>

Source§

type Source = f64

The type being converted from.
Source§

type Dest = i64

The type being converted to.
Source§

fn one_way(src: f64) -> Result<i64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f64, i8>

Source§

type Source = f64

The type being converted from.
Source§

type Dest = i8

The type being converted to.
Source§

fn one_way(src: f64) -> Result<i8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f64, u128>

Source§

type Source = f64

The type being converted from.
Source§

type Dest = u128

The type being converted to.
Source§

fn one_way(src: f64) -> Result<u128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f64, u16>

Source§

type Source = f64

The type being converted from.
Source§

type Dest = u16

The type being converted to.
Source§

fn one_way(src: f64) -> Result<u16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f64, u32>

Source§

type Source = f64

The type being converted from.
Source§

type Dest = u32

The type being converted to.
Source§

fn one_way(src: f64) -> Result<u32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f64, u64>

Source§

type Source = f64

The type being converted from.
Source§

type Dest = u64

The type being converted to.
Source§

fn one_way(src: f64) -> Result<u64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<f64, u8>

Source§

type Source = f64

The type being converted from.
Source§

type Dest = u8

The type being converted to.
Source§

fn one_way(src: f64) -> Result<u8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i128, Complex<f32>>

Source§

type Source = i128

The type being converted from.
Source§

type Dest = Complex<f32>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i128, Complex<f64>>

Source§

type Source = i128

The type being converted from.
Source§

type Dest = Complex<f64>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i128, f32>

Source§

type Source = i128

The type being converted from.
Source§

type Dest = f32

The type being converted to.
Source§

fn one_way(src: i128) -> Result<f32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i128, f64>

Source§

type Source = i128

The type being converted from.
Source§

type Dest = f64

The type being converted to.
Source§

fn one_way(src: i128) -> Result<f64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i128, i16>

Source§

type Source = i128

The type being converted from.
Source§

type Dest = i16

The type being converted to.
Source§

fn one_way(src: i128) -> Result<i16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i128, i32>

Source§

type Source = i128

The type being converted from.
Source§

type Dest = i32

The type being converted to.
Source§

fn one_way(src: i128) -> Result<i32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i128, i64>

Source§

type Source = i128

The type being converted from.
Source§

type Dest = i64

The type being converted to.
Source§

fn one_way(src: i128) -> Result<i64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i128, i8>

Source§

type Source = i128

The type being converted from.
Source§

type Dest = i8

The type being converted to.
Source§

fn one_way(src: i128) -> Result<i8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i128, u128>

Source§

type Source = i128

The type being converted from.
Source§

type Dest = u128

The type being converted to.
Source§

fn one_way(src: i128) -> Result<u128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i128, u16>

Source§

type Source = i128

The type being converted from.
Source§

type Dest = u16

The type being converted to.
Source§

fn one_way(src: i128) -> Result<u16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i128, u32>

Source§

type Source = i128

The type being converted from.
Source§

type Dest = u32

The type being converted to.
Source§

fn one_way(src: i128) -> Result<u32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i128, u64>

Source§

type Source = i128

The type being converted from.
Source§

type Dest = u64

The type being converted to.
Source§

fn one_way(src: i128) -> Result<u64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i128, u8>

Source§

type Source = i128

The type being converted from.
Source§

type Dest = u8

The type being converted to.
Source§

fn one_way(src: i128) -> Result<u8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i16, Complex<f32>>

Source§

type Source = i16

The type being converted from.
Source§

type Dest = Complex<f32>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i16, Complex<f64>>

Source§

type Source = i16

The type being converted from.
Source§

type Dest = Complex<f64>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i16, f32>

Source§

type Source = i16

The type being converted from.
Source§

type Dest = f32

The type being converted to.
Source§

fn one_way(src: i16) -> Result<f32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i16, f64>

Source§

type Source = i16

The type being converted from.
Source§

type Dest = f64

The type being converted to.
Source§

fn one_way(src: i16) -> Result<f64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i16, i128>

Source§

type Source = i16

The type being converted from.
Source§

type Dest = i128

The type being converted to.
Source§

fn one_way(src: i16) -> Result<i128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i16, i32>

Source§

type Source = i16

The type being converted from.
Source§

type Dest = i32

The type being converted to.
Source§

fn one_way(src: i16) -> Result<i32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i16, i64>

Source§

type Source = i16

The type being converted from.
Source§

type Dest = i64

The type being converted to.
Source§

fn one_way(src: i16) -> Result<i64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i16, i8>

Source§

type Source = i16

The type being converted from.
Source§

type Dest = i8

The type being converted to.
Source§

fn one_way(src: i16) -> Result<i8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i16, u128>

Source§

type Source = i16

The type being converted from.
Source§

type Dest = u128

The type being converted to.
Source§

fn one_way(src: i16) -> Result<u128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i16, u16>

Source§

type Source = i16

The type being converted from.
Source§

type Dest = u16

The type being converted to.
Source§

fn one_way(src: i16) -> Result<u16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i16, u32>

Source§

type Source = i16

The type being converted from.
Source§

type Dest = u32

The type being converted to.
Source§

fn one_way(src: i16) -> Result<u32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i16, u64>

Source§

type Source = i16

The type being converted from.
Source§

type Dest = u64

The type being converted to.
Source§

fn one_way(src: i16) -> Result<u64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i16, u8>

Source§

type Source = i16

The type being converted from.
Source§

type Dest = u8

The type being converted to.
Source§

fn one_way(src: i16) -> Result<u8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i32, Complex<f32>>

Source§

type Source = i32

The type being converted from.
Source§

type Dest = Complex<f32>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i32, Complex<f64>>

Source§

type Source = i32

The type being converted from.
Source§

type Dest = Complex<f64>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i32, f32>

Source§

type Source = i32

The type being converted from.
Source§

type Dest = f32

The type being converted to.
Source§

fn one_way(src: i32) -> Result<f32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i32, f64>

Source§

type Source = i32

The type being converted from.
Source§

type Dest = f64

The type being converted to.
Source§

fn one_way(src: i32) -> Result<f64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i32, i128>

Source§

type Source = i32

The type being converted from.
Source§

type Dest = i128

The type being converted to.
Source§

fn one_way(src: i32) -> Result<i128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i32, i16>

Source§

type Source = i32

The type being converted from.
Source§

type Dest = i16

The type being converted to.
Source§

fn one_way(src: i32) -> Result<i16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i32, i64>

Source§

type Source = i32

The type being converted from.
Source§

type Dest = i64

The type being converted to.
Source§

fn one_way(src: i32) -> Result<i64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i32, i8>

Source§

type Source = i32

The type being converted from.
Source§

type Dest = i8

The type being converted to.
Source§

fn one_way(src: i32) -> Result<i8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i32, u128>

Source§

type Source = i32

The type being converted from.
Source§

type Dest = u128

The type being converted to.
Source§

fn one_way(src: i32) -> Result<u128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i32, u16>

Source§

type Source = i32

The type being converted from.
Source§

type Dest = u16

The type being converted to.
Source§

fn one_way(src: i32) -> Result<u16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i32, u32>

Source§

type Source = i32

The type being converted from.
Source§

type Dest = u32

The type being converted to.
Source§

fn one_way(src: i32) -> Result<u32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i32, u64>

Source§

type Source = i32

The type being converted from.
Source§

type Dest = u64

The type being converted to.
Source§

fn one_way(src: i32) -> Result<u64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i32, u8>

Source§

type Source = i32

The type being converted from.
Source§

type Dest = u8

The type being converted to.
Source§

fn one_way(src: i32) -> Result<u8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i64, Complex<f32>>

Source§

type Source = i64

The type being converted from.
Source§

type Dest = Complex<f32>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i64, Complex<f64>>

Source§

type Source = i64

The type being converted from.
Source§

type Dest = Complex<f64>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i64, f32>

Source§

type Source = i64

The type being converted from.
Source§

type Dest = f32

The type being converted to.
Source§

fn one_way(src: i64) -> Result<f32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i64, f64>

Source§

type Source = i64

The type being converted from.
Source§

type Dest = f64

The type being converted to.
Source§

fn one_way(src: i64) -> Result<f64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i64, i128>

Source§

type Source = i64

The type being converted from.
Source§

type Dest = i128

The type being converted to.
Source§

fn one_way(src: i64) -> Result<i128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i64, i16>

Source§

type Source = i64

The type being converted from.
Source§

type Dest = i16

The type being converted to.
Source§

fn one_way(src: i64) -> Result<i16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i64, i32>

Source§

type Source = i64

The type being converted from.
Source§

type Dest = i32

The type being converted to.
Source§

fn one_way(src: i64) -> Result<i32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i64, i8>

Source§

type Source = i64

The type being converted from.
Source§

type Dest = i8

The type being converted to.
Source§

fn one_way(src: i64) -> Result<i8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i64, u128>

Source§

type Source = i64

The type being converted from.
Source§

type Dest = u128

The type being converted to.
Source§

fn one_way(src: i64) -> Result<u128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i64, u16>

Source§

type Source = i64

The type being converted from.
Source§

type Dest = u16

The type being converted to.
Source§

fn one_way(src: i64) -> Result<u16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i64, u32>

Source§

type Source = i64

The type being converted from.
Source§

type Dest = u32

The type being converted to.
Source§

fn one_way(src: i64) -> Result<u32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i64, u64>

Source§

type Source = i64

The type being converted from.
Source§

type Dest = u64

The type being converted to.
Source§

fn one_way(src: i64) -> Result<u64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i64, u8>

Source§

type Source = i64

The type being converted from.
Source§

type Dest = u8

The type being converted to.
Source§

fn one_way(src: i64) -> Result<u8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i8, Complex<f32>>

Source§

type Source = i8

The type being converted from.
Source§

type Dest = Complex<f32>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i8, Complex<f64>>

Source§

type Source = i8

The type being converted from.
Source§

type Dest = Complex<f64>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i8, f32>

Source§

type Source = i8

The type being converted from.
Source§

type Dest = f32

The type being converted to.
Source§

fn one_way(src: i8) -> Result<f32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i8, f64>

Source§

type Source = i8

The type being converted from.
Source§

type Dest = f64

The type being converted to.
Source§

fn one_way(src: i8) -> Result<f64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i8, i128>

Source§

type Source = i8

The type being converted from.
Source§

type Dest = i128

The type being converted to.
Source§

fn one_way(src: i8) -> Result<i128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i8, i16>

Source§

type Source = i8

The type being converted from.
Source§

type Dest = i16

The type being converted to.
Source§

fn one_way(src: i8) -> Result<i16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i8, i32>

Source§

type Source = i8

The type being converted from.
Source§

type Dest = i32

The type being converted to.
Source§

fn one_way(src: i8) -> Result<i32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i8, i64>

Source§

type Source = i8

The type being converted from.
Source§

type Dest = i64

The type being converted to.
Source§

fn one_way(src: i8) -> Result<i64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i8, u128>

Source§

type Source = i8

The type being converted from.
Source§

type Dest = u128

The type being converted to.
Source§

fn one_way(src: i8) -> Result<u128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i8, u16>

Source§

type Source = i8

The type being converted from.
Source§

type Dest = u16

The type being converted to.
Source§

fn one_way(src: i8) -> Result<u16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i8, u32>

Source§

type Source = i8

The type being converted from.
Source§

type Dest = u32

The type being converted to.
Source§

fn one_way(src: i8) -> Result<u32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i8, u64>

Source§

type Source = i8

The type being converted from.
Source§

type Dest = u64

The type being converted to.
Source§

fn one_way(src: i8) -> Result<u64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<i8, u8>

Source§

type Source = i8

The type being converted from.
Source§

type Dest = u8

The type being converted to.
Source§

fn one_way(src: i8) -> Result<u8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u128, Complex<f32>>

Source§

type Source = u128

The type being converted from.
Source§

type Dest = Complex<f32>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u128, Complex<f64>>

Source§

type Source = u128

The type being converted from.
Source§

type Dest = Complex<f64>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u128, f32>

Source§

type Source = u128

The type being converted from.
Source§

type Dest = f32

The type being converted to.
Source§

fn one_way(src: u128) -> Result<f32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u128, f64>

Source§

type Source = u128

The type being converted from.
Source§

type Dest = f64

The type being converted to.
Source§

fn one_way(src: u128) -> Result<f64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u128, i128>

Source§

type Source = u128

The type being converted from.
Source§

type Dest = i128

The type being converted to.
Source§

fn one_way(src: u128) -> Result<i128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u128, i16>

Source§

type Source = u128

The type being converted from.
Source§

type Dest = i16

The type being converted to.
Source§

fn one_way(src: u128) -> Result<i16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u128, i32>

Source§

type Source = u128

The type being converted from.
Source§

type Dest = i32

The type being converted to.
Source§

fn one_way(src: u128) -> Result<i32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u128, i64>

Source§

type Source = u128

The type being converted from.
Source§

type Dest = i64

The type being converted to.
Source§

fn one_way(src: u128) -> Result<i64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u128, i8>

Source§

type Source = u128

The type being converted from.
Source§

type Dest = i8

The type being converted to.
Source§

fn one_way(src: u128) -> Result<i8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u128, u16>

Source§

type Source = u128

The type being converted from.
Source§

type Dest = u16

The type being converted to.
Source§

fn one_way(src: u128) -> Result<u16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u128, u32>

Source§

type Source = u128

The type being converted from.
Source§

type Dest = u32

The type being converted to.
Source§

fn one_way(src: u128) -> Result<u32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u128, u64>

Source§

type Source = u128

The type being converted from.
Source§

type Dest = u64

The type being converted to.
Source§

fn one_way(src: u128) -> Result<u64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u128, u8>

Source§

type Source = u128

The type being converted from.
Source§

type Dest = u8

The type being converted to.
Source§

fn one_way(src: u128) -> Result<u8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u16, Complex<f32>>

Source§

type Source = u16

The type being converted from.
Source§

type Dest = Complex<f32>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u16, Complex<f64>>

Source§

type Source = u16

The type being converted from.
Source§

type Dest = Complex<f64>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u16, f32>

Source§

type Source = u16

The type being converted from.
Source§

type Dest = f32

The type being converted to.
Source§

fn one_way(src: u16) -> Result<f32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u16, f64>

Source§

type Source = u16

The type being converted from.
Source§

type Dest = f64

The type being converted to.
Source§

fn one_way(src: u16) -> Result<f64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u16, i128>

Source§

type Source = u16

The type being converted from.
Source§

type Dest = i128

The type being converted to.
Source§

fn one_way(src: u16) -> Result<i128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u16, i16>

Source§

type Source = u16

The type being converted from.
Source§

type Dest = i16

The type being converted to.
Source§

fn one_way(src: u16) -> Result<i16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u16, i32>

Source§

type Source = u16

The type being converted from.
Source§

type Dest = i32

The type being converted to.
Source§

fn one_way(src: u16) -> Result<i32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u16, i64>

Source§

type Source = u16

The type being converted from.
Source§

type Dest = i64

The type being converted to.
Source§

fn one_way(src: u16) -> Result<i64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u16, i8>

Source§

type Source = u16

The type being converted from.
Source§

type Dest = i8

The type being converted to.
Source§

fn one_way(src: u16) -> Result<i8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u16, u128>

Source§

type Source = u16

The type being converted from.
Source§

type Dest = u128

The type being converted to.
Source§

fn one_way(src: u16) -> Result<u128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u16, u32>

Source§

type Source = u16

The type being converted from.
Source§

type Dest = u32

The type being converted to.
Source§

fn one_way(src: u16) -> Result<u32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u16, u64>

Source§

type Source = u16

The type being converted from.
Source§

type Dest = u64

The type being converted to.
Source§

fn one_way(src: u16) -> Result<u64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u16, u8>

Source§

type Source = u16

The type being converted from.
Source§

type Dest = u8

The type being converted to.
Source§

fn one_way(src: u16) -> Result<u8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u32, Complex<f32>>

Source§

type Source = u32

The type being converted from.
Source§

type Dest = Complex<f32>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u32, Complex<f64>>

Source§

type Source = u32

The type being converted from.
Source§

type Dest = Complex<f64>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u32, f32>

Source§

type Source = u32

The type being converted from.
Source§

type Dest = f32

The type being converted to.
Source§

fn one_way(src: u32) -> Result<f32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u32, f64>

Source§

type Source = u32

The type being converted from.
Source§

type Dest = f64

The type being converted to.
Source§

fn one_way(src: u32) -> Result<f64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u32, i128>

Source§

type Source = u32

The type being converted from.
Source§

type Dest = i128

The type being converted to.
Source§

fn one_way(src: u32) -> Result<i128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u32, i16>

Source§

type Source = u32

The type being converted from.
Source§

type Dest = i16

The type being converted to.
Source§

fn one_way(src: u32) -> Result<i16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u32, i32>

Source§

type Source = u32

The type being converted from.
Source§

type Dest = i32

The type being converted to.
Source§

fn one_way(src: u32) -> Result<i32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u32, i64>

Source§

type Source = u32

The type being converted from.
Source§

type Dest = i64

The type being converted to.
Source§

fn one_way(src: u32) -> Result<i64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u32, i8>

Source§

type Source = u32

The type being converted from.
Source§

type Dest = i8

The type being converted to.
Source§

fn one_way(src: u32) -> Result<i8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u32, u128>

Source§

type Source = u32

The type being converted from.
Source§

type Dest = u128

The type being converted to.
Source§

fn one_way(src: u32) -> Result<u128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u32, u16>

Source§

type Source = u32

The type being converted from.
Source§

type Dest = u16

The type being converted to.
Source§

fn one_way(src: u32) -> Result<u16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u32, u64>

Source§

type Source = u32

The type being converted from.
Source§

type Dest = u64

The type being converted to.
Source§

fn one_way(src: u32) -> Result<u64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u32, u8>

Source§

type Source = u32

The type being converted from.
Source§

type Dest = u8

The type being converted to.
Source§

fn one_way(src: u32) -> Result<u8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u64, Complex<f32>>

Source§

type Source = u64

The type being converted from.
Source§

type Dest = Complex<f32>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u64, Complex<f64>>

Source§

type Source = u64

The type being converted from.
Source§

type Dest = Complex<f64>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u64, f32>

Source§

type Source = u64

The type being converted from.
Source§

type Dest = f32

The type being converted to.
Source§

fn one_way(src: u64) -> Result<f32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u64, f64>

Source§

type Source = u64

The type being converted from.
Source§

type Dest = f64

The type being converted to.
Source§

fn one_way(src: u64) -> Result<f64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u64, i128>

Source§

type Source = u64

The type being converted from.
Source§

type Dest = i128

The type being converted to.
Source§

fn one_way(src: u64) -> Result<i128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u64, i16>

Source§

type Source = u64

The type being converted from.
Source§

type Dest = i16

The type being converted to.
Source§

fn one_way(src: u64) -> Result<i16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u64, i32>

Source§

type Source = u64

The type being converted from.
Source§

type Dest = i32

The type being converted to.
Source§

fn one_way(src: u64) -> Result<i32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u64, i64>

Source§

type Source = u64

The type being converted from.
Source§

type Dest = i64

The type being converted to.
Source§

fn one_way(src: u64) -> Result<i64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u64, i8>

Source§

type Source = u64

The type being converted from.
Source§

type Dest = i8

The type being converted to.
Source§

fn one_way(src: u64) -> Result<i8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u64, u128>

Source§

type Source = u64

The type being converted from.
Source§

type Dest = u128

The type being converted to.
Source§

fn one_way(src: u64) -> Result<u128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u64, u16>

Source§

type Source = u64

The type being converted from.
Source§

type Dest = u16

The type being converted to.
Source§

fn one_way(src: u64) -> Result<u16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u64, u32>

Source§

type Source = u64

The type being converted from.
Source§

type Dest = u32

The type being converted to.
Source§

fn one_way(src: u64) -> Result<u32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u64, u8>

Source§

type Source = u64

The type being converted from.
Source§

type Dest = u8

The type being converted to.
Source§

fn one_way(src: u64) -> Result<u8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u8, Complex<f32>>

Source§

type Source = u8

The type being converted from.
Source§

type Dest = Complex<f32>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u8, Complex<f64>>

Source§

type Source = u8

The type being converted from.
Source§

type Dest = Complex<f64>

The type being converted to.
Source§

fn one_way(src: Self::Source) -> Result<Self::Dest>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u8, f32>

Source§

type Source = u8

The type being converted from.
Source§

type Dest = f32

The type being converted to.
Source§

fn one_way(src: u8) -> Result<f32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u8, f64>

Source§

type Source = u8

The type being converted from.
Source§

type Dest = f64

The type being converted to.
Source§

fn one_way(src: u8) -> Result<f64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u8, i128>

Source§

type Source = u8

The type being converted from.
Source§

type Dest = i128

The type being converted to.
Source§

fn one_way(src: u8) -> Result<i128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u8, i16>

Source§

type Source = u8

The type being converted from.
Source§

type Dest = i16

The type being converted to.
Source§

fn one_way(src: u8) -> Result<i16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u8, i32>

Source§

type Source = u8

The type being converted from.
Source§

type Dest = i32

The type being converted to.
Source§

fn one_way(src: u8) -> Result<i32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u8, i64>

Source§

type Source = u8

The type being converted from.
Source§

type Dest = i64

The type being converted to.
Source§

fn one_way(src: u8) -> Result<i64>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u8, i8>

Source§

type Source = u8

The type being converted from.
Source§

type Dest = i8

The type being converted to.
Source§

fn one_way(src: u8) -> Result<i8>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u8, u128>

Source§

type Source = u8

The type being converted from.
Source§

type Dest = u128

The type being converted to.
Source§

fn one_way(src: u8) -> Result<u128>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u8, u16>

Source§

type Source = u8

The type being converted from.
Source§

type Dest = u16

The type being converted to.
Source§

fn one_way(src: u8) -> Result<u16>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u8, u32>

Source§

type Source = u8

The type being converted from.
Source§

type Dest = u32

The type being converted to.
Source§

fn one_way(src: u8) -> Result<u32>

Conversion from Source to Dest that may fail.
Source§

impl OneWay for DefConv<u8, u64>

Source§

type Source = u8

The type being converted from.
Source§

type Dest = u64

The type being converted to.
Source§

fn one_way(src: u8) -> Result<u64>

Conversion from Source to Dest that may fail.
Source§

impl<S, D> TwoWay for DefConv<S, D>
where Self: OneWay<Source = S, Dest = D>, DefConv<D, S>: OneWay<Source = D, Dest = S>,

Source§

fn other_way(src: D) -> Result<S>

Conversion from Dest to Source that may fail.

Auto Trait Implementations§

§

impl<S, D> Freeze for DefConv<S, D>

§

impl<S, D> RefUnwindSafe for DefConv<S, D>

§

impl<S, D> Send for DefConv<S, D>
where S: Send, D: Send,

§

impl<S, D> Sync for DefConv<S, D>
where S: Sync, D: Sync,

§

impl<S, D> Unpin for DefConv<S, D>
where S: Unpin, D: Unpin,

§

impl<S, D> UnwindSafe for DefConv<S, D>
where S: UnwindSafe, D: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.