pub enum OperationType {
Function {
path: TokenStream,
},
Extern,
}Expand description
Which type of microcode operation this is.
Variants§
Function
Microcode operation is a pure function.
Fields
§
path: TokenStreamPath to the function that defines the microcode operation, relative to the module that the Microcode type is defined in.
Extern
Microcode operation is externally defined.
Trait Implementations§
Source§impl Clone for OperationType
impl Clone for OperationType
Source§fn clone(&self) -> OperationType
fn clone(&self) -> OperationType
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 OperationType
impl RefUnwindSafe for OperationType
impl !Send for OperationType
impl !Sync for OperationType
impl Unpin for OperationType
impl UnwindSafe for OperationType
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