Struct bear_lib_terminal::geometry::Point [] [src]

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

Represents a single on-screen point/coordinate pair.

Fields

Methods

impl Point
[src]

Creates a new point on the specified non-negative coordinates

Trait Implementations

impl Clone for Point
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Point
[src]

impl Debug for Point
[src]

Formats the value using the given formatter.

impl Eq for Point
[src]

impl Hash for Point
[src]

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

Feeds a slice of this type into the given [Hasher]. 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 !=.