pub struct IMEOutput {
pub rect: Rect,
pub cursor_rect: Rect,
}
Expand description
Information about text being edited.
Useful for IME.
Fields§
§rect: Rect
Where the crate::TextEdit
is located on screen.
cursor_rect: Rect
Where the primary cursor is.
This is a very thin rectangle.
Trait Implementations§
impl Copy for IMEOutput
impl Eq for IMEOutput
impl StructuralPartialEq for IMEOutput
Auto Trait Implementations§
impl Freeze for IMEOutput
impl RefUnwindSafe for IMEOutput
impl Send for IMEOutput
impl Sync for IMEOutput
impl Unpin for IMEOutput
impl UnwindSafe for IMEOutput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)