pub trait Raster: Add<Output = Self> + Clone + Eq {
    // Required method
    fn translate(self, translation: Vector2D<i32>) -> Self;
}
Expand description

Raster.

Required Methods§

source

fn translate(self, translation: Vector2D<i32>) -> Self

Translate raster.

Object Safety§

This trait is not object safe.

Implementors§