For the complete documentation index, see llms.txt.
aztec-nr - std

Crate std

Modules

Primitive types

  • A fixed-size array, denoted [T; N], for the element type, T, and the non-negative compile-time constant size, N.
  • The boolean type.
  • A a compile-time, dynamically-sized string type.
  • A compile-time, quoted, syntactically valid expression.
  • The native field type of the proving backend.
  • A formatted string with interpolated values.
  • A compile-time type which represents a function definition in this source program.
  • The 16-bit signed integer type.
  • The 32-bit signed integer type.
  • The 64-bit signed integer type.
  • The 8-bit signed integer type.
  • A compile-time type which represents a module in this source program.
  • A compile-time type which represents quoted token streams and is the result of the quote { ... } expression.
  • The string type.
  • A compile-time type which represents a trait constraint that can be used to search for a trait implementation.
  • A compile-time type which represents a trait definition such as trait Foo { .. }.
  • A compile-time type which represents represents a trait implementation such as impl Foo for Bar { ... }.
  • A compile-time type which represents a type in the source program.
  • A compile-time type which represents a type definition such as struct Foo { ... }.
  • A compile-time type which represents a resolved and type-checked expression.
  • The 128-bit unsigned integer type.
  • The 16-bit unsigned integer type.
  • The 32-bit unsigned integer type.
  • The 64-bit unsigned integer type.
  • The 8-bit unsigned integer type.
  • A compile-time type which represents the syntax of a type.
  • A dynamically-sized view into a contiguous sequence, [T].

Functions

  • Force a field value to be a witness instead of a constant in the compiled output. This is often only useful for debugging compiler optimizations.
  • Asserts that the given value is known at compile-time. Useful for debugging for-loop bounds.
  • Print the given input to stdout
  • Print the given input to stdout followed by a newline
  • Asserts that the given value is both true and known at compile-time. The message can be a string, a format string, or any value, as long as it is known at compile-time
  • Asserts the validity of the provided proof and public inputs against the provided verification key and hash.