Struct stack_dst::StackA [−][src]
Expand description
A fixed-capacity stack that can contain dynamically-sized types
Uses an array of usize as a backing store for a First-In, Last-Out stack
of items that can unsize to T
.
Note: Each item in the stack takes at least one usize
(to store the metadata)
Implementations
Push a value at the top of the stack (without using Unsize
)
Returns a pointer to the top item on the stack (unique/mutable)
Trait Implementations
Auto Trait Implementations
impl<T: ?Sized, D> RefUnwindSafe for StackA<T, D> where
D: RefUnwindSafe,
T: RefUnwindSafe,
impl<T: ?Sized, D> UnwindSafe for StackA<T, D> where
D: UnwindSafe,
T: RefUnwindSafe,