Skip to main content

ExpandRule

Trait ExpandRule 

Source
pub trait ExpandRule: Send + Sync {
    // Required methods
    fn descriptor(&self) -> ExpandDescriptor;
    fn expand(
        &self,
        item: &ItemRef,
        data: &dyn DataAccess,
    ) -> BinocResult<ExpandOutput>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§