[][src]Struct koto_runtime::num2::Num2

pub struct Num2(pub f64, pub f64);

Implementations

impl Num2[src]

pub fn abs(&self) -> Self[src]

Trait Implementations

impl Add<&'_ Num2> for Num2[src]

type Output = Num2

The resulting type after applying the + operator.

impl Add<&'_ Num2> for &Num2[src]

type Output = Num2

The resulting type after applying the + operator.

impl Add<&'_ Num2> for &ValueNumber[src]

type Output = Num2

The resulting type after applying the + operator.

impl Add<&'_ ValueNumber> for &Num2[src]

type Output = Num2

The resulting type after applying the + operator.

impl Add<&'_ f64> for &Num2[src]

type Output = Num2

The resulting type after applying the + operator.

impl Add<Num2> for Num2[src]

type Output = Num2

The resulting type after applying the + operator.

impl Add<Num2> for ValueNumber[src]

type Output = Num2

The resulting type after applying the + operator.

impl Add<ValueNumber> for Num2[src]

type Output = Num2

The resulting type after applying the + operator.

impl Add<f64> for Num2[src]

type Output = Num2

The resulting type after applying the + operator.

impl Clone for Num2[src]

impl Copy for Num2[src]

impl Debug for Num2[src]

impl Default for Num2[src]

impl Display for Num2[src]

impl Div<&'_ Num2> for Num2[src]

type Output = Num2

The resulting type after applying the / operator.

impl Div<&'_ Num2> for &Num2[src]

type Output = Num2

The resulting type after applying the / operator.

impl Div<&'_ Num2> for &ValueNumber[src]

type Output = Num2

The resulting type after applying the / operator.

impl Div<&'_ ValueNumber> for &Num2[src]

type Output = Num2

The resulting type after applying the / operator.

impl Div<&'_ f64> for &Num2[src]

type Output = Num2

The resulting type after applying the / operator.

impl Div<Num2> for Num2[src]

type Output = Num2

The resulting type after applying the / operator.

impl Div<Num2> for ValueNumber[src]

type Output = Num2

The resulting type after applying the / operator.

impl Div<ValueNumber> for Num2[src]

type Output = Num2

The resulting type after applying the / operator.

impl Div<f64> for Num2[src]

type Output = Num2

The resulting type after applying the / operator.

impl Hash for Num2[src]

impl Index<usize> for Num2[src]

type Output = f64

The returned type after indexing.

impl IndexMut<usize> for Num2[src]

impl Mul<&'_ Num2> for Num2[src]

type Output = Num2

The resulting type after applying the * operator.

impl Mul<&'_ Num2> for &Num2[src]

type Output = Num2

The resulting type after applying the * operator.

impl Mul<&'_ Num2> for &ValueNumber[src]

type Output = Num2

The resulting type after applying the * operator.

impl Mul<&'_ ValueNumber> for &Num2[src]

type Output = Num2

The resulting type after applying the * operator.

impl Mul<&'_ f64> for &Num2[src]

type Output = Num2

The resulting type after applying the * operator.

impl Mul<Num2> for Num2[src]

type Output = Num2

The resulting type after applying the * operator.

impl Mul<Num2> for ValueNumber[src]

type Output = Num2

The resulting type after applying the * operator.

impl Mul<ValueNumber> for Num2[src]

type Output = Num2

The resulting type after applying the * operator.

impl Mul<f64> for Num2[src]

type Output = Num2

The resulting type after applying the * operator.

impl Neg for Num2[src]

type Output = Num2

The resulting type after applying the - operator.

impl Neg for &Num2[src]

type Output = Num2

The resulting type after applying the - operator.

impl PartialEq<Num2> for Num2[src]

impl PartialOrd<Num2> for Num2[src]

impl Rem<&'_ Num2> for Num2[src]

type Output = Num2

The resulting type after applying the % operator.

impl Rem<&'_ Num2> for &Num2[src]

type Output = Num2

The resulting type after applying the % operator.

impl Rem<&'_ Num2> for &ValueNumber[src]

type Output = Num2

The resulting type after applying the % operator.

impl Rem<&'_ ValueNumber> for &Num2[src]

type Output = Num2

The resulting type after applying the % operator.

impl Rem<&'_ f64> for &Num2[src]

type Output = Num2

The resulting type after applying the % operator.

impl Rem<Num2> for Num2[src]

type Output = Num2

The resulting type after applying the % operator.

impl Rem<Num2> for ValueNumber[src]

type Output = Num2

The resulting type after applying the % operator.

impl Rem<ValueNumber> for Num2[src]

type Output = Num2

The resulting type after applying the % operator.

impl Rem<f64> for Num2[src]

type Output = Num2

The resulting type after applying the % operator.

impl Sub<&'_ Num2> for Num2[src]

type Output = Num2

The resulting type after applying the - operator.

impl Sub<&'_ Num2> for &Num2[src]

type Output = Num2

The resulting type after applying the - operator.

impl Sub<&'_ Num2> for &ValueNumber[src]

type Output = Num2

The resulting type after applying the - operator.

impl Sub<&'_ ValueNumber> for &Num2[src]

type Output = Num2

The resulting type after applying the - operator.

impl Sub<&'_ f64> for &Num2[src]

type Output = Num2

The resulting type after applying the - operator.

impl Sub<Num2> for Num2[src]

type Output = Num2

The resulting type after applying the - operator.

impl Sub<Num2> for ValueNumber[src]

type Output = Num2

The resulting type after applying the - operator.

impl Sub<ValueNumber> for Num2[src]

type Output = Num2

The resulting type after applying the - operator.

impl Sub<f64> for Num2[src]

type Output = Num2

The resulting type after applying the - operator.

Auto Trait Implementations

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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

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

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

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.