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
left: u32
The minimum x coordinate of the area which contains text (inclusive).
right: u32
The maximum x coordinate of the area which contains text (inclusive).
top: u32
The minimum y coordinate of the area which contains text (inclusive).
bottom: u32
The maximum y coordinate of the area which contains text (inclusive).
Methods
impl Geometry
[src]
Trait Implementations
impl Clone for Geometry
[src]
fn clone(&self) -> Geometry
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more