[][src]Trait piet::RoundInto

pub trait RoundInto<T> {
    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

fn round_into(self) -> T

Implementors

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