Skip to main content

TransformablePoint

Trait TransformablePoint 

Source
pub trait TransformablePoint:
    IsPoint
    + CanScale
    + CanScaleNonUniform
    + CanTranslate<Point = Self>
    + CanRotate<Point = Self>
    + CanMirror<Point = Self> { }
Expand description

A stronger convenience trait for point types that support the library’s common transforms.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> TransformablePoint for T
where T: IsPoint + CanScale + CanScaleNonUniform + CanTranslate<Point = T> + CanRotate<Point = T> + CanMirror<Point = T>,