Struct gstreamer::Fraction[][src]

pub struct Fraction(pub Rational32);

Implementations

impl Fraction[src]

Trait Implementations

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

type Output = Fraction

The resulting type after applying the + operator.

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

type Output = Fraction

The resulting type after applying the + operator.

impl Add<&'_ i32> for Fraction[src]

type Output = Fraction

The resulting type after applying the + operator.

impl Add<&'_ i32> for &Fraction[src]

type Output = Fraction

The resulting type after applying the + operator.

impl Add<Fraction> for Fraction[src]

type Output = Fraction

The resulting type after applying the + operator.

impl Add<Fraction> for &Fraction[src]

type Output = Fraction

The resulting type after applying the + operator.

impl Add<i32> for Fraction[src]

type Output = Fraction

The resulting type after applying the + operator.

impl Add<i32> for &Fraction[src]

type Output = Fraction

The resulting type after applying the + operator.

impl AddAssign<&'_ Fraction> for Fraction[src]

impl AddAssign<&'_ i32> for Fraction[src]

impl AddAssign<Fraction> for Fraction[src]

impl AddAssign<i32> for Fraction[src]

impl AsRef<Ratio<i32>> for Fraction[src]

impl Clone for Fraction[src]

impl Copy for Fraction[src]

impl Debug for Fraction[src]

impl Deref for Fraction[src]

type Target = Rational32

The resulting type after dereferencing.

impl DerefMut for Fraction[src]

impl<'de> Deserialize<'de> for Fraction[src]

impl Display for Fraction[src]

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

type Output = Fraction

The resulting type after applying the / operator.

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

type Output = Fraction

The resulting type after applying the / operator.

impl Div<&'_ i32> for Fraction[src]

type Output = Fraction

The resulting type after applying the / operator.

impl Div<&'_ i32> for &Fraction[src]

type Output = Fraction

The resulting type after applying the / operator.

impl Div<Fraction> for Fraction[src]

type Output = Fraction

The resulting type after applying the / operator.

impl Div<Fraction> for &Fraction[src]

type Output = Fraction

The resulting type after applying the / operator.

impl Div<i32> for Fraction[src]

type Output = Fraction

The resulting type after applying the / operator.

impl Div<i32> for &Fraction[src]

type Output = Fraction

The resulting type after applying the / operator.

impl DivAssign<&'_ Fraction> for Fraction[src]

impl DivAssign<&'_ i32> for Fraction[src]

impl DivAssign<Fraction> for Fraction[src]

impl DivAssign<i32> for Fraction[src]

impl Eq for Fraction[src]

impl From<(i32, i32)> for Fraction[src]

impl From<Fraction> for Rational32[src]

impl From<Ratio<i32>> for Fraction[src]

impl From<i32> for Fraction[src]

impl<'a> FromValue<'a> for Fraction[src]

impl<'a> FromValueOptional<'a> for Fraction[src]

impl Hash for Fraction[src]

impl Into<(i32, i32)> for Fraction[src]

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

type Output = Fraction

The resulting type after applying the * operator.

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

type Output = Fraction

The resulting type after applying the * operator.

impl Mul<&'_ i32> for Fraction[src]

type Output = Fraction

The resulting type after applying the * operator.

impl Mul<&'_ i32> for &Fraction[src]

type Output = Fraction

The resulting type after applying the * operator.

impl Mul<Fraction> for Fraction[src]

type Output = Fraction

The resulting type after applying the * operator.

impl Mul<Fraction> for &Fraction[src]

type Output = Fraction

The resulting type after applying the * operator.

impl Mul<i32> for Fraction[src]

type Output = Fraction

The resulting type after applying the * operator.

impl Mul<i32> for &Fraction[src]

type Output = Fraction

The resulting type after applying the * operator.

impl MulAssign<&'_ Fraction> for Fraction[src]

impl MulAssign<&'_ i32> for Fraction[src]

impl MulAssign<Fraction> for Fraction[src]

impl MulAssign<i32> for Fraction[src]

impl Neg for Fraction[src]

type Output = Fraction

The resulting type after applying the - operator.

impl Neg for &Fraction[src]

type Output = Fraction

The resulting type after applying the - operator.

impl Ord for Fraction[src]

impl PartialEq<Fraction> for Fraction[src]

impl PartialOrd<Fraction> for Fraction[src]

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

type Output = Fraction

The resulting type after applying the % operator.

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

type Output = Fraction

The resulting type after applying the % operator.

impl Rem<&'_ i32> for Fraction[src]

type Output = Fraction

The resulting type after applying the % operator.

impl Rem<&'_ i32> for &Fraction[src]

type Output = Fraction

The resulting type after applying the % operator.

impl Rem<Fraction> for Fraction[src]

type Output = Fraction

The resulting type after applying the % operator.

impl Rem<Fraction> for &Fraction[src]

type Output = Fraction

The resulting type after applying the % operator.

impl Rem<i32> for Fraction[src]

type Output = Fraction

The resulting type after applying the % operator.

impl Rem<i32> for &Fraction[src]

type Output = Fraction

The resulting type after applying the % operator.

impl RemAssign<&'_ Fraction> for Fraction[src]

impl RemAssign<&'_ i32> for Fraction[src]

impl RemAssign<Fraction> for Fraction[src]

impl RemAssign<i32> for Fraction[src]

impl<'a> Serialize for Fraction[src]

impl SetValue for Fraction[src]

impl StaticType for Fraction[src]

impl StructuralEq for Fraction[src]

impl StructuralPartialEq for Fraction[src]

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

type Output = Fraction

The resulting type after applying the - operator.

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

type Output = Fraction

The resulting type after applying the - operator.

impl Sub<&'_ i32> for Fraction[src]

type Output = Fraction

The resulting type after applying the - operator.

impl Sub<&'_ i32> for &Fraction[src]

type Output = Fraction

The resulting type after applying the - operator.

impl Sub<Fraction> for Fraction[src]

type Output = Fraction

The resulting type after applying the - operator.

impl Sub<Fraction> for &Fraction[src]

type Output = Fraction

The resulting type after applying the - operator.

impl Sub<i32> for Fraction[src]

type Output = Fraction

The resulting type after applying the - operator.

impl Sub<i32> for &Fraction[src]

type Output = Fraction

The resulting type after applying the - operator.

impl SubAssign<&'_ Fraction> for Fraction[src]

impl SubAssign<&'_ i32> for Fraction[src]

impl SubAssign<Fraction> for Fraction[src]

impl SubAssign<i32> for Fraction[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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, Base> RefNum<Base> for T where
    T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

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

impl<T> ToValue for T where
    T: SetValue + ?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.