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<'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,
T: RefUnwindSafe,
impl<T> Send for PinnedVec<T> where
T: Send,
T: Send,
impl<T> Sync for PinnedVec<T> where
T: Send + Sync,
T: Send + Sync,
impl<T> Unpin for PinnedVec<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for PinnedVec<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
pub default fn example() -> T
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
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
type Iter = <&'data I as IntoParallelIterator>::Iter
The type of the parallel iterator that will be returned.
type Item = <&'data I as IntoParallelIterator>::Item
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]
pub fn par_iter(&'data self) -> <I as IntoParallelRefIterator<'data>>::Iter
[src]Converts self
into a parallel iterator. Read more
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
type Iter = <&'data mut I as IntoParallelIterator>::Iter
The type of iterator that will be created.
type Item = <&'data mut I as IntoParallelIterator>::Item
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]
pub fn par_iter_mut(
&'data mut self
) -> <I as IntoParallelRefMutIterator<'data>>::Iter
[src]Creates the parallel iterator from self
. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,