Struct gstreamer::PadProbeType [−]
pub struct PadProbeType { /* fields omitted */ }Methods
impl PadProbeType
impl PadProbeTypepub const INVALID: PadProbeType
INVALID: PadProbeType = PadProbeType{bits: 0,}
pub const IDLE: PadProbeType
IDLE: PadProbeType = PadProbeType{bits: 1,}
pub const BLOCK: PadProbeType
BLOCK: PadProbeType = PadProbeType{bits: 2,}
pub const BUFFER: PadProbeType
BUFFER: PadProbeType = PadProbeType{bits: 16,}
pub const BUFFER_LIST: PadProbeType
BUFFER_LIST: PadProbeType = PadProbeType{bits: 32,}
pub const EVENT_DOWNSTREAM: PadProbeType
EVENT_DOWNSTREAM: PadProbeType = PadProbeType{bits: 64,}
pub const EVENT_UPSTREAM: PadProbeType
EVENT_UPSTREAM: PadProbeType = PadProbeType{bits: 128,}
pub const EVENT_FLUSH: PadProbeType
EVENT_FLUSH: PadProbeType = PadProbeType{bits: 256,}
pub const QUERY_DOWNSTREAM: PadProbeType
QUERY_DOWNSTREAM: PadProbeType = PadProbeType{bits: 512,}
pub const QUERY_UPSTREAM: PadProbeType
QUERY_UPSTREAM: PadProbeType = PadProbeType{bits: 1024,}
pub const PUSH: PadProbeType
PUSH: PadProbeType = PadProbeType{bits: 4096,}
pub const PULL: PadProbeType
PULL: PadProbeType = PadProbeType{bits: 8192,}
pub const BLOCKING: PadProbeType
BLOCKING: PadProbeType = PadProbeType{bits: 3,}
pub const DATA_DOWNSTREAM: PadProbeType
DATA_DOWNSTREAM: PadProbeType = PadProbeType{bits: 112,}
pub const DATA_UPSTREAM: PadProbeType
DATA_UPSTREAM: PadProbeType = PadProbeType{bits: 128,}
pub const DATA_BOTH: PadProbeType
DATA_BOTH: PadProbeType = PadProbeType{bits: 240,}
pub const BLOCK_DOWNSTREAM: PadProbeType
BLOCK_DOWNSTREAM: PadProbeType = PadProbeType{bits: 114,}
pub const BLOCK_UPSTREAM: PadProbeType
BLOCK_UPSTREAM: PadProbeType = PadProbeType{bits: 130,}
pub const EVENT_BOTH: PadProbeType
EVENT_BOTH: PadProbeType = PadProbeType{bits: 192,}
pub const QUERY_BOTH: PadProbeType
QUERY_BOTH: PadProbeType = PadProbeType{bits: 1536,}
pub const ALL_BOTH: PadProbeType
ALL_BOTH: PadProbeType = PadProbeType{bits: 1776,}
pub const SCHEDULING: PadProbeType
SCHEDULING: PadProbeType = PadProbeType{bits: 12288,}
pub fn empty() -> PadProbeType
pub fn empty() -> PadProbeTypeReturns an empty set of flags.
pub fn all() -> PadProbeType
pub fn all() -> PadProbeTypeReturns the set containing all flags.
pub fn bits(&self) -> u32
pub fn bits(&self) -> u32Returns the raw value of the flags currently stored.
pub fn from_bits(bits: u32) -> Option<PadProbeType>
pub fn from_bits(bits: u32) -> Option<PadProbeType>Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
pub fn from_bits_truncate(bits: u32) -> PadProbeType
pub fn from_bits_truncate(bits: u32) -> PadProbeTypeConvert from underlying bit representation, dropping any bits that do not correspond to flags.
pub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> boolReturns true if no flags are currently stored.
pub fn is_all(&self) -> bool
pub fn is_all(&self) -> boolReturns true if all flags are currently set.
pub fn intersects(&self, other: PadProbeType) -> bool
pub fn intersects(&self, other: PadProbeType) -> boolReturns true if there are flags common to both self and other.
pub fn contains(&self, other: PadProbeType) -> bool
pub fn contains(&self, other: PadProbeType) -> boolReturns true all of the flags in other are contained within self.
pub fn insert(&mut self, other: PadProbeType)
pub fn insert(&mut self, other: PadProbeType)Inserts the specified flags in-place.
pub fn remove(&mut self, other: PadProbeType)
pub fn remove(&mut self, other: PadProbeType)Removes the specified flags in-place.
pub fn toggle(&mut self, other: PadProbeType)
pub fn toggle(&mut self, other: PadProbeType)Toggles the specified flags in-place.
pub fn set(&mut self, other: PadProbeType, value: bool)
pub fn set(&mut self, other: PadProbeType, value: bool)Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl Copy for PadProbeType
impl Copy for PadProbeTypeimpl PartialEq for PadProbeType
impl PartialEq for PadProbeTypefn eq(&self, other: &PadProbeType) -> bool
fn eq(&self, other: &PadProbeType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &PadProbeType) -> bool
fn ne(&self, other: &PadProbeType) -> boolThis method tests for !=.
impl Eq for PadProbeType
impl Eq for PadProbeTypeimpl Clone for PadProbeType
impl Clone for PadProbeTypefn clone(&self) -> PadProbeType
fn clone(&self) -> PadProbeTypeReturns 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)Performs copy-assignment from source. Read more
impl PartialOrd for PadProbeType
impl PartialOrd for PadProbeTypefn partial_cmp(&self, other: &PadProbeType) -> Option<Ordering>
fn partial_cmp(&self, other: &PadProbeType) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &PadProbeType) -> bool
fn lt(&self, other: &PadProbeType) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &PadProbeType) -> bool
fn le(&self, other: &PadProbeType) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &PadProbeType) -> bool
fn gt(&self, other: &PadProbeType) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &PadProbeType) -> bool
fn ge(&self, other: &PadProbeType) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for PadProbeType
impl Ord for PadProbeTypefn cmp(&self, other: &PadProbeType) -> Ordering
fn cmp(&self, other: &PadProbeType) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl Hash for PadProbeType
impl Hash for PadProbeTypefn hash<__H: Hasher>(&self, state: &mut __H)
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, Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for PadProbeType
impl Debug for PadProbeTypeimpl Binary for PadProbeType
impl Binary for PadProbeTypeimpl Octal for PadProbeType
impl Octal for PadProbeTypeimpl LowerHex for PadProbeType
impl LowerHex for PadProbeTypeimpl UpperHex for PadProbeType
impl UpperHex for PadProbeTypeimpl BitOr for PadProbeType
impl BitOr for PadProbeTypetype Output = PadProbeType
The resulting type after applying the | operator.
fn bitor(self, other: PadProbeType) -> PadProbeType
fn bitor(self, other: PadProbeType) -> PadProbeTypeReturns the union of the two sets of flags.
impl BitOrAssign for PadProbeType
impl BitOrAssign for PadProbeTypefn bitor_assign(&mut self, other: PadProbeType)
fn bitor_assign(&mut self, other: PadProbeType)Adds the set of flags.
impl BitXor for PadProbeType
impl BitXor for PadProbeTypetype Output = PadProbeType
The resulting type after applying the ^ operator.
fn bitxor(self, other: PadProbeType) -> PadProbeType
fn bitxor(self, other: PadProbeType) -> PadProbeTypeReturns the left flags, but with all the right flags toggled.
impl BitXorAssign for PadProbeType
impl BitXorAssign for PadProbeTypefn bitxor_assign(&mut self, other: PadProbeType)
fn bitxor_assign(&mut self, other: PadProbeType)Toggles the set of flags.
impl BitAnd for PadProbeType
impl BitAnd for PadProbeTypetype Output = PadProbeType
The resulting type after applying the & operator.
fn bitand(self, other: PadProbeType) -> PadProbeType
fn bitand(self, other: PadProbeType) -> PadProbeTypeReturns the intersection between the two sets of flags.
impl BitAndAssign for PadProbeType
impl BitAndAssign for PadProbeTypefn bitand_assign(&mut self, other: PadProbeType)
fn bitand_assign(&mut self, other: PadProbeType)Disables all flags disabled in the set.
impl Sub for PadProbeType
impl Sub for PadProbeTypetype Output = PadProbeType
The resulting type after applying the - operator.
fn sub(self, other: PadProbeType) -> PadProbeType
fn sub(self, other: PadProbeType) -> PadProbeTypeReturns the set difference of the two sets of flags.
impl SubAssign for PadProbeType
impl SubAssign for PadProbeTypefn sub_assign(&mut self, other: PadProbeType)
fn sub_assign(&mut self, other: PadProbeType)Disables all flags enabled in the set.
impl Not for PadProbeType
impl Not for PadProbeTypetype Output = PadProbeType
The resulting type after applying the ! operator.
fn not(self) -> PadProbeType
fn not(self) -> PadProbeTypeReturns the complement of this set of flags.
impl Extend<PadProbeType> for PadProbeType
impl Extend<PadProbeType> for PadProbeTypefn extend<T: IntoIterator<Item = PadProbeType>>(&mut self, iterator: T)
fn extend<T: IntoIterator<Item = PadProbeType>>(&mut self, iterator: T)Extends a collection with the contents of an iterator. Read more
impl FromIterator<PadProbeType> for PadProbeType
impl FromIterator<PadProbeType> for PadProbeTypefn from_iter<T: IntoIterator<Item = PadProbeType>>(iterator: T) -> PadProbeType
fn from_iter<T: IntoIterator<Item = PadProbeType>>(iterator: T) -> PadProbeTypeCreates a value from an iterator. Read more
impl StaticType for PadProbeType[src]
impl StaticType for PadProbeTypefn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
impl<'a> FromValueOptional<'a> for PadProbeType[src]
impl<'a> FromValueOptional<'a> for PadProbeTypeunsafe fn from_value_optional(value: &Value) -> Option<Self>[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>impl<'a> FromValue<'a> for PadProbeType[src]
impl<'a> FromValue<'a> for PadProbeTypeunsafe fn from_value(value: &Value) -> Self[src]
unsafe fn from_value(value: &Value) -> Selfimpl SetValue for PadProbeType[src]
impl SetValue for PadProbeTypeAuto Trait Implementations
impl Send for PadProbeType
impl Send for PadProbeTypeimpl Sync for PadProbeType
impl Sync for PadProbeType