Trait CreateOrderedSet

Source
pub trait CreateOrderedSet: Copy {
    type T: UInt;
    type B: OrderedSetBuilder<T = Self::T>;
    type S: OrderedSet<T = Self::T>;

    // Required methods
    fn value_size(self) -> Self::T;
    fn new(
        self,
        size: Self::T,
        f: &mut dyn FnMut(&mut Self::B) -> Result<()>,
    ) -> Result<Self::S>;
}

Required Associated Types§

Source

type T: UInt

Source

type B: OrderedSetBuilder<T = Self::T>

Source

type S: OrderedSet<T = Self::T>

Required Methods§

Source

fn value_size(self) -> Self::T

Source

fn new( self, size: Self::T, f: &mut dyn FnMut(&mut Self::B) -> Result<()>, ) -> Result<Self::S>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§