dsalgo 0.3.10

A package for Datastructures and Algorithms.
Documentation
1
2
3
4
5
6
7
8
9
10
pub trait DefaultContext {}

impl<T> DefaultContext for T {}

/// why not std?;
/// because a `default` depends on the context.

pub trait Default<I: DefaultContext> {
    fn default() -> Self;
}