pub(crate) struct NttMatrix<K: ArraySize, L: ArraySize>(Array<MaybeBox<NttVector<BaseField, L>>, K>);Expand description
Private matrix storage which offloads each row before constructing the next one.
Without alloc, MaybeBox keeps the rows inline.
Tuple Fields§
§0: Array<MaybeBox<NttVector<BaseField, L>>, K>Implementations§
Trait Implementations§
impl<K: PartialEq + ArraySize, L: PartialEq + ArraySize> StructuralPartialEq for NttMatrix<K, L>
Auto Trait Implementations§
impl<K, L> Freeze for NttMatrix<K, L>
impl<K, L> RefUnwindSafe for NttMatrix<K, L>
impl<K, L> Send for NttMatrix<K, L>
impl<K, L> Sync for NttMatrix<K, L>
impl<K, L> Unpin for NttMatrix<K, L>
impl<K, L> UnsafeUnpin for NttMatrix<K, L>
impl<K, L> UnwindSafe for NttMatrix<K, L>
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