pub enum TextInputCall {
SetClient(TextInputConfiguration),
Show,
UpdateConfig(TextInputConfiguration),
ClearClient,
Hide,
SetEditingState(TextEditingValue),
SetComposingRect(Rect),
SetCaretRect(Rect),
SetClientGeometry(Size, Matrix4),
SetSelectionRects(Vec<SelectionRect>),
}Expand description
What a TestViewHost’s text input was asked.
Variants§
SetClient(TextInputConfiguration)
Show
UpdateConfig(TextInputConfiguration)
ClearClient
Hide
SetEditingState(TextEditingValue)
SetComposingRect(Rect)
SetCaretRect(Rect)
SetClientGeometry(Size, Matrix4)
SetSelectionRects(Vec<SelectionRect>)
Trait Implementations§
Source§impl Clone for TextInputCall
impl Clone for TextInputCall
Source§impl Debug for TextInputCall
impl Debug for TextInputCall
Source§impl PartialEq for TextInputCall
impl PartialEq for TextInputCall
impl StructuralPartialEq for TextInputCall
Auto Trait Implementations§
impl Forget for TextInputCall
impl Freeze for TextInputCallwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Locale>: Freeze,
PhantomData<SelectionRect>: Freeze,
impl Move for TextInputCall
impl RefUnwindSafe for TextInputCall
impl Send for TextInputCallwhere
RawVecInner: Send,
impl Sync for TextInputCallwhere
RawVecInner: Sync,
impl Unpin for TextInputCall
impl UnsafeUnpin for TextInputCallwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Locale>: UnsafeUnpin,
PhantomData<SelectionRect>: UnsafeUnpin,
impl UnwindSafe for TextInputCallwhere
RawVecInner: UnwindSafe,
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