Enum atspi_common::interface::Interface
source · #[repr(u32)]pub enum Interface {
Show 20 variants
Accessible = 1,
Action = 2,
Application = 4,
Cache = 8,
Collection = 16,
Component = 32,
Document = 64,
DeviceEventController = 128,
DeviceEventListener = 256,
EditableText = 512,
Hyperlink = 1_024,
Hypertext = 2_048,
Image = 4_096,
Registry = 8_192,
Selection = 16_384,
Socket = 32_768,
Table = 65_536,
TableCell = 131_072,
Text = 262_144,
Value = 524_288,
}
Expand description
AT-SPI interfaces an accessible object can implement.
Variants§
Accessible = 1
Interface to indicate implementation of AccessibleProxy
.
Action = 2
Interface to indicate implementation of ActionProxy
.
Application = 4
Interface to indicate implementation of ApplicationProxy
.
Cache = 8
Interface to indicate implementation of CacheProxy
.
Collection = 16
Interface to indicate implementation of CollectionProxy
.
Component = 32
Interface to indicate implementation of ComponentProxy
.
Document = 64
Interface to indicate implementation of DocumentProxy
.
DeviceEventController = 128
Interface to indicate implementation of DeviceEventControllerProxy
.
DeviceEventListener = 256
Interface to indicate implementation of DeviceEventListenerProxy
.
EditableText = 512
Interface to indicate implementation of EditableTextProxy
.
Hyperlink = 1_024
Interface to indicate implementation of HyperlinkProxy
.
Hypertext = 2_048
Interface to indicate implementation of HypertextProxy
.
Image = 4_096
Interface to indicate implementation of ImageProxy
.
Registry = 8_192
Interface to indicate implementation of RegistryProxy
.
Selection = 16_384
Interface to indicate implementation of SelectionProxy
.
Socket = 32_768
Interface to indicate implementation of SocketProxy
.
Table = 65_536
Interface to indicate implementation of TableProxy
.
TableCell = 131_072
Interface to indicate implementation of TableCellProxy
.
Text = 262_144
Interface to indicate implementation of TextProxy
.
Value = 524_288
Interface to indicate implementation of ValueProxy
.
Trait Implementations§
source§impl BitFlag for Interface
impl BitFlag for Interface
source§fn empty() -> BitFlags<Self>
fn empty() -> BitFlags<Self>
BitFlags
with no flags set (in other words, with a value of 0). Read moresource§fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
BitFlags
if the raw value provided does not contain
any illegal flags. Read moresource§fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
BitFlags
from an underlying bitwise value. If any
invalid bits are set, ignore them. Read moresource§unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
BitFlags
unsafely, without checking if the bits form
a valid bit pattern for the type. Read moresource§impl<'de> Deserialize<'de> for Interface
impl<'de> Deserialize<'de> for Interface
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>,
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 RawBitFlags for Interface
impl RawBitFlags for Interface
source§const EMPTY: Self::Numeric = {transmute(0x00000000): <interface::Interface as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x00000000): <interface::Interface as enumflags2::_internal::RawBitFlags>::Numeric}
source§const DEFAULT: Self::Numeric = {transmute(0x00000000): <interface::Interface as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x00000000): <interface::Interface as enumflags2::_internal::RawBitFlags>::Numeric}
source§const ALL_BITS: Self::Numeric = {transmute(0x000fffff): <interface::Interface as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x000fffff): <interface::Interface as enumflags2::_internal::RawBitFlags>::Numeric}
source§const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<Interface>"
const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<Interface>"
impl Copy for Interface
impl Eq for Interface
impl StructuralPartialEq for Interface
Auto Trait Implementations§
impl Freeze for Interface
impl RefUnwindSafe for Interface
impl Send for Interface
impl Sync for Interface
impl Unpin for Interface
impl UnwindSafe for Interface
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
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)
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)
clone_to_uninit
)