pub struct Ufixed16P16 {
pub epsilons: u32,
}
Fields§
§epsilons: u32
Implementations§
Source§impl Ufixed16P16
impl Ufixed16P16
pub const ZERO: Self
pub const ONE: Self
pub const fn from_epsilons(epsilons: u32) -> Ufixed16P16
pub fn from_value(value: f64) -> Ufixed16P16
Trait Implementations§
Source§impl<'a, 'b> Add<&'b Ufixed16P16> for &'a Ufixed16P16
impl<'a, 'b> Add<&'b Ufixed16P16> for &'a Ufixed16P16
Source§type Output = Ufixed16P16
type Output = Ufixed16P16
The resulting type after applying the
+
operator.Source§fn add(self, rhs: &'b Ufixed16P16) -> Ufixed16P16
fn add(self, rhs: &'b Ufixed16P16) -> Ufixed16P16
Performs the
+
operation. Read moreSource§impl Add for Ufixed16P16
impl Add for Ufixed16P16
Source§type Output = Ufixed16P16
type Output = Ufixed16P16
The resulting type after applying the
+
operator.Source§fn add(self, rhs: Ufixed16P16) -> Ufixed16P16
fn add(self, rhs: Ufixed16P16) -> Ufixed16P16
Performs the
+
operation. Read moreSource§impl<'a> AddAssign<&'a Ufixed16P16> for Ufixed16P16
impl<'a> AddAssign<&'a Ufixed16P16> for Ufixed16P16
Source§fn add_assign(&mut self, rhs: &'a Ufixed16P16)
fn add_assign(&mut self, rhs: &'a Ufixed16P16)
Performs the
+=
operation. Read moreSource§impl AddAssign for Ufixed16P16
impl AddAssign for Ufixed16P16
Source§fn add_assign(&mut self, rhs: Ufixed16P16)
fn add_assign(&mut self, rhs: Ufixed16P16)
Performs the
+=
operation. Read moreSource§impl Clone for Ufixed16P16
impl Clone for Ufixed16P16
Source§fn clone(&self) -> Ufixed16P16
fn clone(&self) -> Ufixed16P16
Returns a copy 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 Ufixed16P16
impl Debug for Ufixed16P16
Source§impl Default for Ufixed16P16
impl Default for Ufixed16P16
Source§fn default() -> Ufixed16P16
fn default() -> Ufixed16P16
Returns the “default value” for a type. Read more
Source§impl<'a> Deserialize<'a> for Ufixed16P16
impl<'a> Deserialize<'a> for Ufixed16P16
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Ufixed16P16> for f64
impl From<Ufixed16P16> for f64
Source§fn from(fixed: Ufixed16P16) -> f64
fn from(fixed: Ufixed16P16) -> f64
Converts to this type from the input type.
Source§impl Hash for Ufixed16P16
impl Hash for Ufixed16P16
Source§impl Ord for Ufixed16P16
impl Ord for Ufixed16P16
Source§fn cmp(&self, other: &Ufixed16P16) -> Ordering
fn cmp(&self, other: &Ufixed16P16) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Ufixed16P16
impl PartialEq for Ufixed16P16
Source§impl PartialOrd for Ufixed16P16
impl PartialOrd for Ufixed16P16
Source§impl Serialize for Ufixed16P16
impl Serialize for Ufixed16P16
impl Copy for Ufixed16P16
impl Eq for Ufixed16P16
impl StructuralPartialEq for Ufixed16P16
Auto Trait Implementations§
impl Freeze for Ufixed16P16
impl RefUnwindSafe for Ufixed16P16
impl Send for Ufixed16P16
impl Sync for Ufixed16P16
impl Unpin for Ufixed16P16
impl UnwindSafe for Ufixed16P16
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