Struct ark_ff::biginteger::BigInteger320 [−][src]
pub struct BigInteger320(pub [u64; 5]);
Implementations
Trait Implementations
Add another representation to this one, returning the carry bit.
Subtract another representation from this one, returning the borrow bit.
Performs a leftwise bitshift of this number, effectively multiplying it by 2. Overflow is ignored. Read more
Performs a rightwise bitshift of this number, effectively dividing it by 2. Read more
Compute the number of bits needed to encode this number. Always a multiple of 64. Read more
Returns the big integer representation of a given big endian boolean array. Read more
Returns the big integer representation of a given little endian boolean array. Read more
Returns the byte representation in a big endian byte array, with leading zeros. Read more
Returns the byte representation in a little endian byte array, with trailing zeros. Read more
Returns the bit representation in a big endian boolean array, with leading zeroes. Read more
Returns the bit representation in a little endian boolean array, with trailing zeroes. Read more
Returns the windowed non-adjacent form of self
, for a window of size w
.
Writes this BigInteger
as a big endian integer. Always writes
(num_bits
/ 8) bytes. Read more
Reads Self
from reader
.
Reads Self
from reader
without compression.
Reads self
from reader
without compression, and without performing
validity checks. Should be used only when the input is trusted. Read more
Serializes self
into writer
.
It is left up to a particular type for how it strikes the
serialization efficiency vs compression tradeoff.
For standard types (e.g. bool
, lengths, etc.) typically an uncompressed
form is used, whereas for algebraic types compressed forms are used. Read more
fn serialize_uncompressed<W>(&self, writer: W) -> Result<(), SerializationError> where
W: Write,
[src]
fn serialize_uncompressed<W>(&self, writer: W) -> Result<(), SerializationError> where
W: Write,
[src]Serializes self
into writer
without compression.
Serializes self
into writer
without compression, and without
performing validity checks. Should be used only when there is no
danger of adversarial manipulation of the output. Read more
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
fn hash_uncompressed<H>(&self) -> GenericArray<u8, <H as Digest>::OutputSize> where
H: Digest,
[src]type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V