pub enum Value {
Int(i64),
Float(f64),
}Expand description
Numeric value flowing through a GenApi formula.
The language is dynamically typed over i64 and f64. Keeping the two
apart matters: register values are integers up to 64 bits wide, and f64
cannot represent them all exactly.
Variants§
Implementations§
Trait Implementations§
impl Copy for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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