Struct orbtk::point::Point [] [src]

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

A point

Fields

Methods

impl Point
[src]

[src]

Create a new point

Trait Implementations

impl Copy for Point
[src]

impl Clone for Point
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Point
[src]

[src]

Formats the value using the given formatter.

impl Default for Point
[src]

[src]

Returns the "default value" for a type. Read more

impl Add for Point
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Sub for Point
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.