NewCluster

Trait NewCluster 

Source
pub trait NewCluster: Clone + Default {
    // Required method
    fn new_count(count: usize) -> Self;
}
Expand description

Trait for creating a new cluster struct

Required Methods§

Source

fn new_count(count: usize) -> Self

Create the struct adding the count

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 NewCluster for MValue

Source§

fn new_count(count: usize) -> Self

Implementors§