pub struct OuterLayout {
pub message_len: usize,
pub pad_rows: usize,
pub aux_rows: usize,
pub domain_len: usize,
}Expand description
Oracle row order: pad, then the Lhs, Rhs and
Product wire blocks, then the five mask rows.
Fields§
§message_len: usize§pad_rows: usize§aux_rows: usize§domain_len: usizeImplementations§
Source§impl OuterLayout
impl OuterLayout
pub fn new( geom: &OuterGeometry, masked_scalars: usize, mul_wires: usize, ) -> Result<Self>
pub fn slot(&self, unknown: Unknown) -> (usize, usize)
pub fn interleaved_mask(&self) -> usize
pub fn linear_mask(&self) -> usize
pub fn linear_mask_hi(&self) -> usize
pub fn quadratic_mask(&self) -> usize
pub fn quadratic_mask_hi(&self) -> usize
pub fn total_rows(&self) -> usize
pub fn hadamard_triples(&self) -> Vec<[usize; 3]>
Trait Implementations§
Source§impl Clone for OuterLayout
impl Clone for OuterLayout
impl Copy for OuterLayout
Source§impl Debug for OuterLayout
impl Debug for OuterLayout
impl Eq for OuterLayout
Source§impl PartialEq for OuterLayout
impl PartialEq for OuterLayout
impl StructuralPartialEq for OuterLayout
Auto Trait Implementations§
impl Freeze for OuterLayout
impl RefUnwindSafe for OuterLayout
impl Send for OuterLayout
impl Sync for OuterLayout
impl Unpin for OuterLayout
impl UnsafeUnpin for OuterLayout
impl UnwindSafe for OuterLayout
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more