pub struct EqByWith<S: ?Sized, T: ?Sized + PartialEq<T>, F: Fn(&S) -> T, C: EqClass<T>>(/* private fields */);Expand description
See eq_by_with.
Trait Implementations§
Source§impl<S: Clone + ?Sized, T: Clone + ?Sized + PartialEq<T>, F: Clone + Fn(&S) -> T, C: Clone + EqClass<T>> Clone for EqByWith<S, T, F, C>
impl<S: Clone + ?Sized, T: Clone + ?Sized + PartialEq<T>, F: Clone + Fn(&S) -> T, C: Clone + EqClass<T>> Clone for EqByWith<S, T, F, C>
Source§impl<S: Debug + ?Sized, T: Debug + ?Sized + PartialEq<T>, F: Debug + Fn(&S) -> T, C: Debug + EqClass<T>> Debug for EqByWith<S, T, F, C>
impl<S: Debug + ?Sized, T: Debug + ?Sized + PartialEq<T>, F: Debug + Fn(&S) -> T, C: Debug + EqClass<T>> Debug for EqByWith<S, T, F, C>
impl<S: Copy + ?Sized, T: Copy + ?Sized + PartialEq<T>, F: Copy + Fn(&S) -> T, C: Copy + EqClass<T>> Copy for EqByWith<S, T, F, C>
Auto Trait Implementations§
impl<S, T, F, C> Freeze for EqByWith<S, T, F, C>
impl<S, T, F, C> RefUnwindSafe for EqByWith<S, T, F, C>
impl<S, T, F, C> !Send for EqByWith<S, T, F, C>
impl<S, T, F, C> !Sync for EqByWith<S, T, F, C>
impl<S, T, F, C> Unpin for EqByWith<S, T, F, C>
impl<S, T, F, C> UnwindSafe for EqByWith<S, T, F, C>
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