Enum codeviz_rust::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, [src]
I: ImportReceiver,
impl From<Name> for Variable[src]
impl From<ImportedName> for Variable[src]
fn from(value: ImportedName) -> Variable[src]
Performs the conversion.
impl From<BuiltInName> for Variable[src]
fn from(value: BuiltInName) -> Variable[src]
Performs the conversion.
impl From<LocalName> for Variable[src]
impl Debug for Variable[src]
impl Clone for Variable[src]
fn clone(&self) -> Variable[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl VariableFormat for Variable[src]
type Extra = ()
fn format<E>(
&self,
out: &mut E,
depth: usize,
extra: &mut Self::Extra
) -> Result<()> where
E: ElementFormat, [src]
&self,
out: &mut E,
depth: usize,
extra: &mut Self::Extra
) -> Result<()> where
E: ElementFormat,
impl<'a, A> From<&'a A> for Variable where
A: Into<Variable> + Clone, [src]
A: Into<Variable> + Clone,