Enum syntect::parsing::BasicScopeStackOp
source · pub enum BasicScopeStackOp {
Push(Scope),
Pop,
}
Expand description
Used for ScopeStack::apply_with_hook
Variants§
Trait Implementations§
source§impl Clone for BasicScopeStackOp
impl Clone for BasicScopeStackOp
source§fn clone(&self) -> BasicScopeStackOp
fn clone(&self) -> BasicScopeStackOp
Returns a copy 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 BasicScopeStackOp
impl Debug for BasicScopeStackOp
source§impl PartialEq for BasicScopeStackOp
impl PartialEq for BasicScopeStackOp
source§fn eq(&self, other: &BasicScopeStackOp) -> bool
fn eq(&self, other: &BasicScopeStackOp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BasicScopeStackOp
impl StructuralEq for BasicScopeStackOp
impl StructuralPartialEq for BasicScopeStackOp
Auto Trait Implementations§
impl RefUnwindSafe for BasicScopeStackOp
impl Send for BasicScopeStackOp
impl Sync for BasicScopeStackOp
impl Unpin for BasicScopeStackOp
impl UnwindSafe for BasicScopeStackOp
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