pub fn inner(&self) -> Rect {
        let mut inner = self.area;
        if self.borders.intersects(Borders::LEFT) {
            inner.x += 1;
            inner.width -= 1;
        }
        if self.borders.intersects(Borders::TOP) {
            inner.y += 1;
            inner.height -= 1;
        }
        if self.borders.intersects(Borders::RIGHT) {
            inner.width -= 1;
        }
        if self.borders.intersects(Borders::BOTTOM) {
            inner.height -= 1;
        }
        inner
    }
/// Compute the inner area of a block based on its border visibility rules.
Compute the inner area of a block based on its border visibility rules.
Compute the inner area of a block based on its border visibility rules .
pub fn inner(&self) -> Rect {
        let mut inner = self.area;
        if self.borders.intersects(Borders::LEFT) {
            inner.x += 1;
            inner.width -= 1;
        }
        if self.borders.intersects(Borders::TOP) {
            inner.y += 1;
            inner.height -= 1;
        }
        if self.borders.intersects(Borders::RIGHT) {
            inner.width -= 1;
        }
        if self.borders.intersects(Borders::BOTTOM) {
            inner.height -= 1;
        }
        inner
    }
pub fn inner ( & self ) -> Rect { let mut inner = self . area ; if self . borders . intersects ( Borders :: LEFT ) { inner . x += 1 ; inner . width -= 1 ; } if self . borders . intersects ( Borders :: TOP ) { inner . y += 1 ; inner . height -= 1 ; } if self . borders . intersects ( Borders :: RIGHT ) { inner . width -= 1 ; } if self . borders . intersects ( Borders :: BOTTOM ) { inner . height -= 1 ; } inner }
Compute the inner area of a block based on its border visibility rules.
Compute the inner area of a block based on its border visibility rules .
&self
&self