Home
last modified time | relevance | path

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

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