pub enum BlockNum {
Int(i64),
Float(f64),
}Expand description
Result of a typed block-JIT invocation. The block tier returns an i64
register; a float result rides back as its raw f64 bit pattern. This enum
lets a typed caller recover the exact value instead of truncating floats to
integers (the behavior of the plain i64-returning entry points).
Variants§
Trait Implementations§
impl Copy for BlockNum
impl StructuralPartialEq for BlockNum
Auto Trait Implementations§
impl Freeze for BlockNum
impl RefUnwindSafe for BlockNum
impl Send for BlockNum
impl Sync for BlockNum
impl Unpin for BlockNum
impl UnsafeUnpin for BlockNum
impl UnwindSafe for BlockNum
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