pub struct RangeCheckDecomposition<E: Engine> { /* private fields */ }
Implementations§
source§impl<E: Engine> RangeCheckDecomposition<E>
impl<E: Engine> RangeCheckDecomposition<E>
pub fn get_chunk_bitlen(&self) -> usize
pub fn get_num_chunks(&self) -> usize
pub fn is_bit_decomposition(&self) -> bool
pub fn get_total_value(&self) -> Option<BigUint>
pub fn get_bits(&self) -> &Vec<AllocatedBit>
pub fn get_vars(&self) -> &Vec<AllocatedNum<E>>
pub fn combine(separate_decompositions: &[Self]) -> Self
Auto Trait Implementations§
impl<E> Freeze for RangeCheckDecomposition<E>
impl<E> RefUnwindSafe for RangeCheckDecomposition<E>
impl<E> Send for RangeCheckDecomposition<E>
impl<E> Sync for RangeCheckDecomposition<E>
impl<E> Unpin for RangeCheckDecomposition<E>
impl<E> UnwindSafe for RangeCheckDecomposition<E>
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> 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