pub struct EffectOperation {
pub name: Ident,
pub params: Vec<Param>,
pub return_type: Option<Type>,
pub span: Span,
}Expand description
A single operation within an effect declaration
Fields§
§name: Ident§params: Vec<Param>§return_type: Option<Type>§span: SpanTrait Implementations§
Source§impl Clone for EffectOperation
impl Clone for EffectOperation
Source§fn clone(&self) -> EffectOperation
fn clone(&self) -> EffectOperation
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 EffectOperation
impl Debug for EffectOperation
Source§impl PartialEq for EffectOperation
impl PartialEq for EffectOperation
impl StructuralPartialEq for EffectOperation
Auto Trait Implementations§
impl Freeze for EffectOperation
impl RefUnwindSafe for EffectOperation
impl Send for EffectOperation
impl Sync for EffectOperation
impl Unpin for EffectOperation
impl UnwindSafe for EffectOperation
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