pub struct Axis<'a, L>{ /* private fields */ }Expand description
An X or Y axis for the chart widget
Implementations§
Source§impl<'a, L> Axis<'a, L>
impl<'a, L> Axis<'a, L>
pub fn title(self, title: &'a str) -> Axis<'a, L>
pub fn title_style(self, style: Style) -> Axis<'a, L>
pub fn bounds(self, bounds: [f64; 2]) -> Axis<'a, L>
pub fn labels(self, labels: &'a [L]) -> Axis<'a, L>
pub fn labels_style(self, style: Style) -> Axis<'a, L>
pub fn style(self, style: Style) -> Axis<'a, L>
Trait Implementations§
Auto Trait Implementations§
impl<'a, L> Freeze for Axis<'a, L>
impl<'a, L> RefUnwindSafe for Axis<'a, L>where
L: RefUnwindSafe,
impl<'a, L> Send for Axis<'a, L>where
L: Sync,
impl<'a, L> Sync for Axis<'a, L>where
L: Sync,
impl<'a, L> Unpin for Axis<'a, L>
impl<'a, L> UnwindSafe for Axis<'a, L>where
L: RefUnwindSafe,
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