[]Struct amcl_wrapper::ECCurve::dbig::DBIG

pub struct DBIG {
    pub w: [i32; 28],
}

Fields

w: [i32; 28]

Methods

impl DBIG

pub fn new() -> DBIG

pub fn new_copy(y: &DBIG) -> DBIG

pub fn new_scopy(x: &BIG) -> DBIG

pub fn split(&mut self, n: usize) -> BIG

pub fn shl(&mut self, k: usize)

pub fn shr(&mut self, k: usize)

pub fn copy(&mut self, x: &DBIG)

pub fn ucopy(&mut self, x: &BIG)

pub fn cmove(&mut self, g: &DBIG, d: isize)

pub fn add(&mut self, x: &DBIG)

pub fn sub(&mut self, x: &DBIG)

pub fn rsub(&mut self, x: &DBIG)

pub fn comp(a: &DBIG, b: &DBIG) -> isize

pub fn norm(&mut self)

pub fn dmod(&mut self, c: &BIG) -> BIG

pub fn div(&mut self, c: &BIG) -> BIG

pub fn mod2m(&mut self, m: usize)

pub fn nbits(&mut self) -> usize

pub fn to_string(&mut self) -> String

Trait Implementations

impl Clone for DBIG

impl Copy for DBIG

Auto Trait Implementations

impl Send for DBIG

impl Sync for DBIG

impl Unpin for DBIG

impl RefUnwindSafe for DBIG

impl UnwindSafe for DBIG

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self