pub struct MdEv {
pub ev: u32,
pub link: Option<String>,
pub hover: Option<String>,
pub field: Option<usize>,
pub submit: Option<MdSubmit>,
pub click: Option<MdNode>,
}Expand description
what a document view reports (see the module header)
Fields§
§ev: u32EV_FOCUS, EV_HOVER, EV_ACT (a link was activated)
link: Option<String>the target of the link activated this frame
hover: Option<String>the target of the link under the pointer
field: Option<usize>a field the user changed this frame, or a button (MF_BUTTON) he pressed (index of doc().fields())
submit: Option<MdSubmit>a form sent this frame (Enter in a field, a submit button)
click: Option<MdNode>the element a click hit this frame, or the link Enter activated (see the module header)
Trait Implementations§
Auto Trait Implementations§
impl Forget for MdEv
impl Freeze for MdEv
impl RefUnwindSafe for MdEv
impl Send for MdEv
impl Sync for MdEv
impl Unpin for MdEv
impl UnsafeUnpin for MdEv
impl UnwindSafe for MdEv
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