Enum syntect::parsing::ScopeStackOp
[−]
[src]
pub enum ScopeStackOp {
Push(Scope),
Pop(usize),
Clear(ClearAmount),
Restore,
Noop,
}A change to a scope stack. Generally Noop is only used internally and you don't have
to worry about ever getting one back from a public function.
Use ScopeStack#apply to apply this change.
Variants
Push(Scope)Pop(usize)Clear(ClearAmount)used for the clear_scopes feature
Restorerestores cleared scopes
NoopTrait Implementations
impl Debug for ScopeStackOp[src]
impl Clone for ScopeStackOp[src]
fn clone(&self) -> ScopeStackOp
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for ScopeStackOp[src]
fn eq(&self, __arg_0: &ScopeStackOp) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ScopeStackOp) -> bool
This method tests for !=.