pub struct fixedu16_16(/* private fields */);
Expand description
Fixed-point unsigned 16.16-bit number type, represented as u32
.
Implementations§
Source§impl fixedu16_16
impl fixedu16_16
pub fn from_u16(v: u16) -> Self
pub fn from_u16_frac(w: u16, f: u16) -> Self
pub fn as_raw_u32(self) -> u32
Trait Implementations§
Source§impl Clone for fixedu16_16
impl Clone for fixedu16_16
Source§fn clone(&self) -> fixedu16_16
fn clone(&self) -> fixedu16_16
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 fixedu16_16
impl Debug for fixedu16_16
Source§impl From<u16> for fixedu16_16
impl From<u16> for fixedu16_16
Source§impl From<u8> for fixedu16_16
impl From<u8> for fixedu16_16
impl Copy for fixedu16_16
Auto Trait Implementations§
impl Freeze for fixedu16_16
impl RefUnwindSafe for fixedu16_16
impl Send for fixedu16_16
impl Sync for fixedu16_16
impl Unpin for fixedu16_16
impl UnwindSafe for fixedu16_16
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