pub trait BaseTypeWitness: Debug + Copy + HasTypeWitness<MetaBaseTypeWit<Self::L, Self::R, Self>> {
    type L: ?Sized;
    type R: ?Sized;
    type TypeCtor: BaseTypeWitnessTc<Type<Self::L, Self::R> = Self>;
}
Expand description

Marker trait for TypeCmp/TypeEq/TypeNe.

Required Associated Types§

source

type L: ?Sized

The L type parameter of TypeEq/TypeNe/TypeCmp types.

source

type R: ?Sized

The R type parameter of TypeEq/TypeNe/TypeCmp types.

source

type TypeCtor: BaseTypeWitnessTc<Type<Self::L, Self::R> = Self>

Available on crate feature rust_1_65 only.

The type constructor corresponding to this type.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<L: ?Sized, R: ?Sized> BaseTypeWitness for TypeCmp<L, R>

§

type L = L

§

type R = R

§

type TypeCtor = TcTypeCmp

source§

impl<L: ?Sized, R: ?Sized> BaseTypeWitness for TypeEq<L, R>

§

type L = L

§

type R = R

§

type TypeCtor = TcTypeEq

source§

impl<L: ?Sized, R: ?Sized> BaseTypeWitness for TypeNe<L, R>

§

type L = L

§

type R = R

§

type TypeCtor = TcTypeNe