pub trait Input {
    type Output;

    fn input() -> Self::Output;
}
Expand description

Create an input node from an Fhe Program input argument.

Required Associated Types

The type returned by the input fn`.

Required Methods

Creates a new FheProgramNode denoted as an input to an Fhe Program graph.

You should not call this, but rather allow the fhe_program macro to do this on your behalf.

Undefined behavior

This type references memory in a backing crate::Context and without carefully ensuring FheProgramNodes never outlive the backing context, use-after-free can occur.

Implementations on Foreign Types

Implementors