Struct secp256kfun_parity_backend::group::AffineStorage[][src]

pub struct AffineStorage {
    pub x: FieldStorage,
    pub y: FieldStorage,
}

Affine coordinate group element compact storage.

Fields

x: FieldStoragey: FieldStorage

Implementations

impl AffineStorage[src]

pub const fn new(x: FieldStorage, y: FieldStorage) -> Self[src]

Create a new affine storage.

pub fn cmov(&mut self, a: &AffineStorage, flag: bool)[src]

If flag is true, set *r equal to *a; otherwise leave it. Constant-time.

Trait Implementations

impl Clone for AffineStorage[src]

impl Debug for AffineStorage[src]

impl Default for AffineStorage[src]

impl Eq for AffineStorage[src]

impl From<AffineStorage> for Affine[src]

impl Into<AffineStorage> for Affine[src]

impl PartialEq<AffineStorage> for AffineStorage[src]

impl StructuralEq for AffineStorage[src]

impl StructuralPartialEq for AffineStorage[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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.