Struct catalyst_entities::BumpAlloc
source · pub struct BumpAlloc { /* private fields */ }Expand description
Thread local allocator used by BumpVec. It is very simple bump allocator
that frees memory when all BumpAllocRef are dropped.
Trait Implementations§
Auto Trait Implementations§
impl !ArchiveCopy for BumpAlloc
impl !NoInteriorMutability for BumpAlloc
impl !RefUnwindSafe for BumpAlloc
impl !Send for BumpAlloc
impl !Sync for BumpAlloc
impl Unpin for BumpAlloc
impl UnwindSafe for BumpAlloc
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.