Struct postgis::ewkb::LineStringT [] [src]

pub struct LineStringT<P: Point + EwkbRead> {
    pub points: Vec<P>,
    pub srid: Option<i32>,
}

Fields

Methods

impl<P: Point + EwkbRead> LineStringT<P>
[src]

Trait Implementations

impl<P: PartialEq + Point + EwkbRead> PartialEq for LineStringT<P>
[src]

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

This method tests for !=.

impl<P: Clone + Point + EwkbRead> Clone for LineStringT<P>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<P: Debug + Point + EwkbRead> Debug for LineStringT<P>
[src]

Formats the value using the given formatter.

impl<P> FromIterator<P> for LineStringT<P> where
    P: Point + EwkbRead
[src]

Creates a value from an iterator. Read more

impl<'a, P> LineString<'a> for LineStringT<P> where
    P: 'a + Point + EwkbRead
[src]

impl<P> EwkbRead for LineStringT<P> where
    P: Point + EwkbRead
[src]

impl<'a, P> AsEwkbLineString<'a> for LineStringT<P> where
    P: 'a + Point + EwkbRead
[src]

impl<'a, T> FromSql for LineStringT<T> where
    T: 'a + Point + EwkbRead
[src]

Creates a new value of this type from a buffer of data of the specified Postgres Type in its binary format. Read more

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 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<'a, T> ToSql for LineStringT<T> where
    T: 'a + Point + EwkbRead
[src]

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

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