Struct postgis::twkb::MultiLineString
[−]
[src]
pub struct MultiLineString {
pub lines: Vec<LineString>,
pub ids: Option<Vec<u64>>,
}Fields
lines: Vec<LineString>
ids: Option<Vec<u64>>
Trait Implementations
impl PartialEq for MultiLineString[src]
fn eq(&self, __arg_0: &MultiLineString) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &MultiLineString) -> bool
This method tests for !=.
impl Clone for MultiLineString[src]
fn clone(&self) -> MultiLineString
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 MultiLineString[src]
impl TwkbGeom for MultiLineString[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> MultiLineString<'a> for MultiLineString[src]
impl<'a> AsEwkbMultiLineString<'a> for MultiLineString[src]
type PointType = Point
type PointIter = Iter<'a, Point>
type ItemType = LineString
type Iter = Iter<'a, Self::ItemType>
fn as_ewkb(&'a self)
-> EwkbMultiLineString<'a, Self::PointType, Self::PointIter, Self::ItemType, Self::Iter>
-> EwkbMultiLineString<'a, Self::PointType, Self::PointIter, Self::ItemType, Self::Iter>
impl FromSql for MultiLineString[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