Skip to main content

PartitionShape

Trait PartitionShape 

Source
pub trait PartitionShape<M: IndexDomain>: ElementShape {
    // Required method
    fn member<'a>(element: &Self::Element<'a>) -> M::Index<'a>;
}

Required Methods§

Source

fn member<'a>(element: &Self::Element<'a>) -> M::Index<'a>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§