pub enum FormulaValue {
Unevaluated,
Boolean(bool),
Number(f64),
Text(String),
Error {
ei: Error,
o: String,
m: String,
},
}Expand description
The evaluated value stored in a formula cell.
Unevaluated is a transient state that only exists during evaluation.
Variants§
Trait Implementations§
Source§impl Clone for FormulaValue
impl Clone for FormulaValue
Source§fn clone(&self) -> FormulaValue
fn clone(&self) -> FormulaValue
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 moreSource§impl Debug for FormulaValue
impl Debug for FormulaValue
Source§impl PartialEq for FormulaValue
impl PartialEq for FormulaValue
Source§fn eq(&self, other: &FormulaValue) -> bool
fn eq(&self, other: &FormulaValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'__de> Decode<'__de> for FormulaValuewhere
'__de:,
impl Encode for FormulaValue
impl StructuralPartialEq for FormulaValue
Auto Trait Implementations§
impl Freeze for FormulaValue
impl RefUnwindSafe for FormulaValue
impl Send for FormulaValue
impl Sync for FormulaValue
impl Unpin for FormulaValue
impl UnsafeUnpin for FormulaValue
impl UnwindSafe for FormulaValue
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