Struct gstreamer::FractionRange [−][src]
pub struct FractionRange { /* fields omitted */ }Methods
impl FractionRange[src]
impl FractionRangepub 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) -> Selfpub fn min(&self) -> Fraction[src]
pub fn min(&self) -> Fractionpub fn max(&self) -> Fraction[src]
pub fn max(&self) -> FractionTrait Implementations
impl Copy for FractionRange[src]
impl Copy for FractionRangeimpl Clone for FractionRange[src]
impl Clone for FractionRangefn clone(&self) -> FractionRange[src]
fn clone(&self) -> FractionRangeReturns 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 FractionRangefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for FractionRange[src]
impl Eq for FractionRangeimpl PartialEq for FractionRange[src]
impl PartialEq for FractionRangefn eq(&self, other: &FractionRange) -> bool[src]
fn eq(&self, other: &FractionRange) -> boolThis 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) -> boolThis method tests for !=.
impl Hash for FractionRange[src]
impl Hash for FractionRangefn 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 FractionRangeimpl StaticType for FractionRange[src]
impl StaticType for FractionRangefn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
impl<'a> FromValue<'a> for FractionRange[src]
impl<'a> FromValue<'a> for FractionRangeunsafe fn from_value(v: &'a Value) -> Self[src]
unsafe fn from_value(v: &'a Value) -> Selfimpl<'a> FromValueOptional<'a> for FractionRange[src]
impl<'a> FromValueOptional<'a> for FractionRangeunsafe 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 FractionRangeAuto Trait Implementations
impl Send for FractionRange
impl Send for FractionRangeimpl Sync for FractionRange
impl Sync for FractionRange