pub struct SetTracker { /* private fields */ }Expand description
Tracker of executed left and right branches for each case node.
Trait Implementations§
Source§impl Clone for SetTracker
impl Clone for SetTracker
Source§fn clone(&self) -> SetTracker
fn clone(&self) -> SetTracker
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 SetTracker
impl Debug for SetTracker
Source§impl Default for SetTracker
impl Default for SetTracker
Source§fn default() -> SetTracker
fn default() -> SetTracker
Returns the “default value” for a type. Read more
Source§impl<J: Jet> ExecTracker<J> for SetTracker
impl<J: Jet> ExecTracker<J> for SetTracker
Source§fn visit_node<'d>(
&mut self,
node: &RedeemNode<J>,
input: FrameIter<'_>,
_output: NodeOutput<'_>,
)
fn visit_node<'d>( &mut self, node: &RedeemNode<J>, input: FrameIter<'_>, _output: NodeOutput<'_>, )
Called immediately after a specific node of the program is executed, but before
its children are executed. Read more
Source§impl<J: Jet> PruneTracker<J> for SetTracker
impl<J: Jet> PruneTracker<J> for SetTracker
Source§fn contains_left(&self, ihr: Ihr) -> bool
fn contains_left(&self, ihr: Ihr) -> bool
Returns true if the left branch of the of the
Case node with the IHR ihr was taken.Source§fn contains_right(&self, ihr: Ihr) -> bool
fn contains_right(&self, ihr: Ihr) -> bool
Returns true if the right branch of the of the
Case node with the IHR ihr was taken.Auto Trait Implementations§
impl Freeze for SetTracker
impl RefUnwindSafe for SetTracker
impl Send for SetTracker
impl Sync for SetTracker
impl Unpin for SetTracker
impl UnwindSafe for SetTracker
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