pub struct TableRowPosition { /* private fields */ }Expand description
The visible position of one typed body row during composition.
Implementations§
Source§impl TableRowPosition
impl TableRowPosition
Sourcepub const fn index(self) -> usize
pub const fn index(self) -> usize
Returns this row’s zero-based index after offsets are applied.
Sourcepub const fn is_empty(self) -> bool
pub const fn is_empty(self) -> bool
Returns whether there are no visible body rows.
A formatter is only called for an existing row, so this is always
false for positions supplied by TableRowPresentation.
Trait Implementations§
Source§impl Clone for TableRowPosition
impl Clone for TableRowPosition
Source§fn clone(&self) -> TableRowPosition
fn clone(&self) -> TableRowPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TableRowPosition
impl Debug for TableRowPosition
Source§impl PartialEq for TableRowPosition
impl PartialEq for TableRowPosition
Source§fn eq(&self, other: &TableRowPosition) -> bool
fn eq(&self, other: &TableRowPosition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TableRowPosition
impl Eq for TableRowPosition
impl StructuralPartialEq for TableRowPosition
Auto Trait Implementations§
impl Freeze for TableRowPosition
impl RefUnwindSafe for TableRowPosition
impl Send for TableRowPosition
impl Sync for TableRowPosition
impl Unpin for TableRowPosition
impl UnsafeUnpin for TableRowPosition
impl UnwindSafe for TableRowPosition
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