Struct snarkvm_utilities::biginteger::biginteger::BigInteger768 [−][src]
Implementations
impl BigInteger768
[src]
Trait Implementations
impl AsMut<[u64]> for BigInteger768
[src]
impl AsRef<[u64]> for BigInteger768
[src]
impl BigInteger for BigInteger768
[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: Vec<bool>) -> Self
[src]
Constructs a BigInteger
by parsing a vector of bits in big endian format
and transforms it into a vector of little endian u64 elements.
fn to_bits_be(&self) -> Vec<bool>ⓘ
[src]
fn find_wnaf(&self) -> Vec<i64>ⓘ
[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 Clone for BigInteger768
[src]
fn clone(&self) -> BigInteger768
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BigInteger768
[src]
impl Debug for BigInteger768
[src]
impl Default for BigInteger768
[src]
fn default() -> BigInteger768
[src]
impl Display for BigInteger768
[src]
impl Eq for BigInteger768
[src]
impl From<u64> for BigInteger768
[src]
fn from(val: u64) -> BigInteger768
[src]
impl FromBytes for BigInteger768
[src]
impl Hash for BigInteger768
[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 BigInteger768
[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<BigInteger768> for BigInteger768
[src]
fn eq(&self, other: &BigInteger768) -> bool
[src]
fn ne(&self, other: &BigInteger768) -> bool
[src]
impl PartialOrd<BigInteger768> for BigInteger768
[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 BigInteger768
[src]
impl StructuralPartialEq for BigInteger768
[src]
impl ToBytes for BigInteger768
[src]
Auto Trait Implementations
impl RefUnwindSafe for BigInteger768
impl Send for BigInteger768
impl Sync for BigInteger768
impl Unpin for BigInteger768
impl UnwindSafe for BigInteger768
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>,