Enum respo::RespoEffectType
source · pub enum RespoEffectType {
Mounted,
BeforeUpdate,
Updated,
BeforeUnmount,
}
Variants§
Mounted
called after mounting happened, use effect handlers from new trees
BeforeUpdate
called before effect arguments changed, use effect hanles from new trees
Updated
called after effect arguments changed, use effect handles from new trees
BeforeUnmount
called before unmounting, use effect handles from old trees
Trait Implementations§
source§impl Clone for RespoEffectType
impl Clone for RespoEffectType
source§fn clone(&self) -> RespoEffectType
fn clone(&self) -> RespoEffectType
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 RespoEffectType
impl Debug for RespoEffectType
source§impl From<RespoEffectType> for Cirru
impl From<RespoEffectType> for Cirru
source§fn from(effect_type: RespoEffectType) -> Self
fn from(effect_type: RespoEffectType) -> Self
Converts to this type from the input type.
source§impl PartialEq<RespoEffectType> for RespoEffectType
impl PartialEq<RespoEffectType> for RespoEffectType
source§fn eq(&self, other: &RespoEffectType) -> bool
fn eq(&self, other: &RespoEffectType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RespoEffectType
impl Eq for RespoEffectType
impl StructuralEq for RespoEffectType
impl StructuralPartialEq for RespoEffectType
Auto Trait Implementations§
impl RefUnwindSafe for RespoEffectType
impl Send for RespoEffectType
impl Sync for RespoEffectType
impl Unpin for RespoEffectType
impl UnwindSafe for RespoEffectType
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