[−][src]Struct postgis::twkb::Polygon
Fields
rings: Vec<LineString>
Trait Implementations
impl<'a> Polygon<'a> for Polygon
[src]
impl<'a> Polygon<'a> for Polygon
type ItemType = LineString
type Iter = Iter<'a, Self::ItemType>
fn rings(&'a self) -> Self::Iter
[src]
fn rings(&'a self) -> Self::Iter
impl TwkbGeom for Polygon
[src]
impl TwkbGeom for Polygon
fn read_twkb_body<R: Read>(
raw: &mut R,
twkb_info: &TwkbInfo
) -> Result<Self, Error>
[src]
fn read_twkb_body<R: Read>(
raw: &mut R,
twkb_info: &TwkbInfo
) -> Result<Self, Error>
fn read_twkb<R: Read>(raw: &mut R) -> Result<Self, Error>
[src]
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>
[src]
fn read_idlist<R: Read>(raw: &mut R, size: usize) -> Result<Vec<u64>, Error>
impl<'a> AsEwkbPolygon<'a> for Polygon
[src]
impl<'a> AsEwkbPolygon<'a> for Polygon
type PointType = Point
type PointIter = Iter<'a, Point>
type ItemType = LineString
type Iter = Iter<'a, Self::ItemType>
fn as_ewkb(
&'a self
) -> EwkbPolygon<'a, Self::PointType, Self::PointIter, Self::ItemType, Self::Iter>
[src]
fn as_ewkb(
&'a self
) -> EwkbPolygon<'a, Self::PointType, Self::PointIter, Self::ItemType, Self::Iter>
impl Clone for Polygon
[src]
impl Clone for Polygon
fn clone(&self) -> Polygon
[src]
fn clone(&self) -> Polygon
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq<Polygon> for Polygon
[src]
impl PartialEq<Polygon> for Polygon
impl Debug for Polygon
[src]
impl Debug for Polygon
impl FromSql for Polygon
[src]
impl FromSql for Polygon
fn from_sql(ty: &Type, raw: &[u8]) -> Result<Self, Box<dyn Error + Sync + Send>>
[src]
fn from_sql(ty: &Type, raw: &[u8]) -> Result<Self, Box<dyn Error + Sync + Send>>
fn accepts(ty: &Type) -> bool
fn accepts(ty: &Type) -> bool
fn from_sql_null(
ty: &Type
) -> Result<Self, Box<dyn Error + 'static + Send + Sync>>
fn from_sql_null(
ty: &Type
) -> Result<Self, Box<dyn 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]>
) -> Result<Self, Box<dyn Error + 'static + Send + Sync>>
fn from_sql_nullable(
ty: &Type,
raw: Option<&[u8]>
) -> Result<Self, Box<dyn Error + 'static + Send + Sync>>
A convenience function that delegates to from_sql
and from_sql_null
depending on the value of raw
. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self