Struct dbkit_engine::allocator::OwnedChunk [] [src]

pub struct OwnedChunk<'a> {
    pub data: Option<&'a mut [u8]>,
    pub align: usize,
    // some fields omitted
}

Chunk with an allocator owner

Fields

Methods

impl<'a> OwnedChunk<'a>
[src]

Attempt to resize the chunk. If possible it will attempt to resize in-place, if not possible it will create new alloc and copy the old data.

Trait Implementations

impl<'a> Drop for OwnedChunk<'a>
[src]

A method called when the value goes out of scope. Read more