Struct embedded_plots::axis::Axis
source · [−]pub struct Axis<'a> { /* private fields */ }Expand description
Display-agnostic axis object, only contains scale range and title, can be converted to drawable axis for specific display
Implementations
sourceimpl<'a> Axis<'a>
impl<'a> Axis<'a>
builder methods to modify axis decoration
sourcepub fn into_drawable_axis<C, F>(
self,
placement: Placement
) -> DrawableAxis<'a, C, F> where
C: PixelColor + Default,
F: Font,
TextStyle<C, F>: Clone + Default,
pub fn into_drawable_axis<C, F>(
self,
placement: Placement
) -> DrawableAxis<'a, C, F> where
C: PixelColor + Default,
F: Font,
TextStyle<C, F>: Clone + Default,
turn axis data into drawable object suitable for specific display
Auto Trait Implementations
impl<'a> RefUnwindSafe for Axis<'a>
impl<'a> Send for Axis<'a>
impl<'a> Sync for Axis<'a>
impl<'a> Unpin for Axis<'a>
impl<'a> UnwindSafe for Axis<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more