pub struct EventHandlers {
pub on_click: Vec<Action>,
pub on_change: Vec<Action>,
pub on_submit: Vec<Action>,
pub on_focus: Vec<Action>,
pub on_blur: Vec<Action>,
pub on_row_click: Vec<Action>,
pub on_select: Vec<Action>,
pub on_page_change: Vec<Action>,
pub on_sort_change: Vec<Action>,
pub on_close: Vec<Action>,
pub on_open: Vec<Action>,
}Expand description
Event handlers that can be attached to components.
Fields§
§on_click: Vec<Action>§on_change: Vec<Action>§on_submit: Vec<Action>§on_focus: Vec<Action>§on_blur: Vec<Action>§on_row_click: Vec<Action>§on_select: Vec<Action>§on_page_change: Vec<Action>§on_sort_change: Vec<Action>§on_close: Vec<Action>§on_open: Vec<Action>Trait Implementations§
Source§impl Clone for EventHandlers
impl Clone for EventHandlers
Source§fn clone(&self) -> EventHandlers
fn clone(&self) -> EventHandlers
Returns a duplicate of the value. Read more
1.0.0 · 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 EventHandlers
impl Debug for EventHandlers
Source§impl Default for EventHandlers
impl Default for EventHandlers
Source§fn default() -> EventHandlers
fn default() -> EventHandlers
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventHandlers
impl<'de> Deserialize<'de> for EventHandlers
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EventHandlers
impl RefUnwindSafe for EventHandlers
impl Send for EventHandlers
impl Sync for EventHandlers
impl Unpin for EventHandlers
impl UnwindSafe for EventHandlers
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