pub struct ByColumnName<S>(/* private fields */);
Expand description
The structure is an implementaion of Locator
to search for a column by it’s name.
A name is considerent be a value in a first row.
So even if in reality there’s no header, first row will be consideret the one.
Implementations§
Trait Implementations§
Source§impl<S: Clone> Clone for ByColumnName<S>
impl<S: Clone> Clone for ByColumnName<S>
Source§fn clone(&self) -> ByColumnName<S>
fn clone(&self) -> ByColumnName<S>
Returns a copy 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<S: Debug> Debug for ByColumnName<S>
impl<S: Debug> Debug for ByColumnName<S>
Source§impl<S> Locator for ByColumnName<S>
impl<S> Locator for ByColumnName<S>
Source§impl<S> Object for ByColumnName<S>
impl<S> Object for ByColumnName<S>
Source§fn cells<R>(&self, table: &Table<R>) -> Self::Iterwhere
R: Records,
fn cells<R>(&self, table: &Table<R>) -> Self::Iterwhere
R: Records,
Cells returns a set of coordinates of cells
Source§fn and<O>(self, rhs: O) -> UnionCombination<Self, O>where
O: Object,
fn and<O>(self, rhs: O) -> UnionCombination<Self, O>where
O: Object,
Combines cells.
It doesn’t repeat cells.
Source§fn not<O>(self, rhs: O) -> DiffCombination<Self, O>where
O: Object,
fn not<O>(self, rhs: O) -> DiffCombination<Self, O>where
O: Object,
Excludes rhs cells from this cells.
Source§fn intersect<O>(self, rhs: O) -> IntersectionCombination<Self, O>where
O: Object,
fn intersect<O>(self, rhs: O) -> IntersectionCombination<Self, O>where
O: Object,
Returns cells which are present in both
Object
s only.Source§fn inverse(self) -> InversionCombination<Self>
fn inverse(self) -> InversionCombination<Self>
Returns cells which are not present in target
Object
.impl<S: Copy> Copy for ByColumnName<S>
Auto Trait Implementations§
impl<S> Freeze for ByColumnName<S>where
S: Freeze,
impl<S> RefUnwindSafe for ByColumnName<S>where
S: RefUnwindSafe,
impl<S> Send for ByColumnName<S>where
S: Send,
impl<S> Sync for ByColumnName<S>where
S: Sync,
impl<S> Unpin for ByColumnName<S>where
S: Unpin,
impl<S> UnwindSafe for ByColumnName<S>where
S: 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