typewit

Trait BaseTypeWitness

Source
pub trait BaseTypeWitness:
    Debug
    + Copy
    + HasTypeWitness<MetaBaseTypeWit<Self::L, Self::R, Self>> {
    type L: ?Sized;
    type R: ?Sized;
}
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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

Source§

type L = L

Source§

type R = R

Source§

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

Source§

type L = L

Source§

type R = R

Source§

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

Source§

type L = L

Source§

type R = R