Trait timely_container::flatcontainer::ReserveItems
source · pub trait ReserveItems<T>: Region {
// Required method
fn reserve_items<I>(&mut self, items: I)
where I: Iterator<Item = T> + Clone;
}
Expand description
Reserve space in the receiving region.
Closely related to Push
, but separate because target type is likely different.
Required Methods§
sourcefn reserve_items<I>(&mut self, items: I)
fn reserve_items<I>(&mut self, items: I)
Ensure that the region can absorb items
without reallocation.
Object Safety§
This trait is not object safe.