canvas::canvas_data

Trait RectToi32

Source
pub trait RectToi32 {
    // Required methods
    fn to_i32(&self) -> Rect<i32>;
    fn ceil(&self) -> Rect<f64>;
}

Required Methods§

Source

fn to_i32(&self) -> Rect<i32>

Source

fn ceil(&self) -> Rect<f64>

Implementations on Foreign Types§

Source§

impl RectToi32 for Rect<f64>

Source§

fn to_i32(&self) -> Rect<i32>

Source§

fn ceil(&self) -> Rect<f64>

Implementors§