pub trait Eject {
    type Primitive;

    fn eject_mode(&self) -> Mode;
    fn eject_value(&self) -> Self::Primitive;

    fn eject(&self) -> (Mode, Self::Primitive) { ... }
    fn is_constant(&self) -> bool { ... }
    fn is_public(&self) -> bool { ... }
    fn is_private(&self) -> bool { ... }
}
Expand description

Operations to eject from a circuit environment into primitive form.

Required Associated Types

Required Methods

Ejects the mode of the circuit type.

Ejects the circuit type as a primitive value.

Provided Methods

Ejects the mode and primitive value of the circuit type.

Returns true if the circuit is a constant.

Returns true if the circuit is a public.

Returns true if the circuit is a private.

Implementations on Foreign Types

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a list of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a list of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a list of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a tuple of Eject circuits.

Ejects the value from each circuit.

A helper method to deduce the mode from a list of Eject circuits.

Ejects the value from each circuit.

Implementors