Struct mint2d::Point [−][src]
A simple struct that represents a point or position.
Fields
x: f64
The x-coordinate of the point.
y: f64
The y-coordinate of the point.
Trait Implementations
impl Copy for Point
[src]
impl Copy for Point
impl Clone for Point
[src]
impl Clone for Point
fn clone(&self) -> Point
[src]
fn clone(&self) -> Point
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Point
[src]
impl Debug for Point
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Point
[src]
impl PartialEq for Point
fn eq(&self, other: &Point) -> bool
[src]
fn eq(&self, other: &Point) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Point) -> bool
[src]
fn ne(&self, other: &Point) -> bool
This method tests for !=
.
impl Default for Point
[src]
impl Default for Point