Trait Strand

Source
pub trait Strand: Sized {
    // Required method
    fn strand() -> impl Distribution<Self>;
}

Required Methods§

Source

fn strand() -> impl Distribution<Self>

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.

Implementations on Foreign Types§

Source§

impl Strand for u8

Source§

impl Strand for String

Implementors§