Struct alloc_no_stdlib::CallocBackingStore [] [src]

pub struct CallocBackingStore<'a, T: 'a> {
    pub raw_data: *mut u8,
    pub data: &'a mut [T],
}

Fields

raw_data: *mut u8 data: &'a mut [T]

Methods

impl<'a, T: 'a> CallocBackingStore<'a, T>
[src]

fn new(num_elements: usize, should_free: bool) -> Self

Trait Implementations

impl<'a, T: Debug + 'a> Debug for CallocBackingStore<'a, T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a, T: 'a> Drop for CallocBackingStore<'a, T>
[src]

fn drop(self: &mut Self)

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