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§
Source§impl Set<Position> for Properties
impl Set<Position> for Properties
Source§fn 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 Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
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