Method lrs::vec::Vec::try_unsafe_push_all

Appends a slice of non-copyable elements to the vector.

Syntax

impl<T, H> Vec<T, H>
    where H: Allocator,
{
    unsafe fn try_unsafe_push_all(&mut self, vals: &[T]) -> Result<(), Errno>
}

Arguments

NameDescription
vals

The elements to append.

Remarks

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.