Trait piet_common::RoundInto
source · 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
sourcefn round_into(self) -> T
fn round_into(self) -> T
Performs the conversion.