pub struct TableRowPresentation<'a, T> { /* private fields */ }Expand description
Typed row formatting and optional complete cell-style replacements.
Implementations§
Source§impl<'a, T: 'a> TableRowPresentation<'a, T>
impl<'a, T: 'a> TableRowPresentation<'a, T>
Sourcepub fn cell_style<S>(self, cell_style: S) -> Self
pub fn cell_style<S>(self, cell_style: S) -> Self
Replaces the optional typed cell-style policy.
The callback receives the complete column or table fallback style.
None keeps that style; Some is a complete replacement.
Trait Implementations§
Source§impl<'a, T: Clone> Clone for TableRowPresentation<'a, T>
impl<'a, T: Clone> Clone for TableRowPresentation<'a, T>
Source§fn clone(&self) -> TableRowPresentation<'a, T>
fn clone(&self) -> TableRowPresentation<'a, T>
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 moreAuto Trait Implementations§
impl<'a, T> Freeze for TableRowPresentation<'a, T>
impl<'a, T> !RefUnwindSafe for TableRowPresentation<'a, T>
impl<'a, T> !Send for TableRowPresentation<'a, T>
impl<'a, T> !Sync for TableRowPresentation<'a, T>
impl<'a, T> Unpin for TableRowPresentation<'a, T>
impl<'a, T> UnsafeUnpin for TableRowPresentation<'a, T>
impl<'a, T> !UnwindSafe for TableRowPresentation<'a, T>
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