Appends a slice of non-copyable elements to the vector.
impl<T, H> Vec<T, H>
where H: Allocator,
{
unsafe fn try_unsafe_push_all(&mut self, vals: &[T]) -> Result<(), Errno>
}| Name | Description |
|---|---|
| vals | The elements to append. |
If this operation fails, no elements have been appended. The elements will be copied as if they were copyable. The user has to ensure the safety of this operation.