pub struct FootprintColors {
pub buy: Rgba,
pub sell: Rgba,
pub volume: Rgba,
pub text: Rgba,
pub poc: Rgba,
}Expand description
Colors of a footprint.
Fields§
§buy: RgbaBuy volume, positive delta, buy imbalances.
sell: RgbaSell volume, negative delta, sell imbalances.
volume: RgbaTotal volume (FootprintMode::Volume).
text: RgbaNumbers.
poc: RgbaOutline of each column’s point of control.
Implementations§
Source§impl FootprintColors
impl FootprintColors
Sourcepub fn from_theme(theme: &Theme) -> Self
pub fn from_theme(theme: &Theme) -> Self
Colors matching theme’s candles and text.
Trait Implementations§
Source§impl Clone for FootprintColors
impl Clone for FootprintColors
impl Copy for FootprintColors
Source§impl Debug for FootprintColors
impl Debug for FootprintColors
Source§impl PartialEq for FootprintColors
impl PartialEq for FootprintColors
impl StructuralPartialEq for FootprintColors
Auto Trait Implementations§
impl Forget for FootprintColors
impl Freeze for FootprintColors
impl Move for FootprintColors
impl RefUnwindSafe for FootprintColors
impl Send for FootprintColors
impl Sync for FootprintColors
impl Unpin for FootprintColors
impl UnsafeUnpin for FootprintColors
impl UnwindSafe for FootprintColors
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