Expand description
Prelude extension - available in all contexts, defining common types, operations and constants.
Structs§
- Structure for holding constant usize values.
- A structure for holding references to external symbols.
- Structure for holding constant string values.
- Structure for holding constant usize values.
- Prelude extension
- An extension registry containing only the prelude
Constants§
- Boolean type - Sum of two units.
- The custom type for Errors.
- Unspecified opaque error type.
- The string name of the error type.
- Name of the operation in the prelude for creating new arrays.
- Name of the prelude panic operation.
- Name of prelude extension.
- Name of the print operation
- Qubit type.
- Custom type for strings.
- String type.
- Name of the string type.
- Unsigned size type.
Functions§
- Initialize a new array of element type
element_ty
of lengthsize
- Initialize a new array op of element type
element_ty
of lengthsize
- Return a Sum type with the first variant as the given type and the second an Error.