pub enum LiveTextInputStatus {
Enabled,
Unknown,
Disabled,
}Expand description
An enumeration that indicates whether the current device is available for Live Text input.
See also:
LiveText, where the availability of Live Text input can be obtained.
Variants§
Enabled
This device supports Live Text input currently.
Unknown
The status of the Live Text input is unknown. Since getting the Live Text input availability
is asynchronous (see LiveText.isLiveTextInputAvailable), this status often exists while
waiting to receive the status value for the first time.
Disabled
The current device doesn’t support Live Text input.
Trait Implementations§
Source§impl Clone for LiveTextInputStatus
impl Clone for LiveTextInputStatus
impl Copy for LiveTextInputStatus
Source§impl Debug for LiveTextInputStatus
impl Debug for LiveTextInputStatus
impl Eq for LiveTextInputStatus
Source§impl Hash for LiveTextInputStatus
impl Hash for LiveTextInputStatus
Source§impl PartialEq for LiveTextInputStatus
impl PartialEq for LiveTextInputStatus
impl StructuralPartialEq for LiveTextInputStatus
Auto Trait Implementations§
impl Forget for LiveTextInputStatus
impl Freeze for LiveTextInputStatus
impl Move for LiveTextInputStatus
impl RefUnwindSafe for LiveTextInputStatus
impl Send for LiveTextInputStatus
impl Sync for LiveTextInputStatus
impl Unpin for LiveTextInputStatus
impl UnsafeUnpin for LiveTextInputStatus
impl UnwindSafe for LiveTextInputStatus
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.