pub struct Columns<R> { /* private fields */ }
Available on crate feature
std
only.Expand description
Column denotes a set of cells on given columns on a Table
.
Implementations§
source§impl<R> Columns<R>
impl<R> Columns<R>
sourcepub fn new(range: R) -> Selfwhere
R: RangeBounds<usize>,
pub fn new(range: R) -> Selfwhere
R: RangeBounds<usize>,
Returns a new instance of Columns
for a range of columns.
If the boundaries are exceeded it may panic.
source§impl Columns<()>
impl Columns<()>
sourcepub fn single(index: usize) -> Column
pub fn single(index: usize) -> Column
Returns a new instance of Columns
for a single column.
If the boundaries are exceeded it may panic.
sourcepub fn first() -> FirstColumn
pub fn first() -> FirstColumn
Returns a new instance of Columns
for a first column.
If the boundaries are exceeded the object will produce no cells.
sourcepub fn last() -> LastColumn
pub fn last() -> LastColumn
Returns a new instance of Columns
for a last column.
If the boundaries are exceeded the object will produce no cells.
Trait Implementations§
source§impl<I, R> Object<I> for Columns<R>
impl<I, R> Object<I> for Columns<R>
§type Iter = ColumnsIter
type Iter = ColumnsIter
An
Iterator
which returns a list of cells.source§fn and<O>(self, rhs: O) -> UnionCombination<Self, O, R>where
Self: Sized,
fn and<O>(self, rhs: O) -> UnionCombination<Self, O, R>where
Self: Sized,
Combines cells.
It doesn’t repeat cells.
source§fn not<O>(self, rhs: O) -> DiffCombination<Self, O, R>where
Self: Sized,
fn not<O>(self, rhs: O) -> DiffCombination<Self, O, R>where
Self: Sized,
Excludes rhs cells from this cells.
Auto Trait Implementations§
impl<R> RefUnwindSafe for Columns<R>where
R: RefUnwindSafe,
impl<R> Send for Columns<R>where
R: Send,
impl<R> Sync for Columns<R>where
R: Sync,
impl<R> Unpin for Columns<R>where
R: Unpin,
impl<R> UnwindSafe for Columns<R>where
R: UnwindSafe,
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