Trait ExportDetection

Source
pub trait ExportDetection<F: CompilerFeat, D> {
    type Config: Send + Sync + 'static;

    // Required method
    fn needs_run(
        graph: &Arc<WorldComputeGraph<F>>,
        config: &Self::Config,
    ) -> bool;
}
Expand description

A trait to detect the export of a document.

Required Associated Types§

Source

type Config: Send + Sync + 'static

The configuration type.

Required Methods§

Source

fn needs_run(graph: &Arc<WorldComputeGraph<F>>, config: &Self::Config) -> bool

Determines whether the export needs to be computed.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§