Skip to main content

SameTypes

Trait SameTypes 

Source
pub trait SameTypes { }
Expand description

Helper trait for assert_same_types to tell if two types are exactly the same.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> SameTypes for (T, T)

Implementors§