pub struct ArrayIndex<T, const LEN: usize>(usize, PhantomCovariant<T>);Tuple Fields§
§0: usize§1: PhantomCovariant<T>Implementations§
Source§impl<T, const LEN: usize> ArrayIndex<T, LEN>
impl<T, const LEN: usize> ArrayIndex<T, LEN>
pub unsafe fn new_unchecked(idx: usize) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<T, const LEN: usize> Freeze for ArrayIndex<T, LEN>
impl<T, const LEN: usize> RefUnwindSafe for ArrayIndex<T, LEN>
impl<T, const LEN: usize> Send for ArrayIndex<T, LEN>
impl<T, const LEN: usize> Sync for ArrayIndex<T, LEN>
impl<T, const LEN: usize> Unpin for ArrayIndex<T, LEN>
impl<T, const LEN: usize> UnsafeUnpin for ArrayIndex<T, LEN>
impl<T, const LEN: usize> UnwindSafe for ArrayIndex<T, LEN>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more