pub enum ObjectCompareMode {
Ignore,
WarnIfPresent,
CompareAvailable,
}Expand description
Controls how the presence of non-cell objects is handled.
Variants§
Ignore
Ignore objects entirely — no diagnostics.
WarnIfPresent
Emit a coverage warning when non-worksheet sheets or any object categories that cannot be compared are detected. Default.
CompareAvailable
Compare what is available; emit diagnostics for the rest.
Currently behaves identically to WarnIfPresent: calamine 0.36 does
expose hyperlinks, merged regions, tables, and pivot tables, but this
crate does not yet call those APIs to compare them.
Trait Implementations§
Source§impl Clone for ObjectCompareMode
impl Clone for ObjectCompareMode
Source§fn clone(&self) -> ObjectCompareMode
fn clone(&self) -> ObjectCompareMode
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 ObjectCompareMode
Source§impl Debug for ObjectCompareMode
impl Debug for ObjectCompareMode
Source§impl Default for ObjectCompareMode
impl Default for ObjectCompareMode
Source§fn default() -> ObjectCompareMode
fn default() -> ObjectCompareMode
Returns the “default value” for a type. Read more
impl Eq for ObjectCompareMode
Source§impl PartialEq for ObjectCompareMode
impl PartialEq for ObjectCompareMode
impl StructuralPartialEq for ObjectCompareMode
Auto Trait Implementations§
impl Freeze for ObjectCompareMode
impl RefUnwindSafe for ObjectCompareMode
impl Send for ObjectCompareMode
impl Sync for ObjectCompareMode
impl Unpin for ObjectCompareMode
impl UnsafeUnpin for ObjectCompareMode
impl UnwindSafe for ObjectCompareMode
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.