Struct ConsumeEffectEvent
pub struct ConsumeEffectEvent<'a> {
pub kind: &'a str,
pub data: &'a Tag,
}Expand description
What Hooks::consume_effect is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§kind: &'a str§data: &'a TagAuto Trait Implementations§
impl<'a> Freeze for ConsumeEffectEvent<'a>
impl<'a> RefUnwindSafe for ConsumeEffectEvent<'a>
impl<'a> Send for ConsumeEffectEvent<'a>
impl<'a> Sync for ConsumeEffectEvent<'a>
impl<'a> Unpin for ConsumeEffectEvent<'a>
impl<'a> UnsafeUnpin for ConsumeEffectEvent<'a>
impl<'a> UnwindSafe for ConsumeEffectEvent<'a>
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