pub enum EngineFlavor {
Sheets,
Excel,
}Expand description
Which spreadsheet product’s semantics the engine targets.
The engine flavor also locks the date serial system (P1.4, issue #526):
Sheets: day 0 = 1899-12-30; no leap-year bug (1900-02-28 = serial 60, 1900-03-01 = serial 61, no serial for the nonexistent 1900-02-29).Excel: 1900 date system — serial 1 = 1900-01-01, including the historical Lotus 1-2-3 leap-year bug (serial 60 = the fictitious 1900-02-29). Conversion helpers live ineval::functions::date::serial; Excel evaluation itself is still stubbed (evaluatereturns#UNSUPPORTED!).
Variants§
Trait Implementations§
Source§impl Clone for EngineFlavor
impl Clone for EngineFlavor
Source§fn clone(&self) -> EngineFlavor
fn clone(&self) -> EngineFlavor
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 moreimpl Copy for EngineFlavor
Source§impl Debug for EngineFlavor
impl Debug for EngineFlavor
Source§impl<'de> Deserialize<'de> for EngineFlavor
impl<'de> Deserialize<'de> for EngineFlavor
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EngineFlavor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EngineFlavor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EngineFlavor
Source§impl Hash for EngineFlavor
impl Hash for EngineFlavor
Source§impl PartialEq for EngineFlavor
impl PartialEq for EngineFlavor
Source§impl Serialize for EngineFlavor
impl Serialize for EngineFlavor
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for EngineFlavor
Auto Trait Implementations§
impl Freeze for EngineFlavor
impl RefUnwindSafe for EngineFlavor
impl Send for EngineFlavor
impl Sync for EngineFlavor
impl Unpin for EngineFlavor
impl UnsafeUnpin for EngineFlavor
impl UnwindSafe for EngineFlavor
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