dsalgo 0.3.10

A package for Datastructures and Algorithms.
Documentation
pub trait Push {
    type T;

    fn push(
        &mut self,
        x: Self::T,
    );
}

pub trait Pop {
    type T;

    fn pop(&mut self) -> Self::T;
}

pub trait Top {
    type T;

    fn top(&mut self) -> &Self::T;
}