Struct gstreamer::IntRange
[−]
[src]
pub struct IntRange<T> { /* fields omitted */ }
Methods
impl<T: Copy> IntRange<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<T: Clone> Clone for IntRange<T>
[src]
fn clone(&self) -> IntRange<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for IntRange<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: Eq> Eq for IntRange<T>
[src]
impl<T: PartialEq> PartialEq for IntRange<T>
[src]
fn eq(&self, __arg_0: &IntRange<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IntRange<T>) -> bool
[src]
This method tests for !=
.
impl<T: Hash> Hash for IntRange<T>
[src]
fn hash<__HT: Hasher>(&self, __arg_0: &mut __HT)
[src]
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]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
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 StaticType for IntRange<i32>
[src]
fn static_type() -> Type
[src]
Returns the type identifier of Self
.
impl<'a> FromValue<'a> for IntRange<i32>
[src]
unsafe fn from_value(v: &'a Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for IntRange<i32>
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
impl SetValue for IntRange<i32>
[src]
impl StaticType for IntRange<i64>
[src]
fn static_type() -> Type
[src]
Returns the type identifier of Self
.