Box

Type Alias Box 

Source
pub type Box = Unique<c_void, FreeFn>;
Expand description

Alias to unique ptr, suitable for malloc

Aliased Type§

pub struct Box { /* private fields */ }

Trait Implementations§

Source§

impl Malloc for Box

Source§

fn malloc(size: usize) -> Self

Creates new memory using malloc Read more