Struct harmony::Coord [] [src]

pub struct Coord {
    pub x: usize,
    pub y: usize,
}

Fields

Trait Implementations

impl Copy for Coord
[src]

impl Clone for Coord
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Coord
[src]

impl PartialEq for Coord
[src]

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

This method tests for !=.

impl Debug for Coord
[src]

Formats the value using the given formatter.

impl Hash for Coord
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl From<(usize, usize)> for Coord
[src]

Performs the conversion.

impl From<[usize; 2]> for Coord
[src]

Performs the conversion.