Skip to main content

ShowcaseStoryFactory

Trait ShowcaseStoryFactory 

Source
pub trait ShowcaseStoryFactory {
    // Required method
    fn create(source_path: &str, module_path: &str) -> Vec<GeneratedStory>;
}

Required Methods§

Source

fn create(source_path: &str, module_path: &str) -> Vec<GeneratedStory>

Creates the generated story list for one annotated source item.

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§