pub struct LoopVersion {
pub cond_var: LcnfVarId,
pub fast_path_header: LcnfVarId,
pub slow_path_header: LcnfVarId,
}Expand description
Represents a versioned loop: an if-then-else where each branch has a specialized loop copy optimized for a specific condition.
Fields§
§cond_var: LcnfVarIdThe discriminating condition variable.
fast_path_header: LcnfVarIdHeader of the “true” branch (optimized version).
slow_path_header: LcnfVarIdHeader of the “false” branch (generic version).
Trait Implementations§
Source§impl Clone for LoopVersion
impl Clone for LoopVersion
Source§fn clone(&self) -> LoopVersion
fn clone(&self) -> LoopVersion
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 LoopVersion
impl RefUnwindSafe for LoopVersion
impl Send for LoopVersion
impl Sync for LoopVersion
impl Unpin for LoopVersion
impl UnsafeUnpin for LoopVersion
impl UnwindSafe for LoopVersion
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