pub enum CellRefError {
Empty,
NonAscii,
InvalidSyntax,
ColumnOutOfRange,
RowOutOfRange,
NonCanonical,
}Expand description
Error returned for an invalid or noncanonical A1 cell reference.
Variants§
Empty
The reference is empty.
NonAscii
The reference contains non-ASCII input.
InvalidSyntax
The reference does not match A1 syntax.
ColumnOutOfRange
The reference denotes a column outside Excel’s worksheet grid.
RowOutOfRange
The reference denotes a row outside Excel’s worksheet grid.
NonCanonical
Worksheet cell references must use one canonical spelling per cell.
Trait Implementations§
Source§impl Clone for CellRefError
impl Clone for CellRefError
Source§fn clone(&self) -> CellRefError
fn clone(&self) -> CellRefError
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 CellRefError
Source§impl Debug for CellRefError
impl Debug for CellRefError
Source§impl Display for CellRefError
impl Display for CellRefError
impl Eq for CellRefError
Source§impl Error for CellRefError
impl Error for CellRefError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for CellRefError
impl PartialEq for CellRefError
impl StructuralPartialEq for CellRefError
Auto Trait Implementations§
impl Freeze for CellRefError
impl RefUnwindSafe for CellRefError
impl Send for CellRefError
impl Sync for CellRefError
impl Unpin for CellRefError
impl UnsafeUnpin for CellRefError
impl UnwindSafe for CellRefError
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