Struct allocators::Block
[−]
[src]
pub struct Block<'a> { // some fields omitted }
A block of memory created by an allocator.
Methods
impl<'a> Block<'a>
[src]
fn new(ptr: *mut u8, size: usize, align: usize) -> Self
fn ptr(&self) -> *mut u8
fn size(&self) -> usize
fn align(&self) -> usize
Trait Implementations
impl<'a> Clone for Block<'a>
[src]
fn clone(&self) -> Block<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more