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

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

A point

Fields

Methods

impl Point
[src]

Create a new point

Trait Implementations

impl Copy for Point
[src]

impl Clone for Point
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Point
[src]

Formats the value using the given formatter.

impl Default for Point
[src]

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

impl Add for Point
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub for Point
[src]

The resulting type after applying the - operator

The method for the - operator