pub struct InputState {
pub value: String,
pub cursor: usize,
}Fields§
§value: String§cursor: usizeTrait Implementations§
Source§impl Debug for InputState
impl Debug for InputState
Source§impl Default for InputState
impl Default for InputState
Source§fn default() -> InputState
fn default() -> InputState
Returns the “default value” for a type. Read more
Source§impl PartialEq for InputState
impl PartialEq for InputState
Source§fn eq(&self, other: &InputState) -> bool
fn eq(&self, other: &InputState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InputState
Auto Trait Implementations§
impl Freeze for InputState
impl RefUnwindSafe for InputState
impl Send for InputState
impl Sync for InputState
impl Unpin for InputState
impl UnsafeUnpin for InputState
impl UnwindSafe for InputState
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