pub struct CellStyle {
pub font: Option<FontStyle>,
pub text_decoration: Option<i32>,
pub formatter: Option<String>,
pub align: Option<i32>,
pub back_color: Option<String>,
pub fore_color: Option<String>,
pub border: Option<BorderStyle>,
pub clean: Option<i32>,
}Expand description
单元格样式
Fields§
§font: Option<FontStyle>字体
text_decoration: Option<i32>文本装饰
formatter: Option<String>格式化类型
align: Option<i32>对齐方式
back_color: Option<String>背景颜色
fore_color: Option<String>前景色
border: Option<BorderStyle>边框
clean: Option<i32>清理信息
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CellStyle
impl<'de> Deserialize<'de> for CellStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CellStyle
impl RefUnwindSafe for CellStyle
impl Send for CellStyle
impl Sync for CellStyle
impl Unpin for CellStyle
impl UnwindSafe for CellStyle
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