IndexRestriction

Trait IndexRestriction 

Source
pub trait IndexRestriction:
    Clone
    + Copy
    + Hash
    + Eq
    + 'static { }
Expand description

Y-Craft generically uses hypothetical enums to index various things, and there are restrictions on these enums for the user

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<T: Clone + Copy + Hash + Eq + 'static> IndexRestriction for T