Struct mint2d::Point[][src]

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

A simple struct that represents a point or position.

Fields

The x-coordinate of the point.

The y-coordinate of the 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. Read more

impl PartialEq for Point
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Point
[src]

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

Auto Trait Implementations

impl Send for Point

impl Sync for Point