pub struct Searching<Result>(/* private fields */);Expand description
Helper class for Search, indicates that the current element is not the one searched for.
Trait Implementations§
source§impl<First, Other, T, Result> Search<T, Searching<Result>> for Tuple<First, Other>
impl<First, Other, T, Result> Search<T, Searching<Result>> for Tuple<First, Other>
§type TakeRemainder = Tuple<First, <Other as Search<T, Result>>::TakeRemainder>
type TakeRemainder = Tuple<First, <Other as Search<T, Result>>::TakeRemainder>
The type of the remainder of the tuple after taking out the searched element.
source§fn take(self) -> (T, Self::TakeRemainder)
fn take(self) -> (T, Self::TakeRemainder)
Take out the searched element, and get the remainder of tuple. Read more
Auto Trait Implementations§
impl<Result> RefUnwindSafe for Searching<Result>where
Result: RefUnwindSafe,
impl<Result> Send for Searching<Result>where
Result: Send,
impl<Result> Sync for Searching<Result>where
Result: Sync,
impl<Result> Unpin for Searching<Result>where
Result: Unpin,
impl<Result> UnwindSafe for Searching<Result>where
Result: 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