Skip to main content

fmpz_multi_CRT_struct

Struct fmpz_multi_CRT_struct 

Source
#[repr(C)]
pub struct fmpz_multi_CRT_struct {
Show 14 fields pub prog: *mut _fmpz_multi_CRT_instr, pub moduli: *mut fmpz, pub fracmoduli: *mut fmpz, pub final_modulus: fmpz_t, pub moduli_count: slong, pub min_modulus_bits: flint_bitcnt_t, pub length: slong, pub alloc: slong, pub localsize: slong, pub temp1loc: slong, pub temp2loc: slong, pub temp3loc: slong, pub temp4loc: slong, pub good: c_int,
}

Fields§

§prog: *mut _fmpz_multi_CRT_instr§moduli: *mut fmpz§fracmoduli: *mut fmpz§final_modulus: fmpz_t§moduli_count: slong§min_modulus_bits: flint_bitcnt_t§length: slong§alloc: slong§localsize: slong§temp1loc: slong§temp2loc: slong§temp3loc: slong§temp4loc: slong§good: c_int

Trait Implementations§

Source§

impl Default for fmpz_multi_CRT_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.