pub enum AutofillContextAction {
Commit,
Cancel,
}Expand description
Predefined autofill context clean up actions.
Variants§
Commit
Destroys the current autofill context after informing the platform to save the user input from it.
Corresponds to calling TextInput::finish_autofill_context with
should_save == true.
Cancel
Destroys the current autofill context without saving the user input.
Corresponds to calling TextInput::finish_autofill_context with
should_save == false.
Trait Implementations§
Source§impl Clone for AutofillContextAction
impl Clone for AutofillContextAction
impl Copy for AutofillContextAction
Source§impl Debug for AutofillContextAction
impl Debug for AutofillContextAction
impl Eq for AutofillContextAction
Source§impl PartialEq for AutofillContextAction
impl PartialEq for AutofillContextAction
impl StructuralPartialEq for AutofillContextAction
Auto Trait Implementations§
impl Forget for AutofillContextAction
impl Freeze for AutofillContextAction
impl Move for AutofillContextAction
impl RefUnwindSafe for AutofillContextAction
impl Send for AutofillContextAction
impl Sync for AutofillContextAction
impl Unpin for AutofillContextAction
impl UnsafeUnpin for AutofillContextAction
impl UnwindSafe for AutofillContextAction
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.