Skip to main content

TableRowExt

Trait TableRowExt 

Source
pub trait TableRowExt {
    // Required methods
    fn cells(&self) -> &[CTTableCell];
    fn cell(&self, col: usize) -> Option<&CTTableCell>;
    fn height_emu(&self) -> Option<i64>;
}
Expand description

Extension trait for CTTableRow providing convenience methods.

Required Methods§

Source

fn cells(&self) -> &[CTTableCell]

Get all cells in this row.

Source

fn cell(&self, col: usize) -> Option<&CTTableCell>

Get a cell by column index (0-based).

Source

fn height_emu(&self) -> Option<i64>

Get the row height in EMUs (if specified).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl TableRowExt for CTTableRow

Available on crate feature dml-tables only.