Struct flatgeobuf::FgbFeature
source · [−]pub struct FgbFeature { /* private fields */ }
Expand description
Access to current feature
Implementations
sourceimpl FgbFeature
impl FgbFeature
Trait Implementations
sourceimpl FeatureAccess for FgbFeature
impl FeatureAccess for FgbFeature
sourcefn process<P>(&self, processor: &mut P, idx: u64) -> Result<(), GeozeroError> where
P: FeatureProcessor,
fn process<P>(&self, processor: &mut P, idx: u64) -> Result<(), GeozeroError> where
P: FeatureProcessor,
Process feature geometries and properties.
sourceimpl FeatureProperties for FgbFeature
impl FeatureProperties for FgbFeature
sourcefn process_properties<P: PropertyProcessor>(
&self,
reader: &mut P
) -> Result<bool>
fn process_properties<P: PropertyProcessor>(
&self,
reader: &mut P
) -> Result<bool>
Process feature properties.
sourcefn property<T>(&self, name: &str) -> Result<T, GeozeroError> where
T: PropertyReadType<T>,
fn property<T>(&self, name: &str) -> Result<T, GeozeroError> where
T: PropertyReadType<T>,
Get property value by name
sourcefn property_n<T>(&self, n: usize) -> Result<T, GeozeroError> where
T: PropertyReadType<T>,
fn property_n<T>(&self, n: usize) -> Result<T, GeozeroError> where
T: PropertyReadType<T>,
Get property value by number
sourcefn properties(
&self
) -> Result<HashMap<String, String, RandomState>, GeozeroError>
fn properties(
&self
) -> Result<HashMap<String, String, RandomState>, GeozeroError>
Return all properties in a HashMap
Use process_properties
for zero-copy access Read more
sourceimpl GeozeroGeometry for FgbFeature
impl GeozeroGeometry for FgbFeature
sourcefn process_geom<P: GeomProcessor>(&self, processor: &mut P) -> Result<()>
fn process_geom<P: GeomProcessor>(&self, processor: &mut P) -> Result<()>
Process geometry.
sourcefn dims(&self) -> CoordDimensions
fn dims(&self) -> CoordDimensions
Dimensions of geometry
Auto Trait Implementations
impl RefUnwindSafe for FgbFeature
impl Send for FgbFeature
impl Sync for FgbFeature
impl Unpin for FgbFeature
impl UnwindSafe for FgbFeature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToGeo for T where
T: GeozeroGeometry,
impl<T> ToGeo for T where
T: GeozeroGeometry,
sourcefn to_geo(&self) -> Result<Geometry<f64>, GeozeroError>
fn to_geo(&self) -> Result<Geometry<f64>, GeozeroError>
Convert to geo-types Geometry.
sourceimpl<T> ToJson for T where
T: GeozeroGeometry,
impl<T> ToJson for T where
T: GeozeroGeometry,
sourcefn to_json(&self) -> Result<String, GeozeroError>
fn to_json(&self) -> Result<String, GeozeroError>
Convert to GeoJSON String.
sourceimpl<T> ToSvg for T where
T: GeozeroGeometry,
impl<T> ToSvg for T where
T: GeozeroGeometry,
sourcefn to_svg(&self) -> Result<String, GeozeroError>
fn to_svg(&self) -> Result<String, GeozeroError>
Convert to SVG geometry.
sourcefn to_svg_document(&self) -> Result<String, GeozeroError>
fn to_svg_document(&self) -> Result<String, GeozeroError>
Convert to SVG document.
sourceimpl<T> ToWkt for T where
T: GeozeroGeometry,
impl<T> ToWkt for T where
T: GeozeroGeometry,
sourcefn to_wkt(&self) -> Result<String, GeozeroError>
fn to_wkt(&self) -> Result<String, GeozeroError>
Convert to 2D WKT String.
sourcefn to_wkt_ndim(&self, dims: CoordDimensions) -> Result<String, GeozeroError>
fn to_wkt_ndim(&self, dims: CoordDimensions) -> Result<String, GeozeroError>
Convert to WKT String with dimensions.
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more