Struct sauron::MountEvent
source · [−]pub struct MountEvent {
pub target_node: Node,
}
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: Node
the node where the virtual node is materialized into the actual dom
Trait Implementations
sourceimpl Clone for MountEvent
impl Clone for MountEvent
sourcefn clone(&self) -> MountEvent
fn clone(&self) -> MountEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MountEvent
impl Debug for MountEvent
sourceimpl From<MountEvent> for Event
impl From<MountEvent> for Event
sourcefn from(mount_event: MountEvent) -> Event
fn from(mount_event: MountEvent) -> Event
Converts to this type from the input type.
sourceimpl PartialEq<MountEvent> for MountEvent
impl PartialEq<MountEvent> for MountEvent
sourcefn eq(&self, other: &MountEvent) -> bool
fn eq(&self, other: &MountEvent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MountEvent) -> bool
fn ne(&self, other: &MountEvent) -> bool
This method tests for !=
.
impl StructuralPartialEq for MountEvent
Auto Trait Implementations
impl RefUnwindSafe for MountEvent
impl !Send for MountEvent
impl !Sync for MountEvent
impl Unpin for MountEvent
impl UnwindSafe for MountEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more