pub struct TableEffectScope {
pub section: TableSection,
pub row: Option<usize>,
pub column: Option<usize>,
}Expand description
Scope used to resolve table effects without per-cell work.
Fields§
§section: TableSectionSection being rendered.
row: Option<usize>Optional row index within the section.
column: Option<usize>Optional column index within the section.
Implementations§
Source§impl TableEffectScope
impl TableEffectScope
Sourcepub const fn section(section: TableSection) -> Self
pub const fn section(section: TableSection) -> Self
Scope for a whole section (no row/column specificity).
Sourcepub const fn row(section: TableSection, row: usize) -> Self
pub const fn row(section: TableSection, row: usize) -> Self
Scope for a specific row within a section.
Sourcepub const fn column(section: TableSection, column: usize) -> Self
pub const fn column(section: TableSection, column: usize) -> Self
Scope for a specific column within a section.
Trait Implementations§
Source§impl Clone for TableEffectScope
impl Clone for TableEffectScope
Source§fn clone(&self) -> TableEffectScope
fn clone(&self) -> TableEffectScope
Returns a duplicate 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 moreSource§impl Debug for TableEffectScope
impl Debug for TableEffectScope
Source§impl Hash for TableEffectScope
impl Hash for TableEffectScope
Source§impl PartialEq for TableEffectScope
impl PartialEq for TableEffectScope
impl Copy for TableEffectScope
impl Eq for TableEffectScope
impl StructuralPartialEq for TableEffectScope
Auto Trait Implementations§
impl Freeze for TableEffectScope
impl RefUnwindSafe for TableEffectScope
impl Send for TableEffectScope
impl Sync for TableEffectScope
impl Unpin for TableEffectScope
impl UnsafeUnpin for TableEffectScope
impl UnwindSafe for TableEffectScope
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