pub enum NumberKind {
Real(f64),
Integer(i64),
Symbolic(Symbol),
}Expand description
Numeric literal representation for degree semantics.
Supports exact integers, floating-point reals, and symbolic constants (e.g., π, e) for prover integration.
Variants§
Real(f64)
Floating-point real number (e.g., 3.14, 0.5).
Integer(i64)
Exact integer (e.g., 42, -1, 0).
Symbolic(Symbol)
Symbolic constant (e.g., π, e, ∞).
Trait Implementations§
Source§impl Clone for NumberKind
impl Clone for NumberKind
Source§fn clone(&self) -> NumberKind
fn clone(&self) -> NumberKind
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 moreSource§impl Debug for NumberKind
impl Debug for NumberKind
Source§impl PartialEq for NumberKind
impl PartialEq for NumberKind
impl Copy for NumberKind
impl StructuralPartialEq for NumberKind
Auto Trait Implementations§
impl Freeze for NumberKind
impl RefUnwindSafe for NumberKind
impl Send for NumberKind
impl Sync for NumberKind
impl Unpin for NumberKind
impl UnwindSafe for NumberKind
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