pub struct CellFormat {
pub padding: Option<i32>,
pub border: Option<i32>,
pub vertical_alignment: Option<CellVerticalAlignment>,
pub background_color: Option<String>,
}Expand description
Cell-level formatting.
Fields§
§padding: Option<i32>§border: Option<i32>§vertical_alignment: Option<CellVerticalAlignment>§background_color: Option<String>Trait Implementations§
Source§impl Clone for CellFormat
impl Clone for CellFormat
Source§fn clone(&self) -> CellFormat
fn clone(&self) -> CellFormat
Returns a duplicate of the value. Read more
1.0.0 · 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 CellFormat
impl Debug for CellFormat
Source§impl Default for CellFormat
impl Default for CellFormat
Source§fn default() -> CellFormat
fn default() -> CellFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for CellFormat
impl PartialEq for CellFormat
impl Eq for CellFormat
impl StructuralPartialEq for CellFormat
Auto Trait Implementations§
impl Freeze for CellFormat
impl RefUnwindSafe for CellFormat
impl Send for CellFormat
impl Sync for CellFormat
impl Unpin for CellFormat
impl UnsafeUnpin for CellFormat
impl UnwindSafe for CellFormat
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