Struct gstreamer::Fraction[][src]

pub struct Fraction(pub Rational32);

Methods

impl Fraction
[src]

Trait Implementations

impl Copy for Fraction
[src]

impl Clone for Fraction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Fraction
[src]

Formats the value using the given formatter. Read more

impl Ord for Fraction
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd for Fraction
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for Fraction
[src]

impl PartialEq for Fraction
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Fraction
[src]

Feeds this value into the given [Hasher]. Read more

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

impl Display for Fraction
[src]

Formats the value using the given formatter. Read more

impl Deref for Fraction
[src]

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for Fraction
[src]

Mutably dereferences the value.

impl AsRef<Rational32> for Fraction
[src]

Performs the conversion.

impl Mul<Fraction> for Fraction
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<i32> for Fraction
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Div<Fraction> for Fraction
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl Div<i32> for Fraction
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl Add<Fraction> for Fraction
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<i32> for Fraction
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub<Fraction> for Fraction
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Sub<i32> for Fraction
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Rem<Fraction> for Fraction
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl Rem<i32> for Fraction
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl Neg for Fraction
[src]

The resulting type after applying the - operator.

Performs the unary - operation.

impl From<i32> for Fraction
[src]

Performs the conversion.

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

Performs the conversion.

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

Performs the conversion.

impl From<Rational32> for Fraction
[src]

Performs the conversion.

impl From<Fraction> for Rational32
[src]

Performs the conversion.

impl StaticType for Fraction
[src]

Returns the type identifier of Self.

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

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

impl SetValue for Fraction
[src]

Auto Trait Implementations

impl Send for Fraction

impl Sync for Fraction