pub struct Editing {
pub row: String,
pub option: Option<String>,
pub draft: Option<String>,
pub cursor: Option<usize>,
}Expand description
The prefs row being edited with the keyboard.
Fields§
§row: StringThe row.
option: Option<String>The highlighted option.
draft: Option<String>A text row’s draft.
cursor: Option<usize>The caret in the draft (UTF-16).
Trait Implementations§
impl Eq for Editing
impl StructuralPartialEq for Editing
Auto Trait Implementations§
impl Freeze for Editing
impl RefUnwindSafe for Editing
impl Send for Editing
impl Sync for Editing
impl Unpin for Editing
impl UnsafeUnpin for Editing
impl UnwindSafe for Editing
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