pub enum LifecycleEventIR {
Mount {
component_id: String,
props: Properties,
},
Update {
component_id: String,
old_props: Properties,
new_props: Properties,
},
Unmount {
component_id: String,
},
Error {
component_id: String,
error: String,
error_boundary_id: Option<String>,
},
Suspend {
component_id: String,
fallback: VirtualNodeIR,
},
Resume {
component_id: String,
},
}
Expand description
コンポーネントライフサイクルIR
Variants§
Trait Implementations§
Source§impl Clone for LifecycleEventIR
impl Clone for LifecycleEventIR
Source§fn clone(&self) -> LifecycleEventIR
fn clone(&self) -> LifecycleEventIR
Returns a duplicate 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 LifecycleEventIR
impl Debug for LifecycleEventIR
Source§impl<'de> Deserialize<'de> for LifecycleEventIR
impl<'de> Deserialize<'de> for LifecycleEventIR
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LifecycleEventIR
impl PartialEq for LifecycleEventIR
Source§impl Serialize for LifecycleEventIR
impl Serialize for LifecycleEventIR
impl StructuralPartialEq for LifecycleEventIR
Auto Trait Implementations§
impl Freeze for LifecycleEventIR
impl RefUnwindSafe for LifecycleEventIR
impl Send for LifecycleEventIR
impl Sync for LifecycleEventIR
impl Unpin for LifecycleEventIR
impl UnwindSafe for LifecycleEventIR
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