pub struct CellFormat {Show 16 fields
pub number_format_id: u32,
pub font_id: u32,
pub fill_id: u32,
pub border_id: u32,
pub base_format_id: Option<u32>,
pub apply_number_format: Option<bool>,
pub apply_font: Option<bool>,
pub apply_fill: Option<bool>,
pub apply_border: Option<bool>,
pub apply_alignment: Option<bool>,
pub apply_protection: Option<bool>,
pub quote_prefix: Option<bool>,
pub pivot_button: Option<bool>,
pub alignment: Option<Box<Alignment>>,
pub protection: Option<Protection>,
pub unmodeled_extensions: bool,
}Expand description
A format record referring to workbook component tables.
Fields§
§number_format_id: u32Number-format identity, default zero.
font_id: u32Font table index.
fill_id: u32Fill table index.
border_id: u32Border table index.
base_format_id: Option<u32>Optional base-style format index.
apply_number_format: Option<bool>Apply number formatting.
apply_font: Option<bool>Apply font formatting.
apply_fill: Option<bool>Apply fill formatting.
apply_border: Option<bool>Apply border formatting.
apply_alignment: Option<bool>Apply alignment formatting.
apply_protection: Option<bool>Apply protection formatting.
quote_prefix: Option<bool>Quoted literal prefix indicator.
Pivot button indicator.
alignment: Option<Box<Alignment>>Optional alignment; no inherited/default values are installed here.
protection: Option<Protection>Optional cell protection.
unmodeled_extensions: boolThe original record contains an extension not modeled by this checkpoint.
Implementations§
Source§impl CellFormat
impl CellFormat
Sourcepub fn heap_bytes(&self) -> usize
pub fn heap_bytes(&self) -> usize
Retained heap payload of this record.
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 (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 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 Hash for CellFormat
impl Hash for CellFormat
Source§impl PartialEq for CellFormat
impl PartialEq 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