pub struct LifecycleDef {
pub component_did_mount: Option<String>,
pub component_did_update: Option<String>,
pub component_will_unmount: Option<String>,
pub should_component_update: Option<String>,
}
Expand description
Component lifecycle methods
Fields§
§component_did_mount: Option<String>
§component_did_update: Option<String>
§component_will_unmount: Option<String>
§should_component_update: Option<String>
Trait Implementations§
Source§impl Clone for LifecycleDef
impl Clone for LifecycleDef
Source§fn clone(&self) -> LifecycleDef
fn clone(&self) -> LifecycleDef
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 LifecycleDef
impl Debug for LifecycleDef
Source§impl<'de> Deserialize<'de> for LifecycleDef
impl<'de> Deserialize<'de> for LifecycleDef
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
Auto Trait Implementations§
impl Freeze for LifecycleDef
impl RefUnwindSafe for LifecycleDef
impl Send for LifecycleDef
impl Sync for LifecycleDef
impl Unpin for LifecycleDef
impl UnwindSafe for LifecycleDef
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