pub struct NativeSubmitEvent { /* private fields */ }Expand description
Data associated with a form submit event.
Identifies the element that triggered the submission.
Implementations§
Source§impl NativeSubmitEvent
Implementation of NativeSubmitEvent construction.
impl NativeSubmitEvent
Implementation of NativeSubmitEvent construction.
Source§impl NativeSubmitEvent
impl NativeSubmitEvent
pub fn get_submitter(&self) -> String
pub fn try_get_submitter(&self) -> &Option<String>
pub fn get_mut_submitter(&mut self) -> &mut Option<String>
pub fn set_submitter(&mut self, val: Option<String>) -> &mut Self
Trait Implementations§
Source§impl Clone for NativeSubmitEvent
impl Clone for NativeSubmitEvent
Source§fn clone(&self) -> NativeSubmitEvent
fn clone(&self) -> NativeSubmitEvent
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 NativeSubmitEvent
impl Debug for NativeSubmitEvent
Source§impl Default for NativeSubmitEvent
impl Default for NativeSubmitEvent
Source§fn default() -> NativeSubmitEvent
fn default() -> NativeSubmitEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for NativeSubmitEvent
impl PartialEq for NativeSubmitEvent
Source§fn eq(&self, other: &NativeSubmitEvent) -> bool
fn eq(&self, other: &NativeSubmitEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NativeSubmitEvent
impl StructuralPartialEq for NativeSubmitEvent
Auto Trait Implementations§
impl Freeze for NativeSubmitEvent
impl RefUnwindSafe for NativeSubmitEvent
impl Send for NativeSubmitEvent
impl Sync for NativeSubmitEvent
impl Unpin for NativeSubmitEvent
impl UnsafeUnpin for NativeSubmitEvent
impl UnwindSafe for NativeSubmitEvent
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