pub struct TablePreview {
pub operation: TableVerb,
pub location: Location,
pub row_index: Option<i64>,
pub column_index: Option<i64>,
pub rows_before: i64,
pub columns_before: i64,
pub rows_after: i64,
pub columns_after: i64,
pub insert_after: bool,
pub preceding_newline: bool,
}Expand description
A table operation’s exact resolved effect, without user prose.
Fields§
§operation: TableVerbThe operation.
location: LocationInsertion point for a new table, table start for dimension edits.
row_index: Option<i64>Reference row, for dimension edits.
column_index: Option<i64>Reference column, for dimension edits.
rows_before: i64Existing rows (zero for a new table).
columns_before: i64Existing columns (zero for a new table).
rows_after: i64Resulting row count.
columns_after: i64Resulting column count.
insert_after: boolNew row/column goes below/right of the reference cell.
preceding_newline: boolGoogle inserts a newline before a new table.
Trait Implementations§
Source§impl Clone for TablePreview
impl Clone for TablePreview
Source§impl Debug for TablePreview
impl Debug for TablePreview
impl Eq for TablePreview
Source§impl PartialEq for TablePreview
impl PartialEq for TablePreview
Source§impl Serialize for TablePreview
impl Serialize for TablePreview
impl StructuralPartialEq for TablePreview
Auto Trait Implementations§
impl Freeze for TablePreview
impl RefUnwindSafe for TablePreview
impl Send for TablePreview
impl Sync for TablePreview
impl Unpin for TablePreview
impl UnsafeUnpin for TablePreview
impl UnwindSafe for TablePreview
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more