pub struct Sfixed16P16 {
pub epsilons: i32,
}
Fields§
§epsilons: i32
Implementations§
Source§impl Sfixed16P16
impl Sfixed16P16
pub const ZERO: Self
pub const ONE: Self
pub const fn from_epsilons(epsilons: i32) -> Sfixed16P16
pub fn from_value(value: f64) -> Sfixed16P16
Trait Implementations§
Source§impl<'a, 'b> Add<&'b Sfixed16P16> for &'a Sfixed16P16
impl<'a, 'b> Add<&'b Sfixed16P16> for &'a Sfixed16P16
Source§type Output = Sfixed16P16
type Output = Sfixed16P16
The resulting type after applying the
+
operator.Source§fn add(self, rhs: &'b Sfixed16P16) -> Sfixed16P16
fn add(self, rhs: &'b Sfixed16P16) -> Sfixed16P16
Performs the
+
operation. Read moreSource§impl Add for Sfixed16P16
impl Add for Sfixed16P16
Source§type Output = Sfixed16P16
type Output = Sfixed16P16
The resulting type after applying the
+
operator.Source§fn add(self, rhs: Sfixed16P16) -> Sfixed16P16
fn add(self, rhs: Sfixed16P16) -> Sfixed16P16
Performs the
+
operation. Read moreSource§impl<'a> AddAssign<&'a Sfixed16P16> for Sfixed16P16
impl<'a> AddAssign<&'a Sfixed16P16> for Sfixed16P16
Source§fn add_assign(&mut self, rhs: &'a Sfixed16P16)
fn add_assign(&mut self, rhs: &'a Sfixed16P16)
Performs the
+=
operation. Read moreSource§impl AddAssign for Sfixed16P16
impl AddAssign for Sfixed16P16
Source§fn add_assign(&mut self, rhs: Sfixed16P16)
fn add_assign(&mut self, rhs: Sfixed16P16)
Performs the
+=
operation. Read moreSource§impl Clone for Sfixed16P16
impl Clone for Sfixed16P16
Source§fn clone(&self) -> Sfixed16P16
fn clone(&self) -> Sfixed16P16
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 Sfixed16P16
impl Debug for Sfixed16P16
Source§impl Default for Sfixed16P16
impl Default for Sfixed16P16
Source§fn default() -> Sfixed16P16
fn default() -> Sfixed16P16
Returns the “default value” for a type. Read more
Source§impl<'a> Deserialize<'a> for Sfixed16P16
impl<'a> Deserialize<'a> for Sfixed16P16
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<Sfixed16P16> for f64
impl From<Sfixed16P16> for f64
Source§fn from(fixed: Sfixed16P16) -> f64
fn from(fixed: Sfixed16P16) -> f64
Converts to this type from the input type.
Source§impl Hash for Sfixed16P16
impl Hash for Sfixed16P16
Source§impl Ord for Sfixed16P16
impl Ord for Sfixed16P16
Source§fn cmp(&self, other: &Sfixed16P16) -> Ordering
fn cmp(&self, other: &Sfixed16P16) -> 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 Sfixed16P16
impl PartialEq for Sfixed16P16
Source§impl PartialOrd for Sfixed16P16
impl PartialOrd for Sfixed16P16
Source§impl Serialize for Sfixed16P16
impl Serialize for Sfixed16P16
impl Copy for Sfixed16P16
impl Eq for Sfixed16P16
impl StructuralPartialEq for Sfixed16P16
Auto Trait Implementations§
impl Freeze for Sfixed16P16
impl RefUnwindSafe for Sfixed16P16
impl Send for Sfixed16P16
impl Sync for Sfixed16P16
impl Unpin for Sfixed16P16
impl UnwindSafe for Sfixed16P16
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