pub struct ColorBar { /* private fields */ }
Implementations§
source§impl ColorBar
impl ColorBar
pub fn new() -> Self
pub fn background_color<C: Color>(self, background_color: C) -> Self
pub fn border_color<C: Color>(self, border_color: C) -> Self
pub fn border_width(self, border_width: usize) -> Self
pub fn dtick(self, dtick: f64) -> Self
pub fn exponent_format(self, exponent_format: ExponentFormat) -> Self
pub fn len(self, len: usize) -> Self
pub fn len_mode(self, len_mode: ThicknessMode) -> Self
pub fn n_ticks(self, n_ticks: usize) -> Self
pub fn outline_color<C: Color>(self, outline_color: C) -> Self
pub fn outline_width(self, outline_width: usize) -> Self
pub fn separate_thousands(self, separate_thousands: bool) -> Self
pub fn show_exponent(self, show_exponent: Show) -> Self
pub fn show_tick_labels(self, show_tick_labels: bool) -> Self
pub fn show_tick_prefix(self, show_tick_prefix: Show) -> Self
pub fn show_tick_suffix(self, show_tick_suffix: Show) -> Self
pub fn thickness(self, thickness: usize) -> Self
pub fn thickness_mode(self, thickness_mode: ThicknessMode) -> Self
pub fn tick_angle(self, tick_angle: f64) -> Self
pub fn tick_color<C: Color>(self, tick_color: C) -> Self
pub fn tick_font(self, tick_font: Font) -> Self
pub fn tick_format(self, tick_format: &str) -> Self
pub fn tick_format_stops(self, tick_format_stops: Vec<TickFormatStop>) -> Self
pub fn tick_len(self, tick_len: usize) -> Self
pub fn tick_mode(self, tick_mode: TickMode) -> Self
pub fn tick_prefix(self, tick_prefix: &str) -> Self
pub fn tick_suffix(self, tick_suffix: &str) -> Self
pub fn tick_text<S: AsRef<str>>(self, tick_text: Vec<S>) -> Self
pub fn tick_vals(self, tick_vals: Vec<f64>) -> Self
pub fn tick_width(self, tick_width: usize) -> Self
pub fn tick0(self, tick0: f64) -> Self
pub fn ticks(self, ticks: Ticks) -> Self
pub fn title(self, title: Title) -> Self
pub fn x(self, x: f64) -> Self
pub fn x_anchor(self, x_anchor: Anchor) -> Self
pub fn x_pad(self, x_pad: f64) -> Self
pub fn y(self, y: f64) -> Self
pub fn y_anchor(self, y_anchor: Anchor) -> Self
pub fn y_pad(self, y_pad: f64) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ColorBar
impl Send for ColorBar
impl Sync for ColorBar
impl Unpin for ColorBar
impl !UnwindSafe for ColorBar
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