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

used for the clear_scopes feature

restores cleared scopes

Trait Implementations

impl Debug for ScopeStackOp
[src]

Formats the value using the given formatter.

impl Clone for ScopeStackOp
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ScopeStackOp
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ScopeStackOp
[src]