Home
last modified time | relevance | path

Searched refs:try_with_capacity_in (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/rust/alloc/vec/
Dmod.rs537 Self::try_with_capacity_in(capacity, Global) in try_with_capacity()
789 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in() method
790 Ok(Vec { buf: RawVec::try_with_capacity_in(capacity, alloc)?, len: 0 }) in try_with_capacity_in()
/Linux-v6.6/rust/alloc/
Draw_vec.rs138 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in() method