Trait IndexInterface

Source
pub trait IndexInterface
where Self: Sized,
{ // Required methods fn zero() -> Self; fn succ(&self) -> Self; }

Required Methods§

Source

fn zero() -> Self

Source

fn succ(&self) -> Self

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§