pub enum TextOutcome {
Committed(String),
Cancelled,
Tab(String),
}Expand description
How the editor a tool opened ended, as the tool reads it off the frame’s
Interaction: the one way the edited text reaches
a tool, so a tool cannot read a stale draft.
Variants§
Trait Implementations§
Source§impl Clone for TextOutcome
impl Clone for TextOutcome
Source§fn clone(&self) -> TextOutcome
fn clone(&self) -> TextOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextOutcome
impl Debug for TextOutcome
Source§impl<'de> Deserialize<'de> for TextOutcome
impl<'de> Deserialize<'de> for TextOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TextOutcome
impl PartialEq for TextOutcome
Source§impl Serialize for TextOutcome
impl Serialize for TextOutcome
impl Eq for TextOutcome
impl StructuralPartialEq for TextOutcome
Auto Trait Implementations§
impl Freeze for TextOutcome
impl RefUnwindSafe for TextOutcome
impl Send for TextOutcome
impl Sync for TextOutcome
impl Unpin for TextOutcome
impl UnsafeUnpin for TextOutcome
impl UnwindSafe for TextOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.