Lines Matching refs:Pin
12 use core::pin::Pin;
69 pub fn index_mut(self: Pin<&mut Self>, pos: usize) -> Option<Pin<&mut T>> { in index_mut()
106 pub unsafe fn index_unchecked_mut(self: Pin<&mut Self>, pos: usize) -> Pin<&mut T> { in index_unchecked_mut()
109 Pin::new_unchecked(&mut *ptr) in index_unchecked_mut()
136 pub fn as_mut_slice(self: Pin<&mut Self>) -> &mut [T] in as_mut_slice()
155 pub fn iter_mut(self: Pin<&mut Self>) -> IterMut<T> { in iter_mut()
164 pub fn push(self: Pin<&mut Self>, value: T) in push()
177 pub fn pop(self: Pin<&mut Self>) -> Option<T> in pop()
246 v: Pin<&'a mut CxxVector<T>>,
250 impl<'a, T> IntoIterator for Pin<&'a mut CxxVector<T>> implementation
254 type Item = Pin<&'a mut T>;
266 type Item = Pin<&'a mut T>;
274 let ptr = Pin::into_inner_unchecked(next) as *mut T; in next()
275 Some(Pin::new_unchecked(&mut *ptr)) in next()
341 unsafe fn __push_back(v: Pin<&mut CxxVector<Self>>, value: &mut ManuallyDrop<Self>) { in __push_back()
349 unsafe fn __pop_back(v: Pin<&mut CxxVector<Self>>, out: &mut MaybeUninit<Self>) { in __pop_back()
371 unsafe fn __push_back(v: Pin<&mut CxxVector<$ty>>, value: &mut ManuallyDrop<$ty>) {
375 fn __push_back(_: Pin<&mut CxxVector<$ty>>, _: &mut ManuallyDrop<$ty>);
380 unsafe fn __pop_back(v: Pin<&mut CxxVector<$ty>>, out: &mut MaybeUninit<$ty>) {
384 fn __pop_back(_: Pin<&mut CxxVector<$ty>>, _: &mut MaybeUninit<$ty>);