Trait KeyExt

Source
pub trait KeyExt: Sized {
    // Required method
    fn write_key(&mut self) -> &mut DiffKey;

    // Provided method
    fn key(self, key: impl Hash) -> Self { ... }
}

Required Methods§

Source

fn write_key(&mut self) -> &mut DiffKey

Provided Methods§

Source

fn key(self, key: impl Hash) -> 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§