[][src]Struct simba::scalar::FixedI64

pub struct FixedI64<Fract: LeEqU64>(pub FixedI64<Fract>);

Signed fixed-point number with a generic number of bits for the fractional part.

Implementations

impl<Fract: LeEqU64> FixedI64<Fract>[src]

pub fn from_num<N: ToFixed>(val: N) -> Self[src]

Trait Implementations

impl<Fract: LeEqU64> AbsDiffEq<FixedI64<Fract>> for FixedI64<Fract>[src]

type Epsilon = Self

Used for specifying relative comparisons.

impl<Fract: LeEqU64> Add<FixedI64<Fract>> for FixedI64<Fract>[src]

type Output = Self

The resulting type after applying the + operator.

impl<Fract: LeEqU64> AddAssign<FixedI64<Fract>> for FixedI64<Fract>[src]

impl<Fract: LeEqU64> Bounded for FixedI64<Fract>[src]

impl<Fract: Clone + LeEqU64> Clone for FixedI64<Fract>[src]

impl<Fract: Send + Sync + 'static> ComplexField for FixedI64<Fract> where
    Fract: Unsigned + LeEqU64 + IsLessOrEqual<U63, Output = True> + IsLessOrEqual<U62, Output = True> + IsLessOrEqual<U61, Output = True> + IsLessOrEqual<U60, Output = True>, 
[src]

type RealField = Self

impl<Fract: Copy + LeEqU64> Copy for FixedI64<Fract>[src]

impl<Fract: LeEqU64> Debug for FixedI64<Fract>[src]

impl<'de, Fract: LeEqU64> Deserialize<'de> for FixedI64<Fract>[src]

impl<Fract: LeEqU64> Display for FixedI64<Fract>[src]

impl<Fract: LeEqU64> Distribution<FixedI64<Fract>> for Standard[src]

impl<Fract: LeEqU64> Distribution<FixedI64<Fract>> for OpenClosed01[src]

impl<Fract: LeEqU64> Div<FixedI64<Fract>> for FixedI64<Fract>[src]

type Output = Self

The resulting type after applying the / operator.

impl<Fract: LeEqU64> DivAssign<FixedI64<Fract>> for FixedI64<Fract>[src]

impl<Fract: LeEqU64> Eq for FixedI64<Fract>[src]

impl<Fract: LeEqU64> Field for FixedI64<Fract>[src]

impl<Fract: LeEqU64> FromPrimitive for FixedI64<Fract>[src]

impl<Fract: LeEqU64> Hash for FixedI64<Fract>[src]

impl<Fract: LeEqU64> Mul<FixedI64<Fract>> for FixedI64<Fract>[src]

type Output = Self

The resulting type after applying the * operator.

impl<Fract: LeEqU64> MulAssign<FixedI64<Fract>> for FixedI64<Fract>[src]

impl<Fract: LeEqU64> Neg for FixedI64<Fract>[src]

type Output = Self

The resulting type after applying the - operator.

impl<Fract: LeEqU64> Num for FixedI64<Fract>[src]

type FromStrRadixErr = ()

impl<Fract: LeEqU64> One for FixedI64<Fract>[src]

impl<Fract: LeEqU64> PartialEq<FixedI64<Fract>> for FixedI64<Fract>[src]

impl<Fract: LeEqU64> PartialOrd<FixedI64<Fract>> for FixedI64<Fract>[src]

impl<Fract: LeEqU64> PrimitiveSimdValue for FixedI64<Fract>[src]

impl<Fract: Send + Sync + 'static> RealField for FixedI64<Fract> where
    Fract: Unsigned + LeEqU64 + IsLessOrEqual<U63, Output = True> + IsLessOrEqual<U62, Output = True> + IsLessOrEqual<U61, Output = True> + IsLessOrEqual<U60, Output = True>, 
[src]

fn pi() -> Self[src]

Archimedes' constant.

fn two_pi() -> Self[src]

2.0 * pi.

fn frac_pi_2() -> Self[src]

pi / 2.0.

fn frac_pi_3() -> Self[src]

pi / 3.0.

fn frac_pi_4() -> Self[src]

pi / 4.0.

fn frac_pi_6() -> Self[src]

pi / 6.0.

fn frac_pi_8() -> Self[src]

pi / 8.0.

fn frac_1_pi() -> Self[src]

1.0 / pi.

fn frac_2_pi() -> Self[src]

2.0 / pi.

fn frac_2_sqrt_pi() -> Self[src]

2.0 / sqrt(pi).

fn e() -> Self[src]

Euler's number.

fn log2_e() -> Self[src]

log2(e).

fn log10_e() -> Self[src]

log10(e).

fn ln_2() -> Self[src]

ln(2.0).

fn ln_10() -> Self[src]

ln(10.0).

impl<Fract: LeEqU64> RelativeEq<FixedI64<Fract>> for FixedI64<Fract>[src]

impl<Fract: LeEqU64> Rem<FixedI64<Fract>> for FixedI64<Fract>[src]

type Output = Self

The resulting type after applying the % operator.

impl<Fract: LeEqU64> RemAssign<FixedI64<Fract>> for FixedI64<Fract>[src]

impl<Fract: LeEqU64> Serialize for FixedI64<Fract>[src]

impl<Fract: LeEqU64> Signed for FixedI64<Fract>[src]

impl<Fract: LeEqU64> SimdValue for FixedI64<Fract>[src]

type Element = Self

The type of the elements of each lane of this SIMD value.

type SimdBool = bool

Type of the result of comparing two SIMD values like self.

impl<Fract: LeEqU64> Sub<FixedI64<Fract>> for FixedI64<Fract>[src]

type Output = Self

The resulting type after applying the - operator.

impl<Fract: LeEqU64> SubAssign<FixedI64<Fract>> for FixedI64<Fract>[src]

impl<Fract: LeEqU64> SubsetOf<FixedI64<Fract>> for f64[src]

impl<Fract: LeEqU64> SubsetOf<FixedI64<Fract>> for FixedI64<Fract>[src]

impl<Fract: LeEqU64> UlpsEq<FixedI64<Fract>> for FixedI64<Fract>[src]

impl<Fract: LeEqU64> Zero for FixedI64<Fract>[src]

Auto Trait Implementations

impl<Fract> RefUnwindSafe for FixedI64<Fract> where
    Fract: RefUnwindSafe

impl<Fract> Send for FixedI64<Fract> where
    Fract: Send

impl<Fract> Sync for FixedI64<Fract> where
    Fract: Sync

impl<Fract> Unpin for FixedI64<Fract> where
    Fract: Unpin

impl<Fract> UnwindSafe for FixedI64<Fract> where
    Fract: UnwindSafe

Blanket Implementations

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

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

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

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

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

impl<T> From<T> for T[src]

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

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

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

impl<T> NumAssign for T where
    T: Num + NumAssignOps<T>, 
[src]

impl<T, Rhs> NumAssignOps<Rhs> for T where
    T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>, 
[src]

impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
    T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,