Struct sauron::MountEvent
source · pub struct MountEvent {
pub target_node: DomNode,
}
Expand description
an event when a virtual Node is mounted the field node is the actual dom node where the virtual Node is created in the actual dom
Fields§
§target_node: DomNode
the node where the virtual node is materialized into the actual dom
Implementations§
source§impl MountEvent
impl MountEvent
sourcepub fn create_web_event() -> Event
pub fn create_web_event() -> Event
create a native web event
Trait Implementations§
source§impl Clone for MountEvent
impl Clone for MountEvent
source§fn clone(&self) -> MountEvent
fn clone(&self) -> MountEvent
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 moresource§impl Debug for MountEvent
impl Debug for MountEvent
source§impl From<MountEvent> for Event
impl From<MountEvent> for Event
source§fn from(mount_event: MountEvent) -> Event
fn from(mount_event: MountEvent) -> Event
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MountEvent
impl !RefUnwindSafe for MountEvent
impl !Send for MountEvent
impl !Sync for MountEvent
impl Unpin for MountEvent
impl !UnwindSafe for MountEvent
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