#[repr(u8)]pub enum Rel {
TopLeft = 0,
TopCenter = 1,
TopRight = 2,
CenterLeft = 3,
CenterCenter = 4,
CenterRight = 5,
BottomLeft = 6,
BottomCenter = 7,
BottomRight = 8,
}Expand description
A relative position within a 3x3 grid.
Used to specify which parts of a box border or region to render.
Variants§
TopLeft = 0
Top-left corner.
TopCenter = 1
Top center edge.
TopRight = 2
Top-right corner.
CenterLeft = 3
Center-left edge.
CenterCenter = 4
Center of the region.
CenterRight = 5
Center-right edge.
BottomLeft = 6
Bottom-left corner.
BottomCenter = 7
Bottom center edge.
BottomRight = 8
Bottom-right corner.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rel
impl RefUnwindSafe for Rel
impl Send for Rel
impl Sync for Rel
impl Unpin for Rel
impl UnwindSafe for Rel
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