1pub mod fixed_stack; 2pub mod growable_stack; 3 4pub trait Stack<T> { 5 fn push(&mut self, item: T); 6 fn pop(&mut self) -> Option<T>; 7 fn top(&self) -> Option<&T>; 8 fn is_empty(&self) -> bool; 9}