Struct postgis::ewkb::GeometryCollectionT
[−]
[src]
pub struct GeometryCollectionT<P: Point + EwkbRead> { pub geometries: Vec<GeometryT<P>>, }
Fields
geometries: Vec<GeometryT<P>>
Methods
impl<P> GeometryCollectionT<P> where
P: Point + EwkbRead,
[src]
P: Point + EwkbRead,
fn new() -> GeometryCollectionT<P>
Trait Implementations
impl<P: Debug + Point + EwkbRead> Debug for GeometryCollectionT<P>
[src]
impl<P> EwkbRead for GeometryCollectionT<P> where
P: Point + EwkbRead,
[src]
P: Point + EwkbRead,
fn point_type() -> PointType
fn read_ewkb_body<R: Read>(
raw: &mut R,
is_be: bool,
_srid: Option<i32>
) -> Result<Self, Error>
raw: &mut R,
is_be: bool,
_srid: Option<i32>
) -> Result<Self, Error>
fn read_ewkb<R: Read>(raw: &mut R) -> Result<Self, Error>
impl<P> FromSql for GeometryCollectionT<P> where
P: Point + EwkbRead,
[src]
P: Point + EwkbRead,
fn from_sql(ty: &Type, raw: &[u8]) -> Result<Self, Box<Error + Sync + Send>>
Creates a new value of this type from a buffer of data of the specified Postgres Type
in its binary format. Read more
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_null(ty: &Type) -> Result<Self, Box<Error + 'static + Sync + Send>>
Creates a new value of this type from a NULL
SQL value. Read more
fn from_sql_nullable(
ty: &Type,
raw: Option<&[u8]>
) -> Result<Self, Box<Error + 'static + Sync + Send>>
ty: &Type,
raw: Option<&[u8]>
) -> Result<Self, Box<Error + 'static + Sync + Send>>
A convenience function that delegates to from_sql
and from_sql_null
depending on the value of raw
. Read more