Enum wireplumber::registry::ConstraintVerb
source · #[non_exhaustive]pub enum ConstraintVerb {
Equals,
NotEquals,
InList,
InRange,
Matches,
IsPresent,
IsAbsent,
}
Variants (Non-exhaustive)§
This enum is marked as 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.
Implementations§
Trait Implementations§
source§impl Clone for ConstraintVerb
impl Clone for ConstraintVerb
source§fn clone(&self) -> ConstraintVerb
fn clone(&self) -> ConstraintVerb
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConstraintVerb
impl Debug for ConstraintVerb
source§impl<'de> Deserialize<'de> for ConstraintVerb
impl<'de> Deserialize<'de> for ConstraintVerb
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ConstraintVerb
impl Display for ConstraintVerb
source§impl From<ConstraintVerb> for Value
impl From<ConstraintVerb> for Value
source§fn from(v: ConstraintVerb) -> Self
fn from(v: ConstraintVerb) -> Self
Converts to this type from the input type.
source§impl From<ConstraintVerb> for Variant
impl From<ConstraintVerb> for Variant
source§fn from(v: ConstraintVerb) -> Self
fn from(v: ConstraintVerb) -> Self
Converts to this type from the input type.
source§impl FromStr for ConstraintVerb
impl FromStr for ConstraintVerb
source§impl<'a> FromValue<'a> for ConstraintVerb
impl<'a> FromValue<'a> for ConstraintVerb
§type Checker = GenericValueTypeChecker<ConstraintVerb>
type Checker = GenericValueTypeChecker<ConstraintVerb>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl FromVariant for ConstraintVerb
impl FromVariant for ConstraintVerb
source§impl HasParamSpec for ConstraintVerb
impl HasParamSpec for ConstraintVerb
type ParamSpec = ParamSpecEnum
§type SetValue = ConstraintVerb
type SetValue = ConstraintVerb
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str, _: ConstraintVerb) -> ParamSpecEnumBuilder<'_, ConstraintVerb>
fn param_spec_builder() -> Self::BuilderFn
source§impl Hash for ConstraintVerb
impl Hash for ConstraintVerb
source§impl Into<char> for ConstraintVerb
impl Into<char> for ConstraintVerb
source§impl Ord for ConstraintVerb
impl Ord for ConstraintVerb
source§fn cmp(&self, other: &ConstraintVerb) -> Ordering
fn cmp(&self, other: &ConstraintVerb) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ConstraintVerb
impl PartialEq for ConstraintVerb
source§fn eq(&self, other: &ConstraintVerb) -> bool
fn eq(&self, other: &ConstraintVerb) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConstraintVerb
impl PartialOrd for ConstraintVerb
source§fn partial_cmp(&self, other: &ConstraintVerb) -> Option<Ordering>
fn partial_cmp(&self, other: &ConstraintVerb) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ConstraintVerb
impl Serialize for ConstraintVerb
source§impl StaticType for ConstraintVerb
impl StaticType for ConstraintVerb
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl StaticVariantType for ConstraintVerb
impl StaticVariantType for ConstraintVerb
source§fn static_variant_type() -> Cow<'static, VariantTy>
fn static_variant_type() -> Cow<'static, VariantTy>
Returns the
VariantType
corresponding to Self
.source§impl ToValue for ConstraintVerb
impl ToValue for ConstraintVerb
source§impl ToVariant for ConstraintVerb
impl ToVariant for ConstraintVerb
source§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Returns a
Variant
clone of self
.source§impl TryFrom<char> for ConstraintVerb
impl TryFrom<char> for ConstraintVerb
source§impl ValueType for ConstraintVerb
impl ValueType for ConstraintVerb
§type Type = ConstraintVerb
type Type = ConstraintVerb
Type to get the
Type
from. Read moreimpl Copy for ConstraintVerb
impl Eq for ConstraintVerb
impl StructuralPartialEq for ConstraintVerb
Auto Trait Implementations§
impl Freeze for ConstraintVerb
impl RefUnwindSafe for ConstraintVerb
impl Send for ConstraintVerb
impl Sync for ConstraintVerb
impl Unpin for ConstraintVerb
impl UnwindSafe for ConstraintVerb
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.