Struct gstreamer::FractionRange [−][src]
pub struct FractionRange { /* fields omitted */ }
Methods
impl FractionRange
[src]
impl FractionRange
pub fn new<T: Into<Fraction>, U: Into<Fraction>>(min: T, max: U) -> Self
[src]
pub fn new<T: Into<Fraction>, U: Into<Fraction>>(min: T, max: U) -> Self
pub fn min(&self) -> Fraction
[src]
pub fn min(&self) -> Fraction
pub fn max(&self) -> Fraction
[src]
pub fn max(&self) -> Fraction
Trait Implementations
impl Copy for FractionRange
[src]
impl Copy for FractionRange
impl Clone for FractionRange
[src]
impl Clone for FractionRange
fn clone(&self) -> FractionRange
[src]
fn clone(&self) -> FractionRange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for FractionRange
[src]
impl Debug for FractionRange
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for FractionRange
[src]
impl Eq for FractionRange
impl PartialEq for FractionRange
[src]
impl PartialEq for FractionRange
fn eq(&self, other: &FractionRange) -> bool
[src]
fn eq(&self, other: &FractionRange) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FractionRange) -> bool
[src]
fn ne(&self, other: &FractionRange) -> bool
This method tests for !=
.
impl Hash for FractionRange
[src]
impl Hash for FractionRange
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl From<(Fraction, Fraction)> for FractionRange
[src]
impl From<(Fraction, Fraction)> for FractionRange
impl StaticType for FractionRange
[src]
impl StaticType for FractionRange
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl<'a> FromValue<'a> for FractionRange
[src]
impl<'a> FromValue<'a> for FractionRange
unsafe fn from_value(v: &'a Value) -> Self
[src]
unsafe fn from_value(v: &'a Value) -> Self
impl<'a> FromValueOptional<'a> for FractionRange
[src]
impl<'a> FromValueOptional<'a> for FractionRange
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
impl SetValue for FractionRange
[src]
impl SetValue for FractionRange
Auto Trait Implementations
impl Send for FractionRange
impl Send for FractionRange
impl Sync for FractionRange
impl Sync for FractionRange