RoundInto

Trait RoundInto 

Source
pub trait RoundInto<T> {
    // Required method
    fn round_into(self) -> T;
}
Expand description

The companion to RoundFrom.

As with From and Into, a blanket implementation is provided; for the most part, implement RoundFrom.

Required Methods§

Source

fn round_into(self) -> T

Performs the conversion.

Implementors§

Source§

impl<T, U> RoundInto<U> for T
where U: RoundFrom<T>,