Struct ucglib::ast::BinaryOpDef [−][src]
pub struct BinaryOpDef {
pub kind: BinaryExprType,
pub left: Box<Expression>,
pub right: Box<Expression>,
pub pos: Position,
}Represents an expression with a left and a right side.
Fields
kind: BinaryExprType
left: Box<Expression>
right: Box<Expression>
pos: Position
Trait Implementations
impl Debug for BinaryOpDef[src]
impl Debug for BinaryOpDeffn 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 BinaryOpDef[src]
impl PartialEq for BinaryOpDeffn eq(&self, other: &BinaryOpDef) -> bool[src]
fn eq(&self, other: &BinaryOpDef) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &BinaryOpDef) -> bool[src]
fn ne(&self, other: &BinaryOpDef) -> boolThis method tests for !=.
impl Clone for BinaryOpDef[src]
impl Clone for BinaryOpDeffn clone(&self) -> BinaryOpDef[src]
fn clone(&self) -> BinaryOpDefReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for BinaryOpDef
impl Send for BinaryOpDefimpl Sync for BinaryOpDef
impl Sync for BinaryOpDef