Struct postgis::MultiPoint
[−]
[src]
pub struct MultiPoint<P> { pub points: Vec<P>, }
Fields
points: Vec<P>
Methods
impl<P: ToPoint> MultiPoint<P>
[src]
fn new() -> MultiPoint<P>
Trait Implementations
impl<P: Debug> Debug for MultiPoint<P>
[src]
impl<P: ToPoint> FromIterator<P> for MultiPoint<P>
[src]
fn from_iter<I: IntoIterator<Item=P>>(iterable: I) -> MultiPoint<P>
Creates a value from an iterator. Read more
impl<P: ToPoint + Debug> ToSql for MultiPoint<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 MultiPoint<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<MultiPoint<P>>
Creates a new value of this type from a Read
er of the binary format of the specified Postgres Type
. Read more
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