plottery_lib::traits::normalize

Trait Normalize

Source
pub trait Normalize:
    Scale
    + Translate
    + BoundingBox
    + Clone
where Self: Sized,
{ // Provided methods fn normalize(&self, target: &Rect, alignment: Alignment) -> Result<Self> { ... } fn normalize_mut( &mut self, target: &Rect, alignment: Alignment, ) -> Result<()> { ... } }

Provided Methods§

Source

fn normalize(&self, target: &Rect, alignment: Alignment) -> Result<Self>

Source

fn normalize_mut(&mut self, target: &Rect, alignment: Alignment) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§