Skip to main content

NextKey

Trait NextKey 

Source
pub trait NextKey:
    Copy
    + Eq
    + Hash
    + Default {
    // Required method
    fn next_key(&mut self) -> Self;
}

Required Methods§

Source

fn next_key(&mut 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.

Implementations on Foreign Types§

Source§

impl NextKey for u32

Source§

fn next_key(&mut self) -> Self

Implementors§