Struct html2text::RenderTableRow
source · pub struct RenderTableRow { /* private fields */ }
Expand description
Render tree table row
Implementations§
source§impl RenderTableRow
impl RenderTableRow
sourcepub fn cells(&self) -> Iter<'_, RenderTableCell>
pub fn cells(&self) -> Iter<'_, RenderTableCell>
Return a mutable iterator over the cells.
sourcepub fn cells_mut(&mut self) -> IterMut<'_, RenderTableCell>
pub fn cells_mut(&mut self) -> IterMut<'_, RenderTableCell>
Return a mutable iterator over the cells.
sourcepub fn num_cells(&self) -> usize
pub fn num_cells(&self) -> usize
Count the number of cells in the row. Takes into account colspan.
sourcepub fn cell_columns(&mut self) -> Vec<(usize, &mut RenderTableCell)>
pub fn cell_columns(&mut self) -> Vec<(usize, &mut RenderTableCell)>
Return an iterator over (column, &cell)s, which takes into account colspan.
sourcepub fn into_cells(self, vertical: bool) -> Vec<RenderNode>
pub fn into_cells(self, vertical: bool) -> Vec<RenderNode>
Return the contained cells as RenderNodes, annotated with their widths if available. Skips cells with no width allocated.
Trait Implementations§
source§impl Clone for RenderTableRow
impl Clone for RenderTableRow
source§fn clone(&self) -> RenderTableRow
fn clone(&self) -> RenderTableRow
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 moreAuto Trait Implementations§
impl Freeze for RenderTableRow
impl !RefUnwindSafe for RenderTableRow
impl Send for RenderTableRow
impl !Sync for RenderTableRow
impl Unpin for RenderTableRow
impl UnwindSafe for RenderTableRow
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