Skip to main content

MemberOf

Trait MemberOf 

Source
pub trait MemberOf<G> { }
Expand description

Membership of a type in a group identified by the marker type G.

A type may belong to multiple groups. Membership does not imply execution support or establish that blanket trait implementations are disjoint.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§