Skip to main content

TursoVecInExt

Trait TursoVecInExt 

Source
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§

Source

fn new_in(alloc: A) -> Self

Source

fn with_capacity_in(capacity: usize, alloc: A) -> Self

Source

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§

Source§

impl<T, A> TursoVecInExt<T, A> for Vec<T>

Available on non-nightly only.