(mc: &Mutation<'gc>, allocator: A)
| 42 | impl<'gc, A> MetricsAlloc<'gc, A> { |
| 43 | #[inline] |
| 44 | pub fn new_in(mc: &Mutation<'gc>, allocator: A) -> Self { |
| 45 | Self { |
| 46 | metrics: mc.metrics().clone(), |
| 47 | allocator, |
| 48 | _marker: PhantomData, |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | #[inline] |
| 53 | pub fn from_metrics_in(metrics: Metrics, allocator: A) -> Self { |