[−][src]Struct solana_perf::cuda_runtime::PinnedVec
Methods
impl<T: Clone + Default + Sized> PinnedVec<T>
[src]
ⓘImportant traits for PinnedIter<'a, T>pub fn iter(&self) -> PinnedIter<T>
[src]
ⓘImportant traits for PinnedIter<'a, T>
ⓘImportant traits for PinnedIterMut<'a, T>pub fn iter_mut(&mut self) -> PinnedIterMut<T>
[src]
ⓘImportant traits for PinnedIterMut<'a, T>
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]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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, I: SliceIndex<[T]>> Index<I> for PinnedVec<T>
[src]
type Output = I::Output
The returned type after indexing.
fn index(&self, index: I) -> &Self::Output
[src]
impl<T: Clone + Default + Sized, I: SliceIndex<[T]>> IndexMut<I> for PinnedVec<T>
[src]
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?
fn into_iter(self) -> Self::IntoIter
[src]
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?
fn into_iter(self) -> Self::IntoIter
[src]
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.
fn into_par_iter(self) -> Self::Iter
[src]
impl<T: Default + Clone + Sized> Reset for 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> From<T> for T
[src]
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'data, I> IntoParallelRefIterator<'data> for I where
I: 'data + ?Sized,
&'data I: IntoParallelIterator,
[src]
I: 'data + ?Sized,
&'data I: IntoParallelIterator,
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
fn par_iter(&'data self) -> <I as IntoParallelRefIterator<'data>>::Iter
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,