[][src]Struct rqrr::CapStone

pub struct CapStone {
    pub corners: [Point; 4],
    pub center: Point,
    pub c: Perspective,
}

A locator pattern of a QR grid

One of 3 corner patterns of a QR code. Can be found using a distinctive 1:1:3:1:1 pattern of black-white zones.

Stores information about the corners of the capstone (NOT the grid), the center point and the local perspective i.e. in which direction the grid is likely skewed.

Fields

corners: [Point; 4]

The 4 corners of the capstone

center: Point

The center point of the capstone

c: Perspective

The local perspective of the capstone, i.e. in which direction(s) the capstone is skewed.

Trait Implementations

impl Clone for CapStone[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CapStone[src]

Auto Trait Implementations

impl Send for CapStone

impl Sync for CapStone

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.