Enum sbnf::sublime_syntax::ContextChange
source · pub enum ContextChange {
None,
Push(Vec<String>),
Set(Vec<String>),
PushEmbed(Context),
SetEmbed(Context),
Embed(Embed),
IncludeEmbed(IncludeEmbed),
Branch(String, Vec<String>),
Fail(String),
}
Variants§
None
Push(Vec<String>)
Set(Vec<String>)
PushEmbed(Context)
SetEmbed(Context)
Embed(Embed)
IncludeEmbed(IncludeEmbed)
Branch(String, Vec<String>)
Fail(String)
Trait Implementations§
source§impl Clone for ContextChange
impl Clone for ContextChange
source§fn clone(&self) -> ContextChange
fn clone(&self) -> ContextChange
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 ContextChange
impl Debug for ContextChange
source§impl PartialEq for ContextChange
impl PartialEq for ContextChange
source§fn eq(&self, other: &ContextChange) -> bool
fn eq(&self, other: &ContextChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ContextChange
impl StructuralEq for ContextChange
impl StructuralPartialEq for ContextChange
Auto Trait Implementations§
impl RefUnwindSafe for ContextChange
impl Send for ContextChange
impl Sync for ContextChange
impl Unpin for ContextChange
impl UnwindSafe for ContextChange
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.