Skip to main content

SubsetOf

Trait SubsetOf 

Source
pub trait SubsetOf<S: ?Sized> { }
Expand description

Indicates that a type is a subset of set S.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T: TypeSet, R: TypeSet> SubsetOf<R> for T
where T::Set: SubsetOf<R::Set>,