pub enum Anchor {
Center,
TopLeft,
TopRight,
BottomLeft,
BottomRight,
TopCenter,
BottomCenter,
LeftCenter,
RightCenter,
}Expand description
Anchor point for positioning an overlay on the terminal screen.
Variants§
Center
Center of the screen.
TopLeft
Top-left corner.
TopRight
Top-right corner.
BottomLeft
Bottom-left corner.
BottomRight
Bottom-right corner.
TopCenter
Top edge, centered horizontally.
BottomCenter
Bottom edge, centered horizontally.
LeftCenter
Left edge, centered vertically.
RightCenter
Right edge, centered vertically.
Trait Implementations§
impl Copy for Anchor
impl StructuralPartialEq for Anchor
Auto Trait Implementations§
impl Freeze for Anchor
impl RefUnwindSafe for Anchor
impl Send for Anchor
impl Sync for Anchor
impl Unpin for Anchor
impl UnsafeUnpin for Anchor
impl UnwindSafe for Anchor
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