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
Restore
restores cleared scopes
Noop
Trait Implementations
impl Debug for ScopeStackOp
[src]
impl Debug for ScopeStackOp
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ScopeStackOp
[src]
impl Clone for ScopeStackOp
fn clone(&self) -> ScopeStackOp
[src]
fn clone(&self) -> ScopeStackOp
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ScopeStackOp
[src]
impl PartialEq for ScopeStackOp
fn eq(&self, other: &ScopeStackOp) -> bool
[src]
fn eq(&self, other: &ScopeStackOp) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ScopeStackOp) -> bool
[src]
fn ne(&self, other: &ScopeStackOp) -> bool
This method tests for !=
.
impl Eq for ScopeStackOp
[src]
impl Eq for ScopeStackOp
Auto Trait Implementations
impl Send for ScopeStackOp
impl Send for ScopeStackOp
impl Sync for ScopeStackOp
impl Sync for ScopeStackOp