pub enum Number {
AbstractInt(i64),
AbstractFloat(f64),
I32(i32),
U32(u32),
I64(i64),
U64(u64),
F32(f32),
F64(f64),
}
Expand description
When using this type assume no Abstract Int/Float for now
Variants§
AbstractInt(i64)
Abstract Int (-2^63 ≤ i < 2^63)
AbstractFloat(f64)
Abstract Float (IEEE-754 binary64)
I32(i32)
Concrete i32
U32(u32)
Concrete u32
I64(i64)
Concrete i64
U64(u64)
Concrete u64
F32(f32)
Concrete f32
F64(f64)
Concrete f64
Trait Implementations§
impl Copy for Number
impl StructuralPartialEq for Number
Auto Trait Implementations§
impl Freeze for Number
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnwindSafe for Number
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)