pub struct OperationSignature {
pub name: &'static str,
pub operands: Vec<ResolvedType>,
pub result: ResolvedType,
pub emit: OperationEmitter,
}Expand description
Describes one named operation with complete concrete operand and result identities.
The emitter consumes exactly operands and produces exactly result.
Fields§
§name: &'static strThe shared operation name.
operands: Vec<ResolvedType>Operands in source order, including the receiver for member lookup.
result: ResolvedTypeThe single result’s complete type.
emit: OperationEmitterThe implementation used by both direct lookup and ordinary calls.
Auto Trait Implementations§
impl !RefUnwindSafe for OperationSignature
impl !UnwindSafe for OperationSignature
impl Freeze for OperationSignature
impl Send for OperationSignature
impl Sync for OperationSignature
impl Unpin for OperationSignature
impl UnsafeUnpin for OperationSignature
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