Struct zc_geo::point::Point [] [src]

pub struct Point<T: Float> {
    pub x: T,
    pub y: T,
}

Fields

Methods

impl<T> Point<T> where
    T: Float + ToPrimitive
[src]

[src]

Trait Implementations

impl<T: Clone + Float> Clone for Point<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Copy + Float> Copy for Point<T>
[src]

impl<T: Debug + Float> Debug for Point<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq + Float> PartialEq for Point<T>
[src]

[src]

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

[src]

This method tests for !=.

impl<T> Add for Point<T> where
    T: Float + ToPrimitive
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<T> Sub for Point<T> where
    T: Float + ToPrimitive
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<T> AddAssign for Point<T> where
    T: Float + ToPrimitive
[src]

[src]

Performs the += operation.

impl<T> Neg for Point<T> where
    T: Float + ToPrimitive
[src]

The resulting type after applying the - operator.

[src]

Performs the unary - operation.

Auto Trait Implementations

impl<T> Send for Point<T> where
    T: Send

impl<T> Sync for Point<T> where
    T: Sync