pub struct EventAttribFn(/* private fields */);Expand description
A handler for an event, such the closure in onmyevent = || {}.
Trait Implementations§
Source§impl Clone for EventAttribFn
impl Clone for EventAttribFn
Source§fn clone(&self) -> EventAttribFn
fn clone(&self) -> EventAttribFn
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 EventAttribFn
impl Debug for EventAttribFn
Source§impl From<Rc<dyn EventCallback>> for EventAttribFn
impl From<Rc<dyn EventCallback>> for EventAttribFn
Source§fn from(inner: Rc<dyn EventCallback>) -> Self
fn from(inner: Rc<dyn EventCallback>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EventAttribFn
impl PartialEq for EventAttribFn
Auto Trait Implementations§
impl !RefUnwindSafe for EventAttribFn
impl !Send for EventAttribFn
impl !Sync for EventAttribFn
impl !UnwindSafe for EventAttribFn
impl Freeze for EventAttribFn
impl Unpin for EventAttribFn
impl UnsafeUnpin for EventAttribFn
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