Skip to main content

LcKey

Trait LcKey 

Source
pub trait LcKey: MathType + IndexType { }
Expand description

Marker trait for types usable as keys in Lc — i.e. elements that are hashable and totally ordered.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> LcKey for AsKey<T>
where T: IndexType,

Source§

impl<X, Y> LcKey for EitherKey<X, Y>
where X: LcKey, Y: LcKey,

Source§

impl<const X: char, I> LcKey for MultiVar<X, I>
where I: IndexType + Zero + ToPrimitive + for<'x> Add<&'x I, Output = I>,

Source§

impl<const X: char, I> LcKey for Var<X, I>

Source§

impl<const X: char, const Y: char, I> LcKey for Var2<X, Y, I>
where I: IndexType + Copy + for<'x> Add<&'x I, Output = I> + ToPrimitive,

Source§

impl<const X: char, const Y: char, const Z: char, I> LcKey for Var3<X, Y, Z, I>
where I: IndexType + Copy + for<'x> Add<&'x I, Output = I> + ToPrimitive,