pub trait TursoVecInExt<T, A>: Sized {
// Required methods
fn new_in(alloc: A) -> Self;
fn with_capacity_in(capacity: usize, alloc: A) -> Self;
fn try_with_capacity_in(
capacity: usize,
alloc: A,
) -> Result<Self, TryReserveError>;
}Required Methods§
fn new_in(alloc: A) -> Self
fn with_capacity_in(capacity: usize, alloc: A) -> Self
fn try_with_capacity_in( capacity: usize, alloc: A, ) -> Result<Self, TryReserveError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<T, A> TursoVecInExt<T, A> for Vec<T>
Available on non-
nightly only.