pub struct Sides {
pub top: u16,
pub right: u16,
pub bottom: u16,
pub left: u16,
}Expand description
CSS-style box-model sides: top/right/bottom/left, in terminal cells.
Fields§
§top: u16Cells above.
right: u16Cells to the right.
bottom: u16Cells below.
left: u16Cells to the left.
Implementations§
Trait Implementations§
impl Copy for Sides
impl Eq for Sides
impl StructuralPartialEq for Sides
Auto Trait Implementations§
impl Freeze for Sides
impl RefUnwindSafe for Sides
impl Send for Sides
impl Sync for Sides
impl Unpin for Sides
impl UnsafeUnpin for Sides
impl UnwindSafe for Sides
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