Struct ptr_array::PointerArray
source · [−]pub struct PointerArray<'a, const N: usize = 4_usize> { /* private fields */ }
Implementations
sourceimpl<'a, const N: usize> PointerArray<'a, N>
impl<'a, const N: usize> PointerArray<'a, N>
sourceimpl<'a, const N: usize> PointerArray<'a, N>
impl<'a, const N: usize> PointerArray<'a, N>
pub fn insert_mut<'b, T: 'static>(
self,
value: &'b mut T
) -> Result<PointerArray<'b, N>, Full<'a, N>> where
'a: 'b,
pub fn insert_ref<'b, T: 'static>(
self,
value: &'b T
) -> Result<PointerArray<'b, N>, Full<'a, N>> where
'a: 'b,
pub fn remove_ref<T: 'static>(&mut self) -> Option<&'a T>
pub fn remove_mut<T: 'static>(&mut self) -> Option<&'a mut T>
Trait Implementations
Auto Trait Implementations
impl<'a, const N: usize> RefUnwindSafe for PointerArray<'a, N>
impl<'a, const N: usize = 4_usize> !Send for PointerArray<'a, N>
impl<'a, const N: usize = 4_usize> !Sync for PointerArray<'a, N>
impl<'a, const N: usize> Unpin for PointerArray<'a, N>
impl<'a, const N: usize> UnwindSafe for PointerArray<'a, N>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more