Type Alias VBox

Source
pub type VBox<T> = Box<T, Vmalloc>;
Expand description

Type alias for Box with a Vmalloc allocator.

§Examples

let b = VBox::new(24_u64, GFP_KERNEL)?;

assert_eq!(*b, 24_u64);

Aliased Type§

struct VBox<T>(/* private fields */);