pub trait Built {
// Required method
fn built(
&self,
registry: fn() -> GeopResult<OperationRegistry>,
) -> GeopResult<Part>;
// Provided method
fn build_model(
&self,
registry: fn() -> GeopResult<OperationRegistry>,
) -> GeopResult<NamedModel> { ... }
}Expand description
Building a program on its own, written in the operations registry
makes.
Required Methods§
Sourcefn built(
&self,
registry: fn() -> GeopResult<OperationRegistry>,
) -> GeopResult<Part>
fn built( &self, registry: fn() -> GeopResult<OperationRegistry>, ) -> GeopResult<Part>
The part the program builds.
Provided Methods§
Sourcefn build_model(
&self,
registry: fn() -> GeopResult<OperationRegistry>,
) -> GeopResult<NamedModel>
fn build_model( &self, registry: fn() -> GeopResult<OperationRegistry>, ) -> GeopResult<NamedModel>
The model the program builds, or why a step fails.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".