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 Default for NativeChangeEvent
impl Default for NativeChangeEvent
Source§fn default() -> NativeChangeEvent
fn default() -> NativeChangeEvent
Returns the “default value” for a type. Read more
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