summaryrefslogtreecommitdiff
path: root/templates/_override_renderer_entry.rs.template
blob: 7912cb0736e1acafe604c6c5b69a8c34d187938a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Auto generated by build.rs
match type_id {
// MATCHING
// -- TEMPLATE START --
    type_id if type_id == std::any::TypeId::of::<JVOutputType>() => {
        let concrete_data = data
            .downcast::<JVOutputType>()
            .map_err(|_| CmdProcessError::DowncastFailed)?;
        include!("../render/_override_renderer_dispatcher.rs").map_err(CmdProcessError::Render)
    },
// -- TEMPLATE END --
    _ => Err(CmdProcessError::NoMatchingCommand)
}