pub enum TableEffectTarget {
Section(TableSection),
Row(usize),
RowRange {
start: usize,
end: usize,
},
Column(usize),
ColumnRange {
start: usize,
end: usize,
},
AllRows,
AllCells,
}Expand description
Target selection for a table effect.
Variants§
Section(TableSection)
Apply to an entire section (header/body/footer).
Row(usize)
Apply to a specific row index.
RowRange
Apply to a row range (inclusive bounds).
Column(usize)
Apply to a specific column index.
ColumnRange
Apply to a column range (inclusive bounds).
AllRows
Body rows only.
AllCells
Header + body.
Implementations§
Source§impl TableEffectTarget
impl TableEffectTarget
Sourcepub fn matches_scope(&self, scope: TableEffectScope) -> bool
pub fn matches_scope(&self, scope: TableEffectScope) -> bool
Determine whether this target applies to the given scope.
Trait Implementations§
Source§impl Clone for TableEffectTarget
impl Clone for TableEffectTarget
Source§fn clone(&self) -> TableEffectTarget
fn clone(&self) -> TableEffectTarget
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 moreimpl Copy for TableEffectTarget
Source§impl Debug for TableEffectTarget
impl Debug for TableEffectTarget
impl Eq for TableEffectTarget
Source§impl Hash for TableEffectTarget
impl Hash for TableEffectTarget
Source§impl PartialEq for TableEffectTarget
impl PartialEq for TableEffectTarget
Source§fn eq(&self, other: &TableEffectTarget) -> bool
fn eq(&self, other: &TableEffectTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TableEffectTarget
Auto Trait Implementations§
impl Freeze for TableEffectTarget
impl RefUnwindSafe for TableEffectTarget
impl Send for TableEffectTarget
impl Sync for TableEffectTarget
impl Unpin for TableEffectTarget
impl UnsafeUnpin for TableEffectTarget
impl UnwindSafe for TableEffectTarget
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