Struct gstreamer::IntRange [−][src]
pub struct IntRange<T> { /* fields omitted */ }
Methods
impl<T: Copy> IntRange<T>
[src]
impl<T: Copy> IntRange<T>
impl IntRange<i32>
[src]
impl IntRange<i32>
pub fn new(min: i32, max: i32) -> Self
[src]
pub fn new(min: i32, max: i32) -> Self
pub fn new_with_step(min: i32, max: i32, step: i32) -> Self
[src]
pub fn new_with_step(min: i32, max: i32, step: i32) -> Self
impl IntRange<i64>
[src]
impl IntRange<i64>
pub fn new(min: i64, max: i64) -> Self
[src]
pub fn new(min: i64, max: i64) -> Self
pub fn new_with_step(min: i64, max: i64, step: i64) -> Self
[src]
pub fn new_with_step(min: i64, max: i64, step: i64) -> Self
Trait Implementations
impl<T: Copy> Copy for IntRange<T>
[src]
impl<T: Copy> Copy for IntRange<T>
impl<T: Clone> Clone for IntRange<T>
[src]
impl<T: Clone> Clone for IntRange<T>
fn clone(&self) -> IntRange<T>
[src]
fn clone(&self) -> IntRange<T>
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<T: Debug> Debug for IntRange<T>
[src]
impl<T: Debug> Debug for IntRange<T>
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<T: Eq> Eq for IntRange<T>
[src]
impl<T: Eq> Eq for IntRange<T>
impl<T: PartialEq> PartialEq for IntRange<T>
[src]
impl<T: PartialEq> PartialEq for IntRange<T>
fn eq(&self, other: &IntRange<T>) -> bool
[src]
fn eq(&self, other: &IntRange<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &IntRange<T>) -> bool
[src]
fn ne(&self, other: &IntRange<T>) -> bool
This method tests for !=
.
impl<T: Hash> Hash for IntRange<T>
[src]
impl<T: Hash> Hash for IntRange<T>
fn hash<__HT: Hasher>(&self, state: &mut __HT)
[src]
fn hash<__HT: Hasher>(&self, state: &mut __HT)
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<(i32, i32)> for IntRange<i32>
[src]
impl From<(i32, i32)> for IntRange<i32>
impl From<(i32, i32, i32)> for IntRange<i32>
[src]
impl From<(i32, i32, i32)> for IntRange<i32>
impl From<(i64, i64)> for IntRange<i64>
[src]
impl From<(i64, i64)> for IntRange<i64>
impl From<(i64, i64, i64)> for IntRange<i64>
[src]
impl From<(i64, i64, i64)> for IntRange<i64>
impl StaticType for IntRange<i32>
[src]
impl StaticType for IntRange<i32>
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl<'a> FromValue<'a> for IntRange<i32>
[src]
impl<'a> FromValue<'a> for IntRange<i32>
unsafe fn from_value(v: &'a Value) -> Self
[src]
unsafe fn from_value(v: &'a Value) -> Self
impl<'a> FromValueOptional<'a> for IntRange<i32>
[src]
impl<'a> FromValueOptional<'a> for IntRange<i32>
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
impl SetValue for IntRange<i32>
[src]
impl SetValue for IntRange<i32>
impl StaticType for IntRange<i64>
[src]
impl StaticType for IntRange<i64>
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl<'a> FromValue<'a> for IntRange<i64>
[src]
impl<'a> FromValue<'a> for IntRange<i64>
unsafe fn from_value(v: &'a Value) -> Self
[src]
unsafe fn from_value(v: &'a Value) -> Self
impl<'a> FromValueOptional<'a> for IntRange<i64>
[src]
impl<'a> FromValueOptional<'a> for IntRange<i64>
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
impl SetValue for IntRange<i64>
[src]
impl SetValue for IntRange<i64>