pub struct Theme {
pub background: String,
pub text: String,
pub candle_bull: String,
pub candle_bear: String,
pub marker_buy: String,
pub marker_sell: String,
pub marker_exit: String,
pub marker_hold: String,
pub fallback: String,
}Expand description
Central style source for render_scene_svg, mirroring the color values otherwise
hardcoded in crate::viz::render_chart_svg.
Fields§
§background: String§text: String§candle_bull: String§candle_bear: String§marker_buy: String§marker_sell: String§marker_exit: String§marker_hold: String§fallback: StringTrait Implementations§
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnsafeUnpin for Theme
impl UnwindSafe for Theme
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