Enum atspi_common::Politeness
source · #[repr(i32)]pub enum Politeness {
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 Clone for Politeness
impl Clone for Politeness
source§fn clone(&self) -> Politeness
fn clone(&self) -> Politeness
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 Politeness
impl Debug for Politeness
source§impl Default for Politeness
impl Default for Politeness
source§fn default() -> Politeness
fn default() -> Politeness
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Politeness
impl<'de> Deserialize<'de> for Politeness
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 Hash for Politeness
impl Hash for Politeness
source§impl PartialEq for Politeness
impl PartialEq for Politeness
source§impl Serialize for Politeness
impl Serialize for Politeness
source§impl TryFrom<i32> for Politeness
impl TryFrom<i32> for Politeness
source§impl Type for Politeness
impl Type for Politeness
impl Copy for Politeness
impl Eq for Politeness
impl StructuralPartialEq for Politeness
Auto Trait Implementations§
impl Freeze for Politeness
impl RefUnwindSafe for Politeness
impl Send for Politeness
impl Sync for Politeness
impl Unpin for Politeness
impl UnwindSafe for Politeness
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.