[go: up one dir, main page]

Struct postgis::ewkb::Point [] [src]

pub struct Point {
    pub x: f64,
    pub y: f64,
    pub srid: Option<i32>,
}

Fields

Methods

impl Point
[src]

impl Point
[src]

Trait Implementations

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 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.

impl Point for Point
[src]

impl EwkbRead for Point
[src]

impl<'a> AsEwkbPoint<'a> for Point
[src]

impl FromSql for Point
[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 buffer of data of the specified Postgres Type in its binary format. Read more

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

A convenience function that delegates to from_sql and from_sql_null depending on the value of raw. Read more

impl ToSql for Point
[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, appending it to out. Read more