Struct ucglib::ast::FormatDef [−][src]
pub struct FormatDef {
pub template: String,
pub args: Vec<Expression>,
pub pos: Position,
}Encodes a format expression in the UCG AST.
Fields
template: String
args: Vec<Expression>
pos: Position
Trait Implementations
impl Debug for FormatDef[src]
impl Debug for FormatDeffn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for FormatDef[src]
impl PartialEq for FormatDeffn eq(&self, other: &FormatDef) -> bool[src]
fn eq(&self, other: &FormatDef) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &FormatDef) -> bool[src]
fn ne(&self, other: &FormatDef) -> boolThis method tests for !=.
impl Clone for FormatDef[src]
impl Clone for FormatDef