Skip to main content

AsIdSalt

Trait AsIdSalt 

Source
pub trait AsIdSalt: Hash + Debug { }
Expand description

Types that can be converted to an IdSalt.

This is all types implementing Hash and Debug, which includes things like string, integers, tuples of those, etc.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Hash + Debug> AsIdSalt for T