pub struct VarStack<'s, S, V>(pub RefStack<'s, VarStackEntry<S, V>>);
Expand description
Like RefStack
, but entries have names
Tuple Fields§
§0: RefStack<'s, VarStackEntry<S, V>>
Implementations§
Trait Implementations§
Source§impl<'s, S: Copy, V> IntoIterator for &'s VarStack<'s, S, V>
impl<'s, S: Copy, V> IntoIterator for &'s VarStack<'s, S, V>
Source§impl<'s, S: Ord, V: Ord> Ord for VarStack<'s, S, V>
impl<'s, S: Ord, V: Ord> Ord for VarStack<'s, S, V>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'s, S: PartialOrd, V: PartialOrd> PartialOrd for VarStack<'s, S, V>
impl<'s, S: PartialOrd, V: PartialOrd> PartialOrd for VarStack<'s, S, V>
impl<'s, S: Copy, V: Copy> Copy for VarStack<'s, S, V>
impl<'s, S: Eq, V: Eq> Eq for VarStack<'s, S, V>
impl<'s, S, V> StructuralPartialEq for VarStack<'s, S, V>
Auto Trait Implementations§
impl<'s, S, V> Freeze for VarStack<'s, S, V>
impl<'s, S, V> RefUnwindSafe for VarStack<'s, S, V>where
S: RefUnwindSafe,
V: RefUnwindSafe,
impl<'s, S, V> Send for VarStack<'s, S, V>
impl<'s, S, V> Sync for VarStack<'s, S, V>
impl<'s, S, V> Unpin for VarStack<'s, S, V>
impl<'s, S, V> UnwindSafe for VarStack<'s, S, V>
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