[][src]Struct criterion_plot::key::Properties

pub struct Properties { /* fields omitted */ }

Properties of the key

Implementations

impl Properties[src]

pub fn hide(&mut self) -> &mut Properties[src]

Hides the key

pub fn show(&mut self) -> &mut Properties[src]

Shows the key

Note The key is shown by default

Trait Implementations

impl Clone for Properties[src]

impl Set<Boxed> for Properties[src]

fn set(&mut self, boxed: Boxed) -> &mut Properties[src]

Select if the key will be surrounded with a box or not

Note The key is not boxed by default

impl Set<Justification> for Properties[src]

fn set(&mut self, justification: Justification) -> &mut Properties[src]

Changes the justification of the text of each entry

Note The text is RightJustified by default

impl Set<Order> for Properties[src]

fn set(&mut self, order: Order) -> &mut Properties[src]

How to order each entry

Note The default order is TextSample

impl Set<Position> for Properties[src]

fn set(&mut self, position: Position) -> &mut Properties[src]

Selects where to place the key

Note By default, the key is placed Inside(Vertical::Top, Horizontal::Right)

impl Set<Stacked> for Properties[src]

fn set(&mut self, stacked: Stacked) -> &mut Properties[src]

Changes how the entries of the key are stacked

impl Set<Title> for Properties[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.