pub fn new(value: T) -> Self {
        let mut vec = VecDeque::new();
        vec.push_front(value);
        Self(vec)
    }
/// Creates a new history wrapper.
Creates a new history wrapper.
Creates a new history wrapper .
pub fn new(value: T) -> Self {
        let mut vec = VecDeque::new();
        vec.push_front(value);
        Self(vec)
    }
pub fn new ( value : T ) -> Self { let mut vec = VecDeque :: new ( ) ; vec . push_front ( value ) ; Self ( vec ) }
Creates a new history wrapper.
Creates a new history wrapper .
value
T
value
T