#[repr(C)]pub struct Fp3264 {
pub l0: u32,
pub l32: u32,
pub l64: u32,
}Expand description
A 32.64 unsigned fixed point number: 32 integer bits followed by 64 fractional bits, stored as three little-endian-by-significance limbs.
Layout-compatible with the C struct fp_32_64.
Fields§
§l0: u32unshifted value
l32: u32value shifted left 32 bits (or bit -1 to -32)
l64: u32value shifted left 64 bits (or bit -33 to -64)
Trait Implementations§
impl Copy for Fp3264
impl Eq for Fp3264
impl StructuralPartialEq for Fp3264
Auto Trait Implementations§
impl Freeze for Fp3264
impl RefUnwindSafe for Fp3264
impl Send for Fp3264
impl Sync for Fp3264
impl Unpin for Fp3264
impl UnsafeUnpin for Fp3264
impl UnwindSafe for Fp3264
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)