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) -> Iter<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 Default for InterfaceSet
impl Default 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<'a> FromIterator<&'a Interface> for InterfaceSet
impl<'a> FromIterator<&'a Interface> for InterfaceSet
source§impl FromIterator<Interface> for InterfaceSet
impl FromIterator<Interface> for InterfaceSet
source§impl Hash for InterfaceSet
impl Hash for InterfaceSet
source§impl IntoIterator for &InterfaceSet
impl IntoIterator for &InterfaceSet
source§impl IntoIterator for InterfaceSet
impl IntoIterator for InterfaceSet
source§impl PartialEq for InterfaceSet
impl PartialEq for InterfaceSet
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.