[][src]Trait postgis::ewkb::EwkbWrite

pub trait EwkbWrite: Debug + Sized {
    fn type_id(&self) -> u32;

    fn opt_srid(&self) -> Option<i32> { ... }
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 { ... } }

Required methods

fn type_id(&self) -> u32

Loading content...

Provided methods

fn opt_srid(&self) -> Option<i32>

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

Loading content...

Implementors

impl<'a> EwkbWrite for EwkbPoint<'a>[src]

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]

impl<'a, P, I, T, J> EwkbWrite for EwkbMultiLineString<'a, P, I, T, J> where
    P: 'a + Point,
    I: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>,
    T: 'a + LineString<'a, ItemType = P, Iter = I>,
    J: 'a + Iterator<Item = &'a T> + ExactSizeIterator<Item = &'a T>, 
[src]

impl<'a, P, I, T, J> EwkbWrite for EwkbPolygon<'a, P, I, T, J> where
    P: 'a + Point,
    I: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>,
    T: 'a + LineString<'a, ItemType = P, Iter = I>,
    J: 'a + Iterator<Item = &'a T> + ExactSizeIterator<Item = &'a T>, 
[src]

impl<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC> EwkbWrite for EwkbGeometry<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC> where
    P: 'a + Point,
    PI: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>,
    MP: 'a + MultiPoint<'a, ItemType = P, Iter = PI>,
    L: 'a + LineString<'a, ItemType = P, Iter = PI>,
    LI: 'a + Iterator<Item = &'a L> + ExactSizeIterator<Item = &'a L>,
    ML: 'a + MultiLineString<'a, ItemType = L, Iter = LI>,
    Y: 'a + Polygon<'a, ItemType = L, Iter = LI>,
    YI: 'a + Iterator<Item = &'a Y> + ExactSizeIterator<Item = &'a Y>,
    MY: 'a + MultiPolygon<'a, ItemType = Y, Iter = YI>,
    G: 'a + Geometry<'a, Point = P, LineString = L, Polygon = Y, MultiPoint = MP, MultiLineString = ML, MultiPolygon = MY, GeometryCollection = GC>,
    GI: 'a + Iterator<Item = &'a G> + ExactSizeIterator<Item = &'a G>,
    GC: 'a + GeometryCollection<'a, ItemType = G, Iter = GI>, 
[src]

impl<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC> EwkbWrite for EwkbGeometryCollection<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC> where
    P: 'a + Point,
    PI: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>,
    MP: 'a + MultiPoint<'a, ItemType = P, Iter = PI>,
    L: 'a + LineString<'a, ItemType = P, Iter = PI>,
    LI: 'a + Iterator<Item = &'a L> + ExactSizeIterator<Item = &'a L>,
    ML: 'a + MultiLineString<'a, ItemType = L, Iter = LI>,
    Y: 'a + Polygon<'a, ItemType = L, Iter = LI>,
    YI: 'a + Iterator<Item = &'a Y> + ExactSizeIterator<Item = &'a Y>,
    MY: 'a + MultiPolygon<'a, ItemType = Y, Iter = YI>,
    G: 'a + Geometry<'a, Point = P, LineString = L, Polygon = Y, MultiPoint = MP, MultiLineString = ML, MultiPolygon = MY, GeometryCollection = GC>,
    GI: 'a + Iterator<Item = &'a G> + ExactSizeIterator<Item = &'a G>,
    GC: 'a + GeometryCollection<'a, ItemType = G, Iter = GI>, 
[src]

impl<'a, T, I> EwkbWrite for EwkbLineString<'a, T, I> where
    T: 'a + Point,
    I: 'a + Iterator<Item = &'a T> + ExactSizeIterator<Item = &'a T>, 
[src]

impl<'a, T, I> EwkbWrite for EwkbMultiPoint<'a, T, I> where
    T: 'a + Point,
    I: 'a + Iterator<Item = &'a T> + ExactSizeIterator<Item = &'a T>, 
[src]

Loading content...