pub trait ElementKernel<S: ElementShape + ElementTransition<Self::OutShape, Self::Emission>>: Operation<Scope = Element> {
type OutShape: ElementShape;
type Emission: ElementEmission;
// Required method
fn pipeline<'a>(
graphrecord: &'a GraphRecord,
prepared: Self::Prepared<'a>,
) -> QueryResult<ElementPipeline<'a, S, Self>>;
// Provided method
fn estimate(&self, input: Estimate, stats: &Stats<'_>) -> Estimate { ... }
}Required Associated Types§
type OutShape: ElementShape
type Emission: ElementEmission
Required Methods§
fn pipeline<'a>( graphrecord: &'a GraphRecord, prepared: Self::Prepared<'a>, ) -> QueryResult<ElementPipeline<'a, S, Self>>
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".