pub enum FormatCompareMode {
Ignore,
NumberFormatOnly,
AllAvailable,
}Expand description
Controls whether cell formatting (number format, font, fill, …) is compared.
Default is Ignore — calamine 0.35 does not expose a cell-style API, so
AllAvailable emits an UnsupportedWorkbookFeature diagnostic at runtime.
Variants§
Ignore
Ignore all formatting differences (default).
NumberFormatOnly
Compare number-format strings only (future, requires style reader).
AllAvailable
Compare all available style fields (future, best-effort).
Trait Implementations§
Source§impl Clone for FormatCompareMode
impl Clone for FormatCompareMode
Source§fn clone(&self) -> FormatCompareMode
fn clone(&self) -> FormatCompareMode
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 FormatCompareMode
Source§impl Debug for FormatCompareMode
impl Debug for FormatCompareMode
Source§impl Default for FormatCompareMode
impl Default for FormatCompareMode
Source§fn default() -> FormatCompareMode
fn default() -> FormatCompareMode
Returns the “default value” for a type. Read more
impl Eq for FormatCompareMode
Source§impl PartialEq for FormatCompareMode
impl PartialEq for FormatCompareMode
Source§fn eq(&self, other: &FormatCompareMode) -> bool
fn eq(&self, other: &FormatCompareMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FormatCompareMode
Auto Trait Implementations§
impl Freeze for FormatCompareMode
impl RefUnwindSafe for FormatCompareMode
impl Send for FormatCompareMode
impl Sync for FormatCompareMode
impl Unpin for FormatCompareMode
impl UnsafeUnpin for FormatCompareMode
impl UnwindSafe for FormatCompareMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.