polars_utils::vec

Trait PushUnchecked

Source
pub trait PushUnchecked<T> {
    // Required method
    unsafe fn push_unchecked(&mut self, value: T);
}

Required Methods§

Source

unsafe fn push_unchecked(&mut self, value: T)

Will push an item and not check if there is enough capacity

§Safety

Caller must ensure the array has enough capacity to hold T.

Implementations on Foreign Types§

Source§

impl<T> PushUnchecked<T> for Vec<T>

Source§

unsafe fn push_unchecked(&mut self, value: T)

Implementors§