Struct postgis::ewkb::EwkbMultiPolygon
[−]
[src]
pub struct EwkbMultiPolygon<'a, P, I, L, K, T, J> where
P: 'a + Point,
I: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>,
L: 'a + LineString<'a, ItemType = P, Iter = I>,
K: 'a + Iterator<Item = &'a L> + ExactSizeIterator<Item = &'a L>,
T: 'a + Polygon<'a, ItemType = L, Iter = K>,
J: 'a + Iterator<Item = &'a T> + ExactSizeIterator<Item = &'a T>, { pub geom: &'a MultiPolygon<'a, ItemType = T, Iter = J>, pub srid: Option<i32>, pub point_type: PointType, }
Fields
geom: &'a MultiPolygon<'a, ItemType = T, Iter = J>
srid: Option<i32>
point_type: PointType
Trait Implementations
impl<'a, P, I, L, K, T, J> Debug for EwkbMultiPolygon<'a, P, I, L, K, T, J> where
P: 'a + Point,
I: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>,
L: 'a + LineString<'a, ItemType = P, Iter = I>,
K: 'a + Iterator<Item = &'a L> + ExactSizeIterator<Item = &'a L>,
T: 'a + Polygon<'a, ItemType = L, Iter = K>,
J: 'a + Iterator<Item = &'a T> + ExactSizeIterator<Item = &'a T>,
[src]
P: 'a + Point,
I: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>,
L: 'a + LineString<'a, ItemType = P, Iter = I>,
K: 'a + Iterator<Item = &'a L> + ExactSizeIterator<Item = &'a L>,
T: 'a + Polygon<'a, ItemType = L, Iter = K>,
J: 'a + Iterator<Item = &'a T> + ExactSizeIterator<Item = &'a T>,
impl<'a, P, I, L, K, T, J> EwkbWrite for EwkbMultiPolygon<'a, P, I, L, K, T, J> where
P: 'a + Point,
I: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>,
L: 'a + LineString<'a, ItemType = P, Iter = I>,
K: 'a + Iterator<Item = &'a L> + ExactSizeIterator<Item = &'a L>,
T: 'a + Polygon<'a, ItemType = L, Iter = K>,
J: 'a + Iterator<Item = &'a T> + ExactSizeIterator<Item = &'a T>,
[src]
P: 'a + Point,
I: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>,
L: 'a + LineString<'a, ItemType = P, Iter = I>,
K: 'a + Iterator<Item = &'a L> + ExactSizeIterator<Item = &'a L>,
T: 'a + Polygon<'a, ItemType = L, Iter = K>,
J: 'a + Iterator<Item = &'a T> + ExactSizeIterator<Item = &'a T>,
fn opt_srid(&self) -> Option<i32>
fn type_id(&self) -> u32
fn write_ewkb_body<W: Write + ?Sized>(&self, w: &mut W) -> Result<(), Error>
fn wkb_type_id(point_type: &PointType, srid: Option<i32>) -> u32
fn write_ewkb<W: Write + ?Sized>(&self, w: &mut W) -> Result<(), Error>
fn to_hex_ewkb(&self) -> String
impl<'a, P, I, L, K, T, J> ToSql for EwkbMultiPolygon<'a, P, I, L, K, T, J> where
P: 'a + Point,
I: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>,
L: 'a + LineString<'a, ItemType = P, Iter = I>,
K: 'a + Iterator<Item = &'a L> + ExactSizeIterator<Item = &'a L>,
T: 'a + Polygon<'a, ItemType = L, Iter = K>,
J: 'a + Iterator<Item = &'a T> + ExactSizeIterator<Item = &'a T>,
[src]
P: 'a + Point,
I: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>,
L: 'a + LineString<'a, ItemType = P, Iter = I>,
K: 'a + Iterator<Item = &'a L> + ExactSizeIterator<Item = &'a L>,
T: 'a + Polygon<'a, ItemType = L, Iter = K>,
J: 'a + Iterator<Item = &'a T> + ExactSizeIterator<Item = &'a T>,
fn to_sql_checked(
&self,
ty: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<Error + Sync + Send>>
&self,
ty: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<Error + Sync + Send>>
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(
&self,
_: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<Error + Sync + Send>>
&self,
_: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<Error + Sync + Send>>
Converts the value of self
into the binary format of the specified Postgres Type
, appending it to out
. Read more