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
impl Eq for EngineFlavor
Source§impl Hash for EngineFlavor
impl Hash for EngineFlavor
Source§impl PartialEq for EngineFlavor
impl PartialEq for EngineFlavor
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