[][src]Struct swf_fixed::Ufixed16P16

pub struct Ufixed16P16 {
    pub epsilons: u32,
}

Fields

epsilons: u32

Methods

impl Ufixed16P16[src]

pub const ZERO: Self[src]

pub const ONE: Self[src]

pub const fn from_epsilons(epsilons: u32) -> Ufixed16P16[src]

pub fn from_value(value: f64) -> Ufixed16P16[src]

Trait Implementations

impl Copy for Ufixed16P16[src]

impl PartialEq<Ufixed16P16> for Ufixed16P16[src]

impl Ord for Ufixed16P16[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Eq for Ufixed16P16[src]

impl PartialOrd<Ufixed16P16> for Ufixed16P16[src]

impl Clone for Ufixed16P16[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<Ufixed16P16> for f64[src]

impl Default for Ufixed16P16[src]

impl Debug for Ufixed16P16[src]

impl Hash for Ufixed16P16[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Add<Ufixed16P16> for Ufixed16P16[src]

type Output = Ufixed16P16

The resulting type after applying the + operator.

impl<'a, 'b> Add<&'b Ufixed16P16> for &'a Ufixed16P16[src]

type Output = Ufixed16P16

The resulting type after applying the + operator.

impl AddAssign<Ufixed16P16> for Ufixed16P16[src]

impl<'a> AddAssign<&'a Ufixed16P16> for Ufixed16P16[src]

impl Serialize for Ufixed16P16[src]

impl<'a> Deserialize<'a> for Ufixed16P16[src]

Auto Trait Implementations

impl Send for Ufixed16P16

impl Sync for Ufixed16P16

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]