pub enum Variable {
Literal(String),
String(String),
Statement(Statement),
Name(Name),
}Expand description
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§
Source§impl From<BuiltInName> for Variable
impl From<BuiltInName> for Variable
Source§fn from(value: BuiltInName) -> Variable
fn from(value: BuiltInName) -> Variable
Converts to this type from the input type.
Source§impl From<ImportedName> for Variable
impl From<ImportedName> for Variable
Source§fn from(value: ImportedName) -> Variable
fn from(value: ImportedName) -> Variable
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Variable
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
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