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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Fraction
[src]

[src]

Formats the value using the given formatter.

impl Ord for Fraction
[src]

[src]

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

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialOrd for Fraction
[src]

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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]

[src]

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

[src]

This method tests for !=.

impl Hash for Fraction
[src]

[src]

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

1.3.0
[src]

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

impl Display for Fraction
[src]

[src]

Formats the value using the given formatter. Read more

impl Deref for Fraction
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl DerefMut for Fraction
[src]

[src]

Mutably dereferences the value.

impl AsRef<Rational32> for Fraction
[src]

[src]

Performs the conversion.

impl Mul<Fraction> for Fraction
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<i32> for Fraction
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Div<Fraction> for Fraction
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<i32> for Fraction
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Add<Fraction> for Fraction
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<i32> for Fraction
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Sub<Fraction> for Fraction
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<i32> for Fraction
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Rem<Fraction> for Fraction
[src]

The resulting type after applying the % operator.

[src]

Performs the % operation.

impl Rem<i32> for Fraction
[src]

The resulting type after applying the % operator.

[src]

Performs the % operation.

impl Neg for Fraction
[src]

The resulting type after applying the - operator.

[src]

Performs the unary - operation.

impl From<i32> for Fraction
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<Rational32> for Fraction
[src]

[src]

Performs the conversion.

impl StaticType for Fraction
[src]

[src]

Returns the type identifier of Self.

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

[src]

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

impl SetValue for Fraction
[src]

[src]