Trait cosmic::iced_winit::graphics::geometry::path::lyon_path::Position

source ·
pub trait Position {
    // Required method
    fn position(&self) -> Point2D<f32, UnknownUnit>;
}
Expand description

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

Required Methods§

Implementations on Foreign Types§

source§

impl Position for (f32, f32)

source§

impl Position for [f32; 2]

source§

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

source§

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

Implementors§

source§

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