pub struct GeoWriter { /* private fields */ }
Expand description
Generator for geo-types geometry type.
Implementations§
Trait Implementations§
source§impl FeatureProcessor for GeoWriter
impl FeatureProcessor for GeoWriter
source§impl GeomProcessor for GeoWriter
impl GeomProcessor for GeoWriter
source§fn xy(&mut self, x: f64, y: f64, _idx: usize) -> Result<()>
fn xy(&mut self, x: f64, y: f64, _idx: usize) -> Result<()>
Process coordinate with x,y dimensions
source§fn multipoint_begin(&mut self, size: usize, _idx: usize) -> Result<()>
fn multipoint_begin(&mut self, size: usize, _idx: usize) -> Result<()>
Begin of MultiPoint processing Read more
source§fn multipoint_end(&mut self, _idx: usize) -> Result<()>
fn multipoint_end(&mut self, _idx: usize) -> Result<()>
End of MultiPoint processing Read more
source§fn linestring_begin(
&mut self,
_tagged: bool,
size: usize,
_idx: usize
) -> Result<()>
fn linestring_begin( &mut self, _tagged: bool, size: usize, _idx: usize ) -> Result<()>
Begin of
LineString
processing Read moresource§fn linestring_end(&mut self, tagged: bool, _idx: usize) -> Result<()>
fn linestring_end(&mut self, tagged: bool, _idx: usize) -> Result<()>
End of
LineString
processingsource§fn multilinestring_begin(&mut self, size: usize, _idx: usize) -> Result<()>
fn multilinestring_begin(&mut self, size: usize, _idx: usize) -> Result<()>
Begin of
MultiLineString
processing Read moresource§fn multilinestring_end(&mut self, _idx: usize) -> Result<()>
fn multilinestring_end(&mut self, _idx: usize) -> Result<()>
End of
MultiLineString
processingsource§fn polygon_begin(
&mut self,
_tagged: bool,
size: usize,
_idx: usize
) -> Result<()>
fn polygon_begin( &mut self, _tagged: bool, size: usize, _idx: usize ) -> Result<()>
Begin of
Polygon
processing Read moresource§fn multipolygon_begin(&mut self, size: usize, _idx: usize) -> Result<()>
fn multipolygon_begin(&mut self, size: usize, _idx: usize) -> Result<()>
Begin of
MultiPolygon
processing Read moresource§fn geometrycollection_begin(&mut self, size: usize, _idx: usize) -> Result<()>
fn geometrycollection_begin(&mut self, size: usize, _idx: usize) -> Result<()>
Begin of
GeometryCollection
processing Read moresource§fn geometrycollection_end(&mut self, _idx: usize) -> Result<()>
fn geometrycollection_end(&mut self, _idx: usize) -> Result<()>
End of
GeometryCollection
processingsource§fn dimensions(&self) -> CoordDimensions
fn dimensions(&self) -> CoordDimensions
Additional dimensions requested when processing coordinates
source§fn coordinate(
&mut self,
x: f64,
y: f64,
z: Option<f64>,
m: Option<f64>,
t: Option<f64>,
tm: Option<u64>,
idx: usize
) -> Result<()>
fn coordinate( &mut self, x: f64, y: f64, z: Option<f64>, m: Option<f64>, t: Option<f64>, tm: Option<u64>, idx: usize ) -> Result<()>
Process coordinate with all requested dimensions
source§fn empty_point(&mut self, idx: usize) -> Result<()>
fn empty_point(&mut self, idx: usize) -> Result<()>
Process empty coordinates, like WKT’s
POINT EMPTY
Read moresource§fn circularstring_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn circularstring_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of
CircularString
processing Read moresource§fn compoundcurve_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn compoundcurve_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of CompoundCurve processing Read more
source§fn curvepolygon_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn curvepolygon_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of CurvePolygon processing Read more
source§fn multicurve_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn multicurve_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of MultiCurve processing Read more
source§fn multisurface_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn multisurface_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of MultiSurface processing Read more
source§fn triangle_begin(
&mut self,
tagged: bool,
size: usize,
idx: usize
) -> Result<()>
fn triangle_begin( &mut self, tagged: bool, size: usize, idx: usize ) -> Result<()>
Begin of Triangle processing Read more
source§fn polyhedralsurface_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn polyhedralsurface_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of PolyhedralSurface processing Read more
source§fn polyhedralsurface_end(&mut self, idx: usize) -> Result<()>
fn polyhedralsurface_end(&mut self, idx: usize) -> Result<()>
End of PolyhedralSurface processing
Auto Trait Implementations§
impl Freeze for GeoWriter
impl RefUnwindSafe for GeoWriter
impl Send for GeoWriter
impl Sync for GeoWriter
impl Unpin for GeoWriter
impl UnwindSafe for GeoWriter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more