Struct solana_program::entrypoint::BumpAllocator [−][src]
Expand description
The bump allocator used as the default rust heap when running programs.
Fields
start: usizelen: usizeTrait Implementations
Integer arithmetic in this global allocator implementation is safe when
operating on the prescribed HEAP_START_ADDRESS and HEAP_LENGTH. Any
other use may overflow and is thus unsupported and at one’s own risk.
Auto Trait Implementations
impl RefUnwindSafe for BumpAllocatorimpl Send for BumpAllocatorimpl Sync for BumpAllocatorimpl Unpin for BumpAllocatorimpl UnwindSafe for BumpAllocator