pub struct FloatingPointLayout {
pub bit_offset: u16,
pub bit_precision: u16,
pub exponent_location: u8,
pub exponent_size: u8,
pub mantissa_location: u8,
pub mantissa_size: u8,
pub exponent_bias: u32,
}Fields§
§bit_offset: u16§bit_precision: u16§exponent_location: u8§exponent_size: u8§mantissa_location: u8§mantissa_size: u8§exponent_bias: u32Implementations§
Source§impl FloatingPointLayout
impl FloatingPointLayout
pub const IEEE754_BINARY32: Self
pub const IEEE754_BINARY64: Self
Trait Implementations§
Source§impl Clone for FloatingPointLayout
impl Clone for FloatingPointLayout
Source§fn clone(&self) -> FloatingPointLayout
fn clone(&self) -> FloatingPointLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FloatingPointLayout
Source§impl Debug for FloatingPointLayout
impl Debug for FloatingPointLayout
impl Eq for FloatingPointLayout
Source§impl PartialEq for FloatingPointLayout
impl PartialEq for FloatingPointLayout
impl StructuralPartialEq for FloatingPointLayout
Auto Trait Implementations§
impl Freeze for FloatingPointLayout
impl RefUnwindSafe for FloatingPointLayout
impl Send for FloatingPointLayout
impl Sync for FloatingPointLayout
impl Unpin for FloatingPointLayout
impl UnsafeUnpin for FloatingPointLayout
impl UnwindSafe for FloatingPointLayout
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