pub struct TextParams {
pub text: String,
pub node: Option<u32>,
pub mode: Option<TextMethod>,
}Expand description
Parameters of text_set.
Fields§
§text: String§node: Option<u32>The node to set; absent for the focused field.
mode: Option<TextMethod>How to enter the text; absent lets the agent choose.
Trait Implementations§
Source§impl Clone for TextParams
impl Clone for TextParams
Source§impl Debug for TextParams
impl Debug for TextParams
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for TextParams
impl<'bytes, Ctx> Decode<'bytes, Ctx> for TextParams
Source§impl<Ctx> Encode<Ctx> for TextParams
impl<Ctx> Encode<Ctx> for TextParams
impl Eq for TextParams
Source§impl PartialEq for TextParams
impl PartialEq for TextParams
impl StructuralPartialEq for TextParams
Auto Trait Implementations§
impl Freeze for TextParams
impl RefUnwindSafe for TextParams
impl Send for TextParams
impl Sync for TextParams
impl Unpin for TextParams
impl UnsafeUnpin for TextParams
impl UnwindSafe for TextParams
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