Struct atspi_common::interface::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: Into<BitFlags<Interface>>>(value: B) -> Self
pub fn empty() -> InterfaceSet
pub fn bits(&self) -> u32
pub fn all() -> InterfaceSet
pub fn contains<B: Into<BitFlags<Interface>>>(self, other: B) -> bool
pub fn insert<B: Into<BitFlags<Interface>>>(&mut self, other: B)
pub fn iter(self) -> impl Iterator<Item = Interface>
Trait Implementations§
source§impl BitAnd for InterfaceSet
impl BitAnd for InterfaceSet
source§impl BitOr for InterfaceSet
impl BitOr for InterfaceSet
source§impl BitXor for InterfaceSet
impl BitXor for InterfaceSet
source§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<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 From<Interface> for InterfaceSet
impl From<Interface> for InterfaceSet
source§impl Hash for InterfaceSet
impl Hash for InterfaceSet
source§impl PartialEq for InterfaceSet
impl PartialEq 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§impl Type for InterfaceSet
impl Type for InterfaceSet
impl Copy for InterfaceSet
impl Eq for InterfaceSet
impl StructuralPartialEq for InterfaceSet
Auto Trait Implementations§
impl Freeze for InterfaceSet
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
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