bar_type_new

Function bar_type_new 

Source
#[unsafe(no_mangle)]
pub extern "C" fn bar_type_new( instrument_id: InstrumentId, spec: BarSpecification, aggregation_source: u8, ) -> BarType
Expand description

ยงPanics

Panics if aggregation_source does not correspond to a valid enum variant.