pub trait UncheckedVecOps<T> {
// Required methods
fn pop_unchecked(&mut self) -> T;
fn push_unchecked(&mut self, value: T);
}Required Methods§
fn pop_unchecked(&mut self) -> T
Sourcefn push_unchecked(&mut self, value: T)
fn push_unchecked(&mut self, value: T)
Pushes onto a vector that has room for one more.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".