Skip to main content

Point

Type Alias Point 

Source
pub type Point = PointF;

Aliased Type§

pub struct Point {
    pub x: f32,
    pub y: f32,
}

Fields§

§x: f32§y: f32

Trait Implementations§

Source§

impl Div<f32> for Point

Source§

type Output = PointT<f32>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f32) -> Self::Output

Performs the / operation. Read more
Source§

impl From<&AlignmentPattern> for Point

Source§

fn from(value: &AlignmentPattern) -> Self

Converts to this type from the input type.
Source§

impl From<&FinderPattern> for Point

Source§

fn from(value: &FinderPattern) -> Self

Converts to this type from the input type.
Source§

impl From<(i32, i32)> for Point

Source§

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

Converts to this type from the input type.
Source§

impl From<(u32, u32)> for Point

Source§

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

Converts to this type from the input type.
Source§

impl From<AlignmentPattern> for Point

Source§

fn from(value: AlignmentPattern) -> Self

Converts to this type from the input type.
Source§

impl From<FinderPattern> for Point

Source§

fn from(value: FinderPattern) -> Self

Converts to this type from the input type.
Source§

impl From<PointT<i32>> for Point

Source§

fn from(val: PointI) -> Self

Converts to this type from the input type.
Source§

impl From<PointT<u32>> for Point

Source§

fn from(val: PointU) -> Self

Converts to this type from the input type.
Source§

impl Mul<f32> for Point

Source§

type Output = PointT<f32>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i32> for Point

Source§

type Output = PointT<f32>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<u32> for Point

Source§

type Output = PointT<f32>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u32) -> Self::Output

Performs the * operation. Read more