pub struct EmptyRecords { /* private fields */ }
Expand description
Empty representation of Records
.
Implementations
Trait Implementations
sourceimpl Clone for EmptyRecords
impl Clone for EmptyRecords
sourcefn clone(&self) -> EmptyRecords
fn clone(&self) -> EmptyRecords
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EmptyRecords
impl Debug for EmptyRecords
sourceimpl Default for EmptyRecords
impl Default for EmptyRecords
sourcefn default() -> EmptyRecords
fn default() -> EmptyRecords
Returns the “default value” for a type. Read more
sourceimpl Records for EmptyRecords
impl Records for EmptyRecords
sourcefn count_rows(&self) -> usize
fn count_rows(&self) -> usize
Returns amount of rows on a grid.
sourcefn count_columns(&self) -> usize
fn count_columns(&self) -> usize
Returns amount of columns on a grid.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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 RefUnwindSafe for EmptyRecords
impl Send for EmptyRecords
impl Sync for EmptyRecords
impl Unpin for EmptyRecords
impl UnwindSafe for EmptyRecords
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more