pub struct RealMagnitudeBits {
pub msd: i32,
pub exact_msd: bool,
}Expand description
A known most-significant binary digit for a nonzero value.
exact_msd is true when msd is known exactly. When it is false, msd
is a conservative structural bound.
Fields§
§msd: i32Most significant binary digit of the absolute value.
exact_msd: boolWhether msd is exact rather than only a conservative bound.
Trait Implementations§
Source§impl Clone for MagnitudeBits
impl Clone for MagnitudeBits
Source§fn clone(&self) -> MagnitudeBits
fn clone(&self) -> MagnitudeBits
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 MagnitudeBits
Source§impl Debug for MagnitudeBits
impl Debug for MagnitudeBits
impl Eq for MagnitudeBits
Source§impl PartialEq for MagnitudeBits
impl PartialEq for MagnitudeBits
Source§fn eq(&self, other: &MagnitudeBits) -> bool
fn eq(&self, other: &MagnitudeBits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MagnitudeBits
Auto Trait Implementations§
impl Freeze for MagnitudeBits
impl RefUnwindSafe for MagnitudeBits
impl Send for MagnitudeBits
impl Sync for MagnitudeBits
impl Unpin for MagnitudeBits
impl UnsafeUnpin for MagnitudeBits
impl UnwindSafe for MagnitudeBits
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