Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
VecAllocExt in datafusion::execution::memory_pool::proxy - Rust
[go: Go Back, main page]

pub trait VecAllocExt {
    type T;

    fn push_accounted(&mut self, x: Self::T, accounting: &mut usize);
}
Expand description

Extension trait for Vec to account for allocations.

Required Associated Types§

source

type T

Item type.

Required Methods§

source

fn push_accounted(&mut self, x: Self::T, accounting: &mut usize)

Push new element to vector and store additional allocated bytes in accounting (additive).

Implementations on Foreign Types§

source§

impl<T> VecAllocExt for Vec<T>

§

type T = T

source§

fn push_accounted(&mut self, x: Self::T, accounting: &mut usize)

Implementors§