Trait NodeSample

Source
pub trait NodeSample<'a>: Hypergraph<'a> {
    // Required method
    fn sample(&self, rng: &mut impl Rng) -> Vec<&Self::Node>;
}

Required Methods§

Source

fn sample(&self, rng: &mut impl Rng) -> Vec<&Self::Node>

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§