pub trait Normalize:
Scale
+ Translate
+ BoundingBox
+ Clonewhere
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§
fn normalize(&self, target: &Rect, alignment: Alignment) -> Result<Self>
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.