pub struct EffectOpDef {
pub id: HirId,
pub name: Symbol,
pub params: Vec<Param>,
pub return_ty: Ty,
}Expand description
A single operation within an effect definition
Fields§
§id: HirId§name: Symbol§params: Vec<Param>§return_ty: TyTrait Implementations§
Source§impl Clone for EffectOpDef
impl Clone for EffectOpDef
Source§fn clone(&self) -> EffectOpDef
fn clone(&self) -> EffectOpDef
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 EffectOpDef
impl RefUnwindSafe for EffectOpDef
impl Send for EffectOpDef
impl Sync for EffectOpDef
impl Unpin for EffectOpDef
impl UnwindSafe for EffectOpDef
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