pub struct ChartScale { /* private fields */ }
Implementations§
§impl ChartScale
impl ChartScale
pub fn new() -> Self
pub fn get_after_build_ticks(&mut self) -> &mut FnWithArgs<1>
pub fn after_build_ticks(self, value: FnWithArgs<1>) -> ChartScale
pub fn get_align_to_pixels(&mut self) -> &mut Option<bool>
pub fn align_to_pixels(self, value: impl Into<bool>) -> ChartScale
pub fn get_background_color(&mut self) -> &mut String
pub fn background_color(self, value: impl Into<String>) -> ChartScale
pub fn get_bar_percentage(&mut self) -> &mut NumberString
pub fn bar_percentage(self, value: impl Into<NumberString>) -> ChartScale
pub fn get_before_fit(&mut self) -> &mut FnWithArgs<1>
pub fn before_fit(self, value: FnWithArgs<1>) -> ChartScale
pub fn get_begin_at_zero(&mut self) -> &mut Option<bool>
pub fn begin_at_zero(self, value: impl Into<bool>) -> ChartScale
pub fn get_border(&mut self) -> &mut Option<ScaleBorder>
pub fn border(self, value: impl Into<ScaleBorder>) -> ChartScale
pub fn get_bounds(&mut self) -> &mut String
pub fn bounds(self, value: impl Into<String>) -> ChartScale
pub fn get_category_percentage(&mut self) -> &mut NumberString
pub fn category_percentage(self, value: impl Into<NumberString>) -> ChartScale
pub fn get_display(&mut self) -> &mut Option<bool>
pub fn display(self, value: impl Into<bool>) -> ChartScale
pub fn get_grace(&mut self) -> &mut NumberOrDateString
pub fn grace(self, value: impl Into<NumberOrDateString>) -> ChartScale
pub fn get_grid(&mut self) -> &mut Option<Grid>
pub fn grid(self, value: impl Into<Grid>) -> ChartScale
pub fn get_grouped(&mut self) -> &mut Option<bool>
pub fn grouped(self, value: impl Into<bool>) -> ChartScale
pub fn get_labels(&mut self) -> &mut Option<Vec<NumberOrDateString>>
pub fn labels<T: Into<NumberOrDateString>, U: IntoIterator<Item = T>>( self, value: U, ) -> ChartScale
pub fn get_max(&mut self) -> &mut NumberOrDateString
pub fn max(self, value: impl Into<NumberOrDateString>) -> ChartScale
pub fn get_min(&mut self) -> &mut NumberOrDateString
pub fn min(self, value: impl Into<NumberOrDateString>) -> ChartScale
pub fn get_offset(&mut self) -> &mut Option<bool>
pub fn offset(self, value: impl Into<bool>) -> ChartScale
pub fn get_position(&mut self) -> &mut String
pub fn position(self, value: impl Into<String>) -> ChartScale
pub fn get_reverse(&mut self) -> &mut Option<bool>
pub fn reverse(self, value: impl Into<bool>) -> ChartScale
pub fn get_stacked(&mut self) -> &mut Option<bool>
pub fn stacked(self, value: impl Into<bool>) -> ChartScale
pub fn get_suggested_max(&mut self) -> &mut NumberOrDateString
pub fn suggested_max(self, value: impl Into<NumberOrDateString>) -> ChartScale
pub fn get_suggested_min(&mut self) -> &mut NumberOrDateString
pub fn suggested_min(self, value: impl Into<NumberOrDateString>) -> ChartScale
pub fn get_ticks(&mut self) -> &mut Option<ScaleTicks>
pub fn ticks(self, value: impl Into<ScaleTicks>) -> ChartScale
pub fn get_time(&mut self) -> &mut Option<ScaleTime>
pub fn time(self, value: impl Into<ScaleTime>) -> ChartScale
pub fn get_title(&mut self) -> &mut Option<Title>
pub fn title(self, value: impl Into<Title>) -> ChartScale
pub fn get_scale_type(&mut self) -> &mut String
pub fn scale_type(self, value: impl Into<String>) -> ChartScale
pub fn get_weight(&mut self) -> &mut NumberString
pub fn weight(self, value: impl Into<NumberString>) -> ChartScale
Trait Implementations§
Source§impl Clone for ChartScale
impl Clone for ChartScale
Source§fn clone(&self) -> ChartScale
fn clone(&self) -> ChartScale
Returns a duplicate of the value. Read more
1.0.0 · 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 ChartScale
impl Debug for ChartScale
Source§impl Default for ChartScale
impl Default for ChartScale
Source§fn default() -> ChartScale
fn default() -> ChartScale
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChartScale
impl<'de> Deserialize<'de> for ChartScale
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
Source§impl Ord for ChartScale
impl Ord for ChartScale
Source§fn cmp(&self, other: &ChartScale) -> Ordering
fn cmp(&self, other: &ChartScale) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChartScale
impl PartialEq for ChartScale
Source§impl PartialOrd for ChartScale
impl PartialOrd for ChartScale
Source§impl Serialize for ChartScale
impl Serialize for ChartScale
impl Eq for ChartScale
impl StructuralPartialEq for ChartScale
Auto Trait Implementations§
impl Freeze for ChartScale
impl RefUnwindSafe for ChartScale
impl Send for ChartScale
impl Sync for ChartScale
impl Unpin for ChartScale
impl UnwindSafe for ChartScale
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