Skip to main content

GroupingValue

Trait GroupingValue 

Source
pub trait GroupingValue: ValueDomain {
    type Key: GroupKey;

    // Required method
    fn to_group_key(
        value: &Self::Value<'_>,
    ) -> <Self::Key as IndexDomain>::Owned;
}

Required Associated Types§

Required Methods§

Source

fn to_group_key(value: &Self::Value<'_>) -> <Self::Key as IndexDomain>::Owned

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§