Skip to main content

ScalarKey

Trait ScalarKey 

Source
pub trait ScalarKey { }
Expand description

Marker for non-tuple (“scalar”) index key types. Lets KeyCat distinguish the scalar base case from the tuple-extension cases without overlap.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ScalarKey for String

Source§

impl ScalarKey for i32

Source§

impl ScalarKey for i64

Source§

impl ScalarKey for usize

Implementors§