pub struct SvmVec<'a, T> { /* fields omitted */ }
Expand description
An OpenCL Shared Virtual Memory (SVM) vector.
It has the lifetime of the Context that it was constructed from.
Note: T cannot be a “zero sized type” (ZST).
The capacity of the vector.
The length of the vector.
Whether the vector is empty
May fail to grow buf if memory is not available for new_len.
Construct an empty SvmVec from a Context and the svm_capabilities of
the device (or devices) in the Context.
The SvmVec has the lifetime of the Context.
Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Mutably dereferences the value.
Executes the destructor for this type. Read more
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.