Struct postgis::twkb::MultiPoint
[−]
[src]
pub struct MultiPoint {
pub points: Vec<Point>,
pub ids: Option<Vec<u64>>,
}Fields
points: Vec<Point>
ids: Option<Vec<u64>>
Trait Implementations
impl PartialEq for MultiPoint[src]
fn eq(&self, __arg_0: &MultiPoint) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &MultiPoint) -> bool
This method tests for !=.
impl Clone for MultiPoint[src]
fn clone(&self) -> MultiPoint
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for MultiPoint[src]
impl TwkbGeom for MultiPoint[src]
fn read_twkb_body<R: Read>(raw: &mut R,
twkb_info: &TwkbInfo)
-> Result<Self, Error>
twkb_info: &TwkbInfo)
-> Result<Self, Error>
fn read_twkb<R: Read>(raw: &mut R) -> Result<Self, Error>
fn read_idlist<R: Read>(raw: &mut R, size: usize) -> Result<Vec<u64>, Error>
impl<'a> MultiPoint<'a> for MultiPoint[src]
impl<'a> AsEwkbMultiPoint<'a> for MultiPoint[src]
type PointType = Point
type Iter = Iter<'a, Point>
fn as_ewkb(&'a self) -> EwkbMultiPoint<'a, Self::PointType, Self::Iter>
impl FromSql for MultiPoint[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(ty: &Type,
raw: &[u8],
_ctx: &SessionInfo)
-> Result<Self, Box<Error + Sync + Send>>
raw: &[u8],
_ctx: &SessionInfo)
-> 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 from_sql_null(ty: &Type,
ctx: &SessionInfo)
-> Result<Self, Box<Error + 'static + Send + Sync>>
ctx: &SessionInfo)
-> Result<Self, Box<Error + 'static + Send + Sync>>
Creates a new value of this type from a NULL SQL value. Read more
fn from_sql_nullable(ty: &Type,
raw: Option<&[u8]>,
ctx: &SessionInfo)
-> Result<Self, Box<Error + 'static + Send + Sync>>
raw: Option<&[u8]>,
ctx: &SessionInfo)
-> Result<Self, Box<Error + 'static + Send + Sync>>
A convenience function that delegates to from_sql and from_sql_null depending on the value of raw. Read more