pub enum CharDecision {
BeginBuffer {
retro_chars: u16,
},
BufferAppend,
RetainFirstChar,
BeginBufferFromPending,
}Variants§
BeginBuffer
Start buffering and retroactively capture some already-inserted chars.
BufferAppend
We are currently buffering; append the current char into the buffer.
RetainFirstChar
Do not insert/render this char yet; temporarily save the first fast char while we wait to see if a paste-like burst follows.
BeginBufferFromPending
Begin buffering using the previously saved first char (no retro grab needed).
Auto Trait Implementations§
impl Freeze for CharDecision
impl RefUnwindSafe for CharDecision
impl Send for CharDecision
impl Sync for CharDecision
impl Unpin for CharDecision
impl UnsafeUnpin for CharDecision
impl UnwindSafe for CharDecision
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