Skip to main content

radix_struct

Struct radix_struct 

Source
#[repr(C)]
pub struct radix_struct { pub b: nmod_t, pub exp: c_uint, pub B: nmod_t, pub bpow: *mut ulong, pub bpow_div: *mut n_div_precomp_struct, pub bits_to_digit_size: [c_uchar; 64], pub bval: c_uint, pub bpow_oddinv: *mut n_pair_struct, pub val_func: Option<unsafe extern "C" fn(arg1: ulong, arg2: *const c_void) -> ulong>, pub trunc_limbs: slong, pub trunc_digits: slong, }

Fields§

§b: nmod_t§exp: c_uint§B: nmod_t§bpow: *mut ulong§bpow_div: *mut n_div_precomp_struct§bits_to_digit_size: [c_uchar; 64]§bval: c_uint§bpow_oddinv: *mut n_pair_struct§val_func: Option<unsafe extern "C" fn(arg1: ulong, arg2: *const c_void) -> ulong>§trunc_limbs: slong§trunc_digits: slong

Trait Implementations§

Source§

impl Default for radix_struct

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.