Crate sai_component_derive[][src]

Expand description

This crate provides Sai’s component derive macros:

use sai::{Component};
#[derive(Component)]
struct FooComponent {
    #[injected]
    bar: Injected<BarComponent>
}

Please refer the Component Trait doc to understand details.

Derive Macros

Component

Dervive Macro for defining a component