docx_reader/documents/elements/
table_indent.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::Serialize;

use crate::types::*;

#[derive(Debug, Clone, PartialEq, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct TableIndent {
	width: i32,
	width_type: WidthType,
}

impl TableIndent {
	pub fn new(width: i32, width_type: WidthType) -> TableIndent {
		TableIndent { width, width_type }
	}
}