Skip to main content

NewXYM

Trait NewXYM 

Source
pub trait NewXYM<M> {
    // Required method
    fn new_xym(x: f64, y: f64, m: M) -> Self;
}
Expand description

Trait to create a new XY

Required Methods§

Source

fn new_xym(x: f64, y: f64, m: M) -> Self

Create a new point with xy

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<M> NewXYM<M> for Point3D
where M: Clone,

Source§

impl<M> NewXYM<M> for Point
where M: Clone,

Source§

impl<M> NewXYM<M> for PointOrPoint3D
where M: Clone,

Source§

impl<M> NewXYM<M> for VectorPoint<M>
where M: Clone,