pub enum TypeEvent {
Char(char),
Delay(Duration),
Backspace,
Control(u8),
}Expand description
An event in the typing sequence.
Variants§
Char(char)
Type a character.
Delay(Duration)
Wait for a duration.
Backspace
Press backspace.
Control(u8)
Send a control character.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeEvent
impl RefUnwindSafe for TypeEvent
impl Send for TypeEvent
impl Sync for TypeEvent
impl Unpin for TypeEvent
impl UnwindSafe for TypeEvent
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