[][src]Struct gstreamer::FractionRange

pub struct FractionRange { /* fields omitted */ }


impl FractionRange[src]

pub fn new<T: Into<Fraction>, U: Into<Fraction>>(min: T, max: U) -> Self[src]

pub fn min(&self) -> Fraction[src]

pub fn max(&self) -> Fraction[src]

Trait Implementations

impl Copy for FractionRange[src]

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

impl Clone for FractionRange[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for FractionRange[src]

impl PartialEq<FractionRange> for FractionRange[src]

impl Debug for FractionRange[src]

impl Hash for FractionRange[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher

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

impl StaticType for FractionRange[src]

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

impl SetValue for FractionRange[src]

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

impl Serialize for FractionRange[src]

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

Auto Trait Implementations

impl Send for FractionRange

impl Sync for FractionRange

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

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

impl<T> ToValue for T where
    T: SetValue + ?Sized

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

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