pub trait Translate: TranslateMut + Sized {
// Provided method
fn translate(self, p: Point) -> Self { ... }
}
Expand description
A trait for specifying how a shape is translated by a Point
.
Takes in an owned copy of the shape and returns the translated version.
Provided Methods§
Object Safety§
This trait is not object safe.