#[non_exhaustive]pub struct TablePresentation { /* private fields */ }Expand description
Table decoration resolved from the attributes at the table’s source position.
Implementations§
Source§impl TablePresentation
impl TablePresentation
Sourcepub fn from_attributes<'value>(
metadata: &'value BlockMetadata<'_>,
lookup: impl FnMut(&str) -> Option<&'value DocumentAttributeValue<'value>>,
) -> Self
pub fn from_attributes<'value>( metadata: &'value BlockMetadata<'_>, lookup: impl FnMut(&str) -> Option<&'value DocumentAttributeValue<'value>>, ) -> Self
Resolve local table decoration and the document defaults in effect.
Sourcepub const fn frame(self) -> TableFrame
pub const fn frame(self) -> TableFrame
The outer border applied to the table.
Sourcepub const fn stripes(self) -> TableStripes
pub const fn stripes(self) -> TableStripes
The body rows that receive a background fill.
Trait Implementations§
Source§impl Clone for TablePresentation
impl Clone for TablePresentation
impl Copy for TablePresentation
Source§impl Debug for TablePresentation
impl Debug for TablePresentation
Source§impl Default for TablePresentation
impl Default for TablePresentation
impl Eq for TablePresentation
Source§impl PartialEq for TablePresentation
impl PartialEq for TablePresentation
impl StructuralPartialEq for TablePresentation
Auto Trait Implementations§
impl Freeze for TablePresentation
impl RefUnwindSafe for TablePresentation
impl Send for TablePresentation
impl Sync for TablePresentation
impl Unpin for TablePresentation
impl UnsafeUnpin for TablePresentation
impl UnwindSafe for TablePresentation
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