Enum rustc_const_math::Op [] [src]

pub enum Op {
    Add,
    Sub,
    Mul,
    Div,
    Rem,
    Shr,
    Shl,
    Neg,
    BitAnd,
    BitOr,
    BitXor,
}
Unstable (rustc_private)

Variants

Add
Unstable (rustc_private)
Sub
Unstable (rustc_private)
Mul
Unstable (rustc_private)
Div
Unstable (rustc_private)
Rem
Unstable (rustc_private)
Shr
Unstable (rustc_private)
Shl
Unstable (rustc_private)
Neg
Unstable (rustc_private)
BitAnd
Unstable (rustc_private)
BitOr
Unstable (rustc_private)
BitXor
Unstable (rustc_private)

Trait Implementations

Derived Implementations

impl Clone for Op
[src]

fn clone(&self) -> Op

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 Eq for Op
[src]

impl PartialEq for Op
[src]

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

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for Op
[src]

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

Formats the value using the given formatter.