pub struct ByColumnName<S>(/* private fields */);
Expand description
The structure is an implementation of Location
to search for a column by it’s name.
A name is considered be a value in a first row.
So even if in reality there’s no header, the first row will be considered to be 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 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<S: Debug> Debug for ByColumnName<S>
impl<S: Debug> Debug for ByColumnName<S>
Source§impl<S: Default> Default for ByColumnName<S>
impl<S: Default> Default for ByColumnName<S>
Source§fn default() -> ByColumnName<S>
fn default() -> ByColumnName<S>
Returns the “default value” for a type. Read more
Source§impl<S: Hash> Hash for ByColumnName<S>
impl<S: Hash> Hash for ByColumnName<S>
Source§impl<R, S> Location<R> for ByColumnName<S>
impl<R, S> Location<R> for ByColumnName<S>
Source§impl<S, R> Object<R> for ByColumnName<S>
impl<S, R> Object<R> for ByColumnName<S>
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.
Source§impl<S: Ord> Ord for ByColumnName<S>
impl<S: Ord> Ord for ByColumnName<S>
Source§fn cmp(&self, other: &ByColumnName<S>) -> Ordering
fn cmp(&self, other: &ByColumnName<S>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<S: PartialEq> PartialEq for ByColumnName<S>
impl<S: PartialEq> PartialEq for ByColumnName<S>
Source§impl<S: PartialOrd> PartialOrd for ByColumnName<S>
impl<S: PartialOrd> PartialOrd for ByColumnName<S>
impl<S: Copy> Copy for ByColumnName<S>
impl<S: Eq> Eq for ByColumnName<S>
impl<S> StructuralPartialEq 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