Enum codeviz::js::Variable
[−]
[src]
pub enum Variable { Literal(String), String(String), Statement(Statement), Name(Name), }
Variables that are part of statements.
Variants
Literal(String)
String that will be literally appended.
String(String)
String that will be quoted and appended.
Statement(Statement)
Another statement that will be appended.
Name(Name)
A name that will be appended.
Trait Implementations
impl Imports for Variable
[src]
fn imports<I>(&self, receiver: &mut I) where
I: ImportReceiver,
I: ImportReceiver,
impl Debug for Variable
[src]
impl Clone for Variable
[src]
fn clone(&self) -> Variable
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl VariableFormat for Variable
[src]
fn format<E>(&self, out: &mut E, depth: usize) -> Result<()> where
E: ElementFormat,
E: ElementFormat,
impl<'a, A> From<&'a A> for Variable where
A: Into<Variable> + Clone,
[src]
A: Into<Variable> + Clone,
impl<'a> From<&'a str> for Variable
[src]
impl From<String> for Variable
[src]
impl From<Statement> for Variable
[src]
impl From<Name> for Variable
[src]
impl From<ImportedName> for Variable
[src]
fn from(value: ImportedName) -> Variable
Performs the conversion.
impl From<BuiltInName> for Variable
[src]
fn from(value: BuiltInName) -> Variable
Performs the conversion.