Type Alias rxing::Point

source ·
pub type Point = PointF;

Aliased Type§

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

Fields§

§x: f32§y: f32

Trait Implementations§

source§

impl Div<f32> for Point

§

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 Hash for Point

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Mul<f32> for Point

§

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

§

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

§

type Output = PointT<f32>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl PartialEq for Point

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for Point