Struct osiris_process::register::floating_point::Number
source · pub struct Number(/* private fields */);Implementations§
source§impl Number
impl Number
pub fn new(data: f64) -> Self
pub fn to_f64(&self) -> f64
pub fn from_u64(data: u64) -> Self
pub fn from_word(data: Word) -> Self
pub fn to_u64(&self) -> u64
pub fn to_word(&self) -> Word
pub fn from_words_slice(from: &[Word]) -> Vec<Self>
pub fn slice_to_array(from: &[Self]) -> Array
Trait Implementations§
impl Copy for Number
Auto Trait Implementations§
impl Freeze for Number
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnwindSafe for Number
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