pub trait DefaultWithLen {
    // Required method
    fn default_with_len(len: usize) -> Self;
}
Expand description

Bound on GridSolver type parameters

Required Methods§

source

fn default_with_len(len: usize) -> Self

Construct with default elements of given length; panic on failure

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: Clone + Default> DefaultWithLen for Vec<T>

source§

impl<T: Copy + Default, const N: usize> DefaultWithLen for [T; N]

Implementors§