#[repr(transparent)]pub struct SpeechRecognizerState(pub i32);
Expand description
Required features: "Media_SpeechRecognition"
Tuple Fields
0: i32
Implementations
impl SpeechRecognizerState
impl SpeechRecognizerState
pub const Idle: Self = Self(0i32)
pub const Capturing: Self = Self(1i32)
pub const Processing: Self = Self(2i32)
pub const SoundStarted: Self = Self(3i32)
pub const SoundEnded: Self = Self(4i32)
pub const SpeechDetected: Self = Self(5i32)
pub const Paused: Self = Self(6i32)
Trait Implementations
impl Clone for SpeechRecognizerState
impl Clone for SpeechRecognizerState
impl Copy for SpeechRecognizerState
Auto Trait Implementations
impl RefUnwindSafe for SpeechRecognizerState
impl Send for SpeechRecognizerState
impl Sync for SpeechRecognizerState
impl Unpin for SpeechRecognizerState
impl UnwindSafe for SpeechRecognizerState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more