pub trait PointType: Default + Copy {
    // Required methods
    fn from<P: PointType>(p: &P) -> Self;
    fn to_point_f64(&self) -> PointF64;
    fn to_point_i32(&self) -> PointI32;

    // Provided method
    fn to<T: PointType>(&self) -> T { ... }
}

Required Methods§

source

fn from<P: PointType>(p: &P) -> Self

source

fn to_point_f64(&self) -> PointF64

source

fn to_point_i32(&self) -> PointI32

Provided Methods§

source

fn to<T: PointType>(&self) -> T

Object Safety§

This trait is not object safe.

Implementors§