pub struct ByContent<S>(/* private fields */);
Expand description
The structure is an implementation of Location
to search for cells with a given content.
Implementations§
Trait Implementations§
Source§impl<R, S> Location<R> for ByContent<S>
impl<R, S> Location<R> for ByContent<S>
Source§impl<S, R> Object<R> for ByContent<S>
impl<S, R> Object<R> for ByContent<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 ByContent<S>
impl<S: Ord> Ord for ByContent<S>
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: PartialOrd> PartialOrd for ByContent<S>
impl<S: PartialOrd> PartialOrd for ByContent<S>
impl<S: Copy> Copy for ByContent<S>
impl<S: Eq> Eq for ByContent<S>
impl<S> StructuralPartialEq for ByContent<S>
Auto Trait Implementations§
impl<S> Freeze for ByContent<S>where
S: Freeze,
impl<S> RefUnwindSafe for ByContent<S>where
S: RefUnwindSafe,
impl<S> Send for ByContent<S>where
S: Send,
impl<S> Sync for ByContent<S>where
S: Sync,
impl<S> Unpin for ByContent<S>where
S: Unpin,
impl<S> UnwindSafe for ByContent<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