Struct postgis::MultiLineString [] [src]

pub struct MultiLineString<P> {
    pub lines: Vec<LineString<P>>,
}

Fields

lines: Vec<LineString<P>>

Methods

impl<P: ToPoint> MultiLineString<P>
[src]

fn new() -> MultiLineString<P>

Trait Implementations

impl<P: Debug> Debug for MultiLineString<P>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<P: ToPoint> FromIterator<LineString<P>> for MultiLineString<P>
[src]

fn from_iter<I: IntoIterator<Item=LineString<P>>>(iterable: I) -> MultiLineString<P>

Creates a value from an iterator. Read more

impl<P: ToPoint + Debug> ToSql for MultiLineString<P>
[src]

fn to_sql_checked(&self, ty: &Type, out: &mut Write, ctx: &SessionInfo) -> Result<IsNull>

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

fn accepts(ty: &Type) -> bool

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

fn to_sql<W: Write + ?Sized>(&self, ty: &Type, w: &mut W, _ctx: &SessionInfo) -> Result<IsNull>

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

impl<P: ToPoint + Debug> FromSql for MultiLineString<P>
[src]

fn accepts(ty: &Type) -> bool

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

fn from_sql<R: Read>(ty: &Type, raw: &mut R, _ctx: &SessionInfo) -> Result<MultiLineString<P>>

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

fn from_sql_nullable<R>(ty: &Type, raw: Option<&mut R>, ctx: &SessionInfo) -> Result<Self, Error> where R: Read

Deprecated

fn from_sql_null(ty: &Type, ctx: &SessionInfo) -> Result<Self, Error>

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