pub struct EDOM<EN>where
EN: ElementNode,{
pub fire_event: Rc<RefCell<Box<dyn FnMut(u64, String, EN::Event)>>>,
/* private fields */
}Expand description
Main structure for building and rendering a vdom tree and running the event loop.
Fields§
§fire_event: Rc<RefCell<Box<dyn FnMut(u64, String, EN::Event)>>>Implementations§
Auto Trait Implementations§
impl<EN> !Freeze for EDOM<EN>
impl<EN> !RefUnwindSafe for EDOM<EN>
impl<EN> !Send for EDOM<EN>
impl<EN> !Sync for EDOM<EN>
impl<EN> Unpin for EDOM<EN>where
<EN as ElementNode>::Document: Unpin,
<EN as ElementNode>::EventHandler: Unpin,
<EN as ElementNode>::Event: Unpin,
EN: Unpin,
<EN as ElementNode>::TextNode: Unpin,
impl<EN> !UnwindSafe for EDOM<EN>
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