Trait piet::RoundInto[][src]

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

Performs the conversion.

Implementors