pub enum Value {
Number(Number),
Text(String),
Boolean(bool),
Empty,
Error(CalcError),
}Expand description
A scalar value understood by the calculation kernel.
Variants§
Number(Number)
A finite calculation number.
Text(String)
UTF-8 text.
Boolean(bool)
A distinct logical value.
Empty
An empty cell or absent scalar value.
Error(CalcError)
A typed calculation error carried as a value for propagation.
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Forget for Value
impl Freeze for Value
impl Move 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