iced::widget::canvas::path::lyon_path::geom::traits

Trait Transformation

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>;
}
Available on crate feature canvas only.

Required Methods§

Implementations on Foreign Types§

§

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

Implementors§