Skip to main content

Transform

Trait Transform 

Source
pub trait Transform<T: PointContainer>: Sized {
    // Required method
    fn apply_transformation(
        points: Self,
        transformation: Transformation,
    ) -> Result<Self, TransformationError>;
}

Required Methods§

Source

fn apply_transformation( points: Self, transformation: Transformation, ) -> Result<Self, TransformationError>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T: PointContainer> Transform<T> for Vec<T>

Implementors§