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 FormatDef
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for FormatDef
[src]
impl PartialEq for FormatDef
fn eq(&self, other: &FormatDef) -> bool
[src]
fn eq(&self, other: &FormatDef) -> bool
This 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) -> bool
This method tests for !=
.
impl Clone for FormatDef
[src]
impl Clone for FormatDef