polars_utils::vec

Trait CapacityByFactor

Source
pub trait CapacityByFactor {
    // Required method
    fn with_capacity_by_factor(original_len: usize, factor: f64) -> Self;
}

Required Methods§

Source

fn with_capacity_by_factor(original_len: usize, factor: f64) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> CapacityByFactor for Vec<T>

Source§

fn with_capacity_by_factor(original_len: usize, factor: f64) -> Self

Implementors§