flatcontainer

Trait Index

Source
pub trait Index:
    Copy
    + Serialize
    + for<'a> Deserialize<'a> { }
Expand description

An index into a region. Automatically implemented for relevant types.

We require an index to be Copy and to support serde.

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: Copy + Serialize + for<'a> Deserialize<'a>> Index for T