pub struct RangeShape {
pub rows: u32,
pub cols: u32,
}Expand description
The 2-D shape (rows × cols) a RangeRef expands to — published
alongside the member cell_keys so the executor can rebuild a shape-correct
Vec<Vec<CellValue>> for VLOOKUP/INDEX/MATCH.
rows = row_hi - row_lo + 1, cols = col_hi - col_lo + 1 — both ≥ 1 for any
valid range (a single cell is {rows: 1, cols: 1}).
Fields§
§rows: u32The number of rows the range spans (inclusive).
cols: u32The number of columns the range spans (inclusive).
Trait Implementations§
Source§impl Clone for RangeShape
impl Clone for RangeShape
Source§fn clone(&self) -> RangeShape
fn clone(&self) -> RangeShape
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 RangeShape
Source§impl Debug for RangeShape
impl Debug for RangeShape
impl Eq for RangeShape
Source§impl JsonSchema for RangeShape
impl JsonSchema for RangeShape
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RangeShape
impl PartialEq for RangeShape
Source§fn eq(&self, other: &RangeShape) -> bool
fn eq(&self, other: &RangeShape) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RangeShape
impl Serialize for RangeShape
impl StructuralPartialEq for RangeShape
Auto Trait Implementations§
impl Freeze for RangeShape
impl RefUnwindSafe for RangeShape
impl Send for RangeShape
impl Sync for RangeShape
impl Unpin for RangeShape
impl UnsafeUnpin for RangeShape
impl UnwindSafe for RangeShape
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.