Function gc_alloc_datapoint
pub fn gc_alloc_datapoint(value: GCDatapointValue) -> GCArc<GCDatapointValue>Expand description
A custom allocator for datapoint values
ยงUsage
use gc_models::gc_alloc_datapoint;
use gc_models::GCDatapointValue;
use gc_memory::GCArc;
let datapoint: GCArc<GCDatapointValue> = gc_alloc_datapoint(GCDatapointValue::new_u64(10, 10, 0, 0.into()));
let clone_datapoint: GCArc<GCDatapointValue> = datapoint.clone();