Struct ggez::graphics::Point
[−]
[src]
pub struct Point { pub x: f32, pub y: f32, }
A simple 2D point.
Fields
x: f32
y: f32
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 PartialEq for Point
[src]
fn eq(&self, __arg_0: &Point) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Point) -> bool
This method tests for !=
.