Trait druid::piet::RoundInto

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§

fn round_into(self) -> T

Performs the conversion.

Implementors§

§

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