diff options
Diffstat (limited to 'src/cell.rs')
-rw-r--r-- | src/cell.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cell.rs b/src/cell.rs index 4b54f19..39c418b 100644 --- a/src/cell.rs +++ b/src/cell.rs @@ -176,14 +176,14 @@ impl Cell { } /// Return the height of the cell - #[deprecated(since="0.8.0", note="Will become private in future release. See [issue #87](https://github.com/phsym/prettytable-rs/issues/87)")] - pub fn get_height(&self) -> usize { + // #[deprecated(since="0.8.0", note="Will become private in future release. See [issue #87](https://github.com/phsym/prettytable-rs/issues/87)")] + pub (crate) fn get_height(&self) -> usize { self.content.len() } /// Return the width of the cell - #[deprecated(since="0.8.0", note="Will become private in future release. See [issue #87](https://github.com/phsym/prettytable-rs/issues/87)")] - pub fn get_width(&self) -> usize { + // #[deprecated(since="0.8.0", note="Will become private in future release. See [issue #87](https://github.com/phsym/prettytable-rs/issues/87)")] + pub (crate) fn get_width(&self) -> usize { self.width } @@ -206,8 +206,8 @@ impl Cell { /// `idx` is the line index to print. `col_width` is the column width used to /// fill the cells with blanks so it fits in the table. /// If `ìdx` is higher than this cell's height, it will print empty content - #[deprecated(since="0.8.0", note="Will become private in future release. See [issue #87](https://github.com/phsym/prettytable-rs/issues/87)")] - pub fn print<T: Write + ?Sized>( + // #[deprecated(since="0.8.0", note="Will become private in future release. See [issue #87](https://github.com/phsym/prettytable-rs/issues/87)")] + pub (crate) fn print<T: Write + ?Sized>( &self, out: &mut T, idx: usize, @@ -219,8 +219,8 @@ impl Cell { } /// Apply style then call `print` to print the cell into a terminal - #[deprecated(since="0.8.0", note="Will become private in future release. See [issue #87](https://github.com/phsym/prettytable-rs/issues/87)")] - pub fn print_term<T: Terminal + ?Sized>( + // #[deprecated(since="0.8.0", note="Will become private in future release. See [issue #87](https://github.com/phsym/prettytable-rs/issues/87)")] + pub (crate) fn print_term<T: Terminal + ?Sized>( &self, out: &mut T, idx: usize, |