Enum atspi_common::MatchType
source · #[repr(i32)]pub enum MatchType {
Invalid = 0,
All = 1,
Any = 2,
NA = 3,
Empty = 4,
}
Variants§
Invalid = 0
Invalid match type
All = 1
true if all of the criteria are met.
Any = 2
true if any of the criteria are met.
NA = 3
true if none of the criteria are met.
Empty = 4
Same as Self::All
if the criteria is non-empty;
for empty criteria this rule requires returned value to also have empty set.
Trait Implementations§
source§impl<'de> Deserialize<'de> for MatchType
impl<'de> Deserialize<'de> for MatchType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for MatchType
impl PartialEq for MatchType
impl Copy for MatchType
impl Eq for MatchType
impl StructuralPartialEq for MatchType
Auto Trait Implementations§
impl Freeze for MatchType
impl RefUnwindSafe for MatchType
impl Send for MatchType
impl Sync for MatchType
impl Unpin for MatchType
impl UnwindSafe for MatchType
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<'de, T> DynamicDeserialize<'de> for T
impl<'de, T> DynamicDeserialize<'de> for T
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
source§fn deserializer_for_signature<S>(
signature: S
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature<S>( signature: S ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more