Struct solana_perf::cuda_runtime::PinnedVec[][src]

pub struct PinnedVec<T: Default + Clone + Sized> { /* fields omitted */ }

Implementations

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]

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]

pub fn capacity(&self) -> usize[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]

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: Debug + Default + Clone + Sized> Debug for PinnedVec<T>[src]

impl<T: Clone + Default + Sized> Default for PinnedVec<T>[src]

impl<T: Sized + Default + Clone> Drop for PinnedVec<T>[src]

impl<T: Clone + Default + Sized> From<PinnedVec<T>> for Vec<T>[src]

impl<T: Clone + Default + Sized, I: SliceIndex<[T]>> Index<I> for PinnedVec<T>[src]

type Output = I::Output

The returned type after indexing.

impl<T: Clone + Default + Sized, I: SliceIndex<[T]>> IndexMut<I> for PinnedVec<T>[src]

impl<T: Clone + Default + Sized> IntoIterator for PinnedVec<T>[src]

type Item = T

The type of the elements being iterated over.

type IntoIter = IntoIter<T>

Which kind of iterator are we turning this into?

impl<'a, T: Clone + Default + Sized> IntoIterator for &'a mut PinnedVec<T>[src]

type Item = &'a T

The type of the elements being iterated over.

type IntoIter = PinnedIter<'a, T>

Which kind of iterator are we turning this into?

impl<'a, T: Clone + Default + Sized> IntoIterator for &'a PinnedVec<T>[src]

type Item = &'a T

The type of the elements being iterated over.

type IntoIter = PinnedIter<'a, T>

Which kind of iterator are we turning this into?

impl<'a, T: Clone + Send + Sync + Default + Sized> IntoParallelIterator for &'a PinnedVec<T>[src]

type Iter = Iter<'a, T>

The parallel iterator type that will be created.

type Item = &'a T

The type of item that the parallel iterator will produce.

impl<T: Clone + Default + Send + Sized> IntoParallelIterator for PinnedVec<T>[src]

type Item = T

The type of item that the parallel iterator will produce.

type Iter = IntoIter<T>

The parallel iterator type that will be created.

impl<T: Default + Clone + Sized> Reset for PinnedVec<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for PinnedVec<T> where
    T: RefUnwindSafe

impl<T> Send for PinnedVec<T> where
    T: Send

impl<T> Sync for PinnedVec<T> where
    T: Send + Sync

impl<T> Unpin for PinnedVec<T> where
    T: Unpin

impl<T> UnwindSafe for PinnedVec<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]