Type Alias KVVec

Source
pub type KVVec<T> = Vec<T, KVmalloc>;
Expand description

Type alias for Vec with a KVmalloc allocator.

§Examples

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

Aliased Type§

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