Enum criterion_plot::key::Position
source · [−]pub enum Position {
Inside(Vertical, Horizontal),
Outside(Vertical, Horizontal),
}
Expand description
Position of the key
Variants
Inside(Vertical, Horizontal)
Inside the area surrounded by the four (BottomX, TopX, LeftY and RightY) axes
Outside(Vertical, Horizontal)
Outside of that area
Trait Implementations
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)
impl Copy for Position
Auto Trait Implementations
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
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