[−][src]Enum gstreamer::Rank
Element priority ranks. Defines the order in which the autoplugger (or
similar rank-picking mechanisms, such as e.g. Element::make_from_uri
)
will choose this element over an alternative one with the same function.
These constants serve as a rough guidance for defining the rank of a
PluginFeature
. Any value is valid, including values bigger than
Rank::Primary
.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
will be chosen last or not at all
unlikely to be chosen
likely to be chosen
will be chosen first
Trait Implementations
impl Add<u32> for Rank
[src]
type Output = Rank
The resulting type after applying the +
operator.
fn add(self, rhs: u32) -> Rank
[src]
impl AddAssign<u32> for Rank
[src]
fn add_assign(&mut self, rhs: u32)
[src]
impl Clone for Rank
[src]
impl Copy for Rank
[src]
impl Debug for Rank
[src]
impl Eq for Rank
[src]
impl<'a> FromValue<'a> for Rank
[src]
unsafe fn from_value(value: &Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for Rank
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl Ord for Rank
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Rank> for Rank
[src]
impl PartialOrd<Rank> for Rank
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl SetValue for Rank
[src]
impl StaticType for Rank
[src]
fn static_type() -> Type
[src]
impl Sub<u32> for Rank
[src]
type Output = Rank
The resulting type after applying the -
operator.
fn sub(self, rhs: u32) -> Rank
[src]
impl SubAssign<u32> for Rank
[src]
fn sub_assign(&mut self, rhs: u32)
[src]
Auto Trait Implementations
impl RefUnwindSafe for Rank
impl Send for Rank
impl Sync for Rank
impl Unpin for Rank
impl UnwindSafe for Rank
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue
[src]
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,