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§
Source§impl<'de> Deserialize<'de> for IMEOutput
impl<'de> Deserialize<'de> for IMEOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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