Struct criterion_plot::TicLabels
source · [−]pub struct TicLabels<P, L> {
pub labels: L,
pub positions: P,
}
Expand description
Labels attached to the tics of an axis
Fields
labels: L
Labels to attach to the tics
positions: P
Position of the tics on the axis
Trait Implementations
sourceimpl<P, L> Set<TicLabels<P, L>> for Propertieswhere
L: IntoIterator,
L::Item: AsRef<str>,
P: IntoIterator,
P::Item: Data,
impl<P, L> Set<TicLabels<P, L>> for Propertieswhere
L: IntoIterator,
L::Item: AsRef<str>,
P: IntoIterator,
P::Item: Data,
sourcefn set(&mut self, tics: TicLabels<P, L>) -> &mut Properties
fn set(&mut self, tics: TicLabels<P, L>) -> &mut Properties
Attaches labels to the tics of an axis
Auto Trait Implementations
impl<P, L> RefUnwindSafe for TicLabels<P, L>where
L: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, L> Send for TicLabels<P, L>where
L: Send,
P: Send,
impl<P, L> Sync for TicLabels<P, L>where
L: Sync,
P: Sync,
impl<P, L> Unpin for TicLabels<P, L>where
L: Unpin,
P: Unpin,
impl<P, L> UnwindSafe for TicLabels<P, L>where
L: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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