Struct criterion_plot::key::Properties
source · [−]pub struct Properties { /* private fields */ }
Expand description
Properties of the key
Implementations
sourceimpl Properties
impl Properties
sourcepub fn hide(&mut self) -> &mut Properties
pub fn hide(&mut self) -> &mut Properties
Hides the key
sourcepub fn show(&mut self) -> &mut Properties
pub fn show(&mut self) -> &mut Properties
Shows the key
Note The key is shown by default
Trait Implementations
sourceimpl Clone for Properties
impl Clone for Properties
sourcefn clone(&self) -> Properties
fn clone(&self) -> Properties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Set<Boxed> for Properties
impl Set<Boxed> for Properties
sourcefn set(&mut self, boxed: Boxed) -> &mut Properties
fn set(&mut self, boxed: Boxed) -> &mut Properties
Select if the key will be surrounded with a box or not
Note The key is not boxed by default
sourceimpl Set<Justification> for Properties
impl Set<Justification> for Properties
sourcefn set(&mut self, justification: Justification) -> &mut Properties
fn set(&mut self, justification: Justification) -> &mut Properties
Changes the justification of the text of each entry
Note The text is RightJustified
by default
sourceimpl Set<Order> for Properties
impl Set<Order> for Properties
sourcefn set(&mut self, order: Order) -> &mut Properties
fn set(&mut self, order: Order) -> &mut Properties
How to order each entry
Note The default order is TextSample
sourceimpl Set<Position> for Properties
impl Set<Position> for Properties
sourcefn set(&mut self, position: Position) -> &mut Properties
fn set(&mut self, position: Position) -> &mut Properties
Selects where to place the key
Note By default, the key is placed Inside(Vertical::Top, Horizontal::Right)
sourceimpl Set<Stacked> for Properties
impl Set<Stacked> for Properties
sourcefn set(&mut self, stacked: Stacked) -> &mut Properties
fn set(&mut self, stacked: Stacked) -> &mut Properties
Changes how the entries of the key are stacked
sourceimpl Set<Title> for Properties
impl Set<Title> for Properties
sourcefn set(&mut self, title: Title) -> &mut Properties
fn set(&mut self, title: Title) -> &mut Properties
Sets some property
Auto Trait Implementations
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
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