Struct geozero::ProcessorSink
source · pub struct ProcessorSink;
Expand description
Empty processor implementation
Implementations§
source§impl ProcessorSink
impl ProcessorSink
Trait Implementations§
source§impl Default for ProcessorSink
impl Default for ProcessorSink
source§fn default() -> ProcessorSink
fn default() -> ProcessorSink
Returns the “default value” for a type. Read more
source§impl FeatureProcessor for ProcessorSink
impl FeatureProcessor for ProcessorSink
source§impl GeomProcessor for ProcessorSink
impl GeomProcessor for ProcessorSink
source§fn dimensions(&self) -> CoordDimensions
fn dimensions(&self) -> CoordDimensions
Additional dimensions requested when processing coordinates
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 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 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 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 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 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
source§impl PropertyProcessor for ProcessorSink
impl PropertyProcessor for ProcessorSink
Auto Trait Implementations§
impl Freeze for ProcessorSink
impl RefUnwindSafe for ProcessorSink
impl Send for ProcessorSink
impl Sync for ProcessorSink
impl Unpin for ProcessorSink
impl UnwindSafe for ProcessorSink
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