Trait algs4::stacks_and_queues::StackOfStrings
[−]
[src]
pub trait StackOfStrings {
fn new() -> Self;
fn push(&mut self, item: String);
fn pop(&mut self) -> String;
fn is_empty(&self) -> bool;
fn size(&self) -> usize { ... }
}
Required Methods
fn new() -> Self
fn push(&mut self, item: String)
fn pop(&mut self) -> String
fn is_empty(&self) -> bool
Provided Methods
Implementors
impl StackOfStrings for LinkedStackOfStringsimpl StackOfStrings for FixedCapacityStackOfStringsimpl StackOfStrings for ResizingArrayStackOfStrings