Struct gstreamer_rtsp::RTSPProfile [−]
pub struct RTSPProfile { /* fields omitted */ }Methods
impl RTSPProfile
impl RTSPProfilepub const UNKNOWN: RTSPProfile
UNKNOWN: RTSPProfile = RTSPProfile{bits: 0,}
pub const AVP: RTSPProfile
AVP: RTSPProfile = RTSPProfile{bits: 1,}
pub const SAVP: RTSPProfile
SAVP: RTSPProfile = RTSPProfile{bits: 2,}
pub const AVPF: RTSPProfile
AVPF: RTSPProfile = RTSPProfile{bits: 4,}
pub const SAVPF: RTSPProfile
SAVPF: RTSPProfile = RTSPProfile{bits: 8,}
pub fn empty() -> RTSPProfile
pub fn empty() -> RTSPProfileReturns an empty set of flags.
pub fn all() -> RTSPProfile
pub fn all() -> RTSPProfileReturns 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<RTSPProfile>
pub fn from_bits(bits: u32) -> Option<RTSPProfile>Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
pub fn from_bits_truncate(bits: u32) -> RTSPProfile
pub fn from_bits_truncate(bits: u32) -> RTSPProfileConvert 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: RTSPProfile) -> bool
pub fn intersects(&self, other: RTSPProfile) -> boolReturns true if there are flags common to both self and other.
pub fn contains(&self, other: RTSPProfile) -> bool
pub fn contains(&self, other: RTSPProfile) -> boolReturns true all of the flags in other are contained within self.
pub fn insert(&mut self, other: RTSPProfile)
pub fn insert(&mut self, other: RTSPProfile)Inserts the specified flags in-place.
pub fn remove(&mut self, other: RTSPProfile)
pub fn remove(&mut self, other: RTSPProfile)Removes the specified flags in-place.
pub fn toggle(&mut self, other: RTSPProfile)
pub fn toggle(&mut self, other: RTSPProfile)Toggles the specified flags in-place.
pub fn set(&mut self, other: RTSPProfile, value: bool)
pub fn set(&mut self, other: RTSPProfile, value: bool)Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl Copy for RTSPProfile
impl Copy for RTSPProfileimpl PartialEq for RTSPProfile
impl PartialEq for RTSPProfilefn eq(&self, other: &RTSPProfile) -> bool
fn eq(&self, other: &RTSPProfile) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &RTSPProfile) -> bool
fn ne(&self, other: &RTSPProfile) -> boolThis method tests for !=.
impl Eq for RTSPProfile
impl Eq for RTSPProfileimpl Clone for RTSPProfile
impl Clone for RTSPProfilefn clone(&self) -> RTSPProfile
fn clone(&self) -> RTSPProfileReturns 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 RTSPProfile
impl PartialOrd for RTSPProfilefn partial_cmp(&self, other: &RTSPProfile) -> Option<Ordering>
fn partial_cmp(&self, other: &RTSPProfile) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &RTSPProfile) -> bool
fn lt(&self, other: &RTSPProfile) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &RTSPProfile) -> bool
fn le(&self, other: &RTSPProfile) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &RTSPProfile) -> bool
fn gt(&self, other: &RTSPProfile) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &RTSPProfile) -> bool
fn ge(&self, other: &RTSPProfile) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for RTSPProfile
impl Ord for RTSPProfilefn cmp(&self, other: &RTSPProfile) -> Ordering
fn cmp(&self, other: &RTSPProfile) -> 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 RTSPProfile
impl Hash for RTSPProfilefn 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 RTSPProfile
impl Debug for RTSPProfileimpl Binary for RTSPProfile
impl Binary for RTSPProfileimpl Octal for RTSPProfile
impl Octal for RTSPProfileimpl LowerHex for RTSPProfile
impl LowerHex for RTSPProfileimpl UpperHex for RTSPProfile
impl UpperHex for RTSPProfileimpl BitOr for RTSPProfile
impl BitOr for RTSPProfiletype Output = RTSPProfile
The resulting type after applying the | operator.
fn bitor(self, other: RTSPProfile) -> RTSPProfile
fn bitor(self, other: RTSPProfile) -> RTSPProfileReturns the union of the two sets of flags.
impl BitOrAssign for RTSPProfile
impl BitOrAssign for RTSPProfilefn bitor_assign(&mut self, other: RTSPProfile)
fn bitor_assign(&mut self, other: RTSPProfile)Adds the set of flags.
impl BitXor for RTSPProfile
impl BitXor for RTSPProfiletype Output = RTSPProfile
The resulting type after applying the ^ operator.
fn bitxor(self, other: RTSPProfile) -> RTSPProfile
fn bitxor(self, other: RTSPProfile) -> RTSPProfileReturns the left flags, but with all the right flags toggled.
impl BitXorAssign for RTSPProfile
impl BitXorAssign for RTSPProfilefn bitxor_assign(&mut self, other: RTSPProfile)
fn bitxor_assign(&mut self, other: RTSPProfile)Toggles the set of flags.
impl BitAnd for RTSPProfile
impl BitAnd for RTSPProfiletype Output = RTSPProfile
The resulting type after applying the & operator.
fn bitand(self, other: RTSPProfile) -> RTSPProfile
fn bitand(self, other: RTSPProfile) -> RTSPProfileReturns the intersection between the two sets of flags.
impl BitAndAssign for RTSPProfile
impl BitAndAssign for RTSPProfilefn bitand_assign(&mut self, other: RTSPProfile)
fn bitand_assign(&mut self, other: RTSPProfile)Disables all flags disabled in the set.
impl Sub for RTSPProfile
impl Sub for RTSPProfiletype Output = RTSPProfile
The resulting type after applying the - operator.
fn sub(self, other: RTSPProfile) -> RTSPProfile
fn sub(self, other: RTSPProfile) -> RTSPProfileReturns the set difference of the two sets of flags.
impl SubAssign for RTSPProfile
impl SubAssign for RTSPProfilefn sub_assign(&mut self, other: RTSPProfile)
fn sub_assign(&mut self, other: RTSPProfile)Disables all flags enabled in the set.
impl Not for RTSPProfile
impl Not for RTSPProfiletype Output = RTSPProfile
The resulting type after applying the ! operator.
fn not(self) -> RTSPProfile
fn not(self) -> RTSPProfileReturns the complement of this set of flags.
impl Extend<RTSPProfile> for RTSPProfile
impl Extend<RTSPProfile> for RTSPProfilefn extend<T: IntoIterator<Item = RTSPProfile>>(&mut self, iterator: T)
fn extend<T: IntoIterator<Item = RTSPProfile>>(&mut self, iterator: T)Extends a collection with the contents of an iterator. Read more
impl FromIterator<RTSPProfile> for RTSPProfile
impl FromIterator<RTSPProfile> for RTSPProfilefn from_iter<T: IntoIterator<Item = RTSPProfile>>(iterator: T) -> RTSPProfile
fn from_iter<T: IntoIterator<Item = RTSPProfile>>(iterator: T) -> RTSPProfileCreates a value from an iterator. Read more
impl StaticType for RTSPProfile[src]
impl StaticType for RTSPProfilefn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
impl<'a> FromValueOptional<'a> for RTSPProfile[src]
impl<'a> FromValueOptional<'a> for RTSPProfileunsafe fn from_value_optional(value: &Value) -> Option<Self>[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>impl<'a> FromValue<'a> for RTSPProfile[src]
impl<'a> FromValue<'a> for RTSPProfileunsafe fn from_value(value: &Value) -> Self[src]
unsafe fn from_value(value: &Value) -> Selfimpl SetValue for RTSPProfile[src]
impl SetValue for RTSPProfileAuto Trait Implementations
impl Send for RTSPProfile
impl Send for RTSPProfileimpl Sync for RTSPProfile
impl Sync for RTSPProfile