Struct bytes::alloc::Mem [] [src]

pub struct Mem {
    // some fields omitted
}

Memory allocated by an Allocator must be prefixed with Mem

Methods

impl Mem

fn new(len: usize, allocator: *const Allocator) -> Mem