pub struct Arf { /* private fields */ }
Implementations§
Source§impl Arf
impl Arf
pub fn zero() -> Self
pub fn one() -> Self
pub fn zero_assign(&mut self)
pub fn one_assign(&mut self)
pub fn is_zero(&self) -> bool
pub fn is_one(&self) -> bool
pub const fn as_ptr(&self) -> *const arf_struct
pub fn as_mut_ptr(&mut self) -> *mut arf_struct
pub const unsafe fn from_raw(inner: arf_struct) -> Self
pub const fn into_raw(self) -> arf_struct
pub fn bits(&self) -> i64
Sourcepub fn mantissa_exponent(&self) -> (Integer, Integer)
pub fn mantissa_exponent(&self) -> (Integer, Integer)
Return the mantissa m
and exponent exp
such that x = m*2^exp
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Arf
impl RefUnwindSafe for Arf
impl !Send for Arf
impl !Sync for Arf
impl Unpin for Arf
impl UnwindSafe for Arf
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