frontendtype

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package frontendtype allows to assert frontend type.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrontendTyper

type FrontendTyper interface {
	// FrontendType returns the frontend type. It allows to choose the optimal circuit
	// implementation depending on the frontend type.
	FrontendType() Type
}

FrontendTyper interface allows to get the frontend type. The interfaces should be asserted from the inner builder via the Compiler() method.

It allows to choose the optimal circuit implementation depending on the frontend type.

The user should have a fallback if the interface is not implemented (i.e. test engine).

type Type

type Type int
const (
	R1CS Type = iota
	SCS
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL