pub trait TypeSet {
type Set: ?Sized;
// Required method
fn members() -> &'static [TypeId]
where Self: 'static;
}Expand description
The main trait for representing a set of types.
This is implemented for tuples up to 24 elements, and [Set]s of tuples.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".