pub struct NativeIntCountdownBody {
pub base_arm_literal: i64,
pub base_arm_body: Spanned<ResolvedExpr>,
pub wildcard_arm_body: Spanned<ResolvedExpr>,
}Expand description
Body decomposition for the IntCountdown-literal-zero native
shape. Each field is a slice of the source AST the lowerer
extracted while classifying; backends render them directly
without re-walking the source.
Fields§
§base_arm_literal: i64The literal int that selects the base arm. Always 0 today;
future preservation proofs may admit other literals, so the
value is carried as data rather than baked into the marker.
base_arm_body: Spanned<ResolvedExpr>AST for the base arm’s body (match p { 0 -> THIS; _ -> ... }).
wildcard_arm_body: Spanned<ResolvedExpr>AST for the wildcard arm’s body — the recursive call site.
Trait Implementations§
Source§impl Clone for NativeIntCountdownBody
impl Clone for NativeIntCountdownBody
Source§fn clone(&self) -> NativeIntCountdownBody
fn clone(&self) -> NativeIntCountdownBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NativeIntCountdownBody
impl RefUnwindSafe for NativeIntCountdownBody
impl Send for NativeIntCountdownBody
impl Sync for NativeIntCountdownBody
impl Unpin for NativeIntCountdownBody
impl UnsafeUnpin for NativeIntCountdownBody
impl UnwindSafe for NativeIntCountdownBody
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