Type Alias VVec

Source
pub type VVec<T> = Vec<T, Vmalloc>;
Expand description

Type alias for Vec with a Vmalloc allocator.

§Examples

let mut v = VVec::new();
v.push(1, GFP_KERNEL)?;
assert_eq!(&v, &[1]);

Aliased Type§

struct VVec<T> { /* private fields */ }