Struct solana_perf::cuda_runtime::PinnedVec [−][src]
Implementations
impl<T: Clone + Default + Sized> PinnedVec<T>
[src]
impl<T: Clone + Default + Sized> PinnedVec<T>
[src]pub fn iter(&self) -> PinnedIter<'_, T>ⓘNotable traits for PinnedIter<'a, T>
impl<'a, T: Clone + Default + Sized> Iterator for PinnedIter<'a, T> type Item = &'a T;
[src]
Notable traits for PinnedIter<'a, T>
impl<'a, T: Clone + Default + Sized> Iterator for PinnedIter<'a, T> type Item = &'a T;
pub fn iter_mut(&mut self) -> PinnedIterMut<'_, T>ⓘNotable traits for PinnedIterMut<'a, T>
impl<'a, T: Clone + Default + Sized> Iterator for PinnedIterMut<'a, T> type Item = &'a mut T;
[src]
Notable traits for PinnedIterMut<'a, T>
impl<'a, T: Clone + Default + Sized> Iterator for PinnedIterMut<'a, T> type Item = &'a mut T;
pub fn capacity(&self) -> usize
[src]
impl<T: Clone + Default + Sized> PinnedVec<T>
[src]
impl<T: Clone + Default + Sized> PinnedVec<T>
[src]pub fn reserve_and_pin(&mut self, size: usize)
[src]
pub fn set_pinnable(&mut self)
[src]
pub fn copy_from_slice(&mut self, data: &[T]) where
T: Copy,
[src]
T: Copy,
pub fn from_vec(source: Vec<T>) -> Self
[src]
pub fn with_capacity(capacity: usize) -> Self
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn len(&self) -> usize
[src]
pub fn as_ptr(&self) -> *const T
[src]
pub fn as_mut_ptr(&mut self) -> *mut T
[src]
pub fn push(&mut self, x: T)
[src]
pub fn truncate(&mut self, size: usize)
[src]
pub fn resize(&mut self, size: usize, elem: T)
[src]
pub fn append(&mut self, other: &mut Vec<T>)
[src]
pub fn append_pinned(&mut self, other: &mut Self)
[src]
pub fn shuffle<R: Rng>(&mut self, rng: &mut R)
[src]
Trait Implementations
impl<T: Clone + Default + Sized> Clone for PinnedVec<T>
[src]
impl<T: Clone + Default + Sized> Clone for PinnedVec<T>
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, T: Clone + Send + Sync + Default + Sized> IntoParallelIterator for &'a mut PinnedVec<T>
[src]
impl<'a, T: Clone + Send + Sync + Default + Sized> IntoParallelIterator for &'a mut PinnedVec<T>
[src]Auto Trait Implementations
impl<T> RefUnwindSafe for PinnedVec<T> where
T: RefUnwindSafe,
impl<T> RefUnwindSafe for PinnedVec<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for PinnedVec<T> where
T: UnwindSafe,
impl<T> UnwindSafe for PinnedVec<T> where
T: UnwindSafe,
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
pub default fn example() -> T
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<'data, I> IntoParallelRefIterator<'data> for I where
I: 'data + ?Sized,
&'data I: IntoParallelIterator,
[src]
impl<'data, I> IntoParallelRefIterator<'data> for I where
I: 'data + ?Sized,
&'data I: IntoParallelIterator,
[src]type Iter = <&'data I as IntoParallelIterator>::Iter
The type of the parallel iterator that will be returned.
type Item = <&'data I as IntoParallelIterator>::Item
The type of item that the parallel iterator will produce.
This will typically be an &'data T
reference type. Read more
pub fn par_iter(&'data self) -> <I as IntoParallelRefIterator<'data>>::Iter
[src]
impl<'data, I> IntoParallelRefMutIterator<'data> for I where
I: 'data + ?Sized,
&'data mut I: IntoParallelIterator,
[src]
impl<'data, I> IntoParallelRefMutIterator<'data> for I where
I: 'data + ?Sized,
&'data mut I: IntoParallelIterator,
[src]type Iter = <&'data mut I as IntoParallelIterator>::Iter
The type of iterator that will be created.
type Item = <&'data mut I as IntoParallelIterator>::Item
The type of item that will be produced; this is typically an
&'data mut T
reference. Read more
pub fn par_iter_mut(
&'data mut self
) -> <I as IntoParallelRefMutIterator<'data>>::Iter
[src]
&'data mut self
) -> <I as IntoParallelRefMutIterator<'data>>::Iter
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,