pub struct TextInput<'a> {
pub text: &'a str,
pub pasted: bool,
pub concealed: bool,
pub transient: bool,
}Expand description
A {kind:"text"} event: what a focused key sink or editor was given
to insert.
Fields§
§text: &'a str§pasted: boolThe clipboard’s answer to a paste the app asked for, not typing.
concealed: boolTyped under secure keyboard entry: keep it out of logs and history.
transient: boolA clipboard manager or a password tool marked it as not for keeping.
Trait Implementations§
impl<'a> Copy for TextInput<'a>
impl<'a> StructuralPartialEq for TextInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for TextInput<'a>
impl<'a> RefUnwindSafe for TextInput<'a>
impl<'a> Send for TextInput<'a>
impl<'a> Sync for TextInput<'a>
impl<'a> Unpin for TextInput<'a>
impl<'a> UnsafeUnpin for TextInput<'a>
impl<'a> UnwindSafe for TextInput<'a>
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