#[repr(C)]pub struct CudaScalarDivisorFFI {Show 20 fields
pub chosen_multiplier_has_at_least_one_set: *const u64,
pub decomposed_chosen_multiplier: *const u64,
pub num_scalars: u32,
pub active_bits: u32,
pub shift_pre: u64,
pub shift_post: u32,
pub ilog2_chosen_multiplier: u32,
pub chosen_multiplier_num_bits: u32,
pub is_chosen_multiplier_zero: bool,
pub is_abs_chosen_multiplier_one: bool,
pub is_chosen_multiplier_negative: bool,
pub is_chosen_multiplier_pow2: bool,
pub chosen_multiplier_has_more_bits_than_numerator: bool,
pub is_chosen_multiplier_geq_two_pow_numerator: bool,
pub ilog2_divisor: u32,
pub is_divisor_zero: bool,
pub is_abs_divisor_one: bool,
pub is_divisor_negative: bool,
pub is_divisor_pow2: bool,
pub divisor_has_more_bits_than_numerator: bool,
}Fields§
§chosen_multiplier_has_at_least_one_set: *const u64§decomposed_chosen_multiplier: *const u64§num_scalars: u32§active_bits: u32§shift_pre: u64§shift_post: u32§ilog2_chosen_multiplier: u32§chosen_multiplier_num_bits: u32§is_chosen_multiplier_zero: bool§is_abs_chosen_multiplier_one: bool§is_chosen_multiplier_negative: bool§is_chosen_multiplier_pow2: bool§chosen_multiplier_has_more_bits_than_numerator: bool§is_chosen_multiplier_geq_two_pow_numerator: bool§ilog2_divisor: u32§is_divisor_zero: bool§is_abs_divisor_one: bool§is_divisor_negative: bool§is_divisor_pow2: bool§divisor_has_more_bits_than_numerator: boolTrait Implementations§
Source§impl Clone for CudaScalarDivisorFFI
impl Clone for CudaScalarDivisorFFI
Source§fn clone(&self) -> CudaScalarDivisorFFI
fn clone(&self) -> CudaScalarDivisorFFI
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CudaScalarDivisorFFI
impl Debug for CudaScalarDivisorFFI
impl Copy for CudaScalarDivisorFFI
Auto Trait Implementations§
impl Freeze for CudaScalarDivisorFFI
impl RefUnwindSafe for CudaScalarDivisorFFI
impl !Send for CudaScalarDivisorFFI
impl !Sync for CudaScalarDivisorFFI
impl Unpin for CudaScalarDivisorFFI
impl UnwindSafe for CudaScalarDivisorFFI
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more