Struct itertools::adaptors::coalesce::DedupPred2CoalescePred
source · pub struct DedupPred2CoalescePred<DP>(DP);
Tuple Fields§
§0: DP
Trait Implementations§
source§impl<DP: Clone> Clone for DedupPred2CoalescePred<DP>
impl<DP: Clone> Clone for DedupPred2CoalescePred<DP>
source§fn clone(&self) -> DedupPred2CoalescePred<DP>
fn clone(&self) -> DedupPred2CoalescePred<DP>
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<DP, T> CoalescePredicate<T, T> for DedupPred2CoalescePred<DP>where
DP: DedupPredicate<T>,
impl<DP, T> CoalescePredicate<T, T> for DedupPred2CoalescePred<DP>where
DP: DedupPredicate<T>,
fn coalesce_pair(&mut self, t: T, item: T) -> Result<T, (T, T)>
Auto Trait Implementations§
impl<DP> Freeze for DedupPred2CoalescePred<DP>where
DP: Freeze,
impl<DP> RefUnwindSafe for DedupPred2CoalescePred<DP>where
DP: RefUnwindSafe,
impl<DP> Send for DedupPred2CoalescePred<DP>where
DP: Send,
impl<DP> Sync for DedupPred2CoalescePred<DP>where
DP: Sync,
impl<DP> Unpin for DedupPred2CoalescePred<DP>where
DP: Unpin,
impl<DP> UnwindSafe for DedupPred2CoalescePred<DP>where
DP: 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more