Enum mcircuit::CombineOperation[][src]

pub enum CombineOperation {
    GF2(Operation<bool>),
    Z64(Operation<u64>),
    B2A(usize, usize),
    SizeHint(usize, usize),
}

Variants

GF2

Circuit Operation on GF2 Finite Field

Tuple Fields of GF2

0: Operation<bool>
Z64

Circuit Operation on 64-bit integer ring

Tuple Fields of Z64

0: Operation<u64>
B2A

Converts a value on GF2 to a value on Z64 Takes: (dst, src) where src is the low bit of the 64-bit GF2 slice This means that the least significant bit of the Z64 value will come from the GF2 wire with the lowest index. Make sure your circuits are designed accordingly.

Tuple Fields of B2A

0: usize1: usize
SizeHint

Information about the number of wires needed to evaluate the circuit. As with B2A, first item is Z64, second is GF2.

Tuple Fields of SizeHint

0: usize1: usize

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Performs the conversion.

Performs the conversion.

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

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.