Struct google_docs1::api::TableRange
source · pub struct TableRange {
pub column_span: Option<i32>,
pub row_span: Option<i32>,
pub table_cell_location: Option<TableCellLocation>,
}
Expand description
A table range represents a reference to a subset of a table. It’s important to note that the cells specified by a table range do not necessarily form a rectangle. For example, let’s say we have a 3 x 3 table where all the cells of the last row are merged together. The table looks like this: [ ] A table range with table cell location = (table_start_location, row = 0, column = 0), row span = 3 and column span = 2 specifies the following cells: x x [ x x x ]
This type is not used in any activity, and only used as part of another schema.
Fields§
§column_span: Option<i32>
The column span of the table range.
row_span: Option<i32>
The row span of the table range.
table_cell_location: Option<TableCellLocation>
The cell location where the table range starts.
Trait Implementations§
source§impl Clone for TableRange
impl Clone for TableRange
source§fn clone(&self) -> TableRange
fn clone(&self) -> TableRange
Returns a copy of the value. Read more
1.0.0 · 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 TableRange
impl Debug for TableRange
source§impl Default for TableRange
impl Default for TableRange
source§fn default() -> TableRange
fn default() -> TableRange
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TableRange
impl<'de> Deserialize<'de> for TableRange
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for TableRange
impl Serialize for TableRange
impl Part for TableRange
Auto Trait Implementations§
impl RefUnwindSafe for TableRange
impl Send for TableRange
impl Sync for TableRange
impl Unpin for TableRange
impl UnwindSafe for TableRange
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