pub struct TableGrid {
pub columns: Vec<GridColumn>,
}Expand description
Table Grid
use docx_rust::document::*;
let grid = TableGrid::from(vec![42, 42]);
let grid = TableGrid::default()
.push_column(42)
.push_column(42);Fields§
§columns: Vec<GridColumn>Implementations§
source§impl TableGrid
impl TableGrid
pub fn push_column<T: Into<GridColumn>>(self, col: T) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TableGrid
impl Send for TableGrid
impl Sync for TableGrid
impl Unpin for TableGrid
impl UnwindSafe for TableGrid
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