1use cgp::prelude::*; 2 3#[cgp_component(Allocator)] 4pub trait CanAlloc<'a, T> { 5 fn alloc(&self, value: T) -> &'a mut T; 6}