pub struct NumberValueRef {
pub domain: Symbol,
pub value: Value,
pub literal: Option<NumberLiteral>,
}Expand description
A runtime number value paired with its domain and optional literal form.
Fields§
§domain: SymbolDomain symbol the value belongs to.
value: ValueThe runtime value.
literal: Option<NumberLiteral>Canonical literal form, when one is available.
Trait Implementations§
Source§impl Clone for NumberValueRef
impl Clone for NumberValueRef
Source§fn clone(&self) -> NumberValueRef
fn clone(&self) -> NumberValueRef
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 !RefUnwindSafe for NumberValueRef
impl !UnwindSafe for NumberValueRef
impl Freeze for NumberValueRef
impl Send for NumberValueRef
impl Sync for NumberValueRef
impl Unpin for NumberValueRef
impl UnsafeUnpin for NumberValueRef
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