Struct ark_ff::biginteger::BigInteger128 [−][src]
Implementations
impl BigInteger128
[src]
Trait Implementations
impl AsMut<[u64]> for BigInteger128
[src]
impl AsRef<[u64]> for BigInteger128
[src]
impl BigInteger for BigInteger128
[src]
const NUM_LIMBS: usize
[src]
fn add_nocarry(&mut self, other: &Self) -> bool
[src]
fn sub_noborrow(&mut self, other: &Self) -> bool
[src]
fn mul2(&mut self)
[src]
fn muln(&mut self, n: u32)
[src]
fn div2(&mut self)
[src]
fn divn(&mut self, n: u32)
[src]
fn is_odd(&self) -> bool
[src]
fn is_even(&self) -> bool
[src]
fn is_zero(&self) -> bool
[src]
fn num_bits(&self) -> u32
[src]
fn get_bit(&self, i: usize) -> bool
[src]
fn from_bits_be(bits: &[bool]) -> Self
[src]
fn from_bits_le(bits: &[bool]) -> Self
[src]
fn to_bytes_be(&self) -> Vec<u8>
[src]
fn to_bytes_le(&self) -> Vec<u8>
[src]
fn find_wnaf(&self) -> Vec<i64>
[src]
fn to_bits_be(&self) -> Vec<bool>
[src]
fn to_bits_le(&self) -> Vec<bool>
[src]
fn write_le<W: Write>(&self, writer: &mut W) -> IoResult<()>
[src]
fn read_le<R: Read>(&mut self, reader: &mut R) -> IoResult<()>
[src]
impl CanonicalDeserialize for BigInteger128
[src]
fn deserialize<R: Read>(reader: R) -> Result<Self, SerializationError>
[src]
pub fn deserialize_uncompressed<R>(
reader: R
) -> Result<Self, SerializationError> where
R: Read,
[src]
reader: R
) -> Result<Self, SerializationError> where
R: Read,
pub fn deserialize_unchecked<R>(reader: R) -> Result<Self, SerializationError> where
R: Read,
[src]
R: Read,
impl CanonicalSerialize for BigInteger128
[src]
fn serialize<W: Write>(&self, writer: W) -> Result<(), SerializationError>
[src]
fn serialized_size(&self) -> usize
[src]
pub fn serialize_uncompressed<W>(
&self,
writer: W
) -> Result<(), SerializationError> where
W: Write,
[src]
&self,
writer: W
) -> Result<(), SerializationError> where
W: Write,
pub fn serialize_unchecked<W>(
&self,
writer: W
) -> Result<(), SerializationError> where
W: Write,
[src]
&self,
writer: W
) -> Result<(), SerializationError> where
W: Write,
pub fn uncompressed_size(&self) -> usize
[src]
impl Clone for BigInteger128
[src]
fn clone(&self) -> BigInteger128
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BigInteger128
[src]
impl Debug for BigInteger128
[src]
impl Default for BigInteger128
[src]
fn default() -> BigInteger128
[src]
impl Display for BigInteger128
[src]
impl Eq for BigInteger128
[src]
impl From<u64> for BigInteger128
[src]
fn from(val: u64) -> BigInteger128
[src]
impl FromBytes for BigInteger128
[src]
impl Hash for BigInteger128
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for BigInteger128
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<BigInteger128> for BigInteger128
[src]
fn eq(&self, other: &BigInteger128) -> bool
[src]
fn ne(&self, other: &BigInteger128) -> bool
[src]
impl PartialOrd<BigInteger128> for BigInteger128
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for BigInteger128
[src]
impl StructuralPartialEq for BigInteger128
[src]
impl ToBytes for BigInteger128
[src]
impl Zeroize for BigInteger128
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UniformRand for T where
Standard: Distribution<T>,
[src]
Standard: Distribution<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,