Skip to main content

StackMut

Trait StackMut 

Source
pub trait StackMut<T>:
    Stack<T>
    + BackMut
    + PushBack
    + PopBack { }
Expand description

Mutable stack data structure.

This trait alias describes the mutables operations on a stack. See Stack for more details.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, C: Stack<T> + BackMut + PushBack + PopBack> StackMut<T> for C