Skip to main content

ec_o

Struct ec_o 

Source
#[repr(C)]
pub struct ec_o {
Show 21 fields pub hdr: obj_hdr_t, pub f: *const qr_o, pub A: *mut word, pub B: *mut word, pub base: *mut word, pub order: *mut word, pub params: *mut c_void, pub d: usize, pub cofactor: word, pub froma: ec_froma_i, pub toa: ec_toa_i, pub neg: ec_neg_i, pub add: ec_add_i, pub adda: ec_adda_i, pub sub: ec_sub_i, pub suba: ec_suba_i, pub dbl: ec_dbl_i, pub dbla: ec_dbla_i, pub tpl: ec_tpl_i, pub deep: usize, pub descr: __IncompleteArrayField<octet>,
}

Fields§

§hdr: obj_hdr_t§f: *const qr_o§A: *mut word§B: *mut word§base: *mut word§order: *mut word§params: *mut c_void§d: usize§cofactor: word§froma: ec_froma_i§toa: ec_toa_i§neg: ec_neg_i§add: ec_add_i§adda: ec_adda_i§sub: ec_sub_i§suba: ec_suba_i§dbl: ec_dbl_i§dbla: ec_dbla_i§tpl: ec_tpl_i§deep: usize§descr: __IncompleteArrayField<octet>

Trait Implementations§

Source§

impl Debug for ec_o

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl !Send for ec_o

§

impl !Sync for ec_o

§

impl Freeze for ec_o

§

impl RefUnwindSafe for ec_o

§

impl Unpin for ec_o

§

impl UnsafeUnpin for ec_o

§

impl UnwindSafe for ec_o

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.