pub trait MaybeAlloc<'a, K> where
K: Kind, {
type Alloc: Alloc<'a, K>;
fn stage(self) -> Result<UnstagedMaybeAlloc<'a, K, Self::Alloc>>;
}
Expand description
A call, which may result in allocation within the block.
pub trait MaybeAlloc<'a, K> where
K: Kind, {
type Alloc: Alloc<'a, K>;
fn stage(self) -> Result<UnstagedMaybeAlloc<'a, K, Self::Alloc>>;
}
A call, which may result in allocation within the block.