pub enum ScopeStackOp {
    Push(Scope),
    Pop(usize),
    Clear(ClearAmount),
    Restore,
    Noop,
}Expand description
A change to a scope stack
Generally, Noop is only used internally and you won’t need to worry about getting one back
from calling a public function.
The change from a ScopeStackOp can be applied via ScopeStack::apply.
Variants§
Push(Scope)
Pop(usize)
Clear(ClearAmount)
Used for the clear_scopes feature
Restore
Restores cleared scopes
Noop
Trait Implementations§
Source§impl Clone for ScopeStackOp
 
impl Clone for ScopeStackOp
Source§fn clone(&self) -> ScopeStackOp
 
fn clone(&self) -> ScopeStackOp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for ScopeStackOp
 
impl Debug for ScopeStackOp
Source§impl PartialEq for ScopeStackOp
 
impl PartialEq for ScopeStackOp
impl Eq for ScopeStackOp
impl StructuralPartialEq for ScopeStackOp
Auto Trait Implementations§
impl Freeze for ScopeStackOp
impl RefUnwindSafe for ScopeStackOp
impl Send for ScopeStackOp
impl Sync for ScopeStackOp
impl Unpin for ScopeStackOp
impl UnwindSafe for ScopeStackOp
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.