pub struct CellBorder {
pub color: Color,
pub width: Emu,
pub no_fill: bool,
}Expand description
单元格边框样式(简化版,仅支持实线/虚线/无边框)。
对应 <a:lnL> / <a:lnR> / <a:lnT> / <a:lnB> 子元素。
Fields§
§color: Color边框颜色。Color::None 表示不写出颜色(使用主题继承)。
width: Emu边框宽度(EMU)。
no_fill: bool是否无边框(写出 <a:noFill/>)。
Trait Implementations§
Source§impl Clone for CellBorder
impl Clone for CellBorder
Source§fn clone(&self) -> CellBorder
fn clone(&self) -> CellBorder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CellBorder
impl Debug for CellBorder
Source§impl Default for CellBorder
impl Default for CellBorder
Source§fn default() -> CellBorder
fn default() -> CellBorder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CellBorder
impl RefUnwindSafe for CellBorder
impl Send for CellBorder
impl Sync for CellBorder
impl Unpin for CellBorder
impl UnsafeUnpin for CellBorder
impl UnwindSafe for CellBorder
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