Struct leo_synthesizer::serialized_circuit::SerializedCircuit[][src]

pub struct SerializedCircuit {
    pub num_public_variables: usize,
    pub num_private_variables: usize,
    pub num_constraints: usize,
    pub public_variables: Vec<SerializedField>,
    pub private_variables: Vec<SerializedField>,
    pub at: Vec<Vec<(SerializedField, SerializedIndex)>>,
    pub bt: Vec<Vec<(SerializedField, SerializedIndex)>>,
    pub ct: Vec<Vec<(SerializedField, SerializedIndex)>>,
}

Fields

num_public_variables: usizenum_private_variables: usizenum_constraints: usizepublic_variables: Vec<SerializedField>private_variables: Vec<SerializedField>at: Vec<Vec<(SerializedField, SerializedIndex)>>bt: Vec<Vec<(SerializedField, SerializedIndex)>>ct: Vec<Vec<(SerializedField, SerializedIndex)>>

Implementations

impl SerializedCircuit[src]

pub fn to_json_string(&self) -> Result<String, Error>[src]

pub fn from_json_string(json: &str) -> Result<Self, Error>[src]

Trait Implementations

impl<'de> Deserialize<'de> for SerializedCircuit[src]

impl<E: PairingEngine> From<CircuitSynthesizer<E>> for SerializedCircuit[src]

impl Serialize for SerializedCircuit[src]

impl TryFrom<SerializedCircuit> for CircuitSynthesizer<Bls12_377>[src]

type Error = FieldError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,