Trait conv::ApproxInto [] [src]

pub trait ApproxInto<Dst, Scheme = DefaultApprox> where
    Scheme: ApproxScheme
{ type Err: Error; fn approx_into(self) -> Result<Dst, Self::Err>; }

This is the dual of ApproxFrom; see that trait for information.

Where possible, prefer using this trait over ApproxFrom for generic constraints, but prefer implementing ApproxFrom.

Associated Types

The error type produced by a failed conversion.

Required Methods

Convert the subject into an approximately equivalent representation.

Implementors