pub enum ChunkOrder {
MsbFirst,
LsbFirst,
}Expand description
Ordering of 31-byte field-element chunks for multi-chunk Bytes<N> atoms.
Variants§
MsbFirst
FAB AlignedValue / FieldRepr order: most-significant chunk first
(e.g. Bytes<32> → [bytes[31..32], bytes[0..31]]).
LsbFirst
ZKIR v3 circuit input/output order: least-significant chunk first
(e.g. Bytes<32> → [bytes[0..31], bytes[31..32]]).
Trait Implementations§
Source§impl Clone for ChunkOrder
impl Clone for ChunkOrder
impl Copy for ChunkOrder
Source§impl Debug for ChunkOrder
impl Debug for ChunkOrder
impl Eq for ChunkOrder
Source§impl Hash for ChunkOrder
impl Hash for ChunkOrder
Source§impl PartialEq for ChunkOrder
impl PartialEq for ChunkOrder
impl StructuralPartialEq for ChunkOrder
Auto Trait Implementations§
impl Forget for ChunkOrder
impl Freeze for ChunkOrder
impl Move for ChunkOrder
impl RefUnwindSafe for ChunkOrder
impl Send for ChunkOrder
impl Sync for ChunkOrder
impl Unpin for ChunkOrder
impl UnsafeUnpin for ChunkOrder
impl UnwindSafe for ChunkOrder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.