pub trait SpatialAlgorithm {
// Required methods
fn name(&self) -> &'static str;
fn execute(&self, policy: ExecutionPolicy) -> Result<(), SpatialError>;
}Expand description
Common trait implemented by spatial algorithms.
Required Methods§
Sourcefn execute(&self, policy: ExecutionPolicy) -> Result<(), SpatialError>
fn execute(&self, policy: ExecutionPolicy) -> Result<(), SpatialError>
Executes the algorithm using the selected execution policy.