Struct captcha::Geometry [] [src]

pub struct Geometry {
    pub left: u32,
    pub right: u32,
    pub top: u32,
    pub bottom: u32,
}

Represents the area which contains text in a CAPTCHA.

Fields

The minimum x coordinate of the area which contains text (inclusive).

The maximum x coordinate of the area which contains text (inclusive).

The minimum y coordinate of the area which contains text (inclusive).

The maximum y coordinate of the area which contains text (inclusive).

Methods

impl Geometry
[src]

Trait Implementations

impl Clone for Geometry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Geometry
[src]

Formats the value using the given formatter.