pub struct HeatmapAnnotation {
pub precision: usize,
pub font_size: u32,
pub text_color: Option<RGBColor>,
}Expand description
Per-cell numeric annotation settings.
Fields§
§precision: usizeDecimal places shown.
font_size: u32Font size in points.
text_color: Option<RGBColor>Text color; None picks black or white automatically for contrast
against each cell.
Trait Implementations§
Source§impl Clone for HeatmapAnnotation
impl Clone for HeatmapAnnotation
Source§fn clone(&self) -> HeatmapAnnotation
fn clone(&self) -> HeatmapAnnotation
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 HeatmapAnnotation
impl Debug for HeatmapAnnotation
Auto Trait Implementations§
impl Freeze for HeatmapAnnotation
impl RefUnwindSafe for HeatmapAnnotation
impl Send for HeatmapAnnotation
impl Sync for HeatmapAnnotation
impl Unpin for HeatmapAnnotation
impl UnsafeUnpin for HeatmapAnnotation
impl UnwindSafe for HeatmapAnnotation
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