docx_reader/documents/elements/table_width.rs
use serde::Serialize;
use crate::types::*;
#[derive(Debug, Clone, PartialEq, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct TableWidth {
width: usize,
width_type: WidthType,
}
impl TableWidth {
pub fn new(width: usize, width_type: WidthType) -> TableWidth {
TableWidth { width, width_type }
}
}