Struct rdcl_aoc_helpers::machine::hook::NoopHook
source · pub struct NoopHook<I: MachineInstruction> { /* private fields */ }
Trait Implementations
sourceimpl<I: MachineInstruction> Default for NoopHook<I>
impl<I: MachineInstruction> Default for NoopHook<I>
sourceimpl<I: MachineInstruction> PreExecuteHook<I> for NoopHook<I>
impl<I: MachineInstruction> PreExecuteHook<I> for NoopHook<I>
fn run<R: MachineRegister, O: OutputReceiver<R>>(
&mut self,
_machine: &mut Machine<I, R, O>,
_instruction: &I,
_idx: usize
) -> HookResult
Auto Trait Implementations
impl<I> RefUnwindSafe for NoopHook<I>where
I: RefUnwindSafe,
impl<I> Send for NoopHook<I>where
I: Send,
impl<I> Sync for NoopHook<I>where
I: Sync,
impl<I> Unpin for NoopHook<I>where
I: Unpin,
impl<I> UnwindSafe for NoopHook<I>where
I: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more