pub enum HookResult {
Applied,
ToggledOff,
NotApplicable,
}Expand description
Result of attempting to apply hook (horn/breve) via the ‘w’ key.
Variants§
Applied
Hook was applied to vowel(s); w key is consumed.
ToggledOff
Hook was removed (toggled off); w key falls through as literal.
NotApplicable
No hookable vowel found; try phase 2 (insert standalone ư).
Trait Implementations§
impl Eq for HookResult
Source§impl PartialEq for HookResult
impl PartialEq for HookResult
impl StructuralPartialEq for HookResult
Auto Trait Implementations§
impl Freeze for HookResult
impl RefUnwindSafe for HookResult
impl Send for HookResult
impl Sync for HookResult
impl Unpin for HookResult
impl UnsafeUnpin for HookResult
impl UnwindSafe for HookResult
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