pub enum TextAreaPatch {
SetText(String),
SetEditable(bool),
SetSelectable(bool),
SetSpellCheck(bool),
}Expand description
Imperative text-area updates: replace the text (programmatic sync), or flip one of the live attributes.
Variants§
Trait Implementations§
Source§impl Clone for TextAreaPatch
impl Clone for TextAreaPatch
Source§fn clone(&self) -> TextAreaPatch
fn clone(&self) -> TextAreaPatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TextAreaPatch
impl Debug for TextAreaPatch
Source§impl PartialEq for TextAreaPatch
impl PartialEq for TextAreaPatch
Source§fn eq(&self, other: &TextAreaPatch) -> bool
fn eq(&self, other: &TextAreaPatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextAreaPatch
Auto Trait Implementations§
impl Freeze for TextAreaPatch
impl RefUnwindSafe for TextAreaPatch
impl Send for TextAreaPatch
impl Sync for TextAreaPatch
impl Unpin for TextAreaPatch
impl UnsafeUnpin for TextAreaPatch
impl UnwindSafe for TextAreaPatch
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