pub enum ChangeCause {
InputSystem,
Other,
}Expand description
What caused a change of the text.
Variants§
InputSystem
Writes through TextInputEditor, the platform’s input system: a
bridge does not report these back to it.
Other
Anything else: typing, a paste, an undo, the application.
Trait Implementations§
Source§impl Clone for ChangeCause
impl Clone for ChangeCause
impl Copy for ChangeCause
Source§impl Debug for ChangeCause
impl Debug for ChangeCause
impl Eq for ChangeCause
Source§impl PartialEq for ChangeCause
impl PartialEq for ChangeCause
impl StructuralPartialEq for ChangeCause
Auto Trait Implementations§
impl Freeze for ChangeCause
impl RefUnwindSafe for ChangeCause
impl Send for ChangeCause
impl Sync for ChangeCause
impl Unpin for ChangeCause
impl UnsafeUnpin for ChangeCause
impl UnwindSafe for ChangeCause
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