Enum atspi_common::Live
source · #[repr(i32)]pub enum Live {
None = 0,
Polite = 1,
Assertive = 2,
}
Expand description
Enumeration used to indicate a type of live region and how assertive it
should be in terms of speaking notifications. Currently, this is only used
for Announcement
events, but it may be used for additional purposes
in the future.
The argument in the Announcement
event is named politeness
.
Variants§
None = 0
No live region.
Polite = 1
This live region should be considered polite.
Assertive = 2
This live region should be considered assertive.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Live
impl<'de> Deserialize<'de> for Live
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 for Live
impl PartialEq for Live
impl Copy for Live
impl Eq for Live
impl StructuralPartialEq for Live
Auto Trait Implementations§
impl Freeze for Live
impl RefUnwindSafe for Live
impl Send for Live
impl Sync for Live
impl Unpin for Live
impl UnwindSafe for Live
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
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.