Skip to main content

Built

Trait Built 

Source
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§

Source

fn built( &self, registry: fn() -> GeopResult<OperationRegistry>, ) -> GeopResult<Part>

The part the program builds.

Provided Methods§

Source

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".

Implementations on Foreign Types§

Source§

impl Built for Program

Source§

fn built( &self, registry: fn() -> GeopResult<OperationRegistry>, ) -> GeopResult<Part>

Implementors§