lyon_path

Trait Position

source
pub trait Position {
    // Required method
    fn position(&self) -> Point;
}
Expand description

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

Required Methods§

source

fn position(&self) -> Point

Implementations on Foreign Types§

source§

impl Position for (f32, f32)

source§

fn position(&self) -> Point

source§

impl Position for [f32; 2]

source§

fn position(&self) -> Point

source§

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

source§

fn position(&self) -> Point

source§

impl<T> Position for (Point, T)

source§

fn position(&self) -> Point

source§

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

source§

fn position(&self) -> Point

Implementors§