pub struct TernaryAxisConfig { /* private fields */ }Expand description
Configuration for one semantic axis. It is supplied through
TernaryMeshConfig::axis, axis_a, axis_b, or axis_c.
Implementations§
Source§impl TernaryAxisConfig
impl TernaryAxisConfig
pub fn visible(&mut self, value: bool) -> &mut Self
pub fn major_ticks(&mut self, value: TickSpec) -> &mut Self
pub fn minor_ticks(&mut self, value: TickSpec) -> &mut Self
pub fn hide_minor_ticks(&mut self) -> &mut Self
pub fn draw_major_grid(&mut self, value: bool) -> &mut Self
pub fn draw_minor_grid(&mut self, value: bool) -> &mut Self
pub fn draw_ticks(&mut self, value: bool) -> &mut Self
pub fn draw_tick_labels(&mut self, value: bool) -> &mut Self
pub fn tick_range_mode(&mut self, value: TickRangeMode) -> &mut Self
pub fn cropped_axis_policy(&mut self, value: CroppedAxisPolicy) -> &mut Self
pub fn endpoint_label_policy(&mut self, value: EndpointLabelPolicy) -> &mut Self
pub fn major_tick_style<S: Into<ShapeStyle>>(&mut self, value: S) -> &mut Self
pub fn minor_tick_style<S: Into<ShapeStyle>>(&mut self, value: S) -> &mut Self
pub fn major_tick_length(&mut self, value: u32) -> &mut Self
pub fn minor_tick_length(&mut self, value: u32) -> &mut Self
pub fn major_tick_direction(&mut self, value: TickDirection) -> &mut Self
pub fn minor_tick_direction(&mut self, value: TickDirection) -> &mut Self
pub fn major_grid_style<S: Into<ShapeStyle>>(&mut self, value: S) -> &mut Self
pub fn minor_grid_style<S: Into<ShapeStyle>>(&mut self, value: S) -> &mut Self
pub fn tick_label_style(&mut self, value: AxisTextStyle) -> &mut Self
pub fn tick_label_offset(&mut self, value: u32) -> &mut Self
pub fn label_format(&mut self, value: AxisLabelFormat) -> &mut Self
pub fn label_formatter<F>(&mut self, value: F) -> &mut Self
pub fn axis_name<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn hide_axis_name(&mut self) -> &mut Self
pub fn axis_name_style(&mut self, value: AxisTextStyle) -> &mut Self
pub fn axis_name_offset(&mut self, value: u32) -> &mut Self
pub fn axis_name_position(&mut self, value: AxisNamePosition) -> &mut Self
Trait Implementations§
Source§impl Clone for TernaryAxisConfig
impl Clone for TernaryAxisConfig
Auto Trait Implementations§
impl !RefUnwindSafe for TernaryAxisConfig
impl !UnwindSafe for TernaryAxisConfig
impl Freeze for TernaryAxisConfig
impl Send for TernaryAxisConfig
impl Sync for TernaryAxisConfig
impl Unpin for TernaryAxisConfig
impl UnsafeUnpin for TernaryAxisConfig
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