Struct ScreenPreeditPostEvent
pub struct ScreenPreeditPostEvent<'a> {
pub screen: &'a ScreenView<'a>,
pub full_text: &'a str,
pub caret_position: usize,
pub blocks: &'a [String],
pub focused_block: usize,
}Expand description
What Hooks::screen_preedit_post is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§screen: &'a ScreenView<'a>§full_text: &'a str§caret_position: usize§blocks: &'a [String]§focused_block: usizeAuto Trait Implementations§
impl<'a> Freeze for ScreenPreeditPostEvent<'a>
impl<'a> RefUnwindSafe for ScreenPreeditPostEvent<'a>
impl<'a> Send for ScreenPreeditPostEvent<'a>
impl<'a> Sync for ScreenPreeditPostEvent<'a>
impl<'a> Unpin for ScreenPreeditPostEvent<'a>
impl<'a> UnsafeUnpin for ScreenPreeditPostEvent<'a>
impl<'a> UnwindSafe for ScreenPreeditPostEvent<'a>
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