pub trait AsAbstractGeometry: AsAbstractGml {
// Required method
fn abstract_geometry(&self) -> &AbstractGeometry;
// Provided methods
fn srs_name(&self) -> Option<&String> { ... }
fn srs_dimension(&self) -> Option<u32> { ... }
}Expand description
Object-safe read accessor for AbstractGeometry fields.
Required Methods§
Sourcefn abstract_geometry(&self) -> &AbstractGeometry
fn abstract_geometry(&self) -> &AbstractGeometry
Returns a reference to the embedded AbstractGeometry base data.
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".