Skip to main content

SortRing

Trait SortRing 

Source
pub trait SortRing {
    // Required method
    fn sort(&mut self, did: Did);
}
Expand description

Ordering with a did reference This trait defines necessary method for sorting based on did.

Required Methods§

Source

fn sort(&mut self, did: Did)

Sort a impl SortRing with given did

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl SortRing for Vec<Did>

Source§

fn sort(&mut self, did: Did)

Implementors§