pub struct VirtualEventElement { /* private fields */ }
Expand description
A virtual event element node.
Implementations§
Source§impl VirtualEventElement
impl VirtualEventElement
Sourcepub fn events_id(&self) -> ElementEventsId
pub fn events_id(&self) -> ElementEventsId
Get this node’s unique id for its events.
Sourcepub fn first_child(&self) -> Option<Rc<RefCell<VirtualEventNode>>>
pub fn first_child(&self) -> Option<Rc<RefCell<VirtualEventNode>>>
Get the element’s first child.
Sourcepub fn append_child(&mut self, new_child: Rc<RefCell<VirtualEventNode>>)
pub fn append_child(&mut self, new_child: Rc<RefCell<VirtualEventNode>>)
Append a child to the end of the list of children.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VirtualEventElement
impl !RefUnwindSafe for VirtualEventElement
impl !Send for VirtualEventElement
impl !Sync for VirtualEventElement
impl Unpin for VirtualEventElement
impl !UnwindSafe for VirtualEventElement
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