Struct atspi_proxies::InterfaceSet
source · pub struct InterfaceSet(/* private fields */);
Expand description
A collection type which encodes the AT-SPI interfaces an accessible object has implemented.
Implementations§
source§impl InterfaceSet
impl InterfaceSet
pub fn new<B>(value: B) -> InterfaceSetwhere B: Into<BitFlags<Interface, <Interface as RawBitFlags>::Numeric>>,
pub fn empty() -> InterfaceSet
pub fn bits(&self) -> u32
pub fn all() -> InterfaceSet
pub fn contains<B>(self, other: B) -> boolwhere B: Into<BitFlags<Interface, <Interface as RawBitFlags>::Numeric>>,
pub fn insert<B>(&mut self, other: B)where B: Into<BitFlags<Interface, <Interface as RawBitFlags>::Numeric>>,
pub fn iter(self) -> impl Iterator<Item = Interface>
Trait Implementations§
source§impl BitAnd<InterfaceSet> for InterfaceSet
impl BitAnd<InterfaceSet> for InterfaceSet
§type Output = InterfaceSet
type Output = InterfaceSet
The resulting type after applying the
&
operator.source§fn bitand(
self,
other: InterfaceSet
) -> <InterfaceSet as BitAnd<InterfaceSet>>::Output
fn bitand( self, other: InterfaceSet ) -> <InterfaceSet as BitAnd<InterfaceSet>>::Output
Performs the
&
operation. Read moresource§impl BitOr<InterfaceSet> for InterfaceSet
impl BitOr<InterfaceSet> for InterfaceSet
§type Output = InterfaceSet
type Output = InterfaceSet
The resulting type after applying the
|
operator.source§fn bitor(
self,
other: InterfaceSet
) -> <InterfaceSet as BitOr<InterfaceSet>>::Output
fn bitor( self, other: InterfaceSet ) -> <InterfaceSet as BitOr<InterfaceSet>>::Output
Performs the
|
operation. Read moresource§impl BitXor<InterfaceSet> for InterfaceSet
impl BitXor<InterfaceSet> for InterfaceSet
§type Output = InterfaceSet
type Output = InterfaceSet
The resulting type after applying the
^
operator.source§fn bitxor(
self,
other: InterfaceSet
) -> <InterfaceSet as BitXor<InterfaceSet>>::Output
fn bitxor( self, other: InterfaceSet ) -> <InterfaceSet as BitXor<InterfaceSet>>::Output
Performs the
^
operation. Read moresource§impl Clone for InterfaceSet
impl Clone for InterfaceSet
source§fn clone(&self) -> InterfaceSet
fn clone(&self) -> InterfaceSet
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 InterfaceSet
impl Debug for InterfaceSet
source§impl<'de> Deserialize<'de> for InterfaceSet
impl<'de> Deserialize<'de> for InterfaceSet
source§fn deserialize<D>(
deserializer: D
) -> Result<InterfaceSet, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<InterfaceSet, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Interface> for InterfaceSet
impl From<Interface> for InterfaceSet
source§fn from(value: Interface) -> InterfaceSet
fn from(value: Interface) -> InterfaceSet
Converts to this type from the input type.
source§impl Hash for InterfaceSet
impl Hash for InterfaceSet
source§impl PartialEq<InterfaceSet> for InterfaceSet
impl PartialEq<InterfaceSet> for InterfaceSet
source§fn eq(&self, other: &InterfaceSet) -> bool
fn eq(&self, other: &InterfaceSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InterfaceSet
impl Serialize for InterfaceSet
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl Type for InterfaceSet
impl Type for InterfaceSet
impl Copy for InterfaceSet
impl Eq for InterfaceSet
impl StructuralEq for InterfaceSet
impl StructuralPartialEq for InterfaceSet
Auto Trait Implementations§
impl RefUnwindSafe for InterfaceSet
impl Send for InterfaceSet
impl Sync for InterfaceSet
impl Unpin for InterfaceSet
impl UnwindSafe for InterfaceSet
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
§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.
§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere T: Type + ?Sized,
§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more