Struct snarkvm_wasm::BigInteger384
source · Tuple Fields
0: [u64; 6]Implementations
sourceimpl BigInteger384
impl BigInteger384
pub const fn new(value: [u64; 6]) -> BigInteger384
Trait Implementations
sourceimpl AsMut<[u64]> for BigInteger384
impl AsMut<[u64]> for BigInteger384
sourceimpl AsRef<[u64]> for BigInteger384
impl AsRef<[u64]> for BigInteger384
sourceimpl BigInteger for BigInteger384
impl BigInteger for BigInteger384
sourcefn add_nocarry(&mut self, other: &BigInteger384) -> bool
fn add_nocarry(&mut self, other: &BigInteger384) -> bool
Add another representation to this one, returning the carry bit.
sourcefn sub_noborrow(&mut self, other: &BigInteger384) -> bool
fn sub_noborrow(&mut self, other: &BigInteger384) -> bool
Subtract another representation from this one, returning the borrow bit.
sourcefn mul2(&mut self)
fn mul2(&mut self)
Performs a leftwise bitshift of this number, effectively multiplying
it by 2. Overflow is ignored. Read more
sourcefn div2(&mut self)
fn div2(&mut self)
Performs a rightwise bitshift of this number, effectively dividing
it by 2. Read more
sourcefn num_bits(&self) -> u32
fn num_bits(&self) -> u32
Compute the number of bits needed to encode this number. Always a
multiple of 64. Read more
sourcefn to_biguint(&self) -> BigUint
fn to_biguint(&self) -> BigUint
Returns the BigUint representation.
sourceimpl Clone for BigInteger384
impl Clone for BigInteger384
sourcefn clone(&self) -> BigInteger384
fn clone(&self) -> BigInteger384
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for BigInteger384
impl Debug for BigInteger384
sourceimpl Default for BigInteger384
impl Default for BigInteger384
sourcefn default() -> BigInteger384
fn default() -> BigInteger384
Returns the “default value” for a type. Read more
sourceimpl Display for BigInteger384
impl Display for BigInteger384
sourceimpl Distribution<BigInteger384> for Standard
impl Distribution<BigInteger384> for Standard
sourcefn sample<R>(&self, rng: &mut R) -> BigInteger384where
R: Rng + ?Sized,
fn sample<R>(&self, rng: &mut R) -> BigInteger384where
R: Rng + ?Sized,
Generate a random value of
T, using rng as the source of randomness.sourcefn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>ⓘNotable traits for DistIter<D, R, T>impl<D, R, T> Iterator for DistIter<D, R, T>where
D: Distribution<T>,
R: Rng, type Item = T;where
R: Rng,
Self: Sized,
fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>ⓘNotable traits for DistIter<D, R, T>impl<D, R, T> Iterator for DistIter<D, R, T>where
D: Distribution<T>,
R: Rng, type Item = T;where
R: Rng,
Self: Sized,
D: Distribution<T>,
R: Rng, type Item = T;
Create an iterator that generates random values of
T, using rng as
the source of randomness. Read moresourceimpl From<u64> for BigInteger384
impl From<u64> for BigInteger384
sourcefn from(val: u64) -> BigInteger384
fn from(val: u64) -> BigInteger384
Converts to this type from the input type.
sourceimpl FromBits for BigInteger384
impl FromBits for BigInteger384
sourcefn from_bits_le(bits: &[bool]) -> Result<BigInteger384, Error>
fn from_bits_le(bits: &[bool]) -> Result<BigInteger384, Error>
Returns a BigInteger by parsing a slice of bits in little-endian format
and transforms it into a slice of little-endian u64 elements.
sourcefn from_bits_be(bits: &[bool]) -> Result<BigInteger384, Error>
fn from_bits_be(bits: &[bool]) -> Result<BigInteger384, Error>
Returns a BigInteger by parsing a slice of bits in big-endian format
and transforms it into a slice of little-endian u64 elements.
sourceimpl FromBytes for BigInteger384
impl FromBytes for BigInteger384
sourceimpl Hash for BigInteger384
impl Hash for BigInteger384
sourceimpl<P> Into<BigInteger384> for Fp384<P>where
P: Fp384Parameters,
impl<P> Into<BigInteger384> for Fp384<P>where
P: Fp384Parameters,
sourcefn into(self) -> BigInteger384
fn into(self) -> BigInteger384
Converts this type into the (usually inferred) input type.
sourceimpl Ord for BigInteger384
impl Ord for BigInteger384
sourcefn cmp(&self, other: &BigInteger384) -> Ordering
fn cmp(&self, other: &BigInteger384) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<BigInteger384> for BigInteger384
impl PartialEq<BigInteger384> for BigInteger384
sourcefn eq(&self, other: &BigInteger384) -> bool
fn eq(&self, other: &BigInteger384) -> bool
sourceimpl PartialOrd<BigInteger384> for BigInteger384
impl PartialOrd<BigInteger384> for BigInteger384
sourcefn partial_cmp(&self, other: &BigInteger384) -> Option<Ordering>
fn partial_cmp(&self, other: &BigInteger384) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceimpl ToBits for BigInteger384
impl ToBits for BigInteger384
sourceimpl ToBytes for BigInteger384
impl ToBytes for BigInteger384
impl Copy for BigInteger384
impl Eq for BigInteger384
impl StructuralEq for BigInteger384
impl StructuralPartialEq for BigInteger384
Auto Trait Implementations
impl RefUnwindSafe for BigInteger384
impl Send for BigInteger384
impl Sync for BigInteger384
impl Unpin for BigInteger384
impl UnwindSafe for BigInteger384
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourcefn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> Uniform for Twhere
Standard: Distribution<T>,
impl<T> Uniform for Twhere
Standard: Distribution<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;where
S: Into<Dispatch>,
T: Future, type Output = <T as Future>::Output;
sourcefn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;