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