pub struct Axis {
pub title: String,
pub mode: AxisMode,
pub ticks: Vec<Tick>,
}Expand description
One axis: its title, the mode actually drawn, its ticks.
Fields§
§title: StringThe title, with its unit.
mode: AxisModeWhat it says - may differ from what the view asked (geodesic → projected).
ticks: Vec<Tick>The ticks, round numbers.
Trait Implementations§
impl StructuralPartialEq for Axis
Auto Trait Implementations§
impl Freeze for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnsafeUnpin 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