pub struct CfLook {
pub style: Option<Style>,
pub scale_fill: Option<[u8; 3]>,
pub bar: Option<(f32, [u8; 3], bool)>,
pub icon: Option<(String, usize)>,
pub hide_value: bool,
}Expand description
The conditional look of one cell.
Fields§
§style: Option<Style>Differential style (only non-default parts apply).
scale_fill: Option<[u8; 3]>Fill from a colour scale (RGB).
bar: Option<(f32, [u8; 3], bool)>Data bar: fraction 0..=1 of the cell width, colour, gradient.
icon: Option<(String, usize)>Icon: set name and index (0 = lowest).
hide_value: boolTrait Implementations§
impl StructuralPartialEq for CfLook
Auto Trait Implementations§
impl Freeze for CfLook
impl RefUnwindSafe for CfLook
impl Send for CfLook
impl Sync for CfLook
impl Unpin for CfLook
impl UnsafeUnpin for CfLook
impl UnwindSafe for CfLook
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