Struct respo::RespoEventMark
source · pub struct RespoEventMark {
pub coord: Vec<RespoCoord>,
pub name: String,
pub event_info: RespoEvent,
}
Expand description
marks on virtual DOM to declare that there’s an event event handler is HIDDEN from this mark.
Fields§
§coord: Vec<RespoCoord>
location of element in the tree
name: String
TODO event type
event_info: RespoEvent
partial copy of DOM events, that shares across threads,
but being async, methods like .prevent_default()
and .stop_propagation()
will not work
Implementations§
source§impl RespoEventMark
impl RespoEventMark
pub fn new(name: &str, coord: &[RespoCoord], event: RespoEvent) -> Self
Trait Implementations§
source§impl Clone for RespoEventMark
impl Clone for RespoEventMark
source§fn clone(&self) -> RespoEventMark
fn clone(&self) -> RespoEventMark
Returns a copy 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 more