Trait piet_common::RoundInto[][src]

pub trait RoundInto<T> {
    pub fn round_into(self) -> T;
}

The companion to RoundFrom.

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

Required methods

pub fn round_into(self) -> T[src]

Performs the conversion.

Loading content...

Implementors

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 
[src]

Loading content...