pub struct EmptyRecords { /* private fields */ }
Expand description
Empty representation of Records
.
Implementations§
Trait Implementations§
Source§impl Clone for EmptyRecords
impl Clone for EmptyRecords
Source§fn clone(&self) -> EmptyRecords
fn clone(&self) -> EmptyRecords
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EmptyRecords
impl Debug for EmptyRecords
Source§impl Default for EmptyRecords
impl Default for EmptyRecords
Source§fn default() -> EmptyRecords
fn default() -> EmptyRecords
Returns the “default value” for a type. Read more
Source§impl Records for EmptyRecords
impl Records for EmptyRecords
Source§fn count_rows(&self) -> usize
fn count_rows(&self) -> usize
Returns amount of rows on a grid.
Source§fn count_columns(&self) -> usize
fn count_columns(&self) -> usize
Returns amount of columns on a grid.
Source§fn get_line(&self, _: Position, _: usize) -> &str
fn get_line(&self, _: Position, _: usize) -> &str
Returns a line of a text of a cell by an index.
Source§fn get_width<W>(&self, _: Position, _: W) -> usize
fn get_width<W>(&self, _: Position, _: W) -> usize
Returns a width of a text of a cell by an index.
Source§fn get_line_width<W>(&self, _: Position, _: usize, _: W) -> usize
fn get_line_width<W>(&self, _: Position, _: usize, _: W) -> usize
Returns a width of line of a text of a cell by an index.
Source§fn count_lines(&self, _: Position) -> usize
fn count_lines(&self, _: Position) -> usize
Returns an amount of lines of a text of a cell by an index.
Auto Trait Implementations§
impl Freeze for EmptyRecords
impl RefUnwindSafe for EmptyRecords
impl Send for EmptyRecords
impl Sync for EmptyRecords
impl Unpin for EmptyRecords
impl UnwindSafe for EmptyRecords
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