pub struct ExtendedStyle {
pub style: Style,
pub icon: Option<CfIcon>,
pub data_bar: Option<CfDataBar>,
pub rating: Option<CfRating>,
}Expand description
The full visual description of a cell, including any conditional formatting overlay.
Fields§
§style: StyleThe final cell style (base style with any CF dxf/color-scale overlay applied).
icon: Option<CfIcon>Set when a icon-set rule applies to the cell.
data_bar: Option<CfDataBar>Set when a data-bar rule applies to the cell.
rating: Option<CfRating>Set when a rating rule (IconSetRating3/4/5) applies to the cell.
Trait Implementations§
Source§impl Clone for ExtendedStyle
impl Clone for ExtendedStyle
Source§fn clone(&self) -> ExtendedStyle
fn clone(&self) -> ExtendedStyle
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 ExtendedStyle
impl Debug for ExtendedStyle
Source§impl<'de> Deserialize<'de> for ExtendedStyle
impl<'de> Deserialize<'de> for ExtendedStyle
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 ExtendedStyle
impl RefUnwindSafe for ExtendedStyle
impl Send for ExtendedStyle
impl Sync for ExtendedStyle
impl Unpin for ExtendedStyle
impl UnsafeUnpin for ExtendedStyle
impl UnwindSafe for ExtendedStyle
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