Struct postgis::Point [] [src]

pub struct Point<S: SRID = WGS84> {
    pub x: f64,
    pub y: f64,
    // some fields omitted
}

Fields

Methods

impl<S: SRID> Point<S>
[src]

impl Point<WGS84>
[src]

Trait Implementations

impl<S: Clone + SRID> Clone for Point<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: Copy + SRID> Copy for Point<S>
[src]

impl<S: SRID> FromSql for Point<S>
[src]

Determines if a value of this type can be created from the specified Postgres Type. Read more

Creates a new value of this type from a Reader of the binary format of the specified Postgres Type. Read more

Creates a new value of this type from a NULL SQL value. Read more

impl<S: SRID> ToSql for Point<S>
[src]

An adaptor method used internally by Rust-Postgres. Read more

Determines if a value of this type can be converted to the specified Postgres Type. Read more

Converts the value of self into the binary format of the specified Postgres Type, writing it to out. Read more

impl<S: SRID> Display for Point<S>
[src]

Formats the value using the given formatter.

impl<S: SRID> Debug for Point<S>
[src]

Formats the value using the given formatter.