Struct stack_trait::LIFOEntry
source · pub struct LIFOEntry<'a, C: ?Sized>(/* private fields */);
Expand description
An “entry” object corresponding to the top element of the stack.
Existence of this object guarantees that the stack is not empty.
In a vector, this is an object representing the last element.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, C: ?Sized> RefUnwindSafe for LIFOEntry<'a, C>where
C: RefUnwindSafe,
impl<'a, C: ?Sized> Send for LIFOEntry<'a, C>where
C: Send,
impl<'a, C: ?Sized> Sync for LIFOEntry<'a, C>where
C: Sync,
impl<'a, C: ?Sized> Unpin for LIFOEntry<'a, C>
impl<'a, C> !UnwindSafe for LIFOEntry<'a, C>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more