Enum incrust::template::Factor [] [src]

pub enum Factor {
    Variable(String),
    Literal(Literal),
    Subexpression(DisjExpr),
}

Variants

Variable(String)Literal(Literal)Subexpression(DisjExpr)

Trait Implementations

impl Clone for Factor
[src]

fn clone(&self) -> Factor

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl PartialEq for Factor
[src]

fn eq(&self, __arg_0: &Factor) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Factor) -> bool

This method tests for !=.

impl Debug for Factor
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Literal> for Factor
[src]

fn from(v: Literal) -> Self

Performs the conversion.

impl From<String> for Factor
[src]

fn from(v: String) -> Self

Performs the conversion.

impl From<DisjExpr> for Factor
[src]

fn from(v: DisjExpr) -> Self

Performs the conversion.