Struct autogui::Position [] [src]

pub struct Position {
    pub x: u32,
    pub y: u32,
}

Position on screen

Fields

X axis

Y axis

Methods

impl Position
[src]

[src]

Creates new Position

[src]

Distance from self to other position, rounded to u32

Trait Implementations

impl Debug for Position
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Position
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Position
[src]

impl PartialEq for Position
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Position

impl Sync for Position