[][src]Struct gstreamer::IntRange

pub struct IntRange<T> { /* fields omitted */ }

Methods

impl<T: Copy> IntRange<T>[src]

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

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

pub fn step(&self) -> T[src]

impl IntRange<i32>[src]

pub fn new(min: i32, max: i32) -> Self[src]

pub fn new_with_step(min: i32, max: i32, step: i32) -> Self[src]

impl IntRange<i64>[src]

pub fn new(min: i64, max: i64) -> Self[src]

pub fn new_with_step(min: i64, max: i64, step: i64) -> Self[src]

Trait Implementations

impl<T: Copy> Copy for IntRange<T>[src]

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

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

impl From<(i64, i64)> for IntRange<i64>[src]

impl From<(i64, i64, i64)> for IntRange<i64>[src]

impl<T: Clone> Clone for IntRange<T>[src]

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

Performs copy-assignment from source. Read more

impl<T: Eq> Eq for IntRange<T>[src]

impl<T: PartialEq> PartialEq<IntRange<T>> for IntRange<T>[src]

impl<T: Debug> Debug for IntRange<T>[src]

impl<T: Hash> Hash for IntRange<T>[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 StaticType for IntRange<i32>[src]

impl StaticType for IntRange<i64>[src]

impl<'a> FromValue<'a> for IntRange<i32>[src]

impl<'a> FromValue<'a> for IntRange<i64>[src]

impl SetValue for IntRange<i32>[src]

impl SetValue for IntRange<i64>[src]

impl<'a> FromValueOptional<'a> for IntRange<i32>[src]

impl<'a> FromValueOptional<'a> for IntRange<i64>[src]

impl<T> Serialize for IntRange<T> where
    T: Serialize
[src]

impl<'de, T> Deserialize<'de> for IntRange<T> where
    T: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<T> Send for IntRange<T> where
    T: Send

impl<T> Sync for IntRange<T> where
    T: Sync

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

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