pub enum SourceTable {
HeaderRow(usize),
Range {
first_row: usize,
last_row: Option<usize>,
first_col: usize,
last_col: Option<usize>,
},
}Expand description
How the source sheet is interpreted.
Variants§
HeaderRow(usize)
source_table: 1 (default) or source_table: 3 — the named
row (1-based) is the header. Data rows continue until the end
of the sheet (modulo blank-row handling per ADR-0007).
Range
source_table: B3:D4 (closed) or B3:D / B3 (open-ended) —
the first row is the header, columns are constrained, and the
bottom row is either explicit (last_row = Some(...)) or
“until the end of the used range” (None). Likewise
last_col may be None to mean “until the rightmost used
column”.
Trait Implementations§
Source§impl Clone for SourceTable
impl Clone for SourceTable
Source§fn clone(&self) -> SourceTable
fn clone(&self) -> SourceTable
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 moreSource§impl Debug for SourceTable
impl Debug for SourceTable
Source§impl PartialEq for SourceTable
impl PartialEq for SourceTable
Source§fn eq(&self, other: &SourceTable) -> bool
fn eq(&self, other: &SourceTable) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceTable
Auto Trait Implementations§
impl Freeze for SourceTable
impl RefUnwindSafe for SourceTable
impl Send for SourceTable
impl Sync for SourceTable
impl Unpin for SourceTable
impl UnsafeUnpin for SourceTable
impl UnwindSafe for SourceTable
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