pub struct SessionTextInputState {
pub element_kind: String,
pub input_type: String,
pub input_mode: String,
pub autocomplete: String,
pub multiline: bool,
pub password: bool,
pub selection_utf16: (u32, u32),
pub caret: SessionTextInputRect,
}Expand description
Metadata and geometry for the focused writable text control. Selection
offsets address its displayed editing value in UTF-16 code units. They do
not address the separate, UTF-8-indexed SessionIme::Preedit string.
Geometry comes from the current completed layout. No field text, password value, document node identity or native window handle crosses this boundary.
Fields§
§element_kind: String§input_type: String§input_mode: String§autocomplete: String§multiline: bool§password: bool§selection_utf16: (u32, u32)§caret: SessionTextInputRectTrait Implementations§
Source§impl Clone for SessionTextInputState
impl Clone for SessionTextInputState
Source§impl Debug for SessionTextInputState
impl Debug for SessionTextInputState
Source§impl PartialEq for SessionTextInputState
impl PartialEq for SessionTextInputState
impl StructuralPartialEq for SessionTextInputState
Auto Trait Implementations§
impl Forget for SessionTextInputState
impl Freeze for SessionTextInputState
impl RefUnwindSafe for SessionTextInputState
impl Send for SessionTextInputState
impl Sync for SessionTextInputState
impl Unpin for SessionTextInputState
impl UnsafeUnpin for SessionTextInputState
impl UnwindSafe for SessionTextInputState
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