Enum atspi_common::MatchType
source · #[repr(i32)]pub enum MatchType {
Invalid,
All,
Any,
NA,
Empty,
}
Expand description
Enumeration used by MatchArgs
to specify how to interpret crate::accessible::Accessible
objects.
Variants§
Invalid
Invalid match type
All
true if all of the criteria are met.
Any
true if any of the criteria are met.
NA
true if none of the criteria are met.
Empty
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<MatchType> for MatchType
impl PartialEq<MatchType> for MatchType
impl Copy for MatchType
impl Eq for MatchType
impl StructuralEq for MatchType
impl StructuralPartialEq for MatchType
Auto Trait Implementations§
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 Twhere
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for Twhere T: Type + Deserialize<'de> + ?Sized,
§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>where
S: TryInto<Signature<'de>>,
<S as TryInto<Signature<'de>>>::Error: Into<Error>,
fn deserializer_for_signature<S>( signature: S ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>where S: TryInto<Signature<'de>>, <S as TryInto<Signature<'de>>>::Error: Into<Error>,
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere T: Type + ?Sized,
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more