Struct orbtk::point::Point
[−]
[src]
pub struct Point { pub x: i32, pub y: i32, }
A point
Fields
x: i32
y: i32
Methods
impl Point
[src]
Trait Implementations
impl Copy for Point
[src]
impl Clone for Point
[src]
fn clone(&self) -> Point
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
impl Debug for Point
[src]
impl Default for Point
[src]
impl Add for Point
[src]
type Output = Point
The resulting type after applying the +
operator
fn add(self, other: Point) -> Self::Output
The method for the +
operator