Struct openssl::stack::Stack [−][src]
pub struct Stack<T: Stackable>(_);
Expand description
An owned stack of T
.
Implementations
Methods from Deref<Target = StackRef<T>>
Returns a reference to the element at the given index in the
stack or None
if the index is out of bounds
Returns a mutable reference to the element at the given index in the
stack or None
if the index is out of bounds
Pushes a value onto the top of the stack.
Trait Implementations
Constructs an instance of this type from its raw type.
type Item = T
type Item = T
The type of the elements being iterated over.
Auto Trait Implementations
impl<T> RefUnwindSafe for Stack<T> where
<T as Stackable>::StackType: RefUnwindSafe,
impl<T> UnwindSafe for Stack<T> where
<T as Stackable>::StackType: RefUnwindSafe,