pub struct NativeChangeEvent { /* private fields */ }Expand description
Data associated with a change event.
Contains the new value and checked state for form controls.
Implementations§
Source§impl NativeChangeEvent
Implementation of NativeChangeEvent construction.
impl NativeChangeEvent
Implementation of NativeChangeEvent construction.
Source§impl NativeChangeEvent
impl NativeChangeEvent
pub fn get_value(&self) -> &String
pub fn get_mut_value(&mut self) -> &mut String
pub fn set_value(&mut self, val: String) -> &mut Self
pub fn get_checked(&self) -> &bool
pub fn get_mut_checked(&mut self) -> &mut bool
pub fn set_checked(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for NativeChangeEvent
impl Clone for NativeChangeEvent
Source§fn clone(&self) -> NativeChangeEvent
fn clone(&self) -> NativeChangeEvent
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 NativeChangeEvent
impl Debug for NativeChangeEvent
Source§impl Default for NativeChangeEvent
impl Default for NativeChangeEvent
Source§fn default() -> NativeChangeEvent
fn default() -> NativeChangeEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for NativeChangeEvent
impl PartialEq for NativeChangeEvent
Source§fn eq(&self, other: &NativeChangeEvent) -> bool
fn eq(&self, other: &NativeChangeEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NativeChangeEvent
impl StructuralPartialEq for NativeChangeEvent
Auto Trait Implementations§
impl Freeze for NativeChangeEvent
impl RefUnwindSafe for NativeChangeEvent
impl Send for NativeChangeEvent
impl Sync for NativeChangeEvent
impl Unpin for NativeChangeEvent
impl UnsafeUnpin for NativeChangeEvent
impl UnwindSafe for NativeChangeEvent
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