pub struct ByValue<O, F> { /* private fields */ }
Expand description
The structure is an implementation of Location
to search for cells with a given content.
Implementations§
Trait Implementations§
Source§impl<O, F, R> Object<R> for ByValue<O, F>
impl<O, F, R> Object<R> for ByValue<O, F>
Source§type Iter = EntityOnce
type Iter = EntityOnce
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.
Source§impl<O: Ord, F: Ord> Ord for ByValue<O, F>
impl<O: Ord, F: Ord> Ord for ByValue<O, F>
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<O: PartialOrd, F: PartialOrd> PartialOrd for ByValue<O, F>
impl<O: PartialOrd, F: PartialOrd> PartialOrd for ByValue<O, F>
impl<O: Copy, F: Copy> Copy for ByValue<O, F>
impl<O: Eq, F: Eq> Eq for ByValue<O, F>
impl<O, F> StructuralPartialEq for ByValue<O, F>
Auto Trait Implementations§
impl<O, F> Freeze for ByValue<O, F>
impl<O, F> RefUnwindSafe for ByValue<O, F>where
O: RefUnwindSafe,
F: RefUnwindSafe,
impl<O, F> Send for ByValue<O, F>
impl<O, F> Sync for ByValue<O, F>
impl<O, F> Unpin for ByValue<O, F>
impl<O, F> UnwindSafe for ByValue<O, F>where
O: UnwindSafe,
F: 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