pub trait ToPointArray {
// Required method
fn to_point_builder(&self, typ: PointType) -> Result<PointBuilder>;
// Provided method
fn to_point_array(&self, typ: PointType) -> Result<PointArray> { ... }
}Available on crate feature
geozero only.Expand description
GeoZero trait to convert to GeoArrow PointArray.
Required Methods§
Sourcefn to_point_builder(&self, typ: PointType) -> Result<PointBuilder>
fn to_point_builder(&self, typ: PointType) -> Result<PointBuilder>
Convert to a GeoArrow PointBuilder
Provided Methods§
Sourcefn to_point_array(&self, typ: PointType) -> Result<PointArray>
fn to_point_array(&self, typ: PointType) -> Result<PointArray>
Convert to GeoArrow PointArray
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".