Struct embedded_plots::axis::Axis[][src]

pub struct Axis<'a> { /* fields omitted */ }

Implementations

impl<'a> Axis<'a>[src]

pub fn new(range: Range<i32>) -> Axis<'a>[src]

pub fn set_scale(self, scale: Scale) -> Axis<'a>[src]

pub fn set_title(self, title: &'a str) -> Axis<'a>[src]

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
[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.