Skip to main content

PointI

Type Alias PointI 

Source
pub type PointI = PointT<i32>;

Aliased Type§

pub struct PointI {
    pub x: i32,
    pub y: i32,
}

Fields§

§x: i32§y: i32

Trait Implementations§

Source§

impl From<(f32, f32)> for PointI

Source§

fn from((x, y): (f32, f32)) -> Self

Converts to this type from the input type.
Source§

impl From<PointT<f32>> for PointI

Source§

fn from(val: Point) -> Self

Converts to this type from the input type.