pub struct DomResponse {
pub dom: Dom,
pub clicked: Option<String>,
pub hovered: Option<String>,
pub focused: Option<String>,
pub edited: Vec<(String, String)>,
}Expand description
What a dom tree did this frame.
Fields§
§dom: DomThe laid-out tree (rects by id, embed slots, a11y nodes).
clicked: Option<String>The element id clicked this frame (topmost first).
hovered: Option<String>The element id under the pointer.
focused: Option<String>The focused element id.
edited: Vec<(String, String)>Text inputs whose value the user changed this frame: (id, new value).
Trait Implementations§
Source§impl Clone for DomResponse
impl Clone for DomResponse
Source§impl Debug for DomResponse
impl Debug for DomResponse
Auto Trait Implementations§
impl Freeze for DomResponse
impl RefUnwindSafe for DomResponse
impl Send for DomResponse
impl Sync for DomResponse
impl Unpin for DomResponse
impl UnsafeUnpin for DomResponse
impl UnwindSafe for DomResponse
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