Skip to main content

rs_docx/formatting/
grid_span.rs

1use hard_xml::{XmlRead, XmlWrite};
2
3#[derive(Debug, Default, XmlRead, XmlWrite, Clone)]
4#[cfg_attr(test, derive(PartialEq))]
5#[xml(tag = "w:gridSpan")]
6pub struct GridSpan {
7    #[xml(attr = "w:val", with = "crate::rounded_float")]
8    pub val: isize,
9}