pub struct Axis {
pub min_value: f64,
pub max_value: f64,
pub interval_count: u8,
pub scale_interval_pix: f64,
pub decimal_places: u8,
/* private fields */
}Fields§
§min_value: f64§max_value: f64§interval_count: u8§scale_interval_pix: f64§decimal_places: u8Implementations§
Source§impl Axis
impl Axis
pub fn rotate(self) -> Self
pub fn create_points(&self) -> Vec<DisplayPoint>
pub fn set_axis_auto(max: f64, min: f64, total_size: usize) -> Axis
pub fn set_axis_manual( min_value: f64, max_value: f64, interval_count: u8, decimal_places: u8, size: usize, ) -> Axis
pub fn new( min_value: f64, max_value: f64, interval_count: u8, decimal_places: u8, ) -> Axis
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnwindSafe for Axis
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