pub struct Modifier {Show 14 fields
pub border_color: Option<Rgb>,
pub border_style: Option<BorderStyle>,
pub borders: HashSet<BorderSide>,
pub color: Option<Rgb>,
pub font_color: Option<Rgb>,
pub font_family: Option<String>,
pub font_size: Option<u8>,
pub formats: HashSet<TextFormat>,
pub horizontal_align: Option<HorizontalAlign>,
pub lock: bool,
pub note: Option<String>,
pub number_format: Option<NumberFormat>,
pub var: Option<String>,
pub vertical_align: Option<VerticalAlign>,
}Expand description
All of the traits that can be set on a cell modifier
Fields§
§border_color: Option<Rgb>§border_style: Option<BorderStyle>§borders: HashSet<BorderSide>§color: Option<Rgb>§font_color: Option<Rgb>§font_family: Option<String>§font_size: Option<u8>§formats: HashSet<TextFormat>§horizontal_align: Option<HorizontalAlign>§lock: bool§note: Option<String>§number_format: Option<NumberFormat>§var: Option<String>§vertical_align: Option<VerticalAlign>Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Modifier
impl<'de> Deserialize<'de> for Modifier
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
source§impl Into<Modifier> for RowModifier
impl Into<Modifier> for RowModifier
source§impl PartialEq for Modifier
impl PartialEq for Modifier
impl StructuralPartialEq for Modifier
Auto Trait Implementations§
impl RefUnwindSafe for Modifier
impl Send for Modifier
impl Sync for Modifier
impl Unpin for Modifier
impl UnwindSafe for Modifier
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().