pub enum EditorTextMode {
Replace,
Append,
}Expand description
How a pending edit combines with what the editor already holds.
Variants§
Replace
Replace the whole draft.
Append
Append to the end of the existing draft (separated by a space).
Trait Implementations§
Source§impl Clone for EditorTextMode
impl Clone for EditorTextMode
impl Copy for EditorTextMode
Source§impl Debug for EditorTextMode
impl Debug for EditorTextMode
impl Eq for EditorTextMode
Source§impl PartialEq for EditorTextMode
impl PartialEq for EditorTextMode
impl StructuralPartialEq for EditorTextMode
Auto Trait Implementations§
impl Freeze for EditorTextMode
impl RefUnwindSafe for EditorTextMode
impl Send for EditorTextMode
impl Sync for EditorTextMode
impl Unpin for EditorTextMode
impl UnsafeUnpin for EditorTextMode
impl UnwindSafe for EditorTextMode
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.