pub struct Table<X, T, const N: usize> {
pub all: [T; N],
/* private fields */
}Expand description
“Full” table, containing an element of T for every value of X.
Fields§
§all: [T; N]Implementations§
Trait Implementations§
impl<X: Copy, T: Copy, const N: usize> Copy for Table<X, T, N>
Auto Trait Implementations§
impl<X, T, const N: usize> Freeze for Table<X, T, N>where
T: Freeze,
impl<X, T, const N: usize> RefUnwindSafe for Table<X, T, N>where
T: RefUnwindSafe,
X: RefUnwindSafe,
impl<X, T, const N: usize> Send for Table<X, T, N>
impl<X, T, const N: usize> Sync for Table<X, T, N>
impl<X, T, const N: usize> Unpin for Table<X, T, N>
impl<X, T, const N: usize> UnsafeUnpin for Table<X, T, N>where
T: UnsafeUnpin,
impl<X, T, const N: usize> UnwindSafe for Table<X, T, N>where
T: UnwindSafe,
X: UnwindSafe,
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