Function kalloc::wrapper::vec_push [−][src]
pub fn vec_push<T>(v: &mut Vec<T>, x: T) -> Result<(), AllocError>
Expand description
OOM Wrapper to push back an element into a vector. Amortized O(1).
pub fn vec_push<T>(v: &mut Vec<T>, x: T) -> Result<(), AllocError>
OOM Wrapper to push back an element into a vector. Amortized O(1).