pub struct FieldTable<'a> {
pub columns: &'a [ColumnDef<'a>],
pub rows: &'a [&'a [Value]],
}Expand description
A table of homogeneous field values from a loop.
Producers emit this instead of a begin_for/end_for loop when every
iteration has the same fixed set of fields. The default SyntaxWrite
implementation expands it into a loop; compact renderers can collapse it
into an inline list or aligned table.
Fields§
§columns: &'a [ColumnDef<'a>]§rows: &'a [&'a [Value]]Auto Trait Implementations§
impl<'a> Freeze for FieldTable<'a>
impl<'a> RefUnwindSafe for FieldTable<'a>
impl<'a> Send for FieldTable<'a>
impl<'a> Sync for FieldTable<'a>
impl<'a> Unpin for FieldTable<'a>
impl<'a> UnsafeUnpin for FieldTable<'a>
impl<'a> UnwindSafe for FieldTable<'a>
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