pub struct PreeditOverlay {
pub anchor: (u16, u16),
pub text: String,
pub cursor: Option<(usize, usize)>,
}Expand description
Uncommitted IME composition text painted at 0-based anchor (row, col).
Stops at the row’s right edge without wrapping. cursor is the active-segment
byte range reported by winit.
Fields§
§anchor: (u16, u16)§text: String§cursor: Option<(usize, usize)>Trait Implementations§
Source§impl Clone for PreeditOverlay
impl Clone for PreeditOverlay
Auto Trait Implementations§
impl Freeze for PreeditOverlay
impl RefUnwindSafe for PreeditOverlay
impl Send for PreeditOverlay
impl Sync for PreeditOverlay
impl Unpin for PreeditOverlay
impl UnsafeUnpin for PreeditOverlay
impl UnwindSafe for PreeditOverlay
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