Enum sbnf::compiler::interpreter::TerminalEmbed
source · pub enum TerminalEmbed {
Embed {
embed: String,
embed_scope: Scope,
escape: String,
escape_captures: Vec<Scope>,
},
Include {
context: String,
prototype: Key,
},
None,
}
Variants§
Trait Implementations§
source§impl Clone for TerminalEmbed
impl Clone for TerminalEmbed
source§fn clone(&self) -> TerminalEmbed
fn clone(&self) -> TerminalEmbed
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 TerminalEmbed
impl Debug for TerminalEmbed
source§impl PartialEq for TerminalEmbed
impl PartialEq for TerminalEmbed
source§fn eq(&self, other: &TerminalEmbed) -> bool
fn eq(&self, other: &TerminalEmbed) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TerminalEmbed
impl StructuralEq for TerminalEmbed
impl StructuralPartialEq for TerminalEmbed
Auto Trait Implementations§
impl RefUnwindSafe for TerminalEmbed
impl Send for TerminalEmbed
impl Sync for TerminalEmbed
impl Unpin for TerminalEmbed
impl UnwindSafe for TerminalEmbed
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.