Struct cl_generic_vec::raw::UninitSlice[][src]

#[repr(transparent)]
pub struct UninitSlice<T>(_);
Expand description

An uninitialized slice storage

Implementations

Create a new UninitSlice storage

Get the backing value of the this Uninit storage

Safety

You may not write uninitialized memory to this slice

Trait Implementations

Is the pointer from as_ptr guaranteed to be aligned to T Read more

The number of elements that it is valid to write to this Storage Read more

Returns a pointer to the first element

Returns a mutable pointer to the first element

Reserves space for at least new_capacity elements Read more

Tries to reserve space for at least new_capacity elements Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more