pub enum Shuffle {
AAAA,
BBBB,
CACA,
DBBD,
ADDA,
CBCB,
ABAB,
BADC,
BACD,
ABDC,
}Expand description
The Shuffle enum represents a shuffle of a FieldElement2625x4.
The enum variants are named by what they do to a vector \(
(A,B,C,D) \); for instance, Shuffle::BADC turns \( (A, B, C,
D) \) into \( (B, A, D, C) \).
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Shuffle
impl RefUnwindSafe for Shuffle
impl Send for Shuffle
impl Sync for Shuffle
impl Unpin for Shuffle
impl UnwindSafe for Shuffle
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