iced_renderer::geometry::path::lyon_path

Trait Position

pub trait Position {
    // Required method
    fn position(&self) -> Point2D<f32, UnknownUnit>;
}
Available on crate feature geometry only.
Expand description

Interface for types types (typically endpoints and control points) that have a 2D position.

Required Methods§

Implementations on Foreign Types§

§

impl Position for (f32, f32)

§

impl Position for [f32; 2]

§

impl<'l, T> Position for &'l T
where T: Position,

§

impl<T> Position for (Point2D<f32, UnknownUnit>, T)

Implementors§

§

impl<U> Position for Point2D<f32, U>