pub struct FixedPointDecimal { /* private fields */ }Implementations§
Source§impl FixedPointDecimal
impl FixedPointDecimal
pub fn get_real_val(&self) -> f32
pub fn get_rounded_val(&self) -> f32
pub fn from_data(data: &[u8; 2]) -> Self
Trait Implementations§
Source§impl Clone for FixedPointDecimal
impl Clone for FixedPointDecimal
Source§fn clone(&self) -> FixedPointDecimal
fn clone(&self) -> FixedPointDecimal
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FixedPointDecimal
impl Debug for FixedPointDecimal
Source§impl PartialEq<f32> for FixedPointDecimal
impl PartialEq<f32> for FixedPointDecimal
Source§impl PartialEq for FixedPointDecimal
impl PartialEq for FixedPointDecimal
Source§impl PartialOrd<f32> for FixedPointDecimal
impl PartialOrd<f32> for FixedPointDecimal
Source§impl PartialOrd for FixedPointDecimal
impl PartialOrd for FixedPointDecimal
impl StructuralPartialEq for FixedPointDecimal
Auto Trait Implementations§
impl Freeze for FixedPointDecimal
impl RefUnwindSafe for FixedPointDecimal
impl Send for FixedPointDecimal
impl Sync for FixedPointDecimal
impl Unpin for FixedPointDecimal
impl UnwindSafe for FixedPointDecimal
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