pub struct MulSS32 {
pub out_bits: [Col<B1>; 64],
pub xin: Col<B32>,
pub yin: Col<B32>,
pub out_high: Col<B32>,
pub out_low: Col<B32>,
/* private fields */
}
Fields§
§out_bits: [Col<B1>; 64]
§xin: Col<B32>
§yin: Col<B32>
§out_high: Col<B32>
§out_low: Col<B32>
Implementations§
Source§impl MulSS32
impl MulSS32
Sourcepub fn new(table: &mut TableBuilder<'_>) -> Self
pub fn new(table: &mut TableBuilder<'_>) -> Self
Create the gadget by automatically committing the required input columns.
Sourcepub fn with_input(
table: &mut TableBuilder<'_>,
xin_bits: [Col<B1>; 32],
yin_bits: [Col<B1>; 32],
) -> Self
pub fn with_input( table: &mut TableBuilder<'_>, xin_bits: [Col<B1>; 32], yin_bits: [Col<B1>; 32], ) -> Self
Create the gadget with the supplied xin_bits
and yin_bits
columns.
pub fn populate_with_inputs<P>( &self, index: &mut TableWitnessSegment<'_, P>, x_vals: impl IntoIterator<Item = B32> + Clone, y_vals: impl IntoIterator<Item = B32> + Clone, ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MulSS32
impl RefUnwindSafe for MulSS32
impl Send for MulSS32
impl Sync for MulSS32
impl Unpin for MulSS32
impl UnwindSafe for MulSS32
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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