pub struct PredicateFn(pub extern "C" fn(SimHandle) -> bool);Expand description
The settled CondThunk shape for a SignalEventControl’s iff re-check
AND wait(expr)’s own re-check (PR-106, A2-part2 Task 3): a plain
extern "C" function pointer over the shared SimHandle, produced by
exactly one compiler entry point, vj-codegen::process_lower:: compile_iff_guard – see that function’s own doc comment. Through Task 1
this shape was left an open question (process.md: “needs to be settled
jointly with codegen’s dispatcher shape… not decided unilaterally
here”); Task 3 settles it: a raw function pointer into a standalone,
independently-compiled guard function, never a re-entry into a dedicated
micro-segment.
Tuple Fields§
§0: extern "C" fn(SimHandle) -> boolTrait Implementations§
Source§impl Clone for PredicateFn
impl Clone for PredicateFn
impl Copy for PredicateFn
Auto Trait Implementations§
impl Freeze for PredicateFn
impl RefUnwindSafe for PredicateFn
impl Send for PredicateFn
impl Sync for PredicateFn
impl Unpin for PredicateFn
impl UnsafeUnpin for PredicateFn
impl UnwindSafe for PredicateFn
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