pub struct HirEffectHandler {
pub id: HirId,
pub effect_name: Symbol,
pub handler: Expr,
}Expand description
An effect handler clause in the HIR
Fields§
§id: HirId§effect_name: SymbolThe effect being handled
handler: ExprHandler expression (closure or block)
Trait Implementations§
Source§impl Clone for HirEffectHandler
impl Clone for HirEffectHandler
Source§fn clone(&self) -> HirEffectHandler
fn clone(&self) -> HirEffectHandler
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 moreAuto Trait Implementations§
impl Freeze for HirEffectHandler
impl RefUnwindSafe for HirEffectHandler
impl Send for HirEffectHandler
impl Sync for HirEffectHandler
impl Unpin for HirEffectHandler
impl UnwindSafe for HirEffectHandler
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