pub struct ElementEquality {
pub ty: Type,
pub recipe: EqualityRecipe,
}Expand description
The equality of the elements of a container, which Go == cannot test.
Fields§
§ty: Type§recipe: EqualityRecipeTrait Implementations§
Source§impl Clone for ElementEquality
impl Clone for ElementEquality
Source§impl Debug for ElementEquality
impl Debug for ElementEquality
Source§impl PartialEq for ElementEquality
impl PartialEq for ElementEquality
impl StructuralPartialEq for ElementEquality
Auto Trait Implementations§
impl Forget for ElementEquality
impl Freeze for ElementEqualitywhere
*const ArcInner<Box<[Type]>> is !null: Freeze,
PhantomData<ArcInner<Box<[Type]>>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<FunctionType> is !null: Freeze,
PhantomData<ArcInner<FunctionType>>: Freeze,
PhantomData<Type>: Freeze,
*const Type is !null: Freeze,
*const ArcInner<Spelling> is !null: Freeze,
PhantomData<ArcInner<Spelling>>: Freeze,
*const ElementEquality is !null: Freeze,
PhantomData<ElementEquality>: Freeze,
impl Move for ElementEquality
impl RefUnwindSafe for ElementEquality
impl Send for ElementEquality
impl Sync for ElementEquality
impl Unpin for ElementEquality
impl UnsafeUnpin for ElementEqualitywhere
*const ArcInner<Box<[Type]>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Box<[Type]>>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<FunctionType> is !null: UnsafeUnpin,
PhantomData<ArcInner<FunctionType>>: UnsafeUnpin,
PhantomData<Type>: UnsafeUnpin,
*const Type is !null: UnsafeUnpin,
*const ArcInner<Spelling> is !null: UnsafeUnpin,
PhantomData<ArcInner<Spelling>>: UnsafeUnpin,
*const ElementEquality is !null: UnsafeUnpin,
PhantomData<ElementEquality>: UnsafeUnpin,
impl UnwindSafe for ElementEqualitywhere
Arc<Box<[Type]>>: UnwindSafe,
NonNull<u8>: UnwindSafe,
Arc<FunctionType>: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
Arc<Spelling>: UnwindSafe,
BoxRaw<ElementEquality>: 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