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> Freeze for LIFOEntry<'a, C>where
C: ?Sized,
impl<'a, C> RefUnwindSafe for LIFOEntry<'a, C>where
C: RefUnwindSafe + ?Sized,
impl<'a, C> Send for LIFOEntry<'a, C>
impl<'a, C> Sync for LIFOEntry<'a, C>
impl<'a, C> Unpin for LIFOEntry<'a, C>where
C: ?Sized,
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