soroban_sdk::prng

Trait ToShuffled

Source
pub trait ToShuffled {
    type Shuffled;

    // Required method
    fn to_shuffled(&self, prng: &Prng) -> Self::Shuffled;
}
Expand description

Implemented by types that support being shuffled by a Prng.

Required Associated Types§

Required Methods§

Source

fn to_shuffled(&self, prng: &Prng) -> Self::Shuffled

Implementors§