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 moreAuto Trait Implementations§
impl RefUnwindSafe for RespoEventMark
impl !Send for RespoEventMark
impl !Sync for RespoEventMark
impl Unpin for RespoEventMark
impl UnwindSafe for RespoEventMark
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