cosmic::iced_renderer::graphics::geometry::path::lyon_path::geom::traits

Trait Transformation

source
pub trait Transformation<S> {
    // Required methods
    fn transform_point(
        &self,
        p: Point2D<S, UnknownUnit>,
    ) -> Point2D<S, UnknownUnit>;
    fn transform_vector(
        &self,
        v: Vector2D<S, UnknownUnit>,
    ) -> Vector2D<S, UnknownUnit>;
}

Required Methods§

Implementations on Foreign Types§

source§

impl<'l, S, T> Transformation<S> for &'l T
where S: Scalar, T: Transformation<S>,

Implementors§