pub struct CellData {
pub value: DocValue,
pub alignment: Option<HorizontalAlignment>,
pub col_span: u32,
pub row_span: u32,
}Expand description
单个表格单元格的数据。
携带已转换的值及可选的格式覆盖。
对应 Java: com.alibaba.excel.metadata.data.WriteCellData / ReadCellData
Fields§
§value: DocValue单元格的已转换值。
alignment: Option<HorizontalAlignment>可选的水平对齐覆盖。
col_span: u32合并单元格的跨列数(1 = 正常)。
row_span: u32合并单元格的跨行数(1 = 正常)。
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CellData
impl RefUnwindSafe for CellData
impl Send for CellData
impl Sync for CellData
impl Unpin for CellData
impl UnsafeUnpin for CellData
impl UnwindSafe for CellData
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