Struct solana_perf::cuda_runtime::PinnedVec [−][src]
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]
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]
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]
pub 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> 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.
fn index(&self, index: I) -> &Self::Output
[src]
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?
fn into_iter(self) -> Self::IntoIter
[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: 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.
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> 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<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
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
pub fn par_iter(&'data self) -> <I as IntoParallelRefIterator<'data>>::Iter
[src]
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> Pointable for T
[src]
pub const ALIGN: usize
[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
pub unsafe fn drop(ptr: usize)
[src]
impl<T> Same<T> for T
[src]
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,