pub struct EditorTextEdit {
pub text: String,
pub mode: EditorTextMode,
pub auto_send_ms: Option<u64>,
}Expand description
One pending edit to apply to the editor.
Fields§
§text: String§mode: EditorTextMode§auto_send_ms: Option<u64>When true the TUI should start its auto-send countdown for this edit: the text is a draft the user may correct, but it is sent automatically once the countdown elapses untouched.
Implementations§
Trait Implementations§
Source§impl Clone for EditorTextEdit
impl Clone for EditorTextEdit
Source§impl Debug for EditorTextEdit
impl Debug for EditorTextEdit
impl Eq for EditorTextEdit
Source§impl PartialEq for EditorTextEdit
impl PartialEq for EditorTextEdit
impl StructuralPartialEq for EditorTextEdit
Auto Trait Implementations§
impl Freeze for EditorTextEdit
impl RefUnwindSafe for EditorTextEdit
impl Send for EditorTextEdit
impl Sync for EditorTextEdit
impl Unpin for EditorTextEdit
impl UnsafeUnpin for EditorTextEdit
impl UnwindSafe for EditorTextEdit
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.