pub enum HookOp<S: Spec> {
RequestFrame,
ImeArea(Rect),
Command(AppCommand<S>),
}Expand description
Effects a content hook may declare; nothing else crosses (design §6.3).
Variants§
RequestFrame
Repaint this window next frame (animation, live data).
ImeArea(Rect)
Tell the OS where the text caret is (IME candidate window).
Command(AppCommand<S>)
A visual command, applied in the next settle pass.
Auto Trait Implementations§
impl<S> !RefUnwindSafe for HookOp<S>
impl<S> !UnwindSafe for HookOp<S>
impl<S> Forget for HookOp<S>
impl<S> Freeze for HookOp<S>where
AppCommand<S>: Freeze,
impl<S> Move for HookOp<S>
impl<S> Send for HookOp<S>where
AppCommand<S>: Send,
impl<S> Sync for HookOp<S>where
AppCommand<S>: Sync,
impl<S> Unpin for HookOp<S>where
AppCommand<S>: Unpin,
impl<S> UnsafeUnpin for HookOp<S>where
AppCommand<S>: UnsafeUnpin,
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