pub struct CfDataBar {
pub positive_color: Color,
pub negative_color: Color,
pub is_gradient: bool,
pub value: f64,
pub axis_position: f64,
pub show_value: bool,
}Expand description
Data bar decoration for a cell.
Fields§
§positive_color: Color§negative_color: Color§is_gradient: bool§value: f64Proportion of the bar to fill, in [0.0, 1.0].
axis_position: f64Proportion [0,1] at which the zero axis falls within the cell width.
show_value: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for CfDataBar
impl<'de> Deserialize<'de> for CfDataBar
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 CfDataBar
impl RefUnwindSafe for CfDataBar
impl Send for CfDataBar
impl Sync for CfDataBar
impl Unpin for CfDataBar
impl UnsafeUnpin for CfDataBar
impl UnwindSafe for CfDataBar
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