[][src]Module dyn_context::example

context macro expansion example.

This example is not tested
context! {
    pub struct StrData {
        r: ref str,
    }
}

context! {
    pub dyn struct ExampleContext {
        data: ref Data,
        str_data: mut StrData,
        id: const usize,
    }
}

Structs

Data
ExampleContext
StrData