From 960cfc724a3423e91ee888c0a26a63ea4429fcdc Mon Sep 17 00:00:00 2001 From: aharshbe Date: Tue, 2 Jan 2024 21:54:06 +0000 Subject: [PATCH] deploy: c552287b9e95dbf3589523b699e84be169fa7798 --- errcov/all.html | 2 +- errcov/fn.main.html | 2 +- errcov/index.html | 3 +- help.html | 2 +- .../clap_builder/derive/trait.Args.js | 3 - .../derive/trait.CommandFactory.js | 3 - .../derive/trait.FromArgMatches.js | 3 - .../clap_builder/derive/trait.Parser.js | 3 - implementors/core/clone/trait.Clone.js | 11 - implementors/core/cmp/trait.Eq.js | 7 - implementors/core/cmp/trait.Ord.js | 3 - implementors/core/cmp/trait.PartialEq.js | 8 - implementors/core/cmp/trait.PartialOrd.js | 3 - implementors/core/convert/trait.From.js | 5 - implementors/core/convert/trait.TryFrom.js | 3 - implementors/core/default/trait.Default.js | 9 - implementors/core/error/trait.Error.js | 3 - implementors/core/fmt/trait.Debug.js | 10 - implementors/core/fmt/trait.Display.js | 9 - implementors/core/hash/trait.Hash.js | 5 - implementors/core/marker/trait.Copy.js | 7 - .../core/marker/trait.StructuralEq.js | 7 - .../core/marker/trait.StructuralPartialEq.js | 8 - implementors/core/ops/arith/trait.Add.js | 3 - implementors/core/ops/arith/trait.Sub.js | 3 - .../trait.ExpressionReconstructor.js | 3 - .../trait.ProgramReconstructor.js | 3 - .../trait.StatementReconstructor.js | 3 - .../passes/visitor/trait.ExpressionVisitor.js | 3 - .../passes/visitor/trait.ProgramVisitor.js | 3 - implementors/serde/de/trait.Deserialize.js | 8 - implementors/serde/ser/trait.Serialize.js | 7 - index.html | 2 +- leo/all.html | 2 +- leo/fn.main.html | 2 +- leo/fn.set_panic_hook.html | 2 +- leo/index.html | 3 +- leo_abnf/all.html | 2 +- leo_abnf/enum.Scope.html | 24 +- leo_abnf/fn.main.html | 2 +- leo_abnf/fn.parse_abnf_node.html | 2 +- leo_abnf/index.html | 3 +- leo_abnf/struct.Processor.html | 36 +- leo_ast/access/array_access/index.html | 2 +- .../array_access/struct.ArrayAccess.html | 54 +- .../associated_constant_access/index.html | 2 +- .../struct.AssociatedConstant.html | 46 +- .../associated_function_access/index.html | 2 +- .../struct.AssociatedFunction.html | 50 +- leo_ast/access/index.html | 2 +- leo_ast/access/member_access/index.html | 2 +- .../member_access/struct.MemberAccess.html | 50 +- leo_ast/access/struct.ArrayAccess.html | 54 +- leo_ast/access/struct.AssociatedConstant.html | 46 +- leo_ast/access/struct.AssociatedFunction.html | 50 +- leo_ast/access/struct.MemberAccess.html | 50 +- leo_ast/access/struct.TupleAccess.html | 50 +- leo_ast/access/tuple_access/index.html | 2 +- .../tuple_access/struct.TupleAccess.html | 50 +- leo_ast/all.html | 2 +- leo_ast/common/identifier/index.html | 2 +- .../common/identifier/struct.Identifier.html | 48 +- .../imported_modules/fn.deserialize.html | 4 +- .../common/imported_modules/fn.serialize.html | 6 +- leo_ast/common/imported_modules/index.html | 2 +- leo_ast/common/index.html | 2 +- leo_ast/common/node/index.html | 2 +- leo_ast/common/node/trait.Node.html | 4 +- leo_ast/common/node/type.NodeID.html | 2 +- leo_ast/common/node_builder/index.html | 2 +- .../node_builder/struct.NodeBuilder.html | 28 +- .../node_builder/struct.NodeBuilderInner.html | 24 +- leo_ast/common/positive_number/index.html | 2 +- .../struct.NonNegativeNumber.html | 64 +- leo_ast/common/static_string/index.html | 2 +- .../static_string/struct.StaticString.html | 44 +- .../access/enum.AccessExpression.html | 46 +- leo_ast/expressions/access/index.html | 2 +- leo_ast/expressions/array/index.html | 2 +- .../array/struct.ArrayExpression.html | 50 +- .../binary/enum.BinaryOperation.html | 48 +- leo_ast/expressions/binary/index.html | 2 +- .../binary/struct.BinaryExpression.html | 54 +- leo_ast/expressions/call/index.html | 2 +- .../call/struct.CallExpression.html | 58 +- leo_ast/expressions/cast/index.html | 2 +- .../cast/struct.CastExpression.html | 50 +- .../expressions/enum.AccessExpression.html | 46 +- leo_ast/expressions/enum.BinaryOperation.html | 48 +- leo_ast/expressions/enum.Expression.html | 46 +- leo_ast/expressions/enum.Literal.html | 76 +- leo_ast/expressions/enum.UnaryOperation.html | 48 +- leo_ast/expressions/err/index.html | 2 +- .../expressions/err/struct.ErrExpression.html | 46 +- leo_ast/expressions/index.html | 2 +- leo_ast/expressions/literal/enum.Literal.html | 76 +- leo_ast/expressions/literal/index.html | 2 +- .../expressions/struct.ArrayExpression.html | 50 +- .../expressions/struct.BinaryExpression.html | 54 +- .../expressions/struct.CallExpression.html | 58 +- .../expressions/struct.CastExpression.html | 50 +- leo_ast/expressions/struct.ErrExpression.html | 46 +- .../expressions/struct.StructExpression.html | 54 +- .../struct.StructVariableInitializer.html | 50 +- .../expressions/struct.TernaryExpression.html | 58 +- .../expressions/struct.TupleExpression.html | 50 +- .../expressions/struct.UnaryExpression.html | 50 +- .../expressions/struct.UnitExpression.html | 46 +- leo_ast/expressions/struct_init/index.html | 2 +- .../struct_init/struct.StructExpression.html | 54 +- .../struct.StructVariableInitializer.html | 50 +- leo_ast/expressions/ternary/index.html | 2 +- .../ternary/struct.TernaryExpression.html | 58 +- leo_ast/expressions/tuple/index.html | 2 +- .../tuple/struct.TupleExpression.html | 50 +- .../unary/enum.UnaryOperation.html | 48 +- leo_ast/expressions/unary/index.html | 2 +- .../unary/struct.UnaryExpression.html | 50 +- leo_ast/expressions/unit/index.html | 2 +- .../unit/struct.UnitExpression.html | 46 +- leo_ast/fn.normalize_json_value.html | 2 +- leo_ast/fn.remove_key_from_json.html | 2 +- leo_ast/functions/annotation/index.html | 2 +- .../annotation/struct.Annotation.html | 46 +- .../core_function/enum.CoreFunction.html | 46 +- leo_ast/functions/core_function/index.html | 2 +- leo_ast/functions/external/index.html | 2 +- .../functions/external/struct.External.html | 46 +- leo_ast/functions/finalize/index.html | 2 +- .../functions/finalize/struct.Finalize.html | 58 +- leo_ast/functions/index.html | 2 +- leo_ast/functions/input/enum.Input.html | 46 +- leo_ast/functions/input/index.html | 2 +- .../functions/input/struct.FunctionInput.html | 46 +- leo_ast/functions/mode/enum.Mode.html | 46 +- leo_ast/functions/mode/index.html | 2 +- leo_ast/functions/output/enum.Output.html | 46 +- leo_ast/functions/output/index.html | 2 +- .../output/struct.FunctionOutput.html | 46 +- leo_ast/functions/struct.Function.html | 72 +- leo_ast/functions/variant/enum.Variant.html | 44 +- leo_ast/functions/variant/index.html | 2 +- .../enum.GroupCoordinate.html | 50 +- leo_ast/groups/group_coordinate/index.html | 2 +- .../group_literal/enum.GroupLiteral.html | 50 +- leo_ast/groups/group_literal/index.html | 2 +- .../group_literal/struct.GroupTuple.html | 44 +- leo_ast/groups/index.html | 2 +- leo_ast/index.html | 3 +- leo_ast/input/definition/index.html | 2 +- .../input/definition/struct.Definition.html | 44 +- leo_ast/input/index.html | 2 +- leo_ast/input/input_ast/index.html | 2 +- leo_ast/input/input_ast/struct.InputAst.html | 48 +- leo_ast/input/input_ast/struct.InputData.html | 30 +- .../input/input_value/enum.InputValue.html | 54 +- leo_ast/input/input_value/index.html | 2 +- leo_ast/input/program_input/index.html | 2 +- .../program_input/struct.ProgramInput.html | 28 +- leo_ast/input/section/index.html | 2 +- leo_ast/input/section/struct.Section.html | 30 +- leo_ast/input/type.Definitions.html | 6 +- leo_ast/macro.simple_node_impl.html | 2 +- leo_ast/mapping/index.html | 2 +- leo_ast/mapping/struct.Mapping.html | 46 +- leo_ast/passes/consumer/index.html | 2 +- .../consumer/trait.ExpressionConsumer.html | 4 +- .../consumer/trait.FunctionConsumer.html | 4 +- .../passes/consumer/trait.ImportConsumer.html | 4 +- .../consumer/trait.MappingConsumer.html | 4 +- .../consumer/trait.ProgramConsumer.html | 4 +- .../consumer/trait.ProgramScopeConsumer.html | 4 +- .../consumer/trait.StatementConsumer.html | 4 +- .../passes/consumer/trait.StructConsumer.html | 4 +- leo_ast/passes/index.html | 2 +- leo_ast/passes/reconstructor/index.html | 2 +- .../trait.ExpressionReconstructor.html | 8 +- .../trait.ProgramReconstructor.html | 4 +- .../trait.StatementReconstructor.html | 4 +- leo_ast/passes/visitor/index.html | 2 +- .../visitor/trait.ExpressionVisitor.html | 10 +- .../passes/visitor/trait.ProgramVisitor.html | 4 +- .../visitor/trait.StatementVisitor.html | 4 +- leo_ast/program/index.html | 2 +- leo_ast/program/program_id/index.html | 2 +- .../program/program_id/struct.ProgramId.html | 46 +- leo_ast/program/program_scope/index.html | 2 +- .../program_scope/struct.ProgramScope.html | 62 +- leo_ast/program/struct.Program.html | 48 +- .../statement/assert/enum.AssertVariant.html | 44 +- leo_ast/statement/assert/index.html | 2 +- .../assert/struct.AssertStatement.html | 46 +- leo_ast/statement/assign/index.html | 2 +- .../assign/struct.AssignStatement.html | 46 +- leo_ast/statement/block/index.html | 2 +- leo_ast/statement/block/struct.Block.html | 50 +- leo_ast/statement/conditional/index.html | 2 +- .../struct.ConditionalStatement.html | 50 +- .../enum.ConsoleFunction.html | 46 +- .../console/console_function/index.html | 2 +- .../console/console_statement/index.html | 2 +- .../struct.ConsoleStatement.html | 46 +- leo_ast/statement/console/index.html | 2 +- leo_ast/statement/const_/index.html | 2 +- .../const_/struct.ConstDeclaration.html | 46 +- .../enum.DeclarationType.html | 46 +- .../definition/declaration_type/index.html | 2 +- .../definition/enum.DeclarationType.html | 46 +- leo_ast/statement/definition/index.html | 2 +- .../struct.DefinitionStatement.html | 46 +- leo_ast/statement/enum.Statement.html | 54 +- leo_ast/statement/expression/index.html | 2 +- .../struct.ExpressionStatement.html | 46 +- leo_ast/statement/index.html | 2 +- leo_ast/statement/iteration/index.html | 2 +- .../iteration/struct.IterationStatement.html | 58 +- leo_ast/statement/return_/index.html | 2 +- .../return_/struct.ReturnStatement.html | 50 +- leo_ast/struct.Ast.html | 56 +- leo_ast/struct/index.html | 2 +- leo_ast/struct/member/index.html | 2 +- leo_ast/struct/member/struct.Member.html | 46 +- leo_ast/struct/struct.Struct.html | 54 +- leo_ast/types/array/index.html | 2 +- leo_ast/types/array/struct.ArrayType.html | 56 +- .../core_constant/enum.CoreConstant.html | 42 +- leo_ast/types/core_constant/index.html | 2 +- leo_ast/types/index.html | 2 +- .../types/integer_type/enum.IntegerType.html | 52 +- leo_ast/types/integer_type/index.html | 2 +- leo_ast/types/mapping/index.html | 2 +- leo_ast/types/mapping/struct.MappingType.html | 54 +- leo_ast/types/tuple/index.html | 2 +- leo_ast/types/tuple/struct.TupleType.html | 56 +- leo_ast/types/type_/enum.Type.html | 52 +- leo_ast/types/type_/index.html | 2 +- leo_ast/value/enum.Value.html | 76 +- leo_ast/value/index.html | 2 +- .../value/macro.implement_const_binary.html | 2 +- .../value/macro.implement_const_unary.html | 2 +- leo_compiler/all.html | 2 +- leo_compiler/compiler/index.html | 2 +- leo_compiler/compiler/struct.Ast.html | 68 +- leo_compiler/compiler/struct.Compiler.html | 90 +- leo_compiler/compiler/struct.InputAst.html | 70 +- leo_compiler/compiler/struct.SymbolTable.html | 114 +- leo_compiler/index.html | 3 +- leo_compiler/options/index.html | 2 +- leo_compiler/options/struct.BuildOptions.html | 34 +- .../options/struct.CompilerOptions.html | 30 +- .../options/struct.OutputOptions.html | 78 +- leo_compiler/struct.Ast.html | 68 +- leo_compiler/struct.BuildOptions.html | 34 +- leo_compiler/struct.Compiler.html | 90 +- leo_compiler/struct.CompilerOptions.html | 30 +- leo_compiler/struct.InputAst.html | 70 +- leo_compiler/struct.OutputOptions.html | 78 +- leo_compiler/struct.SymbolTable.html | 114 +- leo_errors/all.html | 2 +- .../common/backtraced/constant.INDENT.html | 2 +- leo_errors/common/backtraced/index.html | 2 +- .../common/backtraced/struct.Backtraced.html | 78 +- leo_errors/common/formatted/index.html | 2 +- .../common/formatted/struct.Formatted.html | 52 +- leo_errors/common/index.html | 2 +- leo_errors/common/macros/index.html | 2 +- leo_errors/common/traits/index.html | 2 +- .../common/traits/trait.LeoMessageCode.html | 34 +- leo_errors/emitter/index.html | 2 +- leo_errors/emitter/struct.Buffer.html | 40 +- leo_errors/emitter/struct.BufferEmitter.html | 26 +- leo_errors/emitter/struct.Handler.html | 46 +- leo_errors/emitter/struct.HandlerInner.html | 36 +- leo_errors/emitter/struct.StderrEmitter.html | 26 +- leo_errors/emitter/trait.Emitter.html | 8 +- leo_errors/emitter/type.ErrBuffer.html | 7 +- leo_errors/emitter/type.WarningBuffer.html | 7 +- .../errors/ast/ast_errors/enum.AstError.html | 68 +- leo_errors/errors/ast/ast_errors/index.html | 2 +- leo_errors/errors/ast/index.html | 2 +- .../errors/cli/cli_errors/enum.CliError.html | 40 +- leo_errors/errors/cli/cli_errors/index.html | 2 +- leo_errors/errors/cli/index.html | 2 +- .../compiler_errors/enum.CompilerError.html | 44 +- .../compiler/compiler_errors/index.html | 2 +- leo_errors/errors/compiler/index.html | 2 +- leo_errors/errors/enum.LeoError.html | 32 +- leo_errors/errors/enum.LeoWarning.html | 26 +- .../flattener_errors/enum.FlattenError.html | 42 +- .../flattener_errors/fn.type_name.html | 2 +- .../flattener/flattener_errors/index.html | 2 +- leo_errors/errors/flattener/index.html | 2 +- leo_errors/errors/index.html | 2 +- leo_errors/errors/input/index.html | 2 +- .../input/input_errors/enum.InputError.html | 40 +- .../errors/input/input_errors/index.html | 2 +- leo_errors/errors/loop_unroller/index.html | 2 +- .../enum.LoopUnrollerError.html | 30 +- .../loop_unroller_errors/index.html | 2 +- leo_errors/errors/package/index.html | 2 +- .../package_errors/enum.PackageError.html | 96 +- .../errors/package/package_errors/index.html | 2 +- leo_errors/errors/parser/index.html | 2 +- .../parser_errors/enum.ParserError.html | 80 +- .../errors/parser/parser_errors/index.html | 2 +- .../parser_warnings/enum.ParserWarning.html | 32 +- .../errors/parser/parser_warnings/index.html | 2 +- leo_errors/errors/type.Result.html | 4 +- leo_errors/errors/type_checker/index.html | 2 +- .../enum.TypeCheckerError.html | 140 +- .../type_checker_error/index.html | 2 +- leo_errors/index.html | 3 +- leo_errors/macro.create_messages.html | 2 +- leo_lang/all.html | 2 +- leo_lang/cli/account/enum.Account.html | 76 +- leo_lang/cli/account/index.html | 2 +- leo_lang/cli/build/index.html | 2 +- leo_lang/cli/build/struct.Build.html | 60 +- leo_lang/cli/clean/index.html | 2 +- leo_lang/cli/clean/struct.Clean.html | 60 +- leo_lang/cli/cli/enum.Commands.html | 50 +- leo_lang/cli/cli/fn.handle_error.html | 2 +- leo_lang/cli/cli/fn.run_with_args.html | 2 +- leo_lang/cli/cli/index.html | 2 +- leo_lang/cli/cli/struct.CLI.html | 56 +- .../cli/commands/account/enum.Account.html | 76 +- .../cli/commands/account/fn.print_keys.html | 2 +- .../account/fn.write_to_env_file.html | 4 +- leo_lang/cli/commands/account/index.html | 2 +- .../commands/build/fn.compile_leo_file.html | 12 +- leo_lang/cli/commands/build/index.html | 2 +- leo_lang/cli/commands/build/struct.Build.html | 60 +- leo_lang/cli/commands/clean/index.html | 2 +- leo_lang/cli/commands/clean/struct.Clean.html | 60 +- .../cli/commands/example/enum.Example.html | 62 +- leo_lang/cli/commands/example/index.html | 2 +- leo_lang/cli/commands/execute/index.html | 2 +- .../cli/commands/execute/struct.Execute.html | 66 +- leo_lang/cli/commands/index.html | 2 +- leo_lang/cli/commands/new/index.html | 2 +- leo_lang/cli/commands/new/struct.New.html | 62 +- leo_lang/cli/commands/run/index.html | 2 +- leo_lang/cli/commands/run/struct.Run.html | 64 +- .../cli/commands/struct.BuildOptions.html | 84 +- leo_lang/cli/commands/trait.Command.html | 24 +- leo_lang/cli/commands/update/index.html | 2 +- .../cli/commands/update/struct.Update.html | 70 +- leo_lang/cli/constant.SNARKVM_COMMAND.html | 2 +- leo_lang/cli/context/index.html | 2 +- leo_lang/cli/context/struct.Context.html | 36 +- leo_lang/cli/enum.Account.html | 76 +- leo_lang/cli/enum.Example.html | 62 +- leo_lang/cli/example/enum.Example.html | 62 +- leo_lang/cli/example/index.html | 2 +- leo_lang/cli/execute/index.html | 2 +- leo_lang/cli/execute/struct.Execute.html | 66 +- leo_lang/cli/fn.handle_error.html | 2 +- leo_lang/cli/fn.run_with_args.html | 2 +- leo_lang/cli/helpers/context/index.html | 2 +- .../cli/helpers/context/struct.Context.html | 36 +- leo_lang/cli/helpers/index.html | 2 +- .../cli/helpers/logger/fn.init_logger.html | 2 +- leo_lang/cli/helpers/logger/index.html | 2 +- leo_lang/cli/helpers/logger/static.START.html | 2 +- .../cli/helpers/logger/struct.Format.html | 76 +- leo_lang/cli/helpers/updater/index.html | 2 +- .../cli/helpers/updater/struct.Updater.html | 32 +- leo_lang/cli/index.html | 2 +- leo_lang/cli/logger/fn.init_logger.html | 2 +- leo_lang/cli/logger/index.html | 2 +- leo_lang/cli/logger/struct.Format.html | 76 +- leo_lang/cli/new/index.html | 2 +- leo_lang/cli/new/struct.New.html | 62 +- leo_lang/cli/run/index.html | 2 +- leo_lang/cli/run/struct.Run.html | 64 +- leo_lang/cli/struct.Build.html | 60 +- leo_lang/cli/struct.BuildOptions.html | 84 +- leo_lang/cli/struct.CLI.html | 56 +- leo_lang/cli/struct.Clean.html | 60 +- leo_lang/cli/struct.Execute.html | 66 +- leo_lang/cli/struct.New.html | 62 +- leo_lang/cli/struct.Run.html | 64 +- leo_lang/cli/struct.Update.html | 70 +- leo_lang/cli/trait.Command.html | 24 +- leo_lang/cli/type.CurrentNetwork.html | 2 +- leo_lang/cli/update/index.html | 2 +- leo_lang/cli/update/struct.Update.html | 70 +- leo_lang/cli/updater/index.html | 2 +- leo_lang/cli/updater/struct.Updater.html | 32 +- leo_lang/index.html | 3 +- leo_package/all.html | 2 +- leo_package/build/directory/index.html | 2 +- .../static.BUILD_DIRECTORY_NAME.html | 2 +- .../directory/struct.BuildDirectory.html | 32 +- leo_package/build/index.html | 2 +- leo_package/fn.parse_file_paths.html | 8 +- leo_package/imports/directory/index.html | 2 +- .../static.IMPORTS_DIRECTORY_NAME.html | 2 +- .../directory/struct.ImportsDirectory.html | 34 +- leo_package/imports/index.html | 2 +- leo_package/index.html | 3 +- .../inputs/directory/fn.parse_file_paths.html | 8 +- leo_package/inputs/directory/index.html | 2 +- .../static.INPUTS_DIRECTORY_NAME.html | 2 +- .../directory/struct.InputsDirectory.html | 30 +- leo_package/inputs/index.html | 2 +- leo_package/inputs/input/index.html | 2 +- .../input/static.INPUT_FILE_EXTENSION.html | 2 +- .../inputs/input/struct.InputFile.html | 44 +- .../outputs/ast_snapshot/enum.Snapshot.html | 40 +- leo_package/outputs/ast_snapshot/index.html | 2 +- .../static.AST_SNAPSHOT_FILE_EXTENSION.html | 2 +- .../ast_snapshot/struct.SnapshotFile.html | 44 +- leo_package/outputs/checksum/index.html | 2 +- .../static.CHECKSUM_FILE_EXTENSION.html | 2 +- .../outputs/checksum/struct.ChecksumFile.html | 46 +- leo_package/outputs/circuit/index.html | 2 +- .../static.CIRCUIT_FILE_EXTENSION.html | 2 +- .../outputs/circuit/struct.CircuitFile.html | 46 +- leo_package/outputs/directory/index.html | 2 +- .../static.OUTPUTS_DIRECTORY_NAME.html | 2 +- .../directory/struct.OutputsDirectory.html | 30 +- leo_package/outputs/index.html | 2 +- .../outputs/static.MAIN_ALEO_FILE_NAME.html | 2 +- leo_package/package/index.html | 2 +- leo_package/package/struct.Package.html | 62 +- leo_package/root/env/index.html | 2 +- leo_package/root/env/static.ENV_FILENAME.html | 2 +- leo_package/root/env/struct.Env.html | 48 +- leo_package/root/gitignore/index.html | 2 +- .../gitignore/static.GITIGNORE_FILENAME.html | 2 +- .../root/gitignore/struct.Gitignore.html | 36 +- leo_package/root/index.html | 2 +- leo_package/source/directory/index.html | 2 +- .../static.SOURCE_DIRECTORY_NAME.html | 2 +- .../directory/struct.SourceDirectory.html | 32 +- leo_package/source/index.html | 2 +- leo_package/source/main/index.html | 2 +- .../source/main/static.MAIN_FILENAME.html | 2 +- leo_package/source/main/struct.MainFile.html | 40 +- leo_package/static.LEO_FILE_EXTENSION.html | 2 +- leo_parser/all.html | 2 +- leo_parser/constant.KEYWORD_TOKENS.html | 2 +- leo_parser/fn.parse_ast.html | 4 +- leo_parser/fn.parse_program_inputs.html | 4 +- leo_parser/index.html | 3 +- .../parser/context/constant.DUMMY_EOF.html | 2 +- leo_parser/parser/context/index.html | 2 +- .../parser/context/struct.ParserContext.html | 96 +- .../parser/expression/constant.INT_TYPES.html | 2 +- .../expression/fn.assert_no_whitespace.html | 8 +- leo_parser/parser/expression/index.html | 2 +- leo_parser/parser/file/index.html | 2 +- leo_parser/parser/fn.parse.html | 4 +- leo_parser/parser/fn.parse_input.html | 4 +- leo_parser/parser/index.html | 2 +- leo_parser/parser/input/index.html | 2 +- .../statement/constant.ASSIGN_TOKENS.html | 2 +- leo_parser/parser/statement/index.html | 2 +- .../parser/type_/constant.TYPE_TOKENS.html | 2 +- leo_parser/parser/type_/index.html | 2 +- leo_parser/tokenizer/fn.tokenize.html | 6 +- leo_parser/tokenizer/fn.tokenize_iter.html | 6 +- leo_parser/tokenizer/index.html | 2 +- .../tokenizer/lexer/fn.eat_identifier.html | 6 +- .../lexer/fn.ensure_no_bidi_override.html | 2 +- .../tokenizer/lexer/fn.is_bidi_override.html | 2 +- leo_parser/tokenizer/lexer/index.html | 2 +- .../tokenizer/lexer/struct.SpannedToken.html | 44 +- .../token/constant.KEYWORD_TOKENS.html | 2 +- .../tokenizer/token/enum.Delimiter.html | 30 +- leo_parser/tokenizer/token/enum.Token.html | 80 +- leo_parser/tokenizer/token/index.html | 2 +- leo_passes/all.html | 2 +- .../code_generation/generator/index.html | 2 +- .../generator/struct.CodeGenerator.html | 74 +- leo_passes/code_generation/index.html | 2 +- .../visit_expressions/index.html | 2 +- .../code_generation/visit_program/index.html | 2 +- .../visit_statements/index.html | 2 +- .../code_generation/visit_type/index.html | 2 +- leo_passes/common/assigner/index.html | 2 +- .../common/assigner/struct.Assigner.html | 38 +- .../common/assigner/struct.AssignerInner.html | 38 +- .../constant_propagation_table/index.html | 2 +- .../struct.ConstantPropagationTable.html | 70 +- .../common/graph/enum.DiGraphError.html | 42 +- leo_passes/common/graph/index.html | 2 +- leo_passes/common/graph/struct.DiGraph.html | 42 +- leo_passes/common/graph/trait.Node.html | 4 +- leo_passes/common/graph/type.CallGraph.html | 22 +- leo_passes/common/graph/type.ImportGraph.html | 22 +- leo_passes/common/graph/type.StructGraph.html | 22 +- leo_passes/common/index.html | 2 +- leo_passes/common/rename_table/index.html | 2 +- .../rename_table/struct.RenameTable.html | 58 +- leo_passes/common/replacer/index.html | 2 +- .../common/replacer/struct.Replacer.html | 48 +- .../symbol_table/function_symbol/index.html | 2 +- .../function_symbol/struct.FinalizeData.html | 46 +- .../struct.FunctionSymbol.html | 54 +- leo_passes/common/symbol_table/index.html | 2 +- .../symbol_table/struct.SymbolTable.html | 98 +- .../variable_symbol/enum.VariableType.html | 60 +- .../symbol_table/variable_symbol/index.html | 2 +- .../struct.VariableSymbol.html | 60 +- leo_passes/common/type_table/index.html | 2 +- .../common/type_table/struct.TypeTable.html | 36 +- .../dead_code_eliminator/index.html | 2 +- .../struct.DeadCodeEliminator.html | 36 +- .../eliminate_expression/index.html | 2 +- .../eliminate_program/index.html | 2 +- .../eliminate_statement/index.html | 2 +- leo_passes/dead_code_elimination/index.html | 2 +- .../destructure_expression/index.html | 2 +- .../destructure_program/index.html | 2 +- .../destructure_statement/index.html | 2 +- .../destructuring/destructurer/index.html | 2 +- .../destructurer/struct.Destructurer.html | 32 +- leo_passes/destructuring/index.html | 2 +- .../flattening/flatten_expression/index.html | 2 +- .../flattening/flatten_program/index.html | 2 +- .../flattening/flatten_statement/index.html | 2 +- leo_passes/flattening/flattener/index.html | 2 +- .../flattener/struct.Flattener.html | 58 +- leo_passes/flattening/index.html | 2 +- .../assignment_renamer/index.html | 2 +- .../struct.AssignmentRenamer.html | 36 +- .../function_inliner/index.html | 2 +- .../struct.FunctionInliner.html | 36 +- leo_passes/function_inlining/index.html | 2 +- .../inline_expression/index.html | 2 +- .../inline_program/index.html | 2 +- .../inline_statement/index.html | 2 +- leo_passes/index.html | 3 +- leo_passes/loop_unrolling/index.html | 2 +- .../range_iterator/enum.Clusivity.html | 28 +- .../loop_unrolling/range_iterator/index.html | 2 +- .../range_iterator/struct.RangeIterator.html | 1994 ++++++++--------- .../range_iterator/trait.LoopBound.html | 4 +- .../unroll_expression/index.html | 2 +- .../loop_unrolling/unroll_program/index.html | 2 +- .../unroll_statement/index.html | 2 +- leo_passes/loop_unrolling/unroller/index.html | 2 +- .../unroller/struct.Unroller.html | 54 +- leo_passes/pass/index.html | 2 +- leo_passes/pass/trait.Pass.html | 4 +- .../static_single_assignment/index.html | 2 +- .../rename_expression/index.html | 2 +- .../rename_program/index.html | 2 +- .../rename_statement/index.html | 2 +- .../static_single_assigner/index.html | 2 +- .../struct.StaticSingleAssigner.html | 40 +- .../symbol_table_creation/creator/index.html | 2 +- .../creator/struct.SymbolTableCreator.html | 30 +- leo_passes/symbol_table_creation/index.html | 2 +- .../fn.return_incorrect_type.html | 10 +- .../check_expressions/index.html | 2 +- .../type_checking/check_program/index.html | 2 +- .../type_checking/check_statements/index.html | 2 +- .../checker/constant.ADDRESS_TYPE.html | 2 +- .../checker/constant.BOOLEAN_TYPE.html | 2 +- .../checker/constant.FIELD_TYPE.html | 2 +- .../checker/constant.GROUP_TYPE.html | 2 +- .../checker/constant.INT_TYPES.html | 2 +- .../checker/constant.MAGNITUDE_TYPES.html | 2 +- .../checker/constant.SCALAR_TYPE.html | 2 +- .../checker/constant.SIGNATURE_TYPE.html | 2 +- .../checker/constant.SIGNED_INT_TYPES.html | 2 +- .../checker/constant.UNSIGNED_INT_TYPES.html | 2 +- .../checker/fn.types_to_string.html | 2 +- leo_passes/type_checking/checker/index.html | 2 +- .../checker/struct.TypeChecker.html | 136 +- leo_passes/type_checking/index.html | 2 +- leo_span/all.html | 2 +- leo_span/index.html | 3 +- leo_span/source_map/enum.FileName.html | 34 +- .../source_map/fn.analyze_source_file.html | 6 +- .../source_map/fn.is_not_test_framework.html | 2 +- .../source_map/fn.normalize_newlines.html | 2 +- leo_span/source_map/fn.normalize_src.html | 2 +- leo_span/source_map/fn.remove_bom.html | 2 +- leo_span/source_map/index.html | 2 +- leo_span/source_map/struct.LineCol.html | 30 +- leo_span/source_map/struct.MultiByteChar.html | 36 +- leo_span/source_map/struct.SourceFile.html | 42 +- leo_span/source_map/struct.SourceMap.html | 44 +- .../source_map/struct.SourceMapInner.html | 32 +- leo_span/source_map/struct.SpanLocation.html | 34 +- leo_span/span/index.html | 2 +- leo_span/span/macro.impl_pos.html | 2 +- leo_span/span/struct.BytePos.html | 50 +- leo_span/span/struct.CharPos.html | 42 +- leo_span/span/struct.Span.html | 48 +- leo_span/span/trait.Pos.html | 12 +- leo_span/span_json/fn.deserialize.html | 4 +- leo_span/span_json/fn.serialize.html | 4 +- leo_span/span_json/index.html | 2 +- leo_span/span_json/struct.SpanMapVisitor.html | 80 +- leo_span/symbol/constant.PRE_DEFINED.html | 2 +- leo_span/symbol/enum.InternedStr.html | 410 ++-- .../fn.create_session_if_not_set_then.html | 4 +- leo_span/symbol/fn.with_session_globals.html | 2 +- leo_span/symbol/index.html | 2 +- leo_span/symbol/macro.consts.html | 2 +- leo_span/symbol/macro.strings.html | 2 +- leo_span/symbol/macro.symbols.html | 2 +- leo_span/symbol/static.SESSION_GLOBALS.html | 2 +- leo_span/symbol/struct.InnerInterner.html | 22 +- leo_span/symbol/struct.Interner.html | 32 +- leo_span/symbol/struct.SessionGlobals.html | 22 +- leo_span/symbol/struct.Symbol.html | 64 +- leo_span/symbol/sym/constant.As.html | 2 +- leo_span/symbol/sym/constant.BHP1024.html | 2 +- leo_span/symbol/sym/constant.BHP256.html | 2 +- leo_span/symbol/sym/constant.BHP512.html | 2 +- leo_span/symbol/sym/constant.BHP768.html | 2 +- leo_span/symbol/sym/constant.ChaCha.html | 2 +- leo_span/symbol/sym/constant.Const.html | 2 +- leo_span/symbol/sym/constant.Else.html | 2 +- leo_span/symbol/sym/constant.False.html | 2 +- leo_span/symbol/sym/constant.For.html | 2 +- leo_span/symbol/sym/constant.GEN.html | 2 +- leo_span/symbol/sym/constant.If.html | 2 +- leo_span/symbol/sym/constant.In.html | 2 +- leo_span/symbol/sym/constant.Keccak256.html | 2 +- leo_span/symbol/sym/constant.Keccak384.html | 2 +- leo_span/symbol/sym/constant.Keccak512.html | 2 +- leo_span/symbol/sym/constant.Let.html | 2 +- leo_span/symbol/sym/constant.Mapping.html | 2 +- leo_span/symbol/sym/constant.Mod.html | 2 +- leo_span/symbol/sym/constant.Mut.html | 2 +- leo_span/symbol/sym/constant.Pedersen128.html | 2 +- leo_span/symbol/sym/constant.Pedersen64.html | 2 +- leo_span/symbol/sym/constant.Poseidon2.html | 2 +- leo_span/symbol/sym/constant.Poseidon4.html | 2 +- leo_span/symbol/sym/constant.Poseidon8.html | 2 +- leo_span/symbol/sym/constant.Return.html | 2 +- leo_span/symbol/sym/constant.SHA3_256.html | 2 +- leo_span/symbol/sym/constant.SHA3_384.html | 2 +- leo_span/symbol/sym/constant.SHA3_512.html | 2 +- leo_span/symbol/sym/constant.SelfLower.html | 2 +- leo_span/symbol/sym/constant.SelfUpper.html | 2 +- leo_span/symbol/sym/constant.Star.html | 2 +- leo_span/symbol/sym/constant.Struct.html | 2 +- leo_span/symbol/sym/constant.True.html | 2 +- leo_span/symbol/sym/constant.Type.html | 2 +- leo_span/symbol/sym/constant._nonce.html | 2 +- leo_span/symbol/sym/constant.abs.html | 2 +- leo_span/symbol/sym/constant.abs_wrapped.html | 2 +- leo_span/symbol/sym/constant.add.html | 2 +- leo_span/symbol/sym/constant.add_wrapped.html | 2 +- leo_span/symbol/sym/constant.address.html | 2 +- leo_span/symbol/sym/constant.aleo.html | 2 +- leo_span/symbol/sym/constant.and.html | 2 +- leo_span/symbol/sym/constant.assert.html | 2 +- leo_span/symbol/sym/constant.assert_eq.html | 2 +- leo_span/symbol/sym/constant.assert_neq.html | 2 +- leo_span/symbol/sym/constant.block.html | 2 +- leo_span/symbol/sym/constant.bool.html | 2 +- leo_span/symbol/sym/constant.caller.html | 2 +- .../sym/constant.commit_to_address.html | 2 +- .../symbol/sym/constant.commit_to_field.html | 2 +- .../symbol/sym/constant.commit_to_group.html | 2 +- leo_span/symbol/sym/constant.console.html | 2 +- leo_span/symbol/sym/constant.constant.html | 2 +- leo_span/symbol/sym/constant.contains.html | 2 +- leo_span/symbol/sym/constant.decrement.html | 2 +- leo_span/symbol/sym/constant.div.html | 2 +- leo_span/symbol/sym/constant.div_wrapped.html | 2 +- leo_span/symbol/sym/constant.double.html | 2 +- leo_span/symbol/sym/constant.eq.html | 2 +- leo_span/symbol/sym/constant.field.html | 2 +- leo_span/symbol/sym/constant.finalize.html | 2 +- leo_span/symbol/sym/constant.function.html | 2 +- leo_span/symbol/sym/constant.get.html | 2 +- leo_span/symbol/sym/constant.get_or_use.html | 2 +- leo_span/symbol/sym/constant.group.html | 2 +- leo_span/symbol/sym/constant.gt.html | 2 +- leo_span/symbol/sym/constant.gte.html | 2 +- .../symbol/sym/constant.hash_to_address.html | 2 +- .../symbol/sym/constant.hash_to_field.html | 2 +- .../symbol/sym/constant.hash_to_group.html | 2 +- .../symbol/sym/constant.hash_to_i128.html | 2 +- leo_span/symbol/sym/constant.hash_to_i16.html | 2 +- leo_span/symbol/sym/constant.hash_to_i32.html | 2 +- leo_span/symbol/sym/constant.hash_to_i64.html | 2 +- leo_span/symbol/sym/constant.hash_to_i8.html | 2 +- .../symbol/sym/constant.hash_to_scalar.html | 2 +- .../symbol/sym/constant.hash_to_u128.html | 2 +- leo_span/symbol/sym/constant.hash_to_u16.html | 2 +- leo_span/symbol/sym/constant.hash_to_u32.html | 2 +- leo_span/symbol/sym/constant.hash_to_u64.html | 2 +- leo_span/symbol/sym/constant.hash_to_u8.html | 2 +- leo_span/symbol/sym/constant.height.html | 2 +- leo_span/symbol/sym/constant.i128.html | 2 +- leo_span/symbol/sym/constant.i16.html | 2 +- leo_span/symbol/sym/constant.i32.html | 2 +- leo_span/symbol/sym/constant.i64.html | 2 +- leo_span/symbol/sym/constant.i8.html | 2 +- leo_span/symbol/sym/constant.import.html | 2 +- leo_span/symbol/sym/constant.increment.html | 2 +- leo_span/symbol/sym/constant.inline.html | 2 +- leo_span/symbol/sym/constant.input.html | 2 +- leo_span/symbol/sym/constant.inv.html | 2 +- leo_span/symbol/sym/constant.leo.html | 2 +- leo_span/symbol/sym/constant.lt.html | 2 +- leo_span/symbol/sym/constant.lte.html | 2 +- leo_span/symbol/sym/constant.main.html | 2 +- leo_span/symbol/sym/constant.mapping.html | 2 +- leo_span/symbol/sym/constant.mul.html | 2 +- leo_span/symbol/sym/constant.mul_wrapped.html | 2 +- leo_span/symbol/sym/constant.nand.html | 2 +- leo_span/symbol/sym/constant.neg.html | 2 +- leo_span/symbol/sym/constant.neq.html | 2 +- leo_span/symbol/sym/constant.nor.html | 2 +- leo_span/symbol/sym/constant.not.html | 2 +- leo_span/symbol/sym/constant.or.html | 2 +- leo_span/symbol/sym/constant.owner.html | 2 +- leo_span/symbol/sym/constant.pow.html | 2 +- leo_span/symbol/sym/constant.pow_wrapped.html | 2 +- leo_span/symbol/sym/constant.private.html | 2 +- leo_span/symbol/sym/constant.program.html | 2 +- leo_span/symbol/sym/constant.public.html | 2 +- .../symbol/sym/constant.rand_address.html | 2 +- leo_span/symbol/sym/constant.rand_bool.html | 2 +- leo_span/symbol/sym/constant.rand_field.html | 2 +- leo_span/symbol/sym/constant.rand_group.html | 2 +- leo_span/symbol/sym/constant.rand_i128.html | 2 +- leo_span/symbol/sym/constant.rand_i16.html | 2 +- leo_span/symbol/sym/constant.rand_i32.html | 2 +- leo_span/symbol/sym/constant.rand_i64.html | 2 +- leo_span/symbol/sym/constant.rand_i8.html | 2 +- leo_span/symbol/sym/constant.rand_scalar.html | 2 +- leo_span/symbol/sym/constant.rand_u128.html | 2 +- leo_span/symbol/sym/constant.rand_u16.html | 2 +- leo_span/symbol/sym/constant.rand_u32.html | 2 +- leo_span/symbol/sym/constant.rand_u64.html | 2 +- leo_span/symbol/sym/constant.rand_u8.html | 2 +- leo_span/symbol/sym/constant.record.html | 2 +- leo_span/symbol/sym/constant.rem.html | 2 +- leo_span/symbol/sym/constant.rem_wrapped.html | 2 +- leo_span/symbol/sym/constant.remove.html | 2 +- leo_span/symbol/sym/constant.scalar.html | 2 +- leo_span/symbol/sym/constant.set.html | 2 +- leo_span/symbol/sym/constant.shl.html | 2 +- leo_span/symbol/sym/constant.shl_wrapped.html | 2 +- leo_span/symbol/sym/constant.shr.html | 2 +- leo_span/symbol/sym/constant.shr_wrapped.html | 2 +- leo_span/symbol/sym/constant.signature.html | 2 +- leo_span/symbol/sym/constant.signer.html | 2 +- leo_span/symbol/sym/constant.square.html | 2 +- leo_span/symbol/sym/constant.square_root.html | 2 +- leo_span/symbol/sym/constant.string.html | 2 +- leo_span/symbol/sym/constant.sub.html | 2 +- leo_span/symbol/sym/constant.sub_wrapped.html | 2 +- leo_span/symbol/sym/constant.then.html | 2 +- .../symbol/sym/constant.to_x_coordinate.html | 2 +- .../symbol/sym/constant.to_y_coordinate.html | 2 +- leo_span/symbol/sym/constant.transition.html | 2 +- leo_span/symbol/sym/constant.u128.html | 2 +- leo_span/symbol/sym/constant.u16.html | 2 +- leo_span/symbol/sym/constant.u32.html | 2 +- leo_span/symbol/sym/constant.u64.html | 2 +- leo_span/symbol/sym/constant.u8.html | 2 +- leo_span/symbol/sym/constant.verify.html | 2 +- leo_span/symbol/sym/constant.xor.html | 2 +- leo_span/symbol/sym/index.html | 2 +- leo_test_framework/all.html | 2 +- leo_test_framework/error/enum.TestError.html | 52 +- leo_test_framework/error/fn.emit_errors.html | 12 +- leo_test_framework/error/index.html | 2 +- .../error/struct.TestFailure.html | 26 +- leo_test_framework/fetch/fn.find_tests.html | 2 +- .../fetch/fn.split_tests_one_line.html | 2 +- .../fetch/fn.split_tests_two_line.html | 2 +- leo_test_framework/fetch/index.html | 2 +- leo_test_framework/index.html | 3 +- leo_test_framework/output/index.html | 2 +- .../output/struct.TestExpectation.html | 32 +- leo_test_framework/runner/enum.ParseType.html | 32 +- leo_test_framework/runner/fn.get_benches.html | 2 +- .../runner/fn.is_env_var_set.html | 2 +- leo_test_framework/runner/fn.run_tests.html | 2 +- leo_test_framework/runner/fn.set_hook.html | 2 +- leo_test_framework/runner/fn.take_hook.html | 8 +- leo_test_framework/runner/index.html | 2 +- leo_test_framework/runner/struct.Test.html | 28 +- .../runner/struct.TestCases.html | 46 +- .../runner/trait.Namespace.html | 6 +- leo_test_framework/runner/trait.Runner.html | 6 +- .../test/enum.TestExpectationMode.html | 36 +- .../test/fn.extract_test_config.html | 2 +- leo_test_framework/test/index.html | 2 +- .../test/struct.TestConfig.html | 32 +- search-index.js | 24 +- settings.html | 2 +- src/errcov/errcov.rs.html | 2 +- src/leo/main.rs.html | 2 +- src/leo_abnf/main.rs.html | 2 +- src/leo_ast/access/array_access.rs.html | 2 +- .../access/associated_constant_access.rs.html | 2 +- .../access/associated_function_access.rs.html | 2 +- src/leo_ast/access/member_access.rs.html | 2 +- src/leo_ast/access/mod.rs.html | 2 +- src/leo_ast/access/tuple_access.rs.html | 2 +- src/leo_ast/common/identifier.rs.html | 2 +- src/leo_ast/common/imported_modules.rs.html | 2 +- src/leo_ast/common/mod.rs.html | 2 +- src/leo_ast/common/node.rs.html | 2 +- src/leo_ast/common/node_builder.rs.html | 2 +- src/leo_ast/common/positive_number.rs.html | 2 +- src/leo_ast/common/static_string.rs.html | 2 +- src/leo_ast/expressions/access.rs.html | 2 +- src/leo_ast/expressions/array.rs.html | 2 +- src/leo_ast/expressions/binary.rs.html | 2 +- src/leo_ast/expressions/call.rs.html | 2 +- src/leo_ast/expressions/cast.rs.html | 2 +- src/leo_ast/expressions/err.rs.html | 2 +- src/leo_ast/expressions/literal.rs.html | 2 +- src/leo_ast/expressions/mod.rs.html | 2 +- src/leo_ast/expressions/struct_init.rs.html | 2 +- src/leo_ast/expressions/ternary.rs.html | 2 +- src/leo_ast/expressions/tuple.rs.html | 2 +- src/leo_ast/expressions/unary.rs.html | 2 +- src/leo_ast/expressions/unit.rs.html | 2 +- src/leo_ast/functions/annotation.rs.html | 2 +- src/leo_ast/functions/core_function.rs.html | 2 +- src/leo_ast/functions/external.rs.html | 2 +- src/leo_ast/functions/finalize.rs.html | 2 +- src/leo_ast/functions/input.rs.html | 2 +- src/leo_ast/functions/mod.rs.html | 2 +- src/leo_ast/functions/mode.rs.html | 2 +- src/leo_ast/functions/output.rs.html | 2 +- src/leo_ast/functions/variant.rs.html | 2 +- src/leo_ast/groups/group_coordinate.rs.html | 2 +- src/leo_ast/groups/group_literal.rs.html | 2 +- src/leo_ast/groups/mod.rs.html | 2 +- src/leo_ast/input/definition.rs.html | 2 +- src/leo_ast/input/input_ast.rs.html | 2 +- src/leo_ast/input/input_value.rs.html | 2 +- src/leo_ast/input/mod.rs.html | 2 +- src/leo_ast/input/program_input.rs.html | 2 +- src/leo_ast/input/section.rs.html | 2 +- src/leo_ast/lib.rs.html | 2 +- src/leo_ast/mapping/mod.rs.html | 2 +- src/leo_ast/passes/consumer.rs.html | 2 +- src/leo_ast/passes/mod.rs.html | 2 +- src/leo_ast/passes/reconstructor.rs.html | 2 +- src/leo_ast/passes/visitor.rs.html | 2 +- src/leo_ast/program/mod.rs.html | 2 +- src/leo_ast/program/program_id.rs.html | 2 +- src/leo_ast/program/program_scope.rs.html | 2 +- src/leo_ast/statement/assert.rs.html | 2 +- src/leo_ast/statement/assign.rs.html | 2 +- src/leo_ast/statement/block.rs.html | 2 +- src/leo_ast/statement/conditional.rs.html | 2 +- .../console/console_function.rs.html | 2 +- .../console/console_statement.rs.html | 2 +- src/leo_ast/statement/console/mod.rs.html | 2 +- src/leo_ast/statement/const_.rs.html | 2 +- .../definition/declaration_type.rs.html | 2 +- src/leo_ast/statement/definition/mod.rs.html | 2 +- src/leo_ast/statement/expression.rs.html | 2 +- src/leo_ast/statement/iteration.rs.html | 2 +- src/leo_ast/statement/mod.rs.html | 2 +- src/leo_ast/statement/return_.rs.html | 2 +- src/leo_ast/struct/member.rs.html | 2 +- src/leo_ast/struct/mod.rs.html | 2 +- src/leo_ast/types/array.rs.html | 2 +- src/leo_ast/types/core_constant.rs.html | 2 +- src/leo_ast/types/integer_type.rs.html | 2 +- src/leo_ast/types/mapping.rs.html | 2 +- src/leo_ast/types/mod.rs.html | 2 +- src/leo_ast/types/tuple.rs.html | 2 +- src/leo_ast/types/type_.rs.html | 2 +- src/leo_ast/value/mod.rs.html | 2 +- src/leo_compiler/compiler.rs.html | 2 +- src/leo_compiler/lib.rs.html | 2 +- src/leo_compiler/options.rs.html | 2 +- src/leo_errors/common/backtraced.rs.html | 2 +- src/leo_errors/common/formatted.rs.html | 2 +- src/leo_errors/common/macros.rs.html | 2 +- src/leo_errors/common/mod.rs.html | 2 +- src/leo_errors/common/traits.rs.html | 2 +- src/leo_errors/emitter/mod.rs.html | 2 +- src/leo_errors/errors/ast/ast_errors.rs.html | 2 +- src/leo_errors/errors/ast/mod.rs.html | 2 +- src/leo_errors/errors/cli/cli_errors.rs.html | 2 +- src/leo_errors/errors/cli/mod.rs.html | 2 +- .../errors/compiler/compiler_errors.rs.html | 2 +- src/leo_errors/errors/compiler/mod.rs.html | 2 +- .../errors/flattener/flattener_errors.rs.html | 2 +- src/leo_errors/errors/flattener/mod.rs.html | 2 +- .../errors/input/input_errors.rs.html | 2 +- src/leo_errors/errors/input/mod.rs.html | 2 +- .../loop_unroller_errors.rs.html | 2 +- .../errors/loop_unroller/mod.rs.html | 2 +- src/leo_errors/errors/mod.rs.html | 2 +- src/leo_errors/errors/package/mod.rs.html | 2 +- .../errors/package/package_errors.rs.html | 2 +- src/leo_errors/errors/parser/mod.rs.html | 2 +- .../errors/parser/parser_errors.rs.html | 2 +- .../errors/parser/parser_warnings.rs.html | 2 +- .../errors/type_checker/mod.rs.html | 2 +- .../type_checker/type_checker_error.rs.html | 2 +- src/leo_errors/lib.rs.html | 2 +- src/leo_lang/cli/cli.rs.html | 2 +- src/leo_lang/cli/commands/account.rs.html | 2 +- src/leo_lang/cli/commands/build.rs.html | 2 +- src/leo_lang/cli/commands/clean.rs.html | 2 +- src/leo_lang/cli/commands/example.rs.html | 2 +- src/leo_lang/cli/commands/execute.rs.html | 2 +- src/leo_lang/cli/commands/mod.rs.html | 2 +- src/leo_lang/cli/commands/new.rs.html | 2 +- src/leo_lang/cli/commands/run.rs.html | 2 +- src/leo_lang/cli/commands/update.rs.html | 2 +- src/leo_lang/cli/helpers/context.rs.html | 2 +- src/leo_lang/cli/helpers/logger.rs.html | 2 +- src/leo_lang/cli/helpers/mod.rs.html | 2 +- src/leo_lang/cli/helpers/updater.rs.html | 2 +- src/leo_lang/cli/mod.rs.html | 2 +- src/leo_lang/lib.rs.html | 2 +- src/leo_package/build/directory.rs.html | 2 +- src/leo_package/build/mod.rs.html | 2 +- src/leo_package/imports/directory.rs.html | 2 +- src/leo_package/imports/mod.rs.html | 2 +- src/leo_package/inputs/directory.rs.html | 2 +- src/leo_package/inputs/input.rs.html | 2 +- src/leo_package/inputs/mod.rs.html | 2 +- src/leo_package/lib.rs.html | 2 +- src/leo_package/outputs/ast_snapshot.rs.html | 2 +- src/leo_package/outputs/checksum.rs.html | 2 +- src/leo_package/outputs/circuit.rs.html | 2 +- src/leo_package/outputs/directory.rs.html | 2 +- src/leo_package/outputs/mod.rs.html | 2 +- src/leo_package/package.rs.html | 2 +- src/leo_package/root/env.rs.html | 2 +- src/leo_package/root/gitignore.rs.html | 2 +- src/leo_package/root/mod.rs.html | 2 +- src/leo_package/source/directory.rs.html | 2 +- src/leo_package/source/main.rs.html | 2 +- src/leo_package/source/mod.rs.html | 2 +- src/leo_parser/lib.rs.html | 2 +- src/leo_parser/parser/context.rs.html | 2 +- src/leo_parser/parser/expression.rs.html | 2 +- src/leo_parser/parser/file.rs.html | 2 +- src/leo_parser/parser/input.rs.html | 2 +- src/leo_parser/parser/mod.rs.html | 2 +- src/leo_parser/parser/statement.rs.html | 2 +- src/leo_parser/parser/type_.rs.html | 2 +- src/leo_parser/tokenizer/lexer.rs.html | 2 +- src/leo_parser/tokenizer/mod.rs.html | 2 +- src/leo_parser/tokenizer/token.rs.html | 2 +- .../code_generation/generator.rs.html | 2 +- src/leo_passes/code_generation/mod.rs.html | 2 +- .../code_generation/visit_expressions.rs.html | 2 +- .../code_generation/visit_program.rs.html | 2 +- .../code_generation/visit_statements.rs.html | 2 +- .../code_generation/visit_type.rs.html | 2 +- src/leo_passes/common/assigner/mod.rs.html | 2 +- .../constant_propagation_table/mod.rs.html | 2 +- src/leo_passes/common/graph/mod.rs.html | 2 +- src/leo_passes/common/mod.rs.html | 2 +- .../common/rename_table/mod.rs.html | 2 +- src/leo_passes/common/replacer/mod.rs.html | 2 +- .../symbol_table/function_symbol.rs.html | 2 +- .../common/symbol_table/mod.rs.html | 2 +- .../symbol_table/variable_symbol.rs.html | 2 +- src/leo_passes/common/type_table/mod.rs.html | 2 +- .../dead_code_eliminator.rs.html | 2 +- .../eliminate_expression.rs.html | 2 +- .../eliminate_program.rs.html | 2 +- .../eliminate_statement.rs.html | 2 +- .../dead_code_elimination/mod.rs.html | 2 +- .../destructure_expression.rs.html | 2 +- .../destructuring/destructure_program.rs.html | 2 +- .../destructure_statement.rs.html | 2 +- .../destructuring/destructurer.rs.html | 2 +- src/leo_passes/destructuring/mod.rs.html | 2 +- .../flattening/flatten_expression.rs.html | 2 +- .../flattening/flatten_program.rs.html | 2 +- .../flattening/flatten_statement.rs.html | 2 +- src/leo_passes/flattening/flattener.rs.html | 2 +- src/leo_passes/flattening/mod.rs.html | 2 +- .../assignment_renamer.rs.html | 2 +- .../function_inliner.rs.html | 2 +- .../inline_expression.rs.html | 2 +- .../function_inlining/inline_program.rs.html | 2 +- .../inline_statement.rs.html | 2 +- src/leo_passes/function_inlining/mod.rs.html | 2 +- src/leo_passes/lib.rs.html | 2 +- src/leo_passes/loop_unrolling/mod.rs.html | 2 +- .../loop_unrolling/range_iterator.rs.html | 2 +- .../loop_unrolling/unroll_expression.rs.html | 2 +- .../loop_unrolling/unroll_program.rs.html | 2 +- .../loop_unrolling/unroll_statement.rs.html | 2 +- .../loop_unrolling/unroller.rs.html | 2 +- src/leo_passes/pass.rs.html | 2 +- .../static_single_assignment/mod.rs.html | 2 +- .../rename_expression.rs.html | 2 +- .../rename_program.rs.html | 2 +- .../rename_statement.rs.html | 2 +- .../static_single_assigner.rs.html | 2 +- .../symbol_table_creation/creator.rs.html | 2 +- .../symbol_table_creation/mod.rs.html | 2 +- .../type_checking/check_expressions.rs.html | 2 +- .../type_checking/check_program.rs.html | 2 +- .../type_checking/check_statements.rs.html | 2 +- src/leo_passes/type_checking/checker.rs.html | 2 +- src/leo_passes/type_checking/mod.rs.html | 2 +- src/leo_span/lib.rs.html | 2 +- src/leo_span/source_map.rs.html | 2 +- src/leo_span/span.rs.html | 2 +- src/leo_span/span_json.rs.html | 2 +- src/leo_span/symbol.rs.html | 2 +- src/leo_test_framework/error.rs.html | 2 +- src/leo_test_framework/fetch.rs.html | 2 +- src/leo_test_framework/lib.rs.html | 2 +- src/leo_test_framework/output.rs.html | 2 +- src/leo_test_framework/runner.rs.html | 2 +- src/leo_test_framework/test.rs.html | 2 +- static.files/main-9dd44ab47b99a0fb.js | 12 + static.files/main-c5bd66d33317d69f.js | 12 - ...bf86c.css => rustdoc-9ee3a5e31a2afa3e.css} | 4 +- ...9f5f14a8.js => search-8fbf244ebcf71464.js} | 4 +- trait.impl/clap_builder/derive/trait.Args.js | 3 + .../derive/trait.CommandFactory.js | 3 + .../derive/trait.FromArgMatches.js | 3 + .../clap_builder/derive/trait.Parser.js | 3 + .../clap_builder/derive/trait.Subcommand.js | 2 +- .../core/borrow/trait.Borrow.js | 2 +- trait.impl/core/clone/trait.Clone.js | 11 + trait.impl/core/cmp/trait.Eq.js | 7 + trait.impl/core/cmp/trait.Ord.js | 3 + trait.impl/core/cmp/trait.PartialEq.js | 8 + trait.impl/core/cmp/trait.PartialOrd.js | 3 + .../core/convert/trait.AsRef.js | 2 +- trait.impl/core/convert/trait.From.js | 5 + trait.impl/core/convert/trait.TryFrom.js | 3 + trait.impl/core/default/trait.Default.js | 9 + trait.impl/core/error/trait.Error.js | 3 + trait.impl/core/fmt/trait.Debug.js | 10 + trait.impl/core/fmt/trait.Display.js | 9 + trait.impl/core/hash/trait.Hash.js | 5 + .../iter/traits/iterator/trait.Iterator.js | 2 +- trait.impl/core/marker/trait.Copy.js | 7 + .../core/marker/trait.Freeze.js | 20 +- .../core/marker/trait.Send.js | 20 +- trait.impl/core/marker/trait.StructuralEq.js | 7 + .../core/marker/trait.StructuralPartialEq.js | 8 + .../core/marker/trait.Sync.js | 20 +- .../core/marker/trait.Unpin.js | 20 +- trait.impl/core/ops/arith/trait.Add.js | 3 + trait.impl/core/ops/arith/trait.Sub.js | 3 + .../core/ops/deref/trait.Deref.js | 2 +- .../panic/unwind_safe/trait.RefUnwindSafe.js | 20 +- .../panic/unwind_safe/trait.UnwindSafe.js | 20 +- .../leo_ast/common/node/trait.Node.js | 0 .../consumer/trait.ExpressionConsumer.js | 0 .../passes/consumer/trait.FunctionConsumer.js | 0 .../passes/consumer/trait.ProgramConsumer.js | 0 .../consumer/trait.ProgramScopeConsumer.js | 0 .../consumer/trait.StatementConsumer.js | 0 .../passes/consumer/trait.StructConsumer.js | 0 .../trait.ExpressionReconstructor.js | 3 + .../trait.ProgramReconstructor.js | 3 + .../trait.StatementReconstructor.js | 3 + .../passes/visitor/trait.ExpressionVisitor.js | 3 + .../passes/visitor/trait.ProgramVisitor.js | 3 + .../passes/visitor/trait.StatementVisitor.js | 0 .../common/traits/trait.LeoMessageCode.js | 0 .../leo_errors/emitter/trait.Emitter.js | 0 .../leo_lang/cli/commands/trait.Command.js | 0 .../leo_passes/common/graph/trait.Node.js | 0 .../range_iterator/trait.LoopBound.js | 0 .../leo_passes/pass/trait.Pass.js | 0 .../leo_span/span/trait.Pos.js | 0 trait.impl/serde/de/trait.Deserialize.js | 8 + .../serde/de/trait.Visitor.js | 0 trait.impl/serde/ser/trait.Serialize.js | 7 + .../fmt/format/trait.FormatEvent.js | 0 type.impl/core/result/enum.Result.js | 3 + type.impl/indexmap/map/struct.IndexMap.js | 3 + type.impl/leo_errors/emitter/struct.Buffer.js | 3 + .../leo_passes/common/graph/struct.DiGraph.js | 3 + .../testnet3/struct.Testnet3.js | 3 + type.impl/std/primitive.usize.js | 3 + 1088 files changed, 8289 insertions(+), 8305 deletions(-) delete mode 100644 implementors/clap_builder/derive/trait.Args.js delete mode 100644 implementors/clap_builder/derive/trait.CommandFactory.js delete mode 100644 implementors/clap_builder/derive/trait.FromArgMatches.js delete mode 100644 implementors/clap_builder/derive/trait.Parser.js delete mode 100644 implementors/core/clone/trait.Clone.js delete mode 100644 implementors/core/cmp/trait.Eq.js delete mode 100644 implementors/core/cmp/trait.Ord.js delete mode 100644 implementors/core/cmp/trait.PartialEq.js delete mode 100644 implementors/core/cmp/trait.PartialOrd.js delete mode 100644 implementors/core/convert/trait.From.js delete mode 100644 implementors/core/convert/trait.TryFrom.js delete mode 100644 implementors/core/default/trait.Default.js delete mode 100644 implementors/core/error/trait.Error.js delete mode 100644 implementors/core/fmt/trait.Debug.js delete mode 100644 implementors/core/fmt/trait.Display.js delete mode 100644 implementors/core/hash/trait.Hash.js delete mode 100644 implementors/core/marker/trait.Copy.js delete mode 100644 implementors/core/marker/trait.StructuralEq.js delete mode 100644 implementors/core/marker/trait.StructuralPartialEq.js delete mode 100644 implementors/core/ops/arith/trait.Add.js delete mode 100644 implementors/core/ops/arith/trait.Sub.js delete mode 100644 implementors/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js delete mode 100644 implementors/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js delete mode 100644 implementors/leo_ast/passes/reconstructor/trait.StatementReconstructor.js delete mode 100644 implementors/leo_ast/passes/visitor/trait.ExpressionVisitor.js delete mode 100644 implementors/leo_ast/passes/visitor/trait.ProgramVisitor.js delete mode 100644 implementors/serde/de/trait.Deserialize.js delete mode 100644 implementors/serde/ser/trait.Serialize.js create mode 100644 static.files/main-9dd44ab47b99a0fb.js delete mode 100644 static.files/main-c5bd66d33317d69f.js rename static.files/{rustdoc-fa3bb1812debf86c.css => rustdoc-9ee3a5e31a2afa3e.css} (71%) rename static.files/{search-8be46b629f5f14a8.js => search-8fbf244ebcf71464.js} (62%) create mode 100644 trait.impl/clap_builder/derive/trait.Args.js create mode 100644 trait.impl/clap_builder/derive/trait.CommandFactory.js create mode 100644 trait.impl/clap_builder/derive/trait.FromArgMatches.js create mode 100644 trait.impl/clap_builder/derive/trait.Parser.js rename {implementors => trait.impl}/clap_builder/derive/trait.Subcommand.js (61%) rename {implementors => trait.impl}/core/borrow/trait.Borrow.js (77%) create mode 100644 trait.impl/core/clone/trait.Clone.js create mode 100644 trait.impl/core/cmp/trait.Eq.js create mode 100644 trait.impl/core/cmp/trait.Ord.js create mode 100644 trait.impl/core/cmp/trait.PartialEq.js create mode 100644 trait.impl/core/cmp/trait.PartialOrd.js rename {implementors => trait.impl}/core/convert/trait.AsRef.js (86%) create mode 100644 trait.impl/core/convert/trait.From.js create mode 100644 trait.impl/core/convert/trait.TryFrom.js create mode 100644 trait.impl/core/default/trait.Default.js create mode 100644 trait.impl/core/error/trait.Error.js create mode 100644 trait.impl/core/fmt/trait.Debug.js create mode 100644 trait.impl/core/fmt/trait.Display.js create mode 100644 trait.impl/core/hash/trait.Hash.js rename {implementors => trait.impl}/core/iter/traits/iterator/trait.Iterator.js (91%) create mode 100644 trait.impl/core/marker/trait.Copy.js rename {implementors => trait.impl}/core/marker/trait.Freeze.js (81%) rename {implementors => trait.impl}/core/marker/trait.Send.js (81%) create mode 100644 trait.impl/core/marker/trait.StructuralEq.js create mode 100644 trait.impl/core/marker/trait.StructuralPartialEq.js rename {implementors => trait.impl}/core/marker/trait.Sync.js (81%) rename {implementors => trait.impl}/core/marker/trait.Unpin.js (81%) create mode 100644 trait.impl/core/ops/arith/trait.Add.js create mode 100644 trait.impl/core/ops/arith/trait.Sub.js rename {implementors => trait.impl}/core/ops/deref/trait.Deref.js (86%) rename {implementors => trait.impl}/core/panic/unwind_safe/trait.RefUnwindSafe.js (82%) rename {implementors => trait.impl}/core/panic/unwind_safe/trait.UnwindSafe.js (83%) rename {implementors => trait.impl}/leo_ast/common/node/trait.Node.js (100%) rename {implementors => trait.impl}/leo_ast/passes/consumer/trait.ExpressionConsumer.js (100%) rename {implementors => trait.impl}/leo_ast/passes/consumer/trait.FunctionConsumer.js (100%) rename {implementors => trait.impl}/leo_ast/passes/consumer/trait.ProgramConsumer.js (100%) rename {implementors => trait.impl}/leo_ast/passes/consumer/trait.ProgramScopeConsumer.js (100%) rename {implementors => trait.impl}/leo_ast/passes/consumer/trait.StatementConsumer.js (100%) rename {implementors => trait.impl}/leo_ast/passes/consumer/trait.StructConsumer.js (100%) create mode 100644 trait.impl/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js create mode 100644 trait.impl/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js create mode 100644 trait.impl/leo_ast/passes/reconstructor/trait.StatementReconstructor.js create mode 100644 trait.impl/leo_ast/passes/visitor/trait.ExpressionVisitor.js create mode 100644 trait.impl/leo_ast/passes/visitor/trait.ProgramVisitor.js rename {implementors => trait.impl}/leo_ast/passes/visitor/trait.StatementVisitor.js (100%) rename {implementors => trait.impl}/leo_errors/common/traits/trait.LeoMessageCode.js (100%) rename {implementors => trait.impl}/leo_errors/emitter/trait.Emitter.js (100%) rename {implementors => trait.impl}/leo_lang/cli/commands/trait.Command.js (100%) rename {implementors => trait.impl}/leo_passes/common/graph/trait.Node.js (100%) rename {implementors => trait.impl}/leo_passes/loop_unrolling/range_iterator/trait.LoopBound.js (100%) rename {implementors => trait.impl}/leo_passes/pass/trait.Pass.js (100%) rename {implementors => trait.impl}/leo_span/span/trait.Pos.js (100%) create mode 100644 trait.impl/serde/de/trait.Deserialize.js rename {implementors => trait.impl}/serde/de/trait.Visitor.js (100%) create mode 100644 trait.impl/serde/ser/trait.Serialize.js rename {implementors => trait.impl}/tracing_subscriber/fmt/format/trait.FormatEvent.js (100%) create mode 100644 type.impl/core/result/enum.Result.js create mode 100644 type.impl/indexmap/map/struct.IndexMap.js create mode 100644 type.impl/leo_errors/emitter/struct.Buffer.js create mode 100644 type.impl/leo_passes/common/graph/struct.DiGraph.js create mode 100644 type.impl/snarkvm_console_network/testnet3/struct.Testnet3.js create mode 100644 type.impl/std/primitive.usize.js diff --git a/errcov/all.html b/errcov/all.html index e222dee99d..774838a988 100644 --- a/errcov/all.html +++ b/errcov/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Functions

\ No newline at end of file +List of all items in this crate

List of all items

Functions

\ No newline at end of file diff --git a/errcov/fn.main.html b/errcov/fn.main.html index 963e3058d5..bb03d5c8ef 100644 --- a/errcov/fn.main.html +++ b/errcov/fn.main.html @@ -1 +1 @@ -main in errcov - Rust

Function errcov::main

source ·
pub(crate) fn main()
\ No newline at end of file +main in errcov - Rust

Function errcov::main

source ·
pub(crate) fn main()
\ No newline at end of file diff --git a/errcov/index.html b/errcov/index.html index b95f18a69f..31ecc43c6a 100644 --- a/errcov/index.html +++ b/errcov/index.html @@ -1 +1,2 @@ -errcov - Rust

Crate errcov

source ·

Functions

\ No newline at end of file +errcov - Rust

Crate errcov

source ·

Functions

\ No newline at end of file diff --git a/help.html b/help.html index 3643035ade..4766252862 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Rustdoc help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.Args.js b/implementors/clap_builder/derive/trait.Args.js deleted file mode 100644 index 0c04d148f2..0000000000 --- a/implementors/clap_builder/derive/trait.Args.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_lang":[["impl Args for CLI"],["impl Args for Run"],["impl Args for Update"],["impl Args for Clean"],["impl Args for Build"],["impl Args for BuildOptions"],["impl Args for Execute"],["impl Args for New"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.CommandFactory.js b/implementors/clap_builder/derive/trait.CommandFactory.js deleted file mode 100644 index 18dd6437ef..0000000000 --- a/implementors/clap_builder/derive/trait.CommandFactory.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_lang":[["impl CommandFactory for BuildOptions"],["impl CommandFactory for Execute"],["impl CommandFactory for Build"],["impl CommandFactory for Update"],["impl CommandFactory for Commands"],["impl CommandFactory for CLI"],["impl CommandFactory for Account"],["impl CommandFactory for Example"],["impl CommandFactory for New"],["impl CommandFactory for Clean"],["impl CommandFactory for Run"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.FromArgMatches.js b/implementors/clap_builder/derive/trait.FromArgMatches.js deleted file mode 100644 index 6182297b74..0000000000 --- a/implementors/clap_builder/derive/trait.FromArgMatches.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_lang":[["impl FromArgMatches for BuildOptions"],["impl FromArgMatches for New"],["impl FromArgMatches for Update"],["impl FromArgMatches for Clean"],["impl FromArgMatches for Example"],["impl FromArgMatches for Run"],["impl FromArgMatches for CLI"],["impl FromArgMatches for Commands"],["impl FromArgMatches for Account"],["impl FromArgMatches for Execute"],["impl FromArgMatches for Build"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.Parser.js b/implementors/clap_builder/derive/trait.Parser.js deleted file mode 100644 index bb43baf175..0000000000 --- a/implementors/clap_builder/derive/trait.Parser.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_lang":[["impl Parser for New"],["impl Parser for Account"],["impl Parser for Example"],["impl Parser for Run"],["impl Parser for Execute"],["impl Parser for Update"],["impl Parser for Build"],["impl Parser for BuildOptions"],["impl Parser for Clean"],["impl Parser for Commands"],["impl Parser for CLI"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js deleted file mode 100644 index aeb3b6ee48..0000000000 --- a/implementors/core/clone/trait.Clone.js +++ /dev/null @@ -1,11 +0,0 @@ -(function() {var implementors = { -"leo_abnf":[["impl<'a> Clone for Processor<'a>"],["impl Clone for Scope"]], -"leo_ast":[["impl Clone for ConsoleFunction"],["impl Clone for ConsoleStatement"],["impl Clone for Variant"],["impl Clone for CallExpression"],["impl Clone for NodeBuilder"],["impl Clone for ProgramInput"],["impl Clone for ReturnStatement"],["impl Clone for TupleExpression"],["impl Clone for ExpressionStatement"],["impl Clone for Value"],["impl Clone for GroupLiteral"],["impl Clone for Output"],["impl Clone for Annotation"],["impl Clone for ArrayExpression"],["impl Clone for InputData"],["impl Clone for AssociatedConstant"],["impl Clone for StructVariableInitializer"],["impl Clone for AssociatedFunction"],["impl Clone for AssertStatement"],["impl Clone for Ast"],["impl Clone for AssertVariant"],["impl Clone for Definition"],["impl Clone for Struct"],["impl Clone for ProgramId"],["impl Clone for AssignStatement"],["impl Clone for ErrExpression"],["impl Clone for Expression"],["impl Clone for StructExpression"],["impl Clone for ArrayType"],["impl Clone for StaticString"],["impl Clone for Type"],["impl Clone for External"],["impl Clone for Section"],["impl Clone for Function"],["impl Clone for UnaryExpression"],["impl Clone for Block"],["impl Clone for FunctionInput"],["impl Clone for CastExpression"],["impl Clone for ProgramScope"],["impl Clone for NonNegativeNumber"],["impl Clone for MemberAccess"],["impl Clone for Literal"],["impl Clone for ConditionalStatement"],["impl Clone for GroupCoordinate"],["impl Clone for Statement"],["impl Clone for GroupTuple"],["impl Clone for FunctionOutput"],["impl Clone for UnitExpression"],["impl Clone for ConstDeclaration"],["impl Clone for Member"],["impl Clone for IntegerType"],["impl Clone for Identifier"],["impl Clone for Program"],["impl Clone for Input"],["impl Clone for InputValue"],["impl Clone for BinaryOperation"],["impl Clone for TupleAccess"],["impl Clone for InputAst"],["impl Clone for DeclarationType"],["impl Clone for ArrayAccess"],["impl Clone for MappingType"],["impl Clone for TernaryExpression"],["impl Clone for AccessExpression"],["impl Clone for Mapping"],["impl Clone for BinaryExpression"],["impl Clone for Mode"],["impl Clone for CoreFunction"],["impl Clone for IterationStatement"],["impl Clone for CoreConstant"],["impl Clone for UnaryOperation"],["impl Clone for Finalize"],["impl Clone for TupleType"],["impl Clone for NodeBuilderInner"],["impl Clone for DefinitionStatement"]], -"leo_compiler":[["impl Clone for OutputOptions"],["impl Clone for BuildOptions"],["impl<'a> Clone for Compiler<'a>"],["impl Clone for CompilerOptions"]], -"leo_errors":[["impl Clone for AstError"],["impl Clone for CompilerError"],["impl Clone for ParserWarning"],["impl Clone for LoopUnrollerError"],["impl Clone for Backtraced"],["impl Clone for TypeCheckerError"],["impl Clone for PackageError"],["impl Clone for Formatted"],["impl Clone for CliError"],["impl Clone for ParserError"],["impl Clone for InputError"],["impl Clone for FlattenError"],["impl Clone for BufferEmitter"]], -"leo_lang":[["impl<F: Clone, T: Clone> Clone for Format<F, T>"],["impl Clone for Context"],["impl Clone for BuildOptions"]], -"leo_parser":[["impl Clone for Token"],["impl Clone for Delimiter"],["impl Clone for SpannedToken"]], -"leo_passes":[["impl Clone for ConstantPropagationTable"],["impl Clone for AssignerInner"],["impl Clone for FunctionSymbol"],["impl Clone for RenameTable"],["impl Clone for Assigner"],["impl Clone for SymbolTable"],["impl Clone for VariableSymbol"],["impl Clone for TypeTable"],["impl Clone for VariableType"],["impl Clone for FinalizeData"]], -"leo_span":[["impl Clone for Span"],["impl Clone for CharPos"],["impl Clone for FileName"],["impl Clone for BytePos"],["impl Clone for MultiByteChar"],["impl Clone for Symbol"]], -"leo_test_framework":[["impl Clone for ParseType"],["impl Clone for TestExpectationMode"],["impl Clone for TestConfig"],["impl Clone for TestExpectation"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.Eq.js b/implementors/core/cmp/trait.Eq.js deleted file mode 100644 index ed42ec0c32..0000000000 --- a/implementors/core/cmp/trait.Eq.js +++ /dev/null @@ -1,7 +0,0 @@ -(function() {var implementors = { -"leo_ast":[["impl Eq for ConsoleFunction"],["impl Eq for FunctionInput"],["impl Eq for CallExpression"],["impl Eq for MemberAccess"],["impl Eq for AssignStatement"],["impl Eq for Member"],["impl Eq for Input"],["impl Eq for AccessExpression"],["impl Eq for DeclarationType"],["impl Eq for InputValue"],["impl Eq for UnitExpression"],["impl Eq for Expression"],["impl Eq for Mode"],["impl Eq for ConditionalStatement"],["impl Eq for Variant"],["impl Eq for BinaryExpression"],["impl Eq for External"],["impl Eq for Program"],["impl Eq for AssertStatement"],["impl Eq for ErrExpression"],["impl Eq for Function"],["impl Eq for NonNegativeNumber"],["impl Eq for Literal"],["impl Eq for Identifier"],["impl Eq for ProgramScope"],["impl Eq for UnaryExpression"],["impl Eq for TupleExpression"],["impl Eq for IntegerType"],["impl Eq for ArrayType"],["impl Eq for ExpressionStatement"],["impl Eq for UnaryOperation"],["impl Eq for GroupLiteral"],["impl Eq for TernaryExpression"],["impl Eq for AssertVariant"],["impl Eq for ArrayExpression"],["impl Eq for CoreConstant"],["impl Eq for Ast"],["impl Eq for TupleAccess"],["impl Eq for TupleType"],["impl Eq for IterationStatement"],["impl Eq for StaticString"],["impl Eq for Type"],["impl Eq for GroupTuple"],["impl Eq for Block"],["impl Eq for Struct"],["impl Eq for Mapping"],["impl Eq for FunctionOutput"],["impl Eq for Output"],["impl Eq for CoreFunction"],["impl Eq for ConstDeclaration"],["impl Eq for StructVariableInitializer"],["impl Eq for AssociatedFunction"],["impl Eq for Annotation"],["impl Eq for ConsoleStatement"],["impl Eq for Value"],["impl Eq for StructExpression"],["impl Eq for GroupCoordinate"],["impl Eq for ArrayAccess"],["impl Eq for AssociatedConstant"],["impl Eq for Definition"],["impl Eq for Finalize"],["impl Eq for MappingType"],["impl Eq for BinaryOperation"],["impl Eq for ReturnStatement"],["impl Eq for Statement"],["impl Eq for DefinitionStatement"],["impl Eq for ProgramId"],["impl Eq for CastExpression"]], -"leo_parser":[["impl Eq for Token"]], -"leo_passes":[["impl Eq for RenameTable"],["impl Eq for VariableSymbol"],["impl Eq for VariableType"]], -"leo_span":[["impl Eq for InternedStr"],["impl Eq for Span"],["impl Eq for MultiByteChar"],["impl Eq for BytePos"],["impl Eq for CharPos"],["impl Eq for Symbol"]], -"leo_test_framework":[["impl Eq for TestExpectationMode"],["impl Eq for ParseType"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.Ord.js b/implementors/core/cmp/trait.Ord.js deleted file mode 100644 index c960690281..0000000000 --- a/implementors/core/cmp/trait.Ord.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_span":[["impl Ord for BytePos"],["impl Ord for CharPos"],["impl Ord for Symbol"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.PartialEq.js b/implementors/core/cmp/trait.PartialEq.js deleted file mode 100644 index 0e944100cf..0000000000 --- a/implementors/core/cmp/trait.PartialEq.js +++ /dev/null @@ -1,8 +0,0 @@ -(function() {var implementors = { -"leo_ast":[["impl PartialEq<AssociatedConstant> for AssociatedConstant"],["impl PartialEq<IntegerType> for IntegerType"],["impl PartialEq<External> for External"],["impl PartialEq<ProgramScope> for ProgramScope"],["impl PartialEq<ConsoleStatement> for ConsoleStatement"],["impl PartialEq<NonNegativeNumber> for NonNegativeNumber"],["impl PartialEq<Literal> for Literal"],["impl PartialEq<FunctionOutput> for FunctionOutput"],["impl PartialEq<ConsoleFunction> for ConsoleFunction"],["impl PartialEq<Input> for Input"],["impl PartialEq<GroupCoordinate> for GroupCoordinate"],["impl PartialEq<TernaryExpression> for TernaryExpression"],["impl PartialEq<ConstDeclaration> for ConstDeclaration"],["impl PartialEq<AccessExpression> for AccessExpression"],["impl PartialEq<ErrExpression> for ErrExpression"],["impl PartialEq<Definition> for Definition"],["impl PartialEq<Identifier> for Identifier"],["impl PartialEq<AssociatedFunction> for AssociatedFunction"],["impl PartialEq<AssignStatement> for AssignStatement"],["impl PartialEq<IterationStatement> for IterationStatement"],["impl PartialEq<CoreFunction> for CoreFunction"],["impl PartialEq<GroupTuple> for GroupTuple"],["impl PartialEq<TupleType> for TupleType"],["impl PartialEq<CoreConstant> for CoreConstant"],["impl PartialEq<CastExpression> for CastExpression"],["impl PartialEq<FunctionInput> for FunctionInput"],["impl PartialEq<StaticString> for StaticString"],["impl PartialEq<Block> for Block"],["impl PartialEq<Program> for Program"],["impl PartialEq<ProgramId> for ProgramId"],["impl PartialEq<AssertVariant> for AssertVariant"],["impl PartialEq<AssertStatement> for AssertStatement"],["impl PartialEq<ArrayAccess> for ArrayAccess"],["impl PartialEq<StructExpression> for StructExpression"],["impl PartialEq<DeclarationType> for DeclarationType"],["impl PartialEq<StructVariableInitializer> for StructVariableInitializer"],["impl PartialEq<TupleExpression> for TupleExpression"],["impl PartialEq<CallExpression> for CallExpression"],["impl PartialEq<UnitExpression> for UnitExpression"],["impl PartialEq<ArrayExpression> for ArrayExpression"],["impl PartialEq<ArrayType> for ArrayType"],["impl PartialEq<UnaryExpression> for UnaryExpression"],["impl PartialEq<ReturnStatement> for ReturnStatement"],["impl PartialEq<GroupLiteral> for GroupLiteral"],["impl PartialEq<Statement> for Statement"],["impl PartialEq<ConditionalStatement> for ConditionalStatement"],["impl PartialEq<ExpressionStatement> for ExpressionStatement"],["impl PartialEq<Ast> for Ast"],["impl PartialEq<Variant> for Variant"],["impl PartialEq<Output> for Output"],["impl PartialEq<Function> for Function"],["impl PartialEq<MappingType> for MappingType"],["impl PartialEq<Mapping> for Mapping"],["impl PartialEq<MemberAccess> for MemberAccess"],["impl PartialEq<Type> for Type"],["impl PartialEq<Value> for Value"],["impl PartialEq<Annotation> for Annotation"],["impl PartialEq<Finalize> for Finalize"],["impl PartialEq<UnaryOperation> for UnaryOperation"],["impl PartialEq<DefinitionStatement> for DefinitionStatement"],["impl PartialEq<Expression> for Expression"],["impl PartialEq<InputValue> for InputValue"],["impl PartialEq<Mode> for Mode"],["impl PartialEq<BinaryOperation> for BinaryOperation"],["impl PartialEq<Member> for Member"],["impl PartialEq<TupleAccess> for TupleAccess"],["impl PartialEq<Struct> for Struct"],["impl PartialEq<BinaryExpression> for BinaryExpression"]], -"leo_errors":[["impl PartialEq<Formatted> for Formatted"],["impl PartialEq<Backtraced> for Backtraced"]], -"leo_parser":[["impl PartialEq<Token> for Token"]], -"leo_passes":[["impl PartialEq<RenameTable> for RenameTable"],["impl PartialEq<VariableType> for VariableType"],["impl PartialEq<VariableSymbol> for VariableSymbol"]], -"leo_span":[["impl PartialEq<Span> for Span"],["impl PartialEq<MultiByteChar> for MultiByteChar"],["impl PartialEq<CharPos> for CharPos"],["impl PartialEq<Symbol> for Symbol"],["impl PartialEq<InternedStr> for InternedStr"],["impl PartialEq<BytePos> for BytePos"]], -"leo_test_framework":[["impl PartialEq<TestExpectationMode> for TestExpectationMode"],["impl PartialEq<ParseType> for ParseType"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.PartialOrd.js b/implementors/core/cmp/trait.PartialOrd.js deleted file mode 100644 index 9f11ff262b..0000000000 --- a/implementors/core/cmp/trait.PartialOrd.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_span":[["impl PartialOrd<CharPos> for CharPos"],["impl PartialOrd<BytePos> for BytePos"],["impl PartialOrd<Symbol> for Symbol"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.From.js b/implementors/core/convert/trait.From.js deleted file mode 100644 index c223119ac4..0000000000 --- a/implementors/core/convert/trait.From.js +++ /dev/null @@ -1,5 +0,0 @@ -(function() {var implementors = { -"leo_ast":[["impl From<&Value> for Type"],["impl From<usize> for NonNegativeNumber"],["impl From<Value> for Type"],["impl From<String> for NonNegativeNumber"]], -"leo_errors":[["impl From<Backtraced> for TypeCheckerError"],["impl From<Backtraced> for FlattenError"],["impl From<Formatted> for AstError"],["impl From<Backtraced> for InputError"],["impl From<Formatted> for CliError"],["impl From<Formatted> for TypeCheckerError"],["impl From<ParserWarning> for LeoWarning"],["impl From<Error> for LeoError"],["impl From<Formatted> for ParserWarning"],["impl From<ParserError> for LeoError"],["impl From<Backtraced> for ParserWarning"],["impl From<CliError> for LeoError"],["impl From<FlattenError> for LeoError"],["impl From<Formatted> for ParserError"],["impl From<CompilerError> for LeoError"],["impl From<LoopUnrollerError> for LeoError"],["impl From<AstError> for LeoError"],["impl From<Backtraced> for CompilerError"],["impl From<Formatted> for PackageError"],["impl From<Backtraced> for CliError"],["impl From<PackageError> for LeoError"],["impl From<TypeCheckerError> for LeoError"],["impl From<Backtraced> for LoopUnrollerError"],["impl From<Backtraced> for AstError"],["impl From<InputError> for LeoError"],["impl From<Formatted> for LoopUnrollerError"],["impl From<Formatted> for FlattenError"],["impl From<Formatted> for CompilerError"],["impl From<Formatted> for InputError"],["impl From<Backtraced> for PackageError"],["impl From<Backtraced> for ParserError"]], -"leo_lang":[["impl From<BuildOptions> for CompilerOptions"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.TryFrom.js b/implementors/core/convert/trait.TryFrom.js deleted file mode 100644 index 84b532fa50..0000000000 --- a/implementors/core/convert/trait.TryFrom.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_ast":[["impl TryFrom<(Type, Expression)> for InputValue"],["impl TryFrom<&Value> for u128"],["impl TryFrom<&Literal> for Value"],["impl TryFrom<Value> for i128"],["impl TryFrom<&Value> for i128"],["impl TryFrom<Value> for u128"],["impl TryFrom<InputAst> for ProgramInput"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/default/trait.Default.js b/implementors/core/default/trait.Default.js deleted file mode 100644 index c496068173..0000000000 --- a/implementors/core/default/trait.Default.js +++ /dev/null @@ -1,9 +0,0 @@ -(function() {var implementors = { -"leo_ast":[["impl Default for NodeBuilder"],["impl Default for Program"],["impl Default for ProgramInput"],["impl Default for Ast"],["impl Default for StaticString"],["impl Default for InputData"]], -"leo_compiler":[["impl Default for CompilerOptions"],["impl Default for OutputOptions"],["impl Default for BuildOptions"]], -"leo_errors":[["impl<T> Default for Buffer<T>"],["impl Default for Backtraced"],["impl Default for Handler"],["impl Default for BufferEmitter"],["impl Default for Formatted"]], -"leo_lang":[["impl Default for Format<Full, SystemTime>"],["impl Default for BuildOptions"]], -"leo_package":[["impl<N: Default + Network> Default for Env<N>"],["impl Default for Gitignore"]], -"leo_passes":[["impl Default for SymbolTable"],["impl Default for Assigner"],["impl Default for RenameTable"],["impl Default for ConstantPropagationTable"],["impl Default for TypeTable"],["impl Default for AssignerInner"]], -"leo_span":[["impl Default for Span"],["impl Default for SessionGlobals"],["impl Default for SourceMapInner"],["impl Default for BytePos"],["impl Default for SourceMap"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/error/trait.Error.js b/implementors/core/error/trait.Error.js deleted file mode 100644 index 6874be4a2d..0000000000 --- a/implementors/core/error/trait.Error.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_errors":[["impl Error for LeoError"],["impl Error for ParserError"],["impl Error for InputError"],["impl Error for LeoWarning"],["impl Error for ParserWarning"],["impl Error for CliError"],["impl Error for Backtraced"],["impl Error for Formatted"],["impl Error for PackageError"],["impl Error for TypeCheckerError"],["impl Error for AstError"],["impl Error for LoopUnrollerError"],["impl Error for FlattenError"],["impl Error for CompilerError"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Debug.js b/implementors/core/fmt/trait.Debug.js deleted file mode 100644 index ad565e6956..0000000000 --- a/implementors/core/fmt/trait.Debug.js +++ /dev/null @@ -1,10 +0,0 @@ -(function() {var implementors = { -"leo_abnf":[["impl Debug for Scope"],["impl<'a> Debug for Processor<'a>"]], -"leo_ast":[["impl Debug for GroupTuple"],["impl Debug for Finalize"],["impl Debug for Definition"],["impl Debug for Annotation"],["impl Debug for ArrayAccess"],["impl Debug for External"],["impl Debug for AssociatedFunction"],["impl Debug for DeclarationType"],["impl Debug for FunctionInput"],["impl Debug for AssertVariant"],["impl Debug for ConstDeclaration"],["impl Debug for AccessExpression"],["impl Debug for ConditionalStatement"],["impl Debug for FunctionOutput"],["impl Debug for StructExpression"],["impl Debug for Block"],["impl Debug for ReturnStatement"],["impl Debug for ConsoleFunction"],["impl Debug for Program"],["impl Debug for Mapping"],["impl Debug for InputValue"],["impl Debug for ProgramScope"],["impl Debug for Member"],["impl Debug for Struct"],["impl Debug for DefinitionStatement"],["impl Debug for AssignStatement"],["impl Debug for Output"],["impl Debug for NodeBuilderInner"],["impl Debug for BinaryOperation"],["impl Debug for Literal"],["impl Debug for GroupLiteral"],["impl Debug for Identifier"],["impl Debug for MappingType"],["impl Debug for Mode"],["impl Debug for Function"],["impl Debug for UnitExpression"],["impl Debug for IntegerType"],["impl Debug for Statement"],["impl Debug for AssertStatement"],["impl Debug for NodeBuilder"],["impl Debug for TernaryExpression"],["impl Debug for UnaryOperation"],["impl Debug for CallExpression"],["impl Debug for GroupCoordinate"],["impl Debug for UnaryExpression"],["impl Debug for TupleType"],["impl Debug for Section"],["impl Debug for TupleAccess"],["impl Debug for StructVariableInitializer"],["impl Debug for TupleExpression"],["impl Debug for ExpressionStatement"],["impl Debug for IterationStatement"],["impl Debug for BinaryExpression"],["impl Debug for Variant"],["impl Debug for NonNegativeNumber"],["impl Debug for Type"],["impl Debug for ArrayType"],["impl Debug for Input"],["impl Debug for StaticString"],["impl Debug for AssociatedConstant"],["impl Debug for ArrayExpression"],["impl Debug for Expression"],["impl Debug for ConsoleStatement"],["impl Debug for ProgramId"],["impl Debug for MemberAccess"],["impl Debug for CastExpression"],["impl Debug for InputAst"],["impl Debug for ErrExpression"],["impl Debug for Ast"],["impl Debug for Value"],["impl Debug for InputData"],["impl Debug for ProgramInput"]], -"leo_errors":[["impl Debug for Backtraced"],["impl Debug for InputError"],["impl Debug for ParserError"],["impl Debug for PackageError"],["impl Debug for CompilerError"],["impl Debug for LeoWarning"],["impl Debug for FlattenError"],["impl Debug for ParserWarning"],["impl Debug for LoopUnrollerError"],["impl Debug for AstError"],["impl Debug for Formatted"],["impl Debug for CliError"],["impl Debug for LeoError"],["impl<T: Debug> Debug for Buffer<T>"],["impl Debug for TypeCheckerError"]], -"leo_lang":[["impl Debug for Example"],["impl<F: Debug, T: Debug> Debug for Format<F, T>"],["impl Debug for Update"],["impl Debug for Account"],["impl Debug for BuildOptions"],["impl Debug for Run"],["impl Debug for Execute"],["impl Debug for Clean"],["impl Debug for New"],["impl Debug for Commands"],["impl Debug for Build"],["impl Debug for CLI"]], -"leo_parser":[["impl Debug for Token"],["impl Debug for SpannedToken"]], -"leo_passes":[["impl Debug for TypeTable"],["impl Debug for Assigner"],["impl Debug for ConstantPropagationTable"],["impl<N: Debug + Node> Debug for DiGraphError<N>"],["impl Debug for RenameTable"],["impl Debug for AssignerInner"],["impl<N: Debug + Node> Debug for DiGraph<N>"],["impl Debug for VariableSymbol"],["impl Debug for VariableType"],["impl Debug for SymbolTable"],["impl Debug for FunctionSymbol"],["impl Debug for FinalizeData"]], -"leo_span":[["impl Debug for MultiByteChar"],["impl Debug for Symbol"],["impl Debug for Span"],["impl Debug for CharPos"],["impl Debug for BytePos"]], -"leo_test_framework":[["impl Debug for ParseType"],["impl Debug for TestExpectationMode"],["impl Debug for TestError"],["impl Debug for TestConfig"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Display.js b/implementors/core/fmt/trait.Display.js deleted file mode 100644 index 7b683e255c..0000000000 --- a/implementors/core/fmt/trait.Display.js +++ /dev/null @@ -1,9 +0,0 @@ -(function() {var implementors = { -"leo_ast":[["impl Display for MappingType"],["impl Display for Mode"],["impl Display for ReturnStatement"],["impl Display for BinaryOperation"],["impl Display for Annotation"],["impl Display for NonNegativeNumber"],["impl Display for BinaryExpression"],["impl Display for UnitExpression"],["impl Display for Expression"],["impl Display for Block"],["impl Display for MemberAccess"],["impl Display for TupleAccess"],["impl Display for GroupCoordinate"],["impl Display for ProgramId"],["impl Display for ArrayAccess"],["impl Display for TupleType"],["impl Display for CallExpression"],["impl Display for StructExpression"],["impl Display for StaticString"],["impl Display for CastExpression"],["impl Display for TernaryExpression"],["impl Display for Type"],["impl Display for GroupLiteral"],["impl Display for InputValue"],["impl Display for StructVariableInitializer"],["impl Display for FunctionOutput"],["impl Display for DefinitionStatement"],["impl Display for AssociatedConstant"],["impl Display for ConsoleStatement"],["impl Display for AssertStatement"],["impl Display for External"],["impl Display for Finalize"],["impl Display for Literal"],["impl Display for AssociatedFunction"],["impl Display for Member"],["impl Display for ProgramScope"],["impl Display for Statement"],["impl Display for Input"],["impl Display for Program"],["impl Display for Function"],["impl Display for ConditionalStatement"],["impl Display for AssignStatement"],["impl Display for IntegerType"],["impl Display for IterationStatement"],["impl Display for Mapping"],["impl Display for ArrayType"],["impl Display for DeclarationType"],["impl Display for AccessExpression"],["impl Display for Struct"],["impl Display for FunctionInput"],["impl Display for Identifier"],["impl Display for UnaryExpression"],["impl Display for Value"],["impl Display for ArrayExpression"],["impl Display for ConsoleFunction"],["impl Display for ErrExpression"],["impl Display for TupleExpression"],["impl Display for Output"],["impl Display for ConstDeclaration"],["impl Display for ExpressionStatement"]], -"leo_errors":[["impl Display for LeoWarning"],["impl Display for Formatted"],["impl Display for CliError"],["impl Display for LeoError"],["impl Display for InputError"],["impl Display for TypeCheckerError"],["impl Display for LoopUnrollerError"],["impl Display for Backtraced"],["impl Display for PackageError"],["impl Display for AstError"],["impl Display for FlattenError"],["impl<T: Display> Display for Buffer<T>"],["impl Display for ParserWarning"],["impl Display for ParserError"],["impl Display for CompilerError"]], -"leo_package":[["impl Display for Snapshot"]], -"leo_parser":[["impl Display for Token"],["impl Display for SpannedToken"]], -"leo_passes":[["impl Display for VariableSymbol"],["impl Display for VariableType"]], -"leo_span":[["impl Display for Span"],["impl Display for FileName"],["impl Display for Symbol"]], -"leo_test_framework":[["impl Display for TestError"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/hash/trait.Hash.js b/implementors/core/hash/trait.Hash.js deleted file mode 100644 index 7fb2211b97..0000000000 --- a/implementors/core/hash/trait.Hash.js +++ /dev/null @@ -1,5 +0,0 @@ -(function() {var implementors = { -"leo_ast":[["impl Hash for NonNegativeNumber"],["impl Hash for Type"],["impl Hash for IntegerType"],["impl Hash for ArrayType"],["impl Hash for Identifier"],["impl Hash for MappingType"],["impl Hash for ProgramId"],["impl Hash for TupleType"]], -"leo_errors":[["impl Hash for Formatted"],["impl Hash for Backtraced"]], -"leo_span":[["impl Hash for Symbol"],["impl Hash for InternedStr"],["impl Hash for BytePos"],["impl Hash for Span"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Copy.js b/implementors/core/marker/trait.Copy.js deleted file mode 100644 index 8bd27d93ff..0000000000 --- a/implementors/core/marker/trait.Copy.js +++ /dev/null @@ -1,7 +0,0 @@ -(function() {var implementors = { -"leo_ast":[["impl Copy for UnaryOperation"],["impl Copy for Mode"],["impl Copy for DeclarationType"],["impl Copy for IntegerType"],["impl Copy for BinaryOperation"],["impl Copy for Variant"],["impl Copy for ProgramId"],["impl Copy for Identifier"]], -"leo_parser":[["impl Copy for Delimiter"]], -"leo_passes":[["impl Copy for VariableType"]], -"leo_span":[["impl Copy for BytePos"],["impl Copy for MultiByteChar"],["impl Copy for Symbol"],["impl Copy for Span"],["impl Copy for CharPos"]], -"leo_test_framework":[["impl Copy for ParseType"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralEq.js b/implementors/core/marker/trait.StructuralEq.js deleted file mode 100644 index b44c766f29..0000000000 --- a/implementors/core/marker/trait.StructuralEq.js +++ /dev/null @@ -1,7 +0,0 @@ -(function() {var implementors = { -"leo_ast":[["impl StructuralEq for Block"],["impl StructuralEq for Input"],["impl StructuralEq for ProgramId"],["impl StructuralEq for GroupCoordinate"],["impl StructuralEq for Output"],["impl StructuralEq for Literal"],["impl StructuralEq for TernaryExpression"],["impl StructuralEq for StaticString"],["impl StructuralEq for Member"],["impl StructuralEq for InputValue"],["impl StructuralEq for Statement"],["impl StructuralEq for ExpressionStatement"],["impl StructuralEq for ArrayAccess"],["impl StructuralEq for Finalize"],["impl StructuralEq for External"],["impl StructuralEq for Type"],["impl StructuralEq for Annotation"],["impl StructuralEq for DeclarationType"],["impl StructuralEq for NonNegativeNumber"],["impl StructuralEq for IterationStatement"],["impl StructuralEq for AssertVariant"],["impl StructuralEq for AssociatedConstant"],["impl StructuralEq for FunctionOutput"],["impl StructuralEq for ConsoleFunction"],["impl StructuralEq for CastExpression"],["impl StructuralEq for UnaryOperation"],["impl StructuralEq for DefinitionStatement"],["impl StructuralEq for UnaryExpression"],["impl StructuralEq for Program"],["impl StructuralEq for Value"],["impl StructuralEq for FunctionInput"],["impl StructuralEq for ConstDeclaration"],["impl StructuralEq for TupleType"],["impl StructuralEq for AccessExpression"],["impl StructuralEq for MemberAccess"],["impl StructuralEq for ProgramScope"],["impl StructuralEq for Ast"],["impl StructuralEq for UnitExpression"],["impl StructuralEq for GroupTuple"],["impl StructuralEq for ConsoleStatement"],["impl StructuralEq for ArrayType"],["impl StructuralEq for Variant"],["impl StructuralEq for ErrExpression"],["impl StructuralEq for CallExpression"],["impl StructuralEq for Mode"],["impl StructuralEq for BinaryExpression"],["impl StructuralEq for StructVariableInitializer"],["impl StructuralEq for Expression"],["impl StructuralEq for CoreFunction"],["impl StructuralEq for ArrayExpression"],["impl StructuralEq for Definition"],["impl StructuralEq for BinaryOperation"],["impl StructuralEq for CoreConstant"],["impl StructuralEq for ReturnStatement"],["impl StructuralEq for AssociatedFunction"],["impl StructuralEq for StructExpression"],["impl StructuralEq for TupleExpression"],["impl StructuralEq for MappingType"],["impl StructuralEq for IntegerType"],["impl StructuralEq for Mapping"],["impl StructuralEq for TupleAccess"],["impl StructuralEq for GroupLiteral"],["impl StructuralEq for AssertStatement"],["impl StructuralEq for ConditionalStatement"],["impl StructuralEq for AssignStatement"]], -"leo_parser":[["impl StructuralEq for Token"]], -"leo_passes":[["impl StructuralEq for VariableType"],["impl StructuralEq for RenameTable"],["impl StructuralEq for VariableSymbol"]], -"leo_span":[["impl StructuralEq for Span"],["impl StructuralEq for InternedStr"],["impl StructuralEq for CharPos"],["impl StructuralEq for MultiByteChar"],["impl StructuralEq for Symbol"],["impl StructuralEq for BytePos"]], -"leo_test_framework":[["impl StructuralEq for TestExpectationMode"],["impl StructuralEq for ParseType"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralPartialEq.js b/implementors/core/marker/trait.StructuralPartialEq.js deleted file mode 100644 index 6f71867957..0000000000 --- a/implementors/core/marker/trait.StructuralPartialEq.js +++ /dev/null @@ -1,8 +0,0 @@ -(function() {var implementors = { -"leo_ast":[["impl StructuralPartialEq for ConsoleStatement"],["impl StructuralPartialEq for AssociatedConstant"],["impl StructuralPartialEq for Annotation"],["impl StructuralPartialEq for ReturnStatement"],["impl StructuralPartialEq for ExpressionStatement"],["impl StructuralPartialEq for Block"],["impl StructuralPartialEq for AssociatedFunction"],["impl StructuralPartialEq for Input"],["impl StructuralPartialEq for Variant"],["impl StructuralPartialEq for Program"],["impl StructuralPartialEq for GroupCoordinate"],["impl StructuralPartialEq for Finalize"],["impl StructuralPartialEq for ConstDeclaration"],["impl StructuralPartialEq for Output"],["impl StructuralPartialEq for ConditionalStatement"],["impl StructuralPartialEq for IntegerType"],["impl StructuralPartialEq for GroupTuple"],["impl StructuralPartialEq for Definition"],["impl StructuralPartialEq for MappingType"],["impl StructuralPartialEq for GroupLiteral"],["impl StructuralPartialEq for Mapping"],["impl StructuralPartialEq for IterationStatement"],["impl StructuralPartialEq for FunctionInput"],["impl StructuralPartialEq for CallExpression"],["impl StructuralPartialEq for DefinitionStatement"],["impl StructuralPartialEq for Value"],["impl StructuralPartialEq for AssertStatement"],["impl StructuralPartialEq for BinaryOperation"],["impl StructuralPartialEq for Mode"],["impl StructuralPartialEq for ProgramId"],["impl StructuralPartialEq for StructVariableInitializer"],["impl StructuralPartialEq for ArrayType"],["impl StructuralPartialEq for CoreFunction"],["impl StructuralPartialEq for NonNegativeNumber"],["impl StructuralPartialEq for StructExpression"],["impl StructuralPartialEq for AssignStatement"],["impl StructuralPartialEq for CastExpression"],["impl StructuralPartialEq for External"],["impl StructuralPartialEq for TupleExpression"],["impl StructuralPartialEq for Statement"],["impl StructuralPartialEq for ProgramScope"],["impl StructuralPartialEq for InputValue"],["impl StructuralPartialEq for Literal"],["impl StructuralPartialEq for UnaryExpression"],["impl StructuralPartialEq for TernaryExpression"],["impl StructuralPartialEq for Member"],["impl StructuralPartialEq for MemberAccess"],["impl StructuralPartialEq for ArrayExpression"],["impl StructuralPartialEq for TupleAccess"],["impl StructuralPartialEq for UnitExpression"],["impl StructuralPartialEq for BinaryExpression"],["impl StructuralPartialEq for AssertVariant"],["impl StructuralPartialEq for StaticString"],["impl StructuralPartialEq for Type"],["impl StructuralPartialEq for UnaryOperation"],["impl StructuralPartialEq for CoreConstant"],["impl StructuralPartialEq for Expression"],["impl StructuralPartialEq for Ast"],["impl StructuralPartialEq for FunctionOutput"],["impl StructuralPartialEq for ErrExpression"],["impl StructuralPartialEq for TupleType"],["impl StructuralPartialEq for ConsoleFunction"],["impl StructuralPartialEq for AccessExpression"],["impl StructuralPartialEq for ArrayAccess"],["impl StructuralPartialEq for DeclarationType"]], -"leo_errors":[["impl StructuralPartialEq for Formatted"]], -"leo_parser":[["impl StructuralPartialEq for Token"]], -"leo_passes":[["impl StructuralPartialEq for RenameTable"],["impl StructuralPartialEq for VariableType"],["impl StructuralPartialEq for VariableSymbol"]], -"leo_span":[["impl StructuralPartialEq for Span"],["impl StructuralPartialEq for CharPos"],["impl StructuralPartialEq for Symbol"],["impl StructuralPartialEq for BytePos"],["impl StructuralPartialEq for MultiByteChar"]], -"leo_test_framework":[["impl StructuralPartialEq for TestExpectationMode"],["impl StructuralPartialEq for ParseType"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/ops/arith/trait.Add.js b/implementors/core/ops/arith/trait.Add.js deleted file mode 100644 index 7873655a3e..0000000000 --- a/implementors/core/ops/arith/trait.Add.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_span":[["impl Add<BytePos> for BytePos"],["impl Add<CharPos> for CharPos"],["impl Add<Span> for Span"],["impl Add<&Span> for &Span"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/ops/arith/trait.Sub.js b/implementors/core/ops/arith/trait.Sub.js deleted file mode 100644 index 1a681c4336..0000000000 --- a/implementors/core/ops/arith/trait.Sub.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_span":[["impl Sub<CharPos> for CharPos"],["impl Sub<BytePos> for BytePos"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js b/implementors/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js deleted file mode 100644 index 26ed1eb472..0000000000 --- a/implementors/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_passes":[["impl ExpressionReconstructor for AssignmentRenamer<'_>"],["impl ExpressionReconstructor for DeadCodeEliminator<'_>"],["impl ExpressionReconstructor for Destructurer<'_>"],["impl ExpressionReconstructor for FunctionInliner<'_>"],["impl ExpressionReconstructor for Unroller<'_>"],["impl<F> ExpressionReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl ExpressionReconstructor for Flattener<'_>"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js b/implementors/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js deleted file mode 100644 index e40dc8ec28..0000000000 --- a/implementors/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_passes":[["impl ProgramReconstructor for FunctionInliner<'_>"],["impl ProgramReconstructor for AssignmentRenamer<'_>"],["impl<F> ProgramReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl ProgramReconstructor for Unroller<'_>"],["impl ProgramReconstructor for DeadCodeEliminator<'_>"],["impl ProgramReconstructor for Flattener<'_>"],["impl ProgramReconstructor for Destructurer<'_>"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/leo_ast/passes/reconstructor/trait.StatementReconstructor.js b/implementors/leo_ast/passes/reconstructor/trait.StatementReconstructor.js deleted file mode 100644 index 4850519ffb..0000000000 --- a/implementors/leo_ast/passes/reconstructor/trait.StatementReconstructor.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_passes":[["impl StatementReconstructor for DeadCodeEliminator<'_>"],["impl<F> StatementReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl StatementReconstructor for Destructurer<'_>"],["impl StatementReconstructor for Unroller<'_>"],["impl StatementReconstructor for AssignmentRenamer<'_>"],["impl StatementReconstructor for FunctionInliner<'_>"],["impl StatementReconstructor for Flattener<'_>"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/leo_ast/passes/visitor/trait.ExpressionVisitor.js b/implementors/leo_ast/passes/visitor/trait.ExpressionVisitor.js deleted file mode 100644 index c3104bc4f2..0000000000 --- a/implementors/leo_ast/passes/visitor/trait.ExpressionVisitor.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_passes":[["impl<'a> ExpressionVisitor<'a> for TypeChecker<'a>"],["impl<'a> ExpressionVisitor<'a> for SymbolTableCreator<'a>"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/leo_ast/passes/visitor/trait.ProgramVisitor.js b/implementors/leo_ast/passes/visitor/trait.ProgramVisitor.js deleted file mode 100644 index a713a4e638..0000000000 --- a/implementors/leo_ast/passes/visitor/trait.ProgramVisitor.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"leo_passes":[["impl<'a> ProgramVisitor<'a> for SymbolTableCreator<'a>"],["impl<'a> ProgramVisitor<'a> for TypeChecker<'a>"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/de/trait.Deserialize.js b/implementors/serde/de/trait.Deserialize.js deleted file mode 100644 index c35332195e..0000000000 --- a/implementors/serde/de/trait.Deserialize.js +++ /dev/null @@ -1,8 +0,0 @@ -(function() {var implementors = { -"leo_ast":[["impl<'de> Deserialize<'de> for IntegerType"],["impl<'de> Deserialize<'de> for ProgramId"],["impl<'de> Deserialize<'de> for UnaryExpression"],["impl<'de> Deserialize<'de> for ConsoleStatement"],["impl<'de> Deserialize<'de> for ArrayAccess"],["impl<'de> Deserialize<'de> for TupleAccess"],["impl<'de> Deserialize<'de> for AssertStatement"],["impl<'de> Deserialize<'de> for AssignStatement"],["impl<'de> Deserialize<'de> for DeclarationType"],["impl<'de> Deserialize<'de> for AssociatedFunction"],["impl<'de> Deserialize<'de> for ExpressionStatement"],["impl<'de> Deserialize<'de> for UnaryOperation"],["impl<'de> Deserialize<'de> for Mode"],["impl<'de> Deserialize<'de> for CallExpression"],["impl<'de> Deserialize<'de> for ErrExpression"],["impl<'de> Deserialize<'de> for BinaryExpression"],["impl<'de> Deserialize<'de> for ConditionalStatement"],["impl<'de> Deserialize<'de> for InputAst"],["impl<'de> Deserialize<'de> for InputValue"],["impl<'de> Deserialize<'de> for AssociatedConstant"],["impl<'de> Deserialize<'de> for ProgramScope"],["impl<'de> Deserialize<'de> for StaticString"],["impl<'de> Deserialize<'de> for TernaryExpression"],["impl<'de> Deserialize<'de> for Mapping"],["impl<'de> Deserialize<'de> for Struct"],["impl<'de> Deserialize<'de> for ConsoleFunction"],["impl<'de> Deserialize<'de> for NonNegativeNumber"],["impl<'de> Deserialize<'de> for UnitExpression"],["impl<'de> Deserialize<'de> for Function"],["impl<'de> Deserialize<'de> for StructVariableInitializer"],["impl<'de> Deserialize<'de> for StructExpression"],["impl<'de> Deserialize<'de> for ProgramInput"],["impl<'de> Deserialize<'de> for Statement"],["impl<'de> Deserialize<'de> for DefinitionStatement"],["impl<'de> Deserialize<'de> for CastExpression"],["impl<'de> Deserialize<'de> for AccessExpression"],["impl<'de> Deserialize<'de> for Annotation"],["impl<'de> Deserialize<'de> for MappingType"],["impl<'de> Deserialize<'de> for External"],["impl<'de> Deserialize<'de> for Section"],["impl<'de> Deserialize<'de> for FunctionOutput"],["impl<'de> Deserialize<'de> for InputData"],["impl<'de> Deserialize<'de> for Literal"],["impl<'de> Deserialize<'de> for Member"],["impl<'de> Deserialize<'de> for BinaryOperation"],["impl<'de> Deserialize<'de> for MemberAccess"],["impl<'de> Deserialize<'de> for GroupTuple"],["impl<'de> Deserialize<'de> for ReturnStatement"],["impl<'de> Deserialize<'de> for ArrayType"],["impl<'de> Deserialize<'de> for Expression"],["impl<'de> Deserialize<'de> for GroupLiteral"],["impl<'de> Deserialize<'de> for Input"],["impl<'de> Deserialize<'de> for Definition"],["impl<'de> Deserialize<'de> for Output"],["impl<'de> Deserialize<'de> for FunctionInput"],["impl<'de> Deserialize<'de> for TupleType"],["impl<'de> Deserialize<'de> for ConstDeclaration"],["impl<'de> Deserialize<'de> for Identifier"],["impl<'de> Deserialize<'de> for GroupCoordinate"],["impl<'de> Deserialize<'de> for Program"],["impl<'de> Deserialize<'de> for ArrayExpression"],["impl<'de> Deserialize<'de> for TupleExpression"],["impl<'de> Deserialize<'de> for Block"],["impl<'de> Deserialize<'de> for Finalize"],["impl<'de> Deserialize<'de> for AssertVariant"],["impl<'de> Deserialize<'de> for Type"],["impl<'de> Deserialize<'de> for Variant"],["impl<'de> Deserialize<'de> for IterationStatement"]], -"leo_package":[["impl<'de> Deserialize<'de> for InputFile"],["impl<'de> Deserialize<'de> for Snapshot"],["impl<'de, N: Network> Deserialize<'de> for Package<N>"],["impl<'de> Deserialize<'de> for Gitignore"],["impl<'de> Deserialize<'de> for ChecksumFile"],["impl<'de> Deserialize<'de> for CircuitFile"],["impl<'de, N: Network> Deserialize<'de> for Env<N>"],["impl<'de> Deserialize<'de> for MainFile"],["impl<'de> Deserialize<'de> for SnapshotFile"]], -"leo_parser":[["impl<'de> Deserialize<'de> for SpannedToken"],["impl<'de> Deserialize<'de> for Token"]], -"leo_passes":[["impl<'de> Deserialize<'de> for SymbolTable"],["impl<'de> Deserialize<'de> for FinalizeData"],["impl<'de> Deserialize<'de> for FunctionSymbol"],["impl<'de> Deserialize<'de> for ConstantPropagationTable"],["impl<'de> Deserialize<'de> for VariableType"],["impl<'de> Deserialize<'de> for VariableSymbol"]], -"leo_span":[["impl<'de> Deserialize<'de> for BytePos"],["impl<'de> Deserialize<'de> for Span"],["impl<'de> Deserialize<'de> for Symbol"]], -"leo_test_framework":[["impl<'de> Deserialize<'de> for TestExpectationMode"],["impl<'de> Deserialize<'de> for TestExpectation"],["impl<'de> Deserialize<'de> for TestConfig"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/ser/trait.Serialize.js b/implementors/serde/ser/trait.Serialize.js deleted file mode 100644 index 3b8e102494..0000000000 --- a/implementors/serde/ser/trait.Serialize.js +++ /dev/null @@ -1,7 +0,0 @@ -(function() {var implementors = { -"leo_ast":[["impl Serialize for ProgramId"],["impl Serialize for AssertVariant"],["impl Serialize for UnitExpression"],["impl Serialize for ConstDeclaration"],["impl Serialize for CastExpression"],["impl Serialize for DefinitionStatement"],["impl Serialize for ArrayAccess"],["impl Serialize for UnaryExpression"],["impl Serialize for InputAst"],["impl Serialize for CallExpression"],["impl Serialize for DeclarationType"],["impl Serialize for Annotation"],["impl Serialize for Function"],["impl Serialize for Type"],["impl Serialize for GroupCoordinate"],["impl Serialize for Variant"],["impl Serialize for AssociatedConstant"],["impl Serialize for Definition"],["impl Serialize for ConsoleStatement"],["impl Serialize for ConditionalStatement"],["impl Serialize for ArrayExpression"],["impl Serialize for ProgramScope"],["impl Serialize for AssociatedFunction"],["impl Serialize for Member"],["impl Serialize for Input"],["impl Serialize for InputValue"],["impl Serialize for IterationStatement"],["impl Serialize for BinaryExpression"],["impl Serialize for UnaryOperation"],["impl Serialize for Block"],["impl Serialize for GroupTuple"],["impl Serialize for External"],["impl Serialize for AssignStatement"],["impl Serialize for Literal"],["impl Serialize for MemberAccess"],["impl Serialize for StructExpression"],["impl Serialize for IntegerType"],["impl Serialize for TupleExpression"],["impl Serialize for Mode"],["impl Serialize for StaticString"],["impl Serialize for ProgramInput"],["impl Serialize for StructVariableInitializer"],["impl Serialize for FunctionOutput"],["impl Serialize for Program"],["impl Serialize for AccessExpression"],["impl Serialize for AssertStatement"],["impl Serialize for FunctionInput"],["impl Serialize for InputData"],["impl Serialize for Expression"],["impl Serialize for ArrayType"],["impl Serialize for MappingType"],["impl Serialize for TupleAccess"],["impl Serialize for NonNegativeNumber"],["impl Serialize for TupleType"],["impl Serialize for GroupLiteral"],["impl Serialize for BinaryOperation"],["impl Serialize for Section"],["impl Serialize for Statement"],["impl Serialize for Output"],["impl Serialize for Finalize"],["impl Serialize for ReturnStatement"],["impl Serialize for ErrExpression"],["impl Serialize for Identifier"],["impl Serialize for TernaryExpression"],["impl Serialize for Mapping"],["impl Serialize for ExpressionStatement"],["impl Serialize for ConsoleFunction"],["impl Serialize for Struct"]], -"leo_parser":[["impl Serialize for SpannedToken"],["impl Serialize for Token"]], -"leo_passes":[["impl Serialize for VariableType"],["impl Serialize for SymbolTable"],["impl Serialize for FunctionSymbol"],["impl Serialize for FinalizeData"],["impl Serialize for VariableSymbol"],["impl Serialize for ConstantPropagationTable"]], -"leo_span":[["impl Serialize for BytePos"],["impl Serialize for Symbol"],["impl Serialize for Span"]], -"leo_test_framework":[["impl Serialize for TestExpectationMode"],["impl Serialize for TestConfig"],["impl Serialize for TestExpectation"]] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/index.html b/index.html index 2250220ad2..41a63bd76b 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Index of crates
\ No newline at end of file +Index of crates
\ No newline at end of file diff --git a/leo/all.html b/leo/all.html index f47e021778..86d3004c21 100644 --- a/leo/all.html +++ b/leo/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Functions

\ No newline at end of file +List of all items in this crate

List of all items

Functions

\ No newline at end of file diff --git a/leo/fn.main.html b/leo/fn.main.html index a2a711ac88..d779ca2249 100644 --- a/leo/fn.main.html +++ b/leo/fn.main.html @@ -1 +1 @@ -main in leo - Rust

Function leo::main

source ·
pub(crate) fn main()
\ No newline at end of file +main in leo - Rust

Function leo::main

source ·
pub(crate) fn main()
\ No newline at end of file diff --git a/leo/fn.set_panic_hook.html b/leo/fn.set_panic_hook.html index fdac127068..4e986f4adb 100644 --- a/leo/fn.set_panic_hook.html +++ b/leo/fn.set_panic_hook.html @@ -1 +1 @@ -set_panic_hook in leo - Rust

Function leo::set_panic_hook

source ·
pub(crate) fn set_panic_hook()
\ No newline at end of file +set_panic_hook in leo - Rust

Function leo::set_panic_hook

source ·
pub(crate) fn set_panic_hook()
\ No newline at end of file diff --git a/leo/index.html b/leo/index.html index 237b7f1191..90df7269b0 100644 --- a/leo/index.html +++ b/leo/index.html @@ -1 +1,2 @@ -leo - Rust

Crate leo

source ·

Functions

\ No newline at end of file +leo - Rust

Crate leo

source ·

Functions

\ No newline at end of file diff --git a/leo_abnf/all.html b/leo_abnf/all.html index fa515d99fd..7402150423 100644 --- a/leo_abnf/all.html +++ b/leo_abnf/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Functions

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Functions

\ No newline at end of file diff --git a/leo_abnf/enum.Scope.html b/leo_abnf/enum.Scope.html index 69b2b16350..41e2d7c616 100644 --- a/leo_abnf/enum.Scope.html +++ b/leo_abnf/enum.Scope.html @@ -1,17 +1,17 @@ -Scope in leo_abnf - Rust

Enum leo_abnf::Scope

source ·
pub(crate) enum Scope {
+Scope in leo_abnf - Rust

Enum leo_abnf::Scope

source ·
pub(crate) enum Scope {
     Free,
     Code,
     Definition(Rule),
 }
Expand description

Processor’s scope. Used when code block or definition starts or ends.

-

Variants§

§

Free

§

Code

§

Definition(Rule)

Trait Implementations§

source§

impl Clone for Scope

source§

fn clone(&self) -> Scope

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Scope

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for Scope

§

impl Send for Scope

§

impl Sync for Scope

§

impl Unpin for Scope

§

impl UnwindSafe for Scope

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Variants§

§

Free

§

Code

§

Definition(Rule)

Trait Implementations§

source§

impl Clone for Scope

source§

fn clone(&self) -> Scope

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Scope

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for Scope

§

impl Send for Scope

§

impl Sync for Scope

§

impl Unpin for Scope

§

impl UnwindSafe for Scope

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_abnf/fn.main.html b/leo_abnf/fn.main.html index 2cd1106481..2aea7dab85 100644 --- a/leo_abnf/fn.main.html +++ b/leo_abnf/fn.main.html @@ -1 +1 @@ -main in leo_abnf - Rust

Function leo_abnf::main

source ·
pub(crate) fn main() -> Result<()>
\ No newline at end of file +main in leo_abnf - Rust

Function leo_abnf::main

source ·
pub(crate) fn main() -> Result<()>
\ No newline at end of file diff --git a/leo_abnf/fn.parse_abnf_node.html b/leo_abnf/fn.parse_abnf_node.html index c76a336cf2..41bcdff1a4 100644 --- a/leo_abnf/fn.parse_abnf_node.html +++ b/leo_abnf/fn.parse_abnf_node.html @@ -1,2 +1,2 @@ -parse_abnf_node in leo_abnf - Rust

Function leo_abnf::parse_abnf_node

source ·
pub(crate) fn parse_abnf_node(node: &Node, sum: &mut Vec<String>)
Expand description

Recursively parse ABNF Node and fill sum vec with found rule names.

+parse_abnf_node in leo_abnf - Rust

Function leo_abnf::parse_abnf_node

source ·
pub(crate) fn parse_abnf_node(node: &Node, sum: &mut Vec<String>)
Expand description

Recursively parse ABNF Node and fill sum vec with found rule names.

\ No newline at end of file diff --git a/leo_abnf/index.html b/leo_abnf/index.html index 4ffb90688f..8f7f0a492a 100644 --- a/leo_abnf/index.html +++ b/leo_abnf/index.html @@ -1 +1,2 @@ -leo_abnf - Rust

Crate leo_abnf

source ·

Structs

  • Processor 🔒
    Transforms abnf file into Markdown.

Enums

  • Scope 🔒
    Processor’s scope. Used when code block or definition starts or ends.

Functions

  • main 🔒
  • Recursively parse ABNF Node and fill sum vec with found rule names.
\ No newline at end of file +leo_abnf - Rust

Crate leo_abnf

source ·

Structs

  • Processor 🔒
    Transforms abnf file into Markdown.

Enums

  • Scope 🔒
    Processor’s scope. Used when code block or definition starts or ends.

Functions

  • main 🔒
  • Recursively parse ABNF Node and fill sum vec with found rule names.
\ No newline at end of file diff --git a/leo_abnf/struct.Processor.html b/leo_abnf/struct.Processor.html index c5457394dd..9e11c2555f 100644 --- a/leo_abnf/struct.Processor.html +++ b/leo_abnf/struct.Processor.html @@ -1,24 +1,24 @@ -Processor in leo_abnf - Rust

Struct leo_abnf::Processor

source ·
pub(crate) struct Processor<'a> {
-    pub(crate) rules: HashMap<String, Rule>,
-    pub(crate) grammar: &'a str,
+Processor in leo_abnf - Rust

Struct leo_abnf::Processor

source ·
pub(crate) struct Processor<'a> {
+    pub(crate) rules: HashMap<String, Rule>,
+    pub(crate) grammar: &'a str,
     pub(crate) scope: Scope,
-    pub(crate) line: u32,
-    pub(crate) out: String,
+    pub(crate) line: u32,
+    pub(crate) out: String,
 }
Expand description

Transforms abnf file into Markdown.

-

Fields§

§rules: HashMap<String, Rule>§grammar: &'a str§scope: Scope§line: u32§out: String

Implementations§

source§

impl<'a> Processor<'a>

source

pub(crate) fn new(grammar: &'a str, abnf: Vec<Rule>) -> Processor<'a>

source

pub(crate) fn process(&mut self)

Main function for this struct. +

Fields§

§rules: HashMap<String, Rule>§grammar: &'a str§scope: Scope§line: u32§out: String

Implementations§

source§

impl<'a> Processor<'a>

source

pub(crate) fn new(grammar: &'a str, abnf: Vec<Rule>) -> Processor<'a>

source

pub(crate) fn process(&mut self)

Main function for this struct. Goes through each line and transforms it into proper markdown.

-
source

pub(crate) fn append_str(&mut self, line: &str)

Append new line into output, add newline character.

+
source

pub(crate) fn append_str(&mut self, line: &str)

Append new line into output, add newline character.

source

pub(crate) fn enter_scope(&mut self, new_scope: Scope)

Enter new scope (definition or code block). Allows customizing pre and post lines for each scope entered or exited.

-

Trait Implementations§

source§

impl<'a> Clone for Processor<'a>

source§

fn clone(&self) -> Processor<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for Processor<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for Processor<'a>

§

impl<'a> Send for Processor<'a>

§

impl<'a> Sync for Processor<'a>

§

impl<'a> Unpin for Processor<'a>

§

impl<'a> UnwindSafe for Processor<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl<'a> Clone for Processor<'a>

source§

fn clone(&self) -> Processor<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for Processor<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for Processor<'a>

§

impl<'a> Send for Processor<'a>

§

impl<'a> Sync for Processor<'a>

§

impl<'a> Unpin for Processor<'a>

§

impl<'a> UnwindSafe for Processor<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_ast/access/array_access/index.html b/leo_ast/access/array_access/index.html index f08f7c0488..33450112f3 100644 --- a/leo_ast/access/array_access/index.html +++ b/leo_ast/access/array_access/index.html @@ -1 +1 @@ -leo_ast::access::array_access - Rust

Structs

  • An array access expression, e.g., foo[index].
\ No newline at end of file +leo_ast::access::array_access - Rust

Structs

  • An array access expression, e.g., foo[index].
\ No newline at end of file diff --git a/leo_ast/access/array_access/struct.ArrayAccess.html b/leo_ast/access/array_access/struct.ArrayAccess.html index 087a044fbc..1fef02d7ee 100644 --- a/leo_ast/access/array_access/struct.ArrayAccess.html +++ b/leo_ast/access/array_access/struct.ArrayAccess.html @@ -1,34 +1,34 @@ -ArrayAccess in leo_ast::access::array_access - Rust
pub struct ArrayAccess {
-    pub array: Box<Expression>,
-    pub index: Box<Expression>,
+ArrayAccess in leo_ast::access::array_access - Rust
pub struct ArrayAccess {
+    pub array: Box<Expression>,
+    pub index: Box<Expression>,
     pub span: Span,
     pub id: NodeID,
 }
Expand description

An array access expression, e.g., foo[index].

-

Fields§

§array: Box<Expression>

An expression evaluating to some array type, e.g., [false, true].

-
§index: Box<Expression>

The index to access in the array expression. E.g., 0 for [false, true] would yield false.

+

Fields§

§array: Box<Expression>

An expression evaluating to some array type, e.g., [false, true].

+
§index: Box<Expression>

The index to access in the array expression. E.g., 0 for [false, true] would yield false.

§span: Span

The span for the entire expression foo[index].

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ArrayAccess

source§

fn clone(&self) -> ArrayAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ArrayAccess> for ArrayAccess

source§

fn eq(&self, other: &ArrayAccess) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ArrayAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayAccess

source§

impl StructuralEq for ArrayAccess

source§

impl StructuralPartialEq for ArrayAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for ArrayAccess

source§

fn clone(&self) -> ArrayAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for ArrayAccess

source§

fn eq(&self, other: &ArrayAccess) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ArrayAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayAccess

source§

impl StructuralEq for ArrayAccess

source§

impl StructuralPartialEq for ArrayAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/associated_constant_access/index.html b/leo_ast/access/associated_constant_access/index.html index 71addf056e..74831e9f89 100644 --- a/leo_ast/access/associated_constant_access/index.html +++ b/leo_ast/access/associated_constant_access/index.html @@ -1 +1 @@ -leo_ast::access::associated_constant_access - Rust

Structs

\ No newline at end of file +leo_ast::access::associated_constant_access - Rust

Structs

\ No newline at end of file diff --git a/leo_ast/access/associated_constant_access/struct.AssociatedConstant.html b/leo_ast/access/associated_constant_access/struct.AssociatedConstant.html index ab85b2cf4a..8822dca8e7 100644 --- a/leo_ast/access/associated_constant_access/struct.AssociatedConstant.html +++ b/leo_ast/access/associated_constant_access/struct.AssociatedConstant.html @@ -1,4 +1,4 @@ -AssociatedConstant in leo_ast::access::associated_constant_access - Rust
pub struct AssociatedConstant {
+AssociatedConstant in leo_ast::access::associated_constant_access - Rust
pub struct AssociatedConstant {
     pub ty: Type,
     pub name: Identifier,
     pub span: Span,
@@ -8,27 +8,27 @@
 
§name: Identifier

The struct constant that is being accessed.

§span: Span

The span for the entire expression Foo::bar().

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for AssociatedConstant

source§

fn clone(&self) -> AssociatedConstant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedConstant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedConstant

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssociatedConstant> for AssociatedConstant

source§

fn eq(&self, other: &AssociatedConstant) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssociatedConstant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedConstant

source§

impl StructuralEq for AssociatedConstant

source§

impl StructuralPartialEq for AssociatedConstant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for AssociatedConstant

source§

fn clone(&self) -> AssociatedConstant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedConstant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedConstant

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for AssociatedConstant

source§

fn eq(&self, other: &AssociatedConstant) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssociatedConstant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedConstant

source§

impl StructuralEq for AssociatedConstant

source§

impl StructuralPartialEq for AssociatedConstant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/associated_function_access/index.html b/leo_ast/access/associated_function_access/index.html index 5f6a08b672..bc1ba66593 100644 --- a/leo_ast/access/associated_function_access/index.html +++ b/leo_ast/access/associated_function_access/index.html @@ -1 +1 @@ -leo_ast::access::associated_function_access - Rust

Structs

  • An access expression to an associated function in a struct, e.g.Pedersen64::hash().
\ No newline at end of file +leo_ast::access::associated_function_access - Rust

Structs

  • An access expression to an associated function in a struct, e.g.Pedersen64::hash().
\ No newline at end of file diff --git a/leo_ast/access/associated_function_access/struct.AssociatedFunction.html b/leo_ast/access/associated_function_access/struct.AssociatedFunction.html index ce080d58b2..55c49c2475 100644 --- a/leo_ast/access/associated_function_access/struct.AssociatedFunction.html +++ b/leo_ast/access/associated_function_access/struct.AssociatedFunction.html @@ -1,36 +1,36 @@ -AssociatedFunction in leo_ast::access::associated_function_access - Rust
pub struct AssociatedFunction {
+AssociatedFunction in leo_ast::access::associated_function_access - Rust
pub struct AssociatedFunction {
     pub ty: Type,
     pub name: Identifier,
-    pub arguments: Vec<Expression>,
+    pub arguments: Vec<Expression>,
     pub span: Span,
     pub id: NodeID,
 }
Expand description

An access expression to an associated function in a struct, e.g.Pedersen64::hash().

Fields§

§ty: Type

The inner struct type.

§name: Identifier

The static struct member function that is being accessed.

-
§arguments: Vec<Expression>

The arguments passed to the function name.

+
§arguments: Vec<Expression>

The arguments passed to the function name.

§span: Span

The span for the entire expression Foo::bar().

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for AssociatedFunction

source§

fn clone(&self) -> AssociatedFunction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedFunction

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedFunction

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssociatedFunction> for AssociatedFunction

source§

fn eq(&self, other: &AssociatedFunction) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssociatedFunction

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedFunction

source§

impl StructuralEq for AssociatedFunction

source§

impl StructuralPartialEq for AssociatedFunction

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for AssociatedFunction

source§

fn clone(&self) -> AssociatedFunction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedFunction

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedFunction

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for AssociatedFunction

source§

fn eq(&self, other: &AssociatedFunction) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssociatedFunction

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedFunction

source§

impl StructuralEq for AssociatedFunction

source§

impl StructuralPartialEq for AssociatedFunction

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/index.html b/leo_ast/access/index.html index 192a510b6e..0ccfce2d69 100644 --- a/leo_ast/access/index.html +++ b/leo_ast/access/index.html @@ -1 +1 @@ -leo_ast::access - Rust

Module leo_ast::access

source ·

Modules

Structs

  • An array access expression, e.g., foo[index].
  • An access expression to an struct constant., e.g. u8::MAX.
  • An access expression to an associated function in a struct, e.g.Pedersen64::hash().
  • A struct member access expression inner.name to some structure with named members.
  • A tuple access expression, e.g., tuple.index.
\ No newline at end of file +leo_ast::access - Rust

Module leo_ast::access

source ·

Modules

Structs

  • An array access expression, e.g., foo[index].
  • An access expression to an struct constant., e.g. u8::MAX.
  • An access expression to an associated function in a struct, e.g.Pedersen64::hash().
  • A struct member access expression inner.name to some structure with named members.
  • A tuple access expression, e.g., tuple.index.
\ No newline at end of file diff --git a/leo_ast/access/member_access/index.html b/leo_ast/access/member_access/index.html index 2d5b48da72..dc1f4cc853 100644 --- a/leo_ast/access/member_access/index.html +++ b/leo_ast/access/member_access/index.html @@ -1 +1 @@ -leo_ast::access::member_access - Rust

Structs

  • A struct member access expression inner.name to some structure with named members.
\ No newline at end of file +leo_ast::access::member_access - Rust

Structs

  • A struct member access expression inner.name to some structure with named members.
\ No newline at end of file diff --git a/leo_ast/access/member_access/struct.MemberAccess.html b/leo_ast/access/member_access/struct.MemberAccess.html index fbd684d08f..8f099bcae5 100644 --- a/leo_ast/access/member_access/struct.MemberAccess.html +++ b/leo_ast/access/member_access/struct.MemberAccess.html @@ -1,34 +1,34 @@ -MemberAccess in leo_ast::access::member_access - Rust
pub struct MemberAccess {
-    pub inner: Box<Expression>,
+MemberAccess in leo_ast::access::member_access - Rust
pub struct MemberAccess {
+    pub inner: Box<Expression>,
     pub name: Identifier,
     pub span: Span,
     pub id: NodeID,
 }
Expand description

A struct member access expression inner.name to some structure with named members.

-

Fields§

§inner: Box<Expression>

The inner struct that is being accessed.

+

Fields§

§inner: Box<Expression>

The inner struct that is being accessed.

§name: Identifier

The name of the struct member to access.

§span: Span

The span covering all of inner.name.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for MemberAccess

source§

fn clone(&self) -> MemberAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MemberAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for MemberAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<MemberAccess> for MemberAccess

source§

fn eq(&self, other: &MemberAccess) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for MemberAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MemberAccess

source§

impl StructuralEq for MemberAccess

source§

impl StructuralPartialEq for MemberAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for MemberAccess

source§

fn clone(&self) -> MemberAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MemberAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for MemberAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for MemberAccess

source§

fn eq(&self, other: &MemberAccess) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for MemberAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MemberAccess

source§

impl StructuralEq for MemberAccess

source§

impl StructuralPartialEq for MemberAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/struct.ArrayAccess.html b/leo_ast/access/struct.ArrayAccess.html index 614739b291..6efa4a2737 100644 --- a/leo_ast/access/struct.ArrayAccess.html +++ b/leo_ast/access/struct.ArrayAccess.html @@ -1,34 +1,34 @@ -ArrayAccess in leo_ast::access - Rust

Struct leo_ast::access::ArrayAccess

source ·
pub struct ArrayAccess {
-    pub array: Box<Expression>,
-    pub index: Box<Expression>,
+ArrayAccess in leo_ast::access - Rust

Struct leo_ast::access::ArrayAccess

source ·
pub struct ArrayAccess {
+    pub array: Box<Expression>,
+    pub index: Box<Expression>,
     pub span: Span,
     pub id: NodeID,
 }
Expand description

An array access expression, e.g., foo[index].

-

Fields§

§array: Box<Expression>

An expression evaluating to some array type, e.g., [false, true].

-
§index: Box<Expression>

The index to access in the array expression. E.g., 0 for [false, true] would yield false.

+

Fields§

§array: Box<Expression>

An expression evaluating to some array type, e.g., [false, true].

+
§index: Box<Expression>

The index to access in the array expression. E.g., 0 for [false, true] would yield false.

§span: Span

The span for the entire expression foo[index].

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ArrayAccess

source§

fn clone(&self) -> ArrayAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ArrayAccess> for ArrayAccess

source§

fn eq(&self, other: &ArrayAccess) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ArrayAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayAccess

source§

impl StructuralEq for ArrayAccess

source§

impl StructuralPartialEq for ArrayAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for ArrayAccess

source§

fn clone(&self) -> ArrayAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for ArrayAccess

source§

fn eq(&self, other: &ArrayAccess) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ArrayAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayAccess

source§

impl StructuralEq for ArrayAccess

source§

impl StructuralPartialEq for ArrayAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/struct.AssociatedConstant.html b/leo_ast/access/struct.AssociatedConstant.html index 1377df54c9..9e8b9019ba 100644 --- a/leo_ast/access/struct.AssociatedConstant.html +++ b/leo_ast/access/struct.AssociatedConstant.html @@ -1,4 +1,4 @@ -AssociatedConstant in leo_ast::access - Rust
pub struct AssociatedConstant {
+AssociatedConstant in leo_ast::access - Rust
pub struct AssociatedConstant {
     pub ty: Type,
     pub name: Identifier,
     pub span: Span,
@@ -8,27 +8,27 @@
 
§name: Identifier

The struct constant that is being accessed.

§span: Span

The span for the entire expression Foo::bar().

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for AssociatedConstant

source§

fn clone(&self) -> AssociatedConstant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedConstant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedConstant

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssociatedConstant> for AssociatedConstant

source§

fn eq(&self, other: &AssociatedConstant) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssociatedConstant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedConstant

source§

impl StructuralEq for AssociatedConstant

source§

impl StructuralPartialEq for AssociatedConstant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for AssociatedConstant

source§

fn clone(&self) -> AssociatedConstant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedConstant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedConstant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedConstant

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for AssociatedConstant

source§

fn eq(&self, other: &AssociatedConstant) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssociatedConstant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedConstant

source§

impl StructuralEq for AssociatedConstant

source§

impl StructuralPartialEq for AssociatedConstant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/struct.AssociatedFunction.html b/leo_ast/access/struct.AssociatedFunction.html index 03c64aa001..140e990119 100644 --- a/leo_ast/access/struct.AssociatedFunction.html +++ b/leo_ast/access/struct.AssociatedFunction.html @@ -1,36 +1,36 @@ -AssociatedFunction in leo_ast::access - Rust
pub struct AssociatedFunction {
+AssociatedFunction in leo_ast::access - Rust
pub struct AssociatedFunction {
     pub ty: Type,
     pub name: Identifier,
-    pub arguments: Vec<Expression>,
+    pub arguments: Vec<Expression>,
     pub span: Span,
     pub id: NodeID,
 }
Expand description

An access expression to an associated function in a struct, e.g.Pedersen64::hash().

Fields§

§ty: Type

The inner struct type.

§name: Identifier

The static struct member function that is being accessed.

-
§arguments: Vec<Expression>

The arguments passed to the function name.

+
§arguments: Vec<Expression>

The arguments passed to the function name.

§span: Span

The span for the entire expression Foo::bar().

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for AssociatedFunction

source§

fn clone(&self) -> AssociatedFunction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedFunction

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedFunction

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssociatedFunction> for AssociatedFunction

source§

fn eq(&self, other: &AssociatedFunction) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssociatedFunction

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedFunction

source§

impl StructuralEq for AssociatedFunction

source§

impl StructuralPartialEq for AssociatedFunction

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for AssociatedFunction

source§

fn clone(&self) -> AssociatedFunction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssociatedFunction

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssociatedFunction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssociatedFunction

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for AssociatedFunction

source§

fn eq(&self, other: &AssociatedFunction) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssociatedFunction

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssociatedFunction

source§

impl StructuralEq for AssociatedFunction

source§

impl StructuralPartialEq for AssociatedFunction

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/struct.MemberAccess.html b/leo_ast/access/struct.MemberAccess.html index 9b986f5e1b..ee9a68c46b 100644 --- a/leo_ast/access/struct.MemberAccess.html +++ b/leo_ast/access/struct.MemberAccess.html @@ -1,34 +1,34 @@ -MemberAccess in leo_ast::access - Rust
pub struct MemberAccess {
-    pub inner: Box<Expression>,
+MemberAccess in leo_ast::access - Rust
pub struct MemberAccess {
+    pub inner: Box<Expression>,
     pub name: Identifier,
     pub span: Span,
     pub id: NodeID,
 }
Expand description

A struct member access expression inner.name to some structure with named members.

-

Fields§

§inner: Box<Expression>

The inner struct that is being accessed.

+

Fields§

§inner: Box<Expression>

The inner struct that is being accessed.

§name: Identifier

The name of the struct member to access.

§span: Span

The span covering all of inner.name.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for MemberAccess

source§

fn clone(&self) -> MemberAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MemberAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for MemberAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<MemberAccess> for MemberAccess

source§

fn eq(&self, other: &MemberAccess) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for MemberAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MemberAccess

source§

impl StructuralEq for MemberAccess

source§

impl StructuralPartialEq for MemberAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for MemberAccess

source§

fn clone(&self) -> MemberAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MemberAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MemberAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for MemberAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for MemberAccess

source§

fn eq(&self, other: &MemberAccess) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for MemberAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MemberAccess

source§

impl StructuralEq for MemberAccess

source§

impl StructuralPartialEq for MemberAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/struct.TupleAccess.html b/leo_ast/access/struct.TupleAccess.html index 17ab61cd5a..ef3ad934c5 100644 --- a/leo_ast/access/struct.TupleAccess.html +++ b/leo_ast/access/struct.TupleAccess.html @@ -1,34 +1,34 @@ -TupleAccess in leo_ast::access - Rust

Struct leo_ast::access::TupleAccess

source ·
pub struct TupleAccess {
-    pub tuple: Box<Expression>,
+TupleAccess in leo_ast::access - Rust

Struct leo_ast::access::TupleAccess

source ·
pub struct TupleAccess {
+    pub tuple: Box<Expression>,
     pub index: NonNegativeNumber,
     pub span: Span,
     pub id: NodeID,
 }
Expand description

A tuple access expression, e.g., tuple.index.

-

Fields§

§tuple: Box<Expression>

An expression evaluating to some tuple type, e.g., (5, 2).

+

Fields§

§tuple: Box<Expression>

An expression evaluating to some tuple type, e.g., (5, 2).

§index: NonNegativeNumber

The index to access in the tuple expression. E.g., 0 for (5, 2) would yield 5.

§span: Span

The span for the entire expression tuple.index.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for TupleAccess

source§

fn clone(&self) -> TupleAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TupleAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TupleAccess> for TupleAccess

source§

fn eq(&self, other: &TupleAccess) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TupleAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleAccess

source§

impl StructuralEq for TupleAccess

source§

impl StructuralPartialEq for TupleAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for TupleAccess

source§

fn clone(&self) -> TupleAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TupleAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for TupleAccess

source§

fn eq(&self, other: &TupleAccess) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TupleAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleAccess

source§

impl StructuralEq for TupleAccess

source§

impl StructuralPartialEq for TupleAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/access/tuple_access/index.html b/leo_ast/access/tuple_access/index.html index a24d7b241c..6c3f1f9bbd 100644 --- a/leo_ast/access/tuple_access/index.html +++ b/leo_ast/access/tuple_access/index.html @@ -1 +1 @@ -leo_ast::access::tuple_access - Rust

Structs

  • A tuple access expression, e.g., tuple.index.
\ No newline at end of file +leo_ast::access::tuple_access - Rust

Structs

  • A tuple access expression, e.g., tuple.index.
\ No newline at end of file diff --git a/leo_ast/access/tuple_access/struct.TupleAccess.html b/leo_ast/access/tuple_access/struct.TupleAccess.html index 7c9173fe52..4ac1d5d4cd 100644 --- a/leo_ast/access/tuple_access/struct.TupleAccess.html +++ b/leo_ast/access/tuple_access/struct.TupleAccess.html @@ -1,34 +1,34 @@ -TupleAccess in leo_ast::access::tuple_access - Rust
pub struct TupleAccess {
-    pub tuple: Box<Expression>,
+TupleAccess in leo_ast::access::tuple_access - Rust
pub struct TupleAccess {
+    pub tuple: Box<Expression>,
     pub index: NonNegativeNumber,
     pub span: Span,
     pub id: NodeID,
 }
Expand description

A tuple access expression, e.g., tuple.index.

-

Fields§

§tuple: Box<Expression>

An expression evaluating to some tuple type, e.g., (5, 2).

+

Fields§

§tuple: Box<Expression>

An expression evaluating to some tuple type, e.g., (5, 2).

§index: NonNegativeNumber

The index to access in the tuple expression. E.g., 0 for (5, 2) would yield 5.

§span: Span

The span for the entire expression tuple.index.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for TupleAccess

source§

fn clone(&self) -> TupleAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TupleAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<TupleAccess> for TupleAccess

source§

fn eq(&self, other: &TupleAccess) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TupleAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleAccess

source§

impl StructuralEq for TupleAccess

source§

impl StructuralPartialEq for TupleAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for TupleAccess

source§

fn clone(&self) -> TupleAccess

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleAccess

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleAccess

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for TupleAccess

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for TupleAccess

source§

fn eq(&self, other: &TupleAccess) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TupleAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleAccess

source§

impl StructuralEq for TupleAccess

source§

impl StructuralPartialEq for TupleAccess

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/all.html b/leo_ast/all.html index 4c49b092a4..d15c8f3b35 100644 --- a/leo_ast/all.html +++ b/leo_ast/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Functions

Type Aliases

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Functions

Type Aliases

\ No newline at end of file diff --git a/leo_ast/common/identifier/index.html b/leo_ast/common/identifier/index.html index 13da7e278f..2e5d233eac 100644 --- a/leo_ast/common/identifier/index.html +++ b/leo_ast/common/identifier/index.html @@ -1 +1 @@ -leo_ast::common::identifier - Rust

Module leo_ast::common::identifier

source ·

Structs

\ No newline at end of file +leo_ast::common::identifier - Rust

Module leo_ast::common::identifier

source ·

Structs

\ No newline at end of file diff --git a/leo_ast/common/identifier/struct.Identifier.html b/leo_ast/common/identifier/struct.Identifier.html index 1976ec896d..6133be2396 100644 --- a/leo_ast/common/identifier/struct.Identifier.html +++ b/leo_ast/common/identifier/struct.Identifier.html @@ -1,4 +1,4 @@ -Identifier in leo_ast::common::identifier - Rust
pub struct Identifier {
+Identifier in leo_ast::common::identifier - Rust
pub struct Identifier {
     pub name: Symbol,
     pub span: Span,
     pub id: NodeID,
@@ -10,28 +10,28 @@
 
§span: Span

A span locating where the identifier occurred in the source.

§id: NodeID

The ID of the node.

Implementations§

source§

impl Identifier

source

pub fn new(name: Symbol, id: NodeID) -> Self

Constructs a new identifier with name and id and a default span.

-
source

pub fn matches(&self, other: &Self) -> bool

Check if the Identifier name matches the other name.

-

Trait Implementations§

source§

impl Clone for Identifier

source§

fn clone(&self) -> Identifier

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Identifier

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Identifier

source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Identifier

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for Identifier

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Node for Identifier

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Identifier> for Identifier

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Identifier

source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Identifier

source§

impl Eq for Identifier

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+
source

pub fn matches(&self, other: &Self) -> bool

Check if the Identifier name matches the other name.

+

Trait Implementations§

source§

impl Clone for Identifier

source§

fn clone(&self) -> Identifier

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Identifier

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Identifier

source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Identifier

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for Identifier

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Node for Identifier

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for Identifier

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Identifier

source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Identifier

source§

impl Eq for Identifier

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/common/imported_modules/fn.deserialize.html b/leo_ast/common/imported_modules/fn.deserialize.html index 414e9162d4..ee88e3e88e 100644 --- a/leo_ast/common/imported_modules/fn.deserialize.html +++ b/leo_ast/common/imported_modules/fn.deserialize.html @@ -1,3 +1,3 @@ -deserialize in leo_ast::common::imported_modules - Rust
pub fn deserialize<'de, D: Deserializer<'de>>(
+deserialize in leo_ast::common::imported_modules - Rust
pub fn deserialize<'de, D: Deserializer<'de>>(
     deserializer: D
-) -> Result<IndexMap<Vec<Symbol>, Program>, D::Error>
\ No newline at end of file +) -> Result<IndexMap<Vec<Symbol>, Program>, D::Error>
\ No newline at end of file diff --git a/leo_ast/common/imported_modules/fn.serialize.html b/leo_ast/common/imported_modules/fn.serialize.html index b4f62069de..648c3b4071 100644 --- a/leo_ast/common/imported_modules/fn.serialize.html +++ b/leo_ast/common/imported_modules/fn.serialize.html @@ -1,4 +1,4 @@ -serialize in leo_ast::common::imported_modules - Rust
pub fn serialize<S: Serializer>(
-    imported_modules: &IndexMap<Vec<Symbol>, Program>,
+serialize in leo_ast::common::imported_modules - Rust
pub fn serialize<S: Serializer>(
+    imported_modules: &IndexMap<Vec<Symbol>, Program>,
     serializer: S
-) -> Result<S::Ok, S::Error>
\ No newline at end of file +) -> Result<S::Ok, S::Error>
\ No newline at end of file diff --git a/leo_ast/common/imported_modules/index.html b/leo_ast/common/imported_modules/index.html index acc3060ca9..8f7704295c 100644 --- a/leo_ast/common/imported_modules/index.html +++ b/leo_ast/common/imported_modules/index.html @@ -1 +1 @@ -leo_ast::common::imported_modules - Rust
\ No newline at end of file +leo_ast::common::imported_modules - Rust
\ No newline at end of file diff --git a/leo_ast/common/index.html b/leo_ast/common/index.html index 4d5ca48a0d..d5963bca46 100644 --- a/leo_ast/common/index.html +++ b/leo_ast/common/index.html @@ -1 +1 @@ -leo_ast::common - Rust
\ No newline at end of file +leo_ast::common - Rust
\ No newline at end of file diff --git a/leo_ast/common/node/index.html b/leo_ast/common/node/index.html index 87102b0616..2183810595 100644 --- a/leo_ast/common/node/index.html +++ b/leo_ast/common/node/index.html @@ -1 +1 @@ -leo_ast::common::node - Rust

Module leo_ast::common::node

source ·

Traits

  • A node in the AST.

Type Aliases

\ No newline at end of file +leo_ast::common::node - Rust

Module leo_ast::common::node

source ·

Traits

  • A node in the AST.

Type Aliases

\ No newline at end of file diff --git a/leo_ast/common/node/trait.Node.html b/leo_ast/common/node/trait.Node.html index f4ac2a703e..b6fee841c2 100644 --- a/leo_ast/common/node/trait.Node.html +++ b/leo_ast/common/node/trait.Node.html @@ -1,4 +1,4 @@ -Node in leo_ast::common::node - Rust

Trait leo_ast::common::node::Node

source ·
pub trait Node: Debug + Display + Clone + PartialEq + Eq + Serialize + DeserializeOwned {
+Node in leo_ast::common::node - Rust

Trait leo_ast::common::node::Node

source ·
pub trait Node: Debug + Display + Clone + PartialEq + Eq + Serialize + DeserializeOwned {
     // Required methods
     fn span(&self) -> Span;
     fn set_span(&mut self, span: Span);
@@ -9,4 +9,4 @@
 
source

fn set_span(&mut self, span: Span)

Sets the span of the node.

source

fn id(&self) -> NodeID

Returns the ID of the node.

source

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.

-

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/leo_ast/common/node/type.NodeID.html b/leo_ast/common/node/type.NodeID.html index f2a06cf0d1..f0efc330b3 100644 --- a/leo_ast/common/node/type.NodeID.html +++ b/leo_ast/common/node/type.NodeID.html @@ -1,2 +1,2 @@ -NodeID in leo_ast::common::node - Rust

Type Alias leo_ast::common::node::NodeID

source ·
pub type NodeID = usize;
Expand description

A node ID.

+NodeID in leo_ast::common::node - Rust

Type Alias leo_ast::common::node::NodeID

source ·
pub type NodeID = usize;
Expand description

A node ID.

\ No newline at end of file diff --git a/leo_ast/common/node_builder/index.html b/leo_ast/common/node_builder/index.html index 1f41562f76..500a9f6f39 100644 --- a/leo_ast/common/node_builder/index.html +++ b/leo_ast/common/node_builder/index.html @@ -1,2 +1,2 @@ -leo_ast::common::node_builder - Rust

Structs

Fields§

§inner: RefCell<NodeBuilderInner>

The inner counter. RefCell is used here to avoid &mut all over the compiler.

Implementations§

source§

impl NodeBuilder

source

pub fn new(next: NodeID) -> Self

Returns a new NodeCounter with the given NodeID as the starting value.

source

pub fn next_id(&self) -> NodeID

Returns the next NodeID and increments the internal state.

-

Trait Implementations§

source§

impl Clone for NodeBuilder

source§

fn clone(&self) -> NodeBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NodeBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for NodeBuilder

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for NodeBuilder

source§

fn clone(&self) -> NodeBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NodeBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for NodeBuilder

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_ast/common/node_builder/struct.NodeBuilderInner.html b/leo_ast/common/node_builder/struct.NodeBuilderInner.html index 1c59ae31b9..ac64f5cf37 100644 --- a/leo_ast/common/node_builder/struct.NodeBuilderInner.html +++ b/leo_ast/common/node_builder/struct.NodeBuilderInner.html @@ -1,19 +1,19 @@ -NodeBuilderInner in leo_ast::common::node_builder - Rust
pub struct NodeBuilderInner {
+NodeBuilderInner in leo_ast::common::node_builder - Rust
pub struct NodeBuilderInner {
     next: NodeID,
 }
Expand description

Contains the actual data for Handler. Modeled this way to afford an API using interior mutability.

Fields§

§next: NodeID

The next NodeID.

Implementations§

source§

impl NodeBuilderInner

source

pub fn new(next: NodeID) -> Self

Returns a new NodeCounter with the given NodeID as the starting value.

source

pub fn next_id(&mut self) -> NodeID

Returns the next NodeID and increments the internal state.

-

Trait Implementations§

source§

impl Clone for NodeBuilderInner

source§

fn clone(&self) -> NodeBuilderInner

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NodeBuilderInner

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for NodeBuilderInner

source§

fn clone(&self) -> NodeBuilderInner

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NodeBuilderInner

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_ast/common/positive_number/index.html b/leo_ast/common/positive_number/index.html index df01dfaa6c..0f64378283 100644 --- a/leo_ast/common/positive_number/index.html +++ b/leo_ast/common/positive_number/index.html @@ -1 +1 @@ -leo_ast::common::positive_number - Rust

Structs

\ No newline at end of file +leo_ast::common::positive_number - Rust

Structs

\ No newline at end of file diff --git a/leo_ast/common/positive_number/struct.NonNegativeNumber.html b/leo_ast/common/positive_number/struct.NonNegativeNumber.html index 06cf0c36ee..88d85ee945 100644 --- a/leo_ast/common/positive_number/struct.NonNegativeNumber.html +++ b/leo_ast/common/positive_number/struct.NonNegativeNumber.html @@ -1,35 +1,35 @@ -NonNegativeNumber in leo_ast::common::positive_number - Rust
pub struct NonNegativeNumber {
-    string: String,
-    value: usize,
+NonNegativeNumber in leo_ast::common::positive_number - Rust
pub struct NonNegativeNumber {
+    string: String,
+    value: usize,
 }
Expand description

A number string guaranteed to be non-negative.

-

Fields§

§string: String

The string representation of the non-negative number.

-
§value: usize

The numeric value of the non-negative number.

-

Implementations§

source§

impl NonNegativeNumber

source

pub fn string(&self) -> &str

Returns the string representation of the non-negative number.

-
source

pub fn value(&self) -> usize

Returns the numeric value of the non-negative number.

-
source

pub fn is_zero(&self) -> bool

Returns true if this number is zero.

-

Trait Implementations§

source§

impl Clone for NonNegativeNumber

source§

fn clone(&self) -> NonNegativeNumber

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NonNegativeNumber

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for NonNegativeNumber

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for NonNegativeNumber

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<String> for NonNegativeNumber

source§

fn from(string: String) -> Self

Converts to this type from the input type.
source§

impl From<usize> for NonNegativeNumber

source§

fn from(value: usize) -> Self

Converts to this type from the input type.
source§

impl Hash for NonNegativeNumber

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<NonNegativeNumber> for NonNegativeNumber

source§

fn eq(&self, other: &NonNegativeNumber) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for NonNegativeNumber

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for NonNegativeNumber

source§

impl StructuralEq for NonNegativeNumber

source§

impl StructuralPartialEq for NonNegativeNumber

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Fields§

§string: String

The string representation of the non-negative number.

+
§value: usize

The numeric value of the non-negative number.

+

Implementations§

source§

impl NonNegativeNumber

source

pub fn string(&self) -> &str

Returns the string representation of the non-negative number.

+
source

pub fn value(&self) -> usize

Returns the numeric value of the non-negative number.

+
source

pub fn is_zero(&self) -> bool

Returns true if this number is zero.

+

Trait Implementations§

source§

impl Clone for NonNegativeNumber

source§

fn clone(&self) -> NonNegativeNumber

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NonNegativeNumber

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for NonNegativeNumber

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for NonNegativeNumber

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<String> for NonNegativeNumber

source§

fn from(string: String) -> Self

Converts to this type from the input type.
source§

impl From<usize> for NonNegativeNumber

source§

fn from(value: usize) -> Self

Converts to this type from the input type.
source§

impl Hash for NonNegativeNumber

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for NonNegativeNumber

source§

fn eq(&self, other: &NonNegativeNumber) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for NonNegativeNumber

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for NonNegativeNumber

source§

impl StructuralEq for NonNegativeNumber

source§

impl StructuralPartialEq for NonNegativeNumber

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/common/static_string/index.html b/leo_ast/common/static_string/index.html index 5ec0c71d91..4f36232983 100644 --- a/leo_ast/common/static_string/index.html +++ b/leo_ast/common/static_string/index.html @@ -1 +1 @@ -leo_ast::common::static_string - Rust
\ No newline at end of file +leo_ast::common::static_string - Rust
\ No newline at end of file diff --git a/leo_ast/common/static_string/struct.StaticString.html b/leo_ast/common/static_string/struct.StaticString.html index a4091f5c26..ca7c5e9a47 100644 --- a/leo_ast/common/static_string/struct.StaticString.html +++ b/leo_ast/common/static_string/struct.StaticString.html @@ -1,24 +1,24 @@ -StaticString in leo_ast::common::static_string - Rust
pub struct StaticString(String);

Tuple Fields§

§0: String

Implementations§

source§

impl StaticString

source

pub fn new(string: String) -> Self

Trait Implementations§

source§

impl Clone for StaticString

source§

fn clone(&self) -> StaticString

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StaticString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for StaticString

source§

fn default() -> StaticString

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for StaticString

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StaticString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<StaticString> for StaticString

source§

fn eq(&self, other: &StaticString) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for StaticString

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for StaticString

source§

impl StructuralEq for StaticString

source§

impl StructuralPartialEq for StaticString

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+StaticString in leo_ast::common::static_string - Rust
pub struct StaticString(String);

Tuple Fields§

§0: String

Implementations§

source§

impl StaticString

source

pub fn new(string: String) -> Self

Trait Implementations§

source§

impl Clone for StaticString

source§

fn clone(&self) -> StaticString

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StaticString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for StaticString

source§

fn default() -> StaticString

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for StaticString

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StaticString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for StaticString

source§

fn eq(&self, other: &StaticString) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for StaticString

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for StaticString

source§

impl StructuralEq for StaticString

source§

impl StructuralPartialEq for StaticString

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/access/enum.AccessExpression.html b/leo_ast/expressions/access/enum.AccessExpression.html index 4ccd5c9beb..94ba78711c 100644 --- a/leo_ast/expressions/access/enum.AccessExpression.html +++ b/leo_ast/expressions/access/enum.AccessExpression.html @@ -1,4 +1,4 @@ -AccessExpression in leo_ast::expressions::access - Rust
pub enum AccessExpression {
+AccessExpression in leo_ast::expressions::access - Rust
pub enum AccessExpression {
     Array(ArrayAccess),
     AssociatedConstant(AssociatedConstant),
     AssociatedFunction(AssociatedFunction),
@@ -10,27 +10,27 @@
 
§

AssociatedFunction(AssociatedFunction)

Access to an associated function of a struct e.g Pedersen64::hash().

§

Member(MemberAccess)

An expression accessing a field in a structure, e.g., struct_var.field.

§

Tuple(TupleAccess)

Access to a tuple field using its position, e.g., tuple.1.

-

Trait Implementations§

source§

impl Clone for AccessExpression

source§

fn clone(&self) -> AccessExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AccessExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AccessExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AccessExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AccessExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AccessExpression> for AccessExpression

source§

fn eq(&self, other: &AccessExpression) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AccessExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AccessExpression

source§

impl StructuralEq for AccessExpression

source§

impl StructuralPartialEq for AccessExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for AccessExpression

source§

fn clone(&self) -> AccessExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AccessExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AccessExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AccessExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AccessExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for AccessExpression

source§

fn eq(&self, other: &AccessExpression) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AccessExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AccessExpression

source§

impl StructuralEq for AccessExpression

source§

impl StructuralPartialEq for AccessExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/access/index.html b/leo_ast/expressions/access/index.html index ae5c42c67a..83381fb1ba 100644 --- a/leo_ast/expressions/access/index.html +++ b/leo_ast/expressions/access/index.html @@ -1 +1 @@ -leo_ast::expressions::access - Rust

Module leo_ast::expressions::access

source ·

Enums

  • An access expressions, extracting a smaller part out of a whole.
\ No newline at end of file +leo_ast::expressions::access - Rust

Module leo_ast::expressions::access

source ·

Enums

  • An access expressions, extracting a smaller part out of a whole.
\ No newline at end of file diff --git a/leo_ast/expressions/array/index.html b/leo_ast/expressions/array/index.html index a1ba0cdc98..83120f939a 100644 --- a/leo_ast/expressions/array/index.html +++ b/leo_ast/expressions/array/index.html @@ -1 +1 @@ -leo_ast::expressions::array - Rust

Module leo_ast::expressions::array

source ·

Structs

\ No newline at end of file +leo_ast::expressions::array - Rust

Module leo_ast::expressions::array

source ·

Structs

\ No newline at end of file diff --git a/leo_ast/expressions/array/struct.ArrayExpression.html b/leo_ast/expressions/array/struct.ArrayExpression.html index 6d3be07488..db88653d6e 100644 --- a/leo_ast/expressions/array/struct.ArrayExpression.html +++ b/leo_ast/expressions/array/struct.ArrayExpression.html @@ -1,32 +1,32 @@ -ArrayExpression in leo_ast::expressions::array - Rust
pub struct ArrayExpression {
-    pub elements: Vec<Expression>,
+ArrayExpression in leo_ast::expressions::array - Rust
pub struct ArrayExpression {
+    pub elements: Vec<Expression>,
     pub span: Span,
     pub id: NodeID,
 }
Expand description

An array expression, e.g., [true, false, true, false].

-

Fields§

§elements: Vec<Expression>

The elements of the array.

+

Fields§

§elements: Vec<Expression>

The elements of the array.

§span: Span

The span from [ to ].

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ArrayExpression

source§

fn clone(&self) -> ArrayExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ArrayExpression> for ArrayExpression

source§

fn eq(&self, other: &ArrayExpression) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ArrayExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayExpression

source§

impl StructuralEq for ArrayExpression

source§

impl StructuralPartialEq for ArrayExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for ArrayExpression

source§

fn clone(&self) -> ArrayExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ArrayExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for ArrayExpression

source§

fn eq(&self, other: &ArrayExpression) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ArrayExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayExpression

source§

impl StructuralEq for ArrayExpression

source§

impl StructuralPartialEq for ArrayExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/binary/enum.BinaryOperation.html b/leo_ast/expressions/binary/enum.BinaryOperation.html index 971a64d637..4ce213e523 100644 --- a/leo_ast/expressions/binary/enum.BinaryOperation.html +++ b/leo_ast/expressions/binary/enum.BinaryOperation.html @@ -1,4 +1,4 @@ -BinaryOperation in leo_ast::expressions::binary - Rust

Implementations§

source§

impl BinaryOperation

source

pub fn from_symbol(symbol: Symbol) -> Option<Self>

Returns a BinaryOperation from the given Symbol. +

Implementations§

source§

impl BinaryOperation

source

pub fn from_symbol(symbol: Symbol) -> Option<Self>

Returns a BinaryOperation from the given Symbol. This is used to resolve native operators invoked as method calls, e.g. a.add_wrapped(b).

-

Trait Implementations§

source§

impl Clone for BinaryOperation

source§

fn clone(&self) -> BinaryOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BinaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BinaryOperation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BinaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<BinaryOperation> for BinaryOperation

source§

fn eq(&self, other: &BinaryOperation) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for BinaryOperation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for BinaryOperation

source§

impl Eq for BinaryOperation

source§

impl StructuralEq for BinaryOperation

source§

impl StructuralPartialEq for BinaryOperation

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for BinaryOperation

source§

fn clone(&self) -> BinaryOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BinaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BinaryOperation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BinaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for BinaryOperation

source§

fn eq(&self, other: &BinaryOperation) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for BinaryOperation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for BinaryOperation

source§

impl Eq for BinaryOperation

source§

impl StructuralEq for BinaryOperation

source§

impl StructuralPartialEq for BinaryOperation

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/binary/index.html b/leo_ast/expressions/binary/index.html index aa04b7ed3b..0ad7ed67fe 100644 --- a/leo_ast/expressions/binary/index.html +++ b/leo_ast/expressions/binary/index.html @@ -1,2 +1,2 @@ -leo_ast::expressions::binary - Rust

Module leo_ast::expressions::binary

source ·

Structs

\ No newline at end of file diff --git a/leo_ast/expressions/enum.Expression.html b/leo_ast/expressions/enum.Expression.html index 93f50c6c43..aaec3a1463 100644 --- a/leo_ast/expressions/enum.Expression.html +++ b/leo_ast/expressions/enum.Expression.html @@ -1,4 +1,4 @@ -Expression in leo_ast::expressions - Rust

Trait Implementations§

source§

impl Clone for Expression

source§

fn clone(&self) -> Expression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Expression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Expression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Expression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Expression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Expression> for Expression

source§

fn eq(&self, other: &Expression) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Expression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Expression

source§

impl StructuralEq for Expression

source§

impl StructuralPartialEq for Expression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for Expression

source§

fn clone(&self) -> Expression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Expression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Expression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Expression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Expression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for Expression

source§

fn eq(&self, other: &Expression) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Expression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Expression

source§

impl StructuralEq for Expression

source§

impl StructuralPartialEq for Expression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/enum.Literal.html b/leo_ast/expressions/enum.Literal.html index 8706ceb14c..74427ec3b0 100644 --- a/leo_ast/expressions/enum.Literal.html +++ b/leo_ast/expressions/enum.Literal.html @@ -1,44 +1,44 @@ -Literal in leo_ast::expressions - Rust
pub enum Literal {
-    Address(String, Span, NodeID),
-    Boolean(bool, Span, NodeID),
-    Field(String, Span, NodeID),
-    Group(Box<GroupLiteral>),
-    Integer(IntegerType, String, Span, NodeID),
-    Scalar(String, Span, NodeID),
-    String(String, Span, NodeID),
+Literal in leo_ast::expressions - Rust
pub enum Literal {
+    Address(String, Span, NodeID),
+    Boolean(bool, Span, NodeID),
+    Field(String, Span, NodeID),
+    Group(Box<GroupLiteral>),
+    Integer(IntegerType, String, Span, NodeID),
+    Scalar(String, Span, NodeID),
+    String(String, Span, NodeID),
 }
Expand description

A literal.

-

Variants§

§

Address(String, Span, NodeID)

An address literal, e.g., aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9.

-
§

Boolean(bool, Span, NodeID)

A boolean literal, either true or false.

-
§

Field(String, Span, NodeID)

A field literal, e.g., 42field. +

Variants§

§

Address(String, Span, NodeID)

An address literal, e.g., aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9.

+
§

Boolean(bool, Span, NodeID)

A boolean literal, either true or false.

+
§

Field(String, Span, NodeID)

A field literal, e.g., 42field. A signed number followed by the keyword field.

-
§

Group(Box<GroupLiteral>)

A group literal, either product or affine. +

§

Group(Box<GroupLiteral>)

A group literal, either product or affine. For example, 42group or (12, 52)group.

-
§

Integer(IntegerType, String, Span, NodeID)

An integer literal, e.g., 42.

-
§

Scalar(String, Span, NodeID)

A scalar literal, e.g. 1scalar. +

§

Integer(IntegerType, String, Span, NodeID)

An integer literal, e.g., 42.

+
§

Scalar(String, Span, NodeID)

A scalar literal, e.g. 1scalar. An unsigned number followed by the keyword scalar.

-
§

String(String, Span, NodeID)

A string literal, e.g., "foobar".

-

Implementations§

Trait Implementations§

source§

impl Clone for Literal

source§

fn clone(&self) -> Literal

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Literal

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Literal

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, new_span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Literal> for Literal

source§

fn eq(&self, other: &Literal) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Literal

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&Literal> for Value

source§

fn try_from(literal: &Literal) -> Result<Self, Self::Error>

Converts a literal to a value.

-
§

type Error = ParseIntError

The type returned in the event of a conversion error.
source§

impl Eq for Literal

source§

impl StructuralEq for Literal

source§

impl StructuralPartialEq for Literal

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+
§

String(String, Span, NodeID)

A string literal, e.g., "foobar".

+

Implementations§

Trait Implementations§

source§

impl Clone for Literal

source§

fn clone(&self) -> Literal

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Literal

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Literal

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, new_span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for Literal

source§

fn eq(&self, other: &Literal) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Literal

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&Literal> for Value

source§

fn try_from(literal: &Literal) -> Result<Self, Self::Error>

Converts a literal to a value.

+
§

type Error = ParseIntError

The type returned in the event of a conversion error.
source§

impl Eq for Literal

source§

impl StructuralEq for Literal

source§

impl StructuralPartialEq for Literal

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/enum.UnaryOperation.html b/leo_ast/expressions/enum.UnaryOperation.html index d2fe0bcaf6..b99517b721 100644 --- a/leo_ast/expressions/enum.UnaryOperation.html +++ b/leo_ast/expressions/enum.UnaryOperation.html @@ -1,4 +1,4 @@ -UnaryOperation in leo_ast::expressions - Rust
pub enum UnaryOperation {
+UnaryOperation in leo_ast::expressions - Rust
pub enum UnaryOperation {
     Abs,
     AbsWrapped,
     Double,
@@ -20,28 +20,28 @@
 
§

SquareRoot

Square root operation, i.e. .sqrt().

§

ToXCoordinate

Converts a group element to its x-coordinate, i.e. .to_x_coordinate().

§

ToYCoordinate

Converts a group element to its y-coordinate, i.e. .to_y_coordinate().

-

Implementations§

source§

impl UnaryOperation

source

pub fn from_symbol(symbol: Symbol) -> Option<Self>

Returns a UnaryOperation from the given Symbol.

-
source

fn as_str(self) -> &'static str

Represents the opera.tor as a string.

-

Trait Implementations§

source§

impl Clone for UnaryOperation

source§

fn clone(&self) -> UnaryOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnaryOperation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<UnaryOperation> for UnaryOperation

source§

fn eq(&self, other: &UnaryOperation) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for UnaryOperation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for UnaryOperation

source§

impl Eq for UnaryOperation

source§

impl StructuralEq for UnaryOperation

source§

impl StructuralPartialEq for UnaryOperation

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Implementations§

source§

impl UnaryOperation

source

pub fn from_symbol(symbol: Symbol) -> Option<Self>

Returns a UnaryOperation from the given Symbol.

+
source

fn as_str(self) -> &'static str

Represents the opera.tor as a string.

+

Trait Implementations§

source§

impl Clone for UnaryOperation

source§

fn clone(&self) -> UnaryOperation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UnaryOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for UnaryOperation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for UnaryOperation

source§

fn eq(&self, other: &UnaryOperation) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for UnaryOperation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for UnaryOperation

source§

impl Eq for UnaryOperation

source§

impl StructuralEq for UnaryOperation

source§

impl StructuralPartialEq for UnaryOperation

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/err/index.html b/leo_ast/expressions/err/index.html index 263f39ae07..2a17e5a436 100644 --- a/leo_ast/expressions/err/index.html +++ b/leo_ast/expressions/err/index.html @@ -1 +1 @@ -leo_ast::expressions::err - Rust

Module leo_ast::expressions::err

source ·

Structs

\ No newline at end of file +leo_ast::expressions::err - Rust

Module leo_ast::expressions::err

source ·

Structs

\ No newline at end of file diff --git a/leo_ast/expressions/err/struct.ErrExpression.html b/leo_ast/expressions/err/struct.ErrExpression.html index 4694512441..748c5c0113 100644 --- a/leo_ast/expressions/err/struct.ErrExpression.html +++ b/leo_ast/expressions/err/struct.ErrExpression.html @@ -1,30 +1,30 @@ -ErrExpression in leo_ast::expressions::err - Rust
pub struct ErrExpression {
+ErrExpression in leo_ast::expressions::err - Rust
pub struct ErrExpression {
     pub span: Span,
     pub id: NodeID,
 }
Expand description

Represents a syntactically invalid expression.

Fields§

§span: Span

The span of the invalid expression.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for ErrExpression

source§

fn clone(&self) -> ErrExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ErrExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ErrExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ErrExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ErrExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<ErrExpression> for ErrExpression

source§

fn eq(&self, other: &ErrExpression) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ErrExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ErrExpression

source§

impl StructuralEq for ErrExpression

source§

impl StructuralPartialEq for ErrExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for ErrExpression

source§

fn clone(&self) -> ErrExpression

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ErrExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ErrExpression

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ErrExpression

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for ErrExpression

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for ErrExpression

source§

fn eq(&self, other: &ErrExpression) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ErrExpression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ErrExpression

source§

impl StructuralEq for ErrExpression

source§

impl StructuralPartialEq for ErrExpression

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/expressions/index.html b/leo_ast/expressions/index.html index a67344379f..0143182575 100644 --- a/leo_ast/expressions/index.html +++ b/leo_ast/expressions/index.html @@ -1,3 +1,3 @@ -leo_ast::expressions - Rust

Module leo_ast::expressions

source ·

Modules

Structs

\ No newline at end of file diff --git a/leo_ast/passes/visitor/index.html b/leo_ast/passes/visitor/index.html index 88a0a25cb7..8ad3db09be 100644 --- a/leo_ast/passes/visitor/index.html +++ b/leo_ast/passes/visitor/index.html @@ -1,4 +1,4 @@ -leo_ast::passes::visitor - Rust

Module leo_ast::passes::visitor

source ·
Expand description

This module contains Visitor trait implementations for the AST. +leo_ast::passes::visitor - Rust

Module leo_ast::passes::visitor

source ·
Expand description

This module contains Visitor trait implementations for the AST. It implements default methods for each node to be made given the type of node its visiting.

Traits

\ No newline at end of file diff --git a/leo_ast/passes/visitor/trait.ExpressionVisitor.html b/leo_ast/passes/visitor/trait.ExpressionVisitor.html index 0ec34a9eae..06f3b17b5a 100644 --- a/leo_ast/passes/visitor/trait.ExpressionVisitor.html +++ b/leo_ast/passes/visitor/trait.ExpressionVisitor.html @@ -1,6 +1,6 @@ -ExpressionVisitor in leo_ast::passes::visitor - Rust
pub trait ExpressionVisitor<'a> {
-    type AdditionalInput: Default;
-    type Output: Default;
+ExpressionVisitor in leo_ast::passes::visitor - Rust
pub trait ExpressionVisitor<'a> {
+    type AdditionalInput: Default;
+    type Output: Default;
 
 
Show 14 methods // Provided methods fn visit_expression( @@ -74,7 +74,7 @@ _additional: &Self::AdditionalInput ) -> Self::Output { ... }
}
Expand description

A Visitor trait for expressions in the AST.

-

Required Associated Types§

Provided Methods§

Required Associated Types§

Provided Methods§

source

fn visit_expression( &mut self, input: &'a Expression, additional: &Self::AdditionalInput @@ -130,4 +130,4 @@ &mut self, _input: &'a UnitExpression, _additional: &Self::AdditionalInput -) -> Self::Output

Implementors§

\ No newline at end of file +) -> Self::Output

Implementors§

\ No newline at end of file diff --git a/leo_ast/passes/visitor/trait.ProgramVisitor.html b/leo_ast/passes/visitor/trait.ProgramVisitor.html index ed22891b12..45df874190 100644 --- a/leo_ast/passes/visitor/trait.ProgramVisitor.html +++ b/leo_ast/passes/visitor/trait.ProgramVisitor.html @@ -1,4 +1,4 @@ -ProgramVisitor in leo_ast::passes::visitor - Rust
pub trait ProgramVisitor<'a>: StatementVisitor<'a> {
+ProgramVisitor in leo_ast::passes::visitor - Rust
pub trait ProgramVisitor<'a>: StatementVisitor<'a> {
     // Provided methods
     fn visit_program(&mut self, input: &'a Program) { ... }
     fn visit_program_scope(&mut self, input: &'a ProgramScope) { ... }
@@ -7,4 +7,4 @@
     fn visit_mapping(&mut self, _input: &'a Mapping) { ... }
     fn visit_function(&mut self, input: &'a Function) { ... }
 }
Expand description

A Visitor trait for the program represented by the AST.

-

Provided Methods§

source

fn visit_program(&mut self, input: &'a Program)

source

fn visit_program_scope(&mut self, input: &'a ProgramScope)

source

fn visit_import(&mut self, input: &'a Program)

source

fn visit_struct(&mut self, _input: &'a Struct)

source

fn visit_mapping(&mut self, _input: &'a Mapping)

source

fn visit_function(&mut self, input: &'a Function)

Implementors§

\ No newline at end of file +

Provided Methods§

source

fn visit_program(&mut self, input: &'a Program)

source

fn visit_program_scope(&mut self, input: &'a ProgramScope)

source

fn visit_import(&mut self, input: &'a Program)

source

fn visit_struct(&mut self, _input: &'a Struct)

source

fn visit_mapping(&mut self, _input: &'a Mapping)

source

fn visit_function(&mut self, input: &'a Function)

Implementors§

\ No newline at end of file diff --git a/leo_ast/passes/visitor/trait.StatementVisitor.html b/leo_ast/passes/visitor/trait.StatementVisitor.html index 0e2f544338..e6b6b3875f 100644 --- a/leo_ast/passes/visitor/trait.StatementVisitor.html +++ b/leo_ast/passes/visitor/trait.StatementVisitor.html @@ -1,4 +1,4 @@ -StatementVisitor in leo_ast::passes::visitor - Rust
pub trait StatementVisitor<'a>: ExpressionVisitor<'a> {
+StatementVisitor in leo_ast::passes::visitor - Rust
pub trait StatementVisitor<'a>: ExpressionVisitor<'a> {
     // Provided methods
     fn visit_statement(&mut self, input: &'a Statement) { ... }
     fn visit_assert(&mut self, input: &'a AssertStatement) { ... }
@@ -12,4 +12,4 @@
     fn visit_iteration(&mut self, input: &'a IterationStatement) { ... }
     fn visit_return(&mut self, input: &'a ReturnStatement) { ... }
 }
Expand description

A Visitor trait for statements in the AST.

-

Provided Methods§

source

fn visit_statement(&mut self, input: &'a Statement)

source

fn visit_assert(&mut self, input: &'a AssertStatement)

source

fn visit_assign(&mut self, input: &'a AssignStatement)

source

fn visit_block(&mut self, input: &'a Block)

source

fn visit_conditional(&mut self, input: &'a ConditionalStatement)

source

fn visit_console(&mut self, input: &'a ConsoleStatement)

source

fn visit_const(&mut self, input: &'a ConstDeclaration)

source

fn visit_definition(&mut self, input: &'a DefinitionStatement)

source

fn visit_expression_statement(&mut self, input: &'a ExpressionStatement)

source

fn visit_iteration(&mut self, input: &'a IterationStatement)

source

fn visit_return(&mut self, input: &'a ReturnStatement)

Implementors§

\ No newline at end of file +

Provided Methods§

source

fn visit_statement(&mut self, input: &'a Statement)

source

fn visit_assert(&mut self, input: &'a AssertStatement)

source

fn visit_assign(&mut self, input: &'a AssignStatement)

source

fn visit_block(&mut self, input: &'a Block)

source

fn visit_conditional(&mut self, input: &'a ConditionalStatement)

source

fn visit_console(&mut self, input: &'a ConsoleStatement)

source

fn visit_const(&mut self, input: &'a ConstDeclaration)

source

fn visit_definition(&mut self, input: &'a DefinitionStatement)

source

fn visit_expression_statement(&mut self, input: &'a ExpressionStatement)

source

fn visit_iteration(&mut self, input: &'a IterationStatement)

source

fn visit_return(&mut self, input: &'a ReturnStatement)

Implementors§

\ No newline at end of file diff --git a/leo_ast/program/index.html b/leo_ast/program/index.html index 7507faff3f..5e2f9a4dc8 100644 --- a/leo_ast/program/index.html +++ b/leo_ast/program/index.html @@ -1,2 +1,2 @@ -leo_ast::program - Rust

Module leo_ast::program

source ·
Expand description

A Leo program consists of import statements and program scopes.

+leo_ast::program - Rust

Module leo_ast::program

source ·
Expand description

A Leo program consists of import statements and program scopes.

Re-exports

Modules

Structs

  • Stores the Leo program abstract syntax tree.
\ No newline at end of file diff --git a/leo_ast/program/program_id/index.html b/leo_ast/program/program_id/index.html index 94360b927a..8b02b0f544 100644 --- a/leo_ast/program/program_id/index.html +++ b/leo_ast/program/program_id/index.html @@ -1 +1 @@ -leo_ast::program::program_id - Rust

Module leo_ast::program::program_id

source ·

Structs

  • An identifier for a program that is eventually deployed to the network.
\ No newline at end of file +leo_ast::program::program_id - Rust

Module leo_ast::program::program_id

source ·

Structs

  • An identifier for a program that is eventually deployed to the network.
\ No newline at end of file diff --git a/leo_ast/program/program_id/struct.ProgramId.html b/leo_ast/program/program_id/struct.ProgramId.html index d3c6746433..0c545abebd 100644 --- a/leo_ast/program/program_id/struct.ProgramId.html +++ b/leo_ast/program/program_id/struct.ProgramId.html @@ -1,30 +1,30 @@ -ProgramId in leo_ast::program::program_id - Rust
pub struct ProgramId {
+ProgramId in leo_ast::program::program_id - Rust
pub struct ProgramId {
     pub name: Identifier,
     pub network: Identifier,
 }
Expand description

An identifier for a program that is eventually deployed to the network.

Fields§

§name: Identifier

The name of the program.

§network: Identifier

The network associated with the program.

-

Trait Implementations§

source§

impl Clone for ProgramId

source§

fn clone(&self) -> ProgramId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProgramId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ProgramId

source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ProgramId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for ProgramId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<ProgramId> for ProgramId

source§

fn eq(&self, other: &ProgramId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ProgramId

source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for ProgramId

source§

impl Eq for ProgramId

source§

impl StructuralEq for ProgramId

source§

impl StructuralPartialEq for ProgramId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for ProgramId

source§

fn clone(&self) -> ProgramId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProgramId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ProgramId

source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ProgramId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for ProgramId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for ProgramId

source§

fn eq(&self, other: &ProgramId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ProgramId

source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for ProgramId

source§

impl Eq for ProgramId

source§

impl StructuralEq for ProgramId

source§

impl StructuralPartialEq for ProgramId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/program/program_scope/index.html b/leo_ast/program/program_scope/index.html index 7e789a174b..19fbdf23fe 100644 --- a/leo_ast/program/program_scope/index.html +++ b/leo_ast/program/program_scope/index.html @@ -1,2 +1,2 @@ -leo_ast::program::program_scope - Rust
Expand description

A Leo program scope consists of struct, function, and mapping definitions.

+leo_ast::program::program_scope - Rust
Expand description

A Leo program scope consists of struct, function, and mapping definitions.

Structs

  • Stores the Leo program scope abstract syntax tree.
\ No newline at end of file diff --git a/leo_ast/program/program_scope/struct.ProgramScope.html b/leo_ast/program/program_scope/struct.ProgramScope.html index 3ab561b93e..f082e68817 100644 --- a/leo_ast/program/program_scope/struct.ProgramScope.html +++ b/leo_ast/program/program_scope/struct.ProgramScope.html @@ -1,38 +1,38 @@ -ProgramScope in leo_ast::program::program_scope - Rust
pub struct ProgramScope {
+ProgramScope in leo_ast::program::program_scope - Rust
pub struct ProgramScope {
     pub program_id: ProgramId,
-    pub consts: Vec<(Symbol, ConstDeclaration)>,
-    pub structs: Vec<(Symbol, Struct)>,
-    pub mappings: Vec<(Symbol, Mapping)>,
-    pub functions: Vec<(Symbol, Function)>,
+    pub consts: Vec<(Symbol, ConstDeclaration)>,
+    pub structs: Vec<(Symbol, Struct)>,
+    pub mappings: Vec<(Symbol, Mapping)>,
+    pub functions: Vec<(Symbol, Function)>,
     pub span: Span,
 }
Expand description

Stores the Leo program scope abstract syntax tree.

Fields§

§program_id: ProgramId

The program id of the program scope.

-
§consts: Vec<(Symbol, ConstDeclaration)>

A vector of const definitions

-
§structs: Vec<(Symbol, Struct)>

A vector of struct definitions.

-
§mappings: Vec<(Symbol, Mapping)>

A vector of mapping definitions.

-
§functions: Vec<(Symbol, Function)>

A vector of function definitions.

+
§consts: Vec<(Symbol, ConstDeclaration)>

A vector of const definitions

+
§structs: Vec<(Symbol, Struct)>

A vector of struct definitions.

+
§mappings: Vec<(Symbol, Mapping)>

A vector of mapping definitions.

+
§functions: Vec<(Symbol, Function)>

A vector of function definitions.

§span: Span

The span associated with the program scope.

-

Trait Implementations§

source§

impl Clone for ProgramScope

source§

fn clone(&self) -> ProgramScope

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProgramScope

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ProgramScope

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ProgramScope

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ProgramScope> for ProgramScope

source§

fn eq(&self, other: &ProgramScope) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ProgramScope

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ProgramScope

source§

impl StructuralEq for ProgramScope

source§

impl StructuralPartialEq for ProgramScope

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for ProgramScope

source§

fn clone(&self) -> ProgramScope

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProgramScope

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ProgramScope

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ProgramScope

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for ProgramScope

source§

fn eq(&self, other: &ProgramScope) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ProgramScope

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ProgramScope

source§

impl StructuralEq for ProgramScope

source§

impl StructuralPartialEq for ProgramScope

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/program/struct.Program.html b/leo_ast/program/struct.Program.html index 44c0f6f40e..d2bff48dc6 100644 --- a/leo_ast/program/struct.Program.html +++ b/leo_ast/program/struct.Program.html @@ -1,31 +1,31 @@ -Program in leo_ast::program - Rust

Struct leo_ast::program::Program

source ·
pub struct Program {
+Program in leo_ast::program - Rust

Struct leo_ast::program::Program

source ·
pub struct Program {
     pub imports: IndexMap<Symbol, (Program, Span)>,
     pub program_scopes: IndexMap<Symbol, ProgramScope>,
 }
Expand description

Stores the Leo program abstract syntax tree.

Fields§

§imports: IndexMap<Symbol, (Program, Span)>

A map from import names to import definitions.

§program_scopes: IndexMap<Symbol, ProgramScope>

A map from program names to program scopes.

-

Trait Implementations§

source§

impl AsRef<Program> for Ast

source§

fn as_ref(&self) -> &Program

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Program

source§

fn clone(&self) -> Program

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Program

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Program

source§

fn default() -> Self

Constructs an empty program node.

-
source§

impl<'de> Deserialize<'de> for Program

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Program

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<Program> for Program

source§

fn eq(&self, other: &Program) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Program

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Program

source§

impl StructuralEq for Program

source§

impl StructuralPartialEq for Program

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl AsRef<Program> for Ast

source§

fn as_ref(&self) -> &Program

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Program

source§

fn clone(&self) -> Program

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Program

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Program

source§

fn default() -> Self

Constructs an empty program node.

+
source§

impl<'de> Deserialize<'de> for Program

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Program

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for Program

source§

fn eq(&self, other: &Program) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Program

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Program

source§

impl StructuralEq for Program

source§

impl StructuralPartialEq for Program

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/assert/enum.AssertVariant.html b/leo_ast/statement/assert/enum.AssertVariant.html index 2eacda03cd..930eecd86e 100644 --- a/leo_ast/statement/assert/enum.AssertVariant.html +++ b/leo_ast/statement/assert/enum.AssertVariant.html @@ -1,4 +1,4 @@ -AssertVariant in leo_ast::statement::assert - Rust

Variants§

§

Assert(Expression)

A assert(expr) variant, asserting that the expression evaluates to true.

§

AssertEq(Expression, Expression)

A assert_eq(expr1, expr2) variant, asserting that the operands are equal.

§

AssertNeq(Expression, Expression)

A assert_neq(expr1, expr2) variant, asserting that the operands are not equal.

-

Trait Implementations§

source§

impl Clone for AssertVariant

source§

fn clone(&self) -> AssertVariant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssertVariant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssertVariant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<AssertVariant> for AssertVariant

source§

fn eq(&self, other: &AssertVariant) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssertVariant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssertVariant

source§

impl StructuralEq for AssertVariant

source§

impl StructuralPartialEq for AssertVariant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for AssertVariant

source§

fn clone(&self) -> AssertVariant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssertVariant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssertVariant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for AssertVariant

source§

fn eq(&self, other: &AssertVariant) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssertVariant

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssertVariant

source§

impl StructuralEq for AssertVariant

source§

impl StructuralPartialEq for AssertVariant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/assert/index.html b/leo_ast/statement/assert/index.html index 537c16a3f0..badf220046 100644 --- a/leo_ast/statement/assert/index.html +++ b/leo_ast/statement/assert/index.html @@ -1 +1 @@ -leo_ast::statement::assert - Rust

Module leo_ast::statement::assert

source ·

Structs

  • An assert statement, assert(<expr>), assert_eq(<expr>) or assert_neq(<expr>).

Enums

\ No newline at end of file +leo_ast::statement::assert - Rust

Module leo_ast::statement::assert

source ·

Structs

  • An assert statement, assert(<expr>), assert_eq(<expr>) or assert_neq(<expr>).

Enums

\ No newline at end of file diff --git a/leo_ast/statement/assert/struct.AssertStatement.html b/leo_ast/statement/assert/struct.AssertStatement.html index adb8c03dba..b69d234305 100644 --- a/leo_ast/statement/assert/struct.AssertStatement.html +++ b/leo_ast/statement/assert/struct.AssertStatement.html @@ -1,4 +1,4 @@ -AssertStatement in leo_ast::statement::assert - Rust
pub struct AssertStatement {
+AssertStatement in leo_ast::statement::assert - Rust
pub struct AssertStatement {
     pub variant: AssertVariant,
     pub span: Span,
     pub id: NodeID,
@@ -6,27 +6,27 @@
 

Fields§

§variant: AssertVariant

The variant of the assert statement.

§span: Span

The span, excluding the semicolon.

§id: NodeID

The ID of the node.

-

Trait Implementations§

source§

impl Clone for AssertStatement

source§

fn clone(&self) -> AssertStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssertStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssertStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssertStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssertStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<AssertStatement> for AssertStatement

source§

fn eq(&self, other: &AssertStatement) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssertStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssertStatement

source§

impl StructuralEq for AssertStatement

source§

impl StructuralPartialEq for AssertStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for AssertStatement

source§

fn clone(&self) -> AssertStatement

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AssertStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AssertStatement

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for AssertStatement

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for AssertStatement

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for AssertStatement

source§

fn eq(&self, other: &AssertStatement) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AssertStatement

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AssertStatement

source§

impl StructuralEq for AssertStatement

source§

impl StructuralPartialEq for AssertStatement

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/statement/assign/index.html b/leo_ast/statement/assign/index.html index f7d962e11b..b5b94a4a0f 100644 --- a/leo_ast/statement/assign/index.html +++ b/leo_ast/statement/assign/index.html @@ -1,2 +1,2 @@ -leo_ast::statement::assign - Rust

Module leo_ast::statement::assign

source ·

Structs

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_ast/struct/index.html b/leo_ast/struct/index.html index 6a346751a8..61edff6e4c 100644 --- a/leo_ast/struct/index.html +++ b/leo_ast/struct/index.html @@ -1,2 +1,2 @@ -leo_ast::struct - Rust

Module leo_ast::struct

source ·

Re-exports

Modules

Structs

\ No newline at end of file diff --git a/leo_ast/struct/struct.Struct.html b/leo_ast/struct/struct.Struct.html index d25a7d6319..a62779003f 100644 --- a/leo_ast/struct/struct.Struct.html +++ b/leo_ast/struct/struct.Struct.html @@ -1,7 +1,7 @@ -Struct in leo_ast::struct - Rust

Struct leo_ast::struct::Struct

source ·
pub struct Struct {
+Struct in leo_ast::struct - Rust

Struct leo_ast::struct::Struct

source ·
pub struct Struct {
     pub identifier: Identifier,
-    pub members: Vec<Member>,
-    pub is_record: bool,
+    pub members: Vec<Member>,
+    pub is_record: bool,
     pub span: Span,
     pub id: NodeID,
 }
Expand description

A struct type definition, e.g., struct Foo { my_field: Bar }. @@ -10,33 +10,33 @@ as the record is nominal, not structural. The fields are named so struct Foo(u8, u16) is not allowed.

Fields§

§identifier: Identifier

The name of the type in the type system in this module.

-
§members: Vec<Member>

The fields, constant variables, and functions of this structure.

-
§is_record: bool

Was this a record Foo { ... }? +

§members: Vec<Member>

The fields, constant variables, and functions of this structure.

+
§is_record: bool

Was this a record Foo { ... }? If so, it wasn’t a struct.

§span: Span

The entire span of the struct definition.

§id: NodeID

The ID of the node.

Implementations§

source§

impl Struct

source

pub fn name(&self) -> Symbol

Returns the struct name as a Symbol.

-

Trait Implementations§

source§

impl Clone for Struct

source§

fn clone(&self) -> Struct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Struct

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Struct

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq<Struct> for Struct

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Struct

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Struct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for Struct

source§

fn clone(&self) -> Struct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Struct

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Node for Struct

source§

fn span(&self) -> Span

Returns the span of the node.
source§

fn set_span(&mut self, span: Span)

Sets the span of the node.
source§

fn id(&self) -> NodeID

Returns the ID of the node.
source§

fn set_id(&mut self, id: NodeID)

Sets the ID of the node.
source§

impl PartialEq for Struct

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Struct

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Struct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/types/array/index.html b/leo_ast/types/array/index.html index 1b5a1714de..96e4e1196f 100644 --- a/leo_ast/types/array/index.html +++ b/leo_ast/types/array/index.html @@ -1 +1 @@ -leo_ast::types::array - Rust

Module leo_ast::types::array

source ·

Structs

\ No newline at end of file +leo_ast::types::array - Rust

Module leo_ast::types::array

source ·

Structs

\ No newline at end of file diff --git a/leo_ast/types/array/struct.ArrayType.html b/leo_ast/types/array/struct.ArrayType.html index bf4a146394..ba105f4db6 100644 --- a/leo_ast/types/array/struct.ArrayType.html +++ b/leo_ast/types/array/struct.ArrayType.html @@ -1,34 +1,34 @@ -ArrayType in leo_ast::types::array - Rust

Struct leo_ast::types::array::ArrayType

source ·
pub struct ArrayType {
-    element_type: Box<Type>,
+ArrayType in leo_ast::types::array - Rust

Struct leo_ast::types::array::ArrayType

source ·
pub struct ArrayType {
+    element_type: Box<Type>,
     length: NonNegativeNumber,
 }
Expand description

An array type.

-

Fields§

§element_type: Box<Type>§length: NonNegativeNumber

Implementations§

source§

impl ArrayType

source

pub fn new(element: Type, length: NonNegativeNumber) -> Self

Creates a new array type.

+

Fields§

§element_type: Box<Type>§length: NonNegativeNumber

Implementations§

source§

impl ArrayType

source

pub fn new(element: Type, length: NonNegativeNumber) -> Self

Creates a new array type.

source

pub fn element_type(&self) -> &Type

Returns the element type of the array.

-
source

pub fn length(&self) -> usize

Returns the length of the array.

+
source

pub fn length(&self) -> usize

Returns the length of the array.

source

pub fn base_element_type(&self) -> &Type

Returns the base element type of the array.

-

Trait Implementations§

source§

impl Clone for ArrayType

source§

fn clone(&self) -> ArrayType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for ArrayType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<ArrayType> for ArrayType

source§

fn eq(&self, other: &ArrayType) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ArrayType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayType

source§

impl StructuralEq for ArrayType

source§

impl StructuralPartialEq for ArrayType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for ArrayType

source§

fn clone(&self) -> ArrayType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ArrayType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ArrayType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for ArrayType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for ArrayType

source§

fn eq(&self, other: &ArrayType) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ArrayType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ArrayType

source§

impl StructuralEq for ArrayType

source§

impl StructuralPartialEq for ArrayType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/types/core_constant/enum.CoreConstant.html b/leo_ast/types/core_constant/enum.CoreConstant.html index 453c04141d..687285a1b8 100644 --- a/leo_ast/types/core_constant/enum.CoreConstant.html +++ b/leo_ast/types/core_constant/enum.CoreConstant.html @@ -1,25 +1,25 @@ -CoreConstant in leo_ast::types::core_constant - Rust
pub enum CoreConstant {
+CoreConstant in leo_ast::types::core_constant - Rust
pub enum CoreConstant {
     GroupGenerator,
 }
Expand description

A core constant that maps directly to an AVM bytecode constant.

-

Variants§

§

GroupGenerator

Implementations§

source§

impl CoreConstant

source

pub fn from_symbols(type_: Symbol, constant: Symbol) -> Option<Self>

Returns a CoreConstant from the given type and constant symbols.

+

Variants§

§

GroupGenerator

Implementations§

source§

impl CoreConstant

source

pub fn from_symbols(type_: Symbol, constant: Symbol) -> Option<Self>

Returns a CoreConstant from the given type and constant symbols.

source

pub fn to_type(&self) -> Type

Returns the Type of the CoreConstant.

-

Trait Implementations§

source§

impl Clone for CoreConstant

source§

fn clone(&self) -> CoreConstant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl PartialEq<CoreConstant> for CoreConstant

source§

fn eq(&self, other: &CoreConstant) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Eq for CoreConstant

source§

impl StructuralEq for CoreConstant

source§

impl StructuralPartialEq for CoreConstant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for CoreConstant

source§

fn clone(&self) -> CoreConstant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl PartialEq for CoreConstant

source§

fn eq(&self, other: &CoreConstant) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Eq for CoreConstant

source§

impl StructuralEq for CoreConstant

source§

impl StructuralPartialEq for CoreConstant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_ast/types/core_constant/index.html b/leo_ast/types/core_constant/index.html index ce74d9da3d..b1d2bc4b8d 100644 --- a/leo_ast/types/core_constant/index.html +++ b/leo_ast/types/core_constant/index.html @@ -1 +1 @@ -leo_ast::types::core_constant - Rust

Enums

  • A core constant that maps directly to an AVM bytecode constant.
\ No newline at end of file +leo_ast::types::core_constant - Rust

Enums

  • A core constant that maps directly to an AVM bytecode constant.
\ No newline at end of file diff --git a/leo_ast/types/index.html b/leo_ast/types/index.html index 16e9df41c9..940a08fe9c 100644 --- a/leo_ast/types/index.html +++ b/leo_ast/types/index.html @@ -1 +1 @@ -leo_ast::types - Rust

Module leo_ast::types

source ·

Re-exports

Modules

\ No newline at end of file +leo_ast::types - Rust

Module leo_ast::types

source ·

Re-exports

Modules

\ No newline at end of file diff --git a/leo_ast/types/integer_type/enum.IntegerType.html b/leo_ast/types/integer_type/enum.IntegerType.html index 45af232d26..1b87576590 100644 --- a/leo_ast/types/integer_type/enum.IntegerType.html +++ b/leo_ast/types/integer_type/enum.IntegerType.html @@ -1,4 +1,4 @@ -IntegerType in leo_ast::types::integer_type - Rust
pub enum IntegerType {
+IntegerType in leo_ast::types::integer_type - Rust
pub enum IntegerType {
     U8,
     U16,
     U32,
@@ -10,31 +10,31 @@
     I64,
     I128,
 }
Expand description

Explicit integer type.

-

Variants§

§

U8

§

U16

§

U32

§

U64

§

U128

§

I8

§

I16

§

I32

§

I64

§

I128

Implementations§

source§

impl IntegerType

source

pub fn is_signed(&self) -> bool

Is the integer type a signed one?

+

Variants§

§

U8

§

U16

§

U32

§

U64

§

U128

§

I8

§

I16

§

I32

§

I64

§

I128

Implementations§

source§

impl IntegerType

source

pub fn is_signed(&self) -> bool

Is the integer type a signed one?

source

pub fn symbol(self) -> Symbol

Returns the symbol for the integer type.

-

Trait Implementations§

source§

impl Clone for IntegerType

source§

fn clone(&self) -> IntegerType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for IntegerType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for IntegerType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for IntegerType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for IntegerType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<IntegerType> for IntegerType

source§

fn eq(&self, other: &IntegerType) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for IntegerType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for IntegerType

source§

impl Eq for IntegerType

source§

impl StructuralEq for IntegerType

source§

impl StructuralPartialEq for IntegerType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for IntegerType

source§

fn clone(&self) -> IntegerType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for IntegerType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for IntegerType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for IntegerType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for IntegerType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for IntegerType

source§

fn eq(&self, other: &IntegerType) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for IntegerType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for IntegerType

source§

impl Eq for IntegerType

source§

impl StructuralEq for IntegerType

source§

impl StructuralPartialEq for IntegerType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/types/integer_type/index.html b/leo_ast/types/integer_type/index.html index 4468d955a9..983936f62f 100644 --- a/leo_ast/types/integer_type/index.html +++ b/leo_ast/types/integer_type/index.html @@ -1 +1 @@ -leo_ast::types::integer_type - Rust

Module leo_ast::types::integer_type

source ·

Enums

\ No newline at end of file +leo_ast::types::integer_type - Rust

Module leo_ast::types::integer_type

source ·

Enums

\ No newline at end of file diff --git a/leo_ast/types/mapping/index.html b/leo_ast/types/mapping/index.html index aa480919a2..1018d1f8f5 100644 --- a/leo_ast/types/mapping/index.html +++ b/leo_ast/types/mapping/index.html @@ -1 +1 @@ -leo_ast::types::mapping - Rust

Module leo_ast::types::mapping

source ·

Structs

\ No newline at end of file +leo_ast::types::mapping - Rust

Module leo_ast::types::mapping

source ·

Structs

\ No newline at end of file diff --git a/leo_ast/types/mapping/struct.MappingType.html b/leo_ast/types/mapping/struct.MappingType.html index ca09b8adde..c7182abf4b 100644 --- a/leo_ast/types/mapping/struct.MappingType.html +++ b/leo_ast/types/mapping/struct.MappingType.html @@ -1,30 +1,30 @@ -MappingType in leo_ast::types::mapping - Rust
pub struct MappingType {
-    pub key: Box<Type>,
-    pub value: Box<Type>,
+MappingType in leo_ast::types::mapping - Rust
pub struct MappingType {
+    pub key: Box<Type>,
+    pub value: Box<Type>,
 }
Expand description

A mapping type of a key and value type.

-

Fields§

§key: Box<Type>§value: Box<Type>

Trait Implementations§

source§

impl Clone for MappingType

source§

fn clone(&self) -> MappingType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MappingType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MappingType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MappingType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for MappingType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<MappingType> for MappingType

source§

fn eq(&self, other: &MappingType) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for MappingType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MappingType

source§

impl StructuralEq for MappingType

source§

impl StructuralPartialEq for MappingType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Fields§

§key: Box<Type>§value: Box<Type>

Trait Implementations§

source§

impl Clone for MappingType

source§

fn clone(&self) -> MappingType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MappingType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MappingType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MappingType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for MappingType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for MappingType

source§

fn eq(&self, other: &MappingType) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for MappingType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for MappingType

source§

impl StructuralEq for MappingType

source§

impl StructuralPartialEq for MappingType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/types/tuple/index.html b/leo_ast/types/tuple/index.html index 1748afa3e9..02a7a2e10f 100644 --- a/leo_ast/types/tuple/index.html +++ b/leo_ast/types/tuple/index.html @@ -1 +1 @@ -leo_ast::types::tuple - Rust

Module leo_ast::types::tuple

source ·

Structs

\ No newline at end of file +leo_ast::types::tuple - Rust

Module leo_ast::types::tuple

source ·

Structs

\ No newline at end of file diff --git a/leo_ast/types/tuple/struct.TupleType.html b/leo_ast/types/tuple/struct.TupleType.html index 5037ea4030..c43a748a4e 100644 --- a/leo_ast/types/tuple/struct.TupleType.html +++ b/leo_ast/types/tuple/struct.TupleType.html @@ -1,32 +1,32 @@ -TupleType in leo_ast::types::tuple - Rust

Struct leo_ast::types::tuple::TupleType

source ·
pub struct TupleType {
-    elements: Vec<Type>,
+TupleType in leo_ast::types::tuple - Rust

Struct leo_ast::types::tuple::TupleType

source ·
pub struct TupleType {
+    elements: Vec<Type>,
 }
Expand description

A type list of at least two types.

-

Fields§

§elements: Vec<Type>

Implementations§

source§

impl TupleType

source

pub fn new(elements: Vec<Type>) -> Self

Creates a new tuple type.

+

Fields§

§elements: Vec<Type>

Implementations§

source§

impl TupleType

source

pub fn new(elements: Vec<Type>) -> Self

Creates a new tuple type.

source

pub fn elements(&self) -> &[Type]

Returns the elements of the tuple type.

-
source

pub fn length(&self) -> usize

Returns the length of the tuple type.

-

Trait Implementations§

source§

impl Clone for TupleType

source§

fn clone(&self) -> TupleType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for TupleType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<TupleType> for TupleType

source§

fn eq(&self, other: &TupleType) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TupleType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleType

source§

impl StructuralEq for TupleType

source§

impl StructuralPartialEq for TupleType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+
source

pub fn length(&self) -> usize

Returns the length of the tuple type.

+

Trait Implementations§

source§

impl Clone for TupleType

source§

fn clone(&self) -> TupleType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TupleType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TupleType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TupleType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for TupleType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for TupleType

source§

fn eq(&self, other: &TupleType) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TupleType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TupleType

source§

impl StructuralEq for TupleType

source§

impl StructuralPartialEq for TupleType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/types/type_/enum.Type.html b/leo_ast/types/type_/enum.Type.html index bb91a536c2..6612fcb89d 100644 --- a/leo_ast/types/type_/enum.Type.html +++ b/leo_ast/types/type_/enum.Type.html @@ -1,4 +1,4 @@ -Type in leo_ast::types::type_ - Rust

Implementations§

source§

impl Type

source

pub fn eq_flat(&self, other: &Self) -> bool

Returns true if the self Type is equal to the other Type.

+

Implementations§

source§

impl Type

source

pub fn eq_flat(&self, other: &Self) -> bool

Returns true if the self Type is equal to the other Type.

Flattens array syntax: [[u8; 1]; 2] == [u8; (2, 1)] == true

-

Trait Implementations§

source§

impl Clone for Type

source§

fn clone(&self) -> Type

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Type

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Type

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Type

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&Value> for Type

source§

fn from(v: &Value) -> Self

Converts to this type from the input type.
source§

impl From<Value> for Type

source§

fn from(v: Value) -> Self

Converts to this type from the input type.
source§

impl Hash for Type

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<Type> for Type

source§

fn eq(&self, other: &Type) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Type

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Type

source§

impl StructuralEq for Type

source§

impl StructuralPartialEq for Type

Auto Trait Implementations§

§

impl RefUnwindSafe for Type

§

impl Send for Type

§

impl Sync for Type

§

impl Unpin for Type

§

impl UnwindSafe for Type

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for Type

source§

fn clone(&self) -> Type

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Type

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Type

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Type

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&Value> for Type

source§

fn from(v: &Value) -> Self

Converts to this type from the input type.
source§

impl From<Value> for Type

source§

fn from(v: Value) -> Self

Converts to this type from the input type.
source§

impl Hash for Type

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Type

source§

fn eq(&self, other: &Type) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Type

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Type

source§

impl StructuralEq for Type

source§

impl StructuralPartialEq for Type

Auto Trait Implementations§

§

impl RefUnwindSafe for Type

§

impl Send for Type

§

impl Sync for Type

§

impl Unpin for Type

§

impl UnwindSafe for Type

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_ast/types/type_/index.html b/leo_ast/types/type_/index.html index 2f98c530b7..bd4ff5bdee 100644 --- a/leo_ast/types/type_/index.html +++ b/leo_ast/types/type_/index.html @@ -1 +1 @@ -leo_ast::types::type_ - Rust

Module leo_ast::types::type_

source ·

Enums

  • Explicit type used for defining a variable or expression type
\ No newline at end of file +leo_ast::types::type_ - Rust

Module leo_ast::types::type_

source ·

Enums

  • Explicit type used for defining a variable or expression type
\ No newline at end of file diff --git a/leo_ast/value/enum.Value.html b/leo_ast/value/enum.Value.html index 0d3b0bb5d1..84ea22f7cc 100644 --- a/leo_ast/value/enum.Value.html +++ b/leo_ast/value/enum.Value.html @@ -1,41 +1,41 @@ -Value in leo_ast::value - Rust

Enum leo_ast::value::Value

source ·
pub enum Value {
+Value in leo_ast::value - Rust

Enum leo_ast::value::Value

source ·
pub enum Value {
 
Show 18 variants Input(Type, Identifier), - Address(String, Span), - Boolean(bool, Span), + Address(String, Span), + Boolean(bool, Span), Struct(Identifier, IndexMap<Symbol, Value>), - Field(String, Span), - Group(Box<GroupLiteral>), - I8(i8, Span), - I16(i16, Span), - I32(i32, Span), - I64(i64, Span), - I128(i128, Span), - U8(u8, Span), - U16(u16, Span), - U32(u32, Span), - U64(u64, Span), - U128(u128, Span), - Scalar(String, Span), - String(String, Span), -
}

Variants§

§

Input(Type, Identifier)

§

Address(String, Span)

§

Boolean(bool, Span)

§

Struct(Identifier, IndexMap<Symbol, Value>)

§

Field(String, Span)

§

Group(Box<GroupLiteral>)

§

I8(i8, Span)

§

I16(i16, Span)

§

I32(i32, Span)

§

I64(i64, Span)

§

I128(i128, Span)

§

U8(u8, Span)

§

U16(u16, Span)

§

U32(u32, Span)

§

U64(u64, Span)

§

U128(u128, Span)

§

Scalar(String, Span)

§

String(String, Span)

Implementations§

source§

impl Value

source

pub(crate) fn abs(self, span: Span) -> Result<Self>

source

pub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>

source

pub(crate) fn neg(self, span: Span) -> Result<Self>

source

pub(crate) fn not(self, span: Span) -> Result<Self>

source

pub(crate) fn add(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn div(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn le(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn is_supported_const_fold_type(&self) -> bool

Trait Implementations§

source§

impl AsRef<Value> for Value

source§

fn as_ref(&self) -> &Self

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Value

source§

fn clone(&self) -> Value

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&Value> for Type

source§

fn from(v: &Value) -> Self

Converts to this type from the input type.
source§

impl From<Value> for Type

source§

fn from(v: Value) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Value> for Value

source§

fn eq(&self, other: &Value) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<&Literal> for Value

source§

fn try_from(literal: &Literal) -> Result<Self, Self::Error>

Converts a literal to a value.

-
§

type Error = ParseIntError

The type returned in the event of a conversion error.
source§

impl TryFrom<&Value> for i128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: &Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Value> for u128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: &Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Value> for i128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Value> for u128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Eq for Value

source§

impl StructuralEq for Value

source§

impl StructuralPartialEq for Value

Auto Trait Implementations§

§

impl RefUnwindSafe for Value

§

impl Send for Value

§

impl Sync for Value

§

impl Unpin for Value

§

impl UnwindSafe for Value

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ Field(String, Span), + Group(Box<GroupLiteral>), + I8(i8, Span), + I16(i16, Span), + I32(i32, Span), + I64(i64, Span), + I128(i128, Span), + U8(u8, Span), + U16(u16, Span), + U32(u32, Span), + U64(u64, Span), + U128(u128, Span), + Scalar(String, Span), + String(String, Span), +
}

Variants§

§

Input(Type, Identifier)

§

Address(String, Span)

§

Boolean(bool, Span)

§

Struct(Identifier, IndexMap<Symbol, Value>)

§

Field(String, Span)

§

Group(Box<GroupLiteral>)

§

I8(i8, Span)

§

I16(i16, Span)

§

I32(i32, Span)

§

I64(i64, Span)

§

I128(i128, Span)

§

U8(u8, Span)

§

U16(u16, Span)

§

U32(u32, Span)

§

U64(u64, Span)

§

U128(u128, Span)

§

Scalar(String, Span)

§

String(String, Span)

Implementations§

source§

impl Value

source

pub(crate) fn abs(self, span: Span) -> Result<Self>

source

pub(crate) fn abs_wrapped(self, span: Span) -> Result<Self>

source

pub(crate) fn neg(self, span: Span) -> Result<Self>

source

pub(crate) fn not(self, span: Span) -> Result<Self>

source

pub(crate) fn add(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn add_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn bitand(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn div(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn div_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn eq(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn ge(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn gt(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn le(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn lt(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn mul(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn mul_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn bitor(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn pow(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn pow_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shl(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shl_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shr(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn shr_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn sub(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn sub_wrapped(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn xor(self, other: Self, span: Span) -> Result<Self>

source

pub(crate) fn is_supported_const_fold_type(&self) -> bool

Trait Implementations§

source§

impl AsRef<Value> for Value

source§

fn as_ref(&self) -> &Self

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Value

source§

fn clone(&self) -> Value

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&Value> for Type

source§

fn from(v: &Value) -> Self

Converts to this type from the input type.
source§

impl From<Value> for Type

source§

fn from(v: Value) -> Self

Converts to this type from the input type.
source§

impl PartialEq for Value

source§

fn eq(&self, other: &Value) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<&Literal> for Value

source§

fn try_from(literal: &Literal) -> Result<Self, Self::Error>

Converts a literal to a value.

+
§

type Error = ParseIntError

The type returned in the event of a conversion error.
source§

impl TryFrom<&Value> for i128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: &Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&Value> for u128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: &Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Value> for i128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Value> for u128

§

type Error = LeoError

The type returned in the event of a conversion error.
source§

fn try_from(value: Value) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Eq for Value

source§

impl StructuralEq for Value

source§

impl StructuralPartialEq for Value

Auto Trait Implementations§

§

impl RefUnwindSafe for Value

§

impl Send for Value

§

impl Sync for Value

§

impl Unpin for Value

§

impl UnwindSafe for Value

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_ast/value/index.html b/leo_ast/value/index.html index 27efaff30d..1672472b11 100644 --- a/leo_ast/value/index.html +++ b/leo_ast/value/index.html @@ -1 +1 @@ -leo_ast::value - Rust
\ No newline at end of file +leo_ast::value - Rust
\ No newline at end of file diff --git a/leo_ast/value/macro.implement_const_binary.html b/leo_ast/value/macro.implement_const_binary.html index 08e1ef1291..8ab5efa00f 100644 --- a/leo_ast/value/macro.implement_const_binary.html +++ b/leo_ast/value/macro.implement_const_binary.html @@ -1,4 +1,4 @@ -implement_const_binary in leo_ast::value - Rust
macro_rules! implement_const_binary {
+implement_const_binary in leo_ast::value - Rust
macro_rules! implement_const_binary {
     (
         @overflowing
         name: $name:ident,
diff --git a/leo_ast/value/macro.implement_const_unary.html b/leo_ast/value/macro.implement_const_unary.html
index 38ebb2f63e..57e6a89889 100644
--- a/leo_ast/value/macro.implement_const_unary.html
+++ b/leo_ast/value/macro.implement_const_unary.html
@@ -1,4 +1,4 @@
-implement_const_unary in leo_ast::value - Rust
macro_rules! implement_const_unary {
+implement_const_unary in leo_ast::value - Rust
macro_rules! implement_const_unary {
     (
         @overflowing
         name: $name:ident,
diff --git a/leo_compiler/all.html b/leo_compiler/all.html
index dd85006135..609d808f18 100644
--- a/leo_compiler/all.html
+++ b/leo_compiler/all.html
@@ -1 +1 @@
-List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/leo_compiler/compiler/index.html b/leo_compiler/compiler/index.html index e332b76ec7..f847916601 100644 --- a/leo_compiler/compiler/index.html +++ b/leo_compiler/compiler/index.html @@ -1,4 +1,4 @@ -leo_compiler::compiler - Rust

Module leo_compiler::compiler

source ·
Expand description

The compiler for Leo programs.

+leo_compiler::compiler - Rust

Module leo_compiler::compiler

source ·
Expand description

The compiler for Leo programs.

The Compiler type compiles Leo programs into R1CS circuits.

Structs

  • The abstract syntax tree (AST) for a Leo program.
  • The primary entry point of the Leo compiler.
  • A raw unprocessed input or state file data. Used for future conversion into ProgramInput.
\ No newline at end of file diff --git a/leo_compiler/compiler/struct.Ast.html b/leo_compiler/compiler/struct.Ast.html index 1c737ef2a1..a691e2e033 100644 --- a/leo_compiler/compiler/struct.Ast.html +++ b/leo_compiler/compiler/struct.Ast.html @@ -1,47 +1,47 @@ -Ast in leo_compiler::compiler - Rust

Struct leo_compiler::compiler::Ast

source ·
pub struct Ast {
+Ast in leo_compiler::compiler - Rust

Struct leo_compiler::compiler::Ast

source ·
pub struct Ast {
     pub ast: Program,
 }
Expand description

The abstract syntax tree (AST) for a Leo program.

The Ast type represents a Leo program as a series of recursive data types. These data types form a tree that begins from a Program type root.

Fields§

§ast: Program

Implementations§

source§

impl Ast

source

pub fn new(program: Program) -> Ast

Creates a new AST from a given program tree.

source

pub fn as_repr(&self) -> &Program

Returns a reference to the inner program AST representation.

-
source

pub fn into_repr(self) -> Program

source

pub fn to_json_string(&self) -> Result<String, LeoError>

Serializes the ast into a JSON string.

-
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

source

pub fn to_json_file( +

source

pub fn into_repr(self) -> Program

source

pub fn to_json_string(&self) -> Result<String, LeoError>

Serializes the ast into a JSON string.

+
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

source

pub fn to_json_file( &self, - path: PathBuf, - file_name: &str -) -> Result<(), LeoError>

Serializes the ast into a JSON file.

+ path: PathBuf, + file_name: &str +) -> Result<(), LeoError>

Serializes the ast into a JSON file.

source

pub fn to_json_file_without_keys( &self, - path: PathBuf, - file_name: &str, - excluded_keys: &[&str] -) -> Result<(), LeoError>

Serializes the ast into a JSON value and removes keys from object mappings before writing to a file.

-
source

pub fn from_json_string(json: &str) -> Result<Ast, LeoError>

Deserializes the JSON string into a ast.

-
source

pub fn from_json_file(path: PathBuf) -> Result<Ast, LeoError>

Deserializes the JSON string into a ast from a file.

-

Trait Implementations§

source§

impl AsRef<Program> for Ast

source§

fn as_ref(&self) -> &Program

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Ast

source§

fn clone(&self) -> Ast

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Ast

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Ast

source§

fn default() -> Ast

Returns the “default value” for a type. Read more
source§

impl PartialEq<Ast> for Ast

source§

fn eq(&self, other: &Ast) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Eq for Ast

source§

impl StructuralEq for Ast

source§

impl StructuralPartialEq for Ast

Auto Trait Implementations§

§

impl !RefUnwindSafe for Ast

§

impl Send for Ast

§

impl !Sync for Ast

§

impl Unpin for Ast

§

impl UnwindSafe for Ast

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + path: PathBuf, + file_name: &str, + excluded_keys: &[&str] +) -> Result<(), LeoError>

Serializes the ast into a JSON value and removes keys from object mappings before writing to a file.

+
source

pub fn from_json_string(json: &str) -> Result<Ast, LeoError>

Deserializes the JSON string into a ast.

+
source

pub fn from_json_file(path: PathBuf) -> Result<Ast, LeoError>

Deserializes the JSON string into a ast from a file.

+

Trait Implementations§

source§

impl AsRef<Program> for Ast

source§

fn as_ref(&self) -> &Program

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Ast

source§

fn clone(&self) -> Ast

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Ast

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Ast

source§

fn default() -> Ast

Returns the “default value” for a type. Read more
source§

impl PartialEq for Ast

source§

fn eq(&self, other: &Ast) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Eq for Ast

source§

impl StructuralEq for Ast

source§

impl StructuralPartialEq for Ast

Auto Trait Implementations§

§

impl !RefUnwindSafe for Ast

§

impl Send for Ast

§

impl !Sync for Ast

§

impl Unpin for Ast

§

impl UnwindSafe for Ast

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/compiler/struct.Compiler.html b/leo_compiler/compiler/struct.Compiler.html index 1a6bd605d8..0635d52ff8 100644 --- a/leo_compiler/compiler/struct.Compiler.html +++ b/leo_compiler/compiler/struct.Compiler.html @@ -1,43 +1,43 @@ -Compiler in leo_compiler::compiler - Rust
pub struct Compiler<'a> {
+Compiler in leo_compiler::compiler - Rust
pub struct Compiler<'a> {
     handler: &'a Handler,
-    main_file_path: PathBuf,
-    output_directory: PathBuf,
-    pub program_name: String,
-    pub network: String,
+    main_file_path: PathBuf,
+    output_directory: PathBuf,
+    pub program_name: String,
+    pub network: String,
     pub ast: Ast,
-    pub input_ast: Option<InputAst>,
+    pub input_ast: Option<InputAst>,
     compiler_options: CompilerOptions,
     node_builder: NodeBuilder,
     assigner: Assigner,
     type_table: TypeTable,
 }
Expand description

The primary entry point of the Leo compiler.

Fields§

§handler: &'a Handler

The handler is used for error and warning emissions.

-
§main_file_path: PathBuf

The path to the main leo file.

-
§output_directory: PathBuf

The path to where the compiler outputs all generated files.

-
§program_name: String

The program name,

-
§network: String

The network name,

+
§main_file_path: PathBuf

The path to the main leo file.

+
§output_directory: PathBuf

The path to where the compiler outputs all generated files.

+
§program_name: String

The program name,

+
§network: String

The network name,

§ast: Ast

The AST for the program.

-
§input_ast: Option<InputAst>

The input ast for the program if it exists.

+
§input_ast: Option<InputAst>

The input ast for the program if it exists.

§compiler_options: CompilerOptions

Options configuring compilation.

§node_builder: NodeBuilder

The NodeCounter used to generate sequentially increasing NodeIDs.

§assigner: Assigner

The Assigner is used to construct (unique) assignment statements.

§type_table: TypeTable

The type table.

Implementations§

source§

impl<'a> Compiler<'a>

source

pub fn new( - program_name: String, - network: String, + program_name: String, + network: String, handler: &'a Handler, - main_file_path: PathBuf, - output_directory: PathBuf, - compiler_options: Option<CompilerOptions> + main_file_path: PathBuf, + output_directory: PathBuf, + compiler_options: Option<CompilerOptions> ) -> Self

Returns a new Leo compiler.

-
source

pub fn checksum(&self) -> Result<String>

Returns a SHA256 checksum of the program file.

+
source

pub fn checksum(&self) -> Result<String>

Returns a SHA256 checksum of the program file.

source

pub fn parse_program_from_string( &mut self, - program_string: &str, + program_string: &str, name: FileName -) -> Result<()>

Parses and stores a program file content from a string, constructs a syntax tree, and generates a program.

-
source

pub fn parse_program(&mut self) -> Result<()>

Parses and stores the main program file, constructs a syntax tree, and generates a program.

-
source

pub fn parse_input(&mut self, input_file_path: PathBuf) -> Result<()>

Parses and stores the input file, constructs a syntax tree, and generates a program input.

+) -> Result<()>

Parses and stores a program file content from a string, constructs a syntax tree, and generates a program.

+
source

pub fn parse_program(&mut self) -> Result<()>

Parses and stores the main program file, constructs a syntax tree, and generates a program.

+
source

pub fn parse_input(&mut self, input_file_path: PathBuf) -> Result<()>

Parses and stores the input file, constructs a syntax tree, and generates a program input.

source

pub fn symbol_table_pass(&self) -> Result<SymbolTable>

Runs the symbol table pass.

source

pub fn type_checker_pass( &'a self, @@ -50,42 +50,42 @@

source

pub fn static_single_assignment_pass( &mut self, symbol_table: &SymbolTable -) -> Result<()>

Runs the static single assignment pass.

-
source

pub fn flattening_pass(&mut self, symbol_table: &SymbolTable) -> Result<()>

Runs the flattening pass.

-
source

pub fn destructuring_pass(&mut self) -> Result<()>

Runs the destructuring pass.

-
source

pub fn function_inlining_pass(&mut self, call_graph: &CallGraph) -> Result<()>

Runs the function inlining pass.

-
source

pub fn dead_code_elimination_pass(&mut self) -> Result<()>

Runs the dead code elimination pass.

+) -> Result<()>

Runs the static single assignment pass.

+
source

pub fn flattening_pass(&mut self, symbol_table: &SymbolTable) -> Result<()>

Runs the flattening pass.

+
source

pub fn destructuring_pass(&mut self) -> Result<()>

Runs the destructuring pass.

+
source

pub fn function_inlining_pass(&mut self, call_graph: &CallGraph) -> Result<()>

Runs the function inlining pass.

+
source

pub fn dead_code_elimination_pass(&mut self) -> Result<()>

Runs the dead code elimination pass.

source

pub fn code_generation_pass( &mut self, symbol_table: &SymbolTable, struct_graph: &StructGraph, call_graph: &CallGraph -) -> Result<String>

Runs the code generation pass.

+) -> Result<String>

Runs the code generation pass.

source

pub fn compiler_stages( &mut self ) -> Result<(SymbolTable, StructGraph, CallGraph)>

Runs the compiler stages.

-
source

pub fn compile(&mut self) -> Result<(SymbolTable, String)>

Returns a compiled Leo program.

-
source

fn write_ast_to_json(&self, file_suffix: &str) -> Result<()>

Writes the AST to a JSON file.

+
source

pub fn compile(&mut self) -> Result<(SymbolTable, String)>

Returns a compiled Leo program.

+
source

fn write_ast_to_json(&self, file_suffix: &str) -> Result<()>

Writes the AST to a JSON file.

source

fn write_symbol_table_to_json( &self, - file_suffix: &str, + file_suffix: &str, symbol_table: &SymbolTable -) -> Result<()>

Writes the Symbol Table to a JSON file.

-

Trait Implementations§

source§

impl<'a> Clone for Compiler<'a>

source§

fn clone(&self) -> Compiler<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for Compiler<'a>

§

impl<'a> !Send for Compiler<'a>

§

impl<'a> !Sync for Compiler<'a>

§

impl<'a> Unpin for Compiler<'a>

§

impl<'a> !UnwindSafe for Compiler<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<()>

Writes the Symbol Table to a JSON file.

+

Trait Implementations§

source§

impl<'a> Clone for Compiler<'a>

source§

fn clone(&self) -> Compiler<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for Compiler<'a>

§

impl<'a> !Send for Compiler<'a>

§

impl<'a> !Sync for Compiler<'a>

§

impl<'a> Unpin for Compiler<'a>

§

impl<'a> !UnwindSafe for Compiler<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/compiler/struct.InputAst.html b/leo_compiler/compiler/struct.InputAst.html index d2ae7fe62b..3e0b30c33e 100644 --- a/leo_compiler/compiler/struct.InputAst.html +++ b/leo_compiler/compiler/struct.InputAst.html @@ -1,52 +1,52 @@ -InputAst in leo_compiler::compiler - Rust
pub struct InputAst {
-    pub sections: Vec<Section, Global>,
+InputAst in leo_compiler::compiler - Rust
pub struct InputAst {
+    pub sections: Vec<Section>,
 }
Expand description

A raw unprocessed input or state file data. Used for future conversion into ProgramInput.

-

Fields§

§sections: Vec<Section, Global>

Implementations§

source§

impl InputAst

Fields§

§sections: Vec<Section>

Implementations§

source§

impl InputAst

source

pub fn program_inputs( &self, - program_name: &str, - structs: IndexMap<Symbol, Struct, RandomState> -) -> Vec<String, Global>

Returns all values of the input AST for execution with leo run.

-
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Serializes the Input into a JSON Value.

+ program_name: &str, + structs: IndexMap<Symbol, Struct> +) -> Vec<String>

Returns all values of the input AST for execution with leo run.

+
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Serializes the Input into a JSON Value.

source

pub fn to_json_file( &self, - path: PathBuf, - file_name: &str -) -> Result<(), LeoError>

Serializes the input into a JSON file.

+ path: PathBuf, + file_name: &str +) -> Result<(), LeoError>

Serializes the input into a JSON file.

source

pub fn to_json_file_without_keys( &self, - path: PathBuf, - file_name: &str, - excluded_keys: &[&str] -) -> Result<(), LeoError>

Serializes the Input into a JSON value and removes keys from object mappings before writing to a file.

-

Trait Implementations§

source§

impl Clone for InputAst

source§

fn clone(&self) -> InputAst

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputAst

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for InputAst

source§

fn deserialize<__D>( + path: PathBuf, + file_name: &str, + excluded_keys: &[&str] +) -> Result<(), LeoError>

Serializes the Input into a JSON value and removes keys from object mappings before writing to a file.

+

Trait Implementations§

source§

impl Clone for InputAst

source§

fn clone(&self) -> InputAst

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputAst

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for InputAst

source§

fn deserialize<__D>( __deserializer: __D -) -> Result<InputAst, <__D as Deserializer<'de>>::Error>where +) -> Result<InputAst, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for InputAst

source§

fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_compiler/compiler/struct.SymbolTable.html b/leo_compiler/compiler/struct.SymbolTable.html index d93f22168f..290aa24b1d 100644 --- a/leo_compiler/compiler/struct.SymbolTable.html +++ b/leo_compiler/compiler/struct.SymbolTable.html @@ -1,95 +1,95 @@ -SymbolTable in leo_compiler::compiler - Rust
pub struct SymbolTable {
-    pub(crate) parent: Option<Box<SymbolTable, Global>>,
-    pub functions: IndexMap<Symbol, FunctionSymbol, RandomState>,
-    pub structs: IndexMap<Symbol, Struct, RandomState>,
-    pub(crate) variables: IndexMap<Symbol, VariableSymbol, RandomState>,
-    pub(crate) scope_index: usize,
-    pub(crate) scopes: Vec<RefCell<SymbolTable>, Global>,
-}

Fields§

§parent: Option<Box<SymbolTable, Global>>§functions: IndexMap<Symbol, FunctionSymbol, RandomState>

Functions represents the name of each function mapped to the AST’s function definition. +SymbolTable in leo_compiler::compiler - Rust

pub struct SymbolTable {
+    pub(crate) parent: Option<Box<SymbolTable>>,
+    pub functions: IndexMap<Symbol, FunctionSymbol>,
+    pub structs: IndexMap<Symbol, Struct>,
+    pub(crate) variables: IndexMap<Symbol, VariableSymbol>,
+    pub(crate) scope_index: usize,
+    pub(crate) scopes: Vec<RefCell<SymbolTable>>,
+}

Fields§

§parent: Option<Box<SymbolTable>>§functions: IndexMap<Symbol, FunctionSymbol>

Functions represents the name of each function mapped to the AST’s function definition. This field is populated at a first pass.

-
§structs: IndexMap<Symbol, Struct, RandomState>

Maps struct names to struct definitions. +

§structs: IndexMap<Symbol, Struct>

Maps struct names to struct definitions. This field is populated at a first pass.

-
§variables: IndexMap<Symbol, VariableSymbol, RandomState>§scope_index: usize§scopes: Vec<RefCell<SymbolTable>, Global>

Implementations§

source§

impl SymbolTable

§variables: IndexMap<Symbol, VariableSymbol>§scope_index: usize§scopes: Vec<RefCell<SymbolTable>>

Implementations§

source§

impl SymbolTable

source

pub fn check_shadowing( &self, symbol: Symbol, span: Span -) -> Result<(), LeoError>

Recursively checks if the symbol table contains an entry for the given symbol. +) -> Result<(), LeoError>

Recursively checks if the symbol table contains an entry for the given symbol. Leo does not allow any variable shadowing or overlap between different symbols.

-
source

pub fn scope_index(&mut self) -> usize

Returns the current scope index. +

source

pub fn scope_index(&mut self) -> usize

Returns the current scope index. Increments the scope index.

source

pub fn insert_fn( &mut self, symbol: Symbol, insert: &Function -) -> Result<(), LeoError>

Inserts a function into the symbol table.

+) -> Result<(), LeoError>

Inserts a function into the symbol table.

source

pub fn insert_struct( &mut self, symbol: Symbol, insert: &Struct -) -> Result<(), LeoError>

Inserts a struct into the symbol table.

+) -> Result<(), LeoError>

Inserts a struct into the symbol table.

source

pub fn insert_variable( &mut self, symbol: Symbol, insert: VariableSymbol -) -> Result<(), LeoError>

Inserts a variable into the symbol table.

+) -> Result<(), LeoError>

Inserts a variable into the symbol table.

source

pub fn remove_variable_from_current_scope(&mut self, symbol: Symbol)

Removes a variable from the symbol table.

-
source

pub fn insert_block(&mut self) -> usize

Creates a new scope for the block and stores it in the symbol table.

-
source

pub fn lookup_fn_symbol(&self, symbol: Symbol) -> Option<&FunctionSymbol>

Attempts to lookup a function in the symbol table.

-
source

pub fn lookup_struct(&self, symbol: Symbol) -> Option<&Struct>

Attempts to lookup a struct in the symbol table.

-
source

pub fn lookup_variable(&self, symbol: Symbol) -> Option<&VariableSymbol>

Attempts to lookup a variable in the symbol table.

-
source

pub fn variable_in_local_scope(&self, symbol: Symbol) -> bool

Returns true if the variable exists in the local scope

-
source

pub fn variable_in_parent_scope(&self, symbol: Symbol) -> bool

Returns true if the variable exists in any parent scope

+
source

pub fn insert_block(&mut self) -> usize

Creates a new scope for the block and stores it in the symbol table.

+
source

pub fn lookup_fn_symbol(&self, symbol: Symbol) -> Option<&FunctionSymbol>

Attempts to lookup a function in the symbol table.

+
source

pub fn lookup_struct(&self, symbol: Symbol) -> Option<&Struct>

Attempts to lookup a struct in the symbol table.

+
source

pub fn lookup_variable(&self, symbol: Symbol) -> Option<&VariableSymbol>

Attempts to lookup a variable in the symbol table.

+
source

pub fn variable_in_local_scope(&self, symbol: Symbol) -> bool

Returns true if the variable exists in the local scope

+
source

pub fn variable_in_parent_scope(&self, symbol: Symbol) -> bool

Returns true if the variable exists in any parent scope

source

pub fn lookup_variable_mut( &mut self, symbol: Symbol -) -> Option<&mut VariableSymbol>

Returns a mutable reference to the VariableSymbol if it exists in the symbol table.

-
source

pub fn lookup_fn_scope(&self, symbol: Symbol) -> Option<&RefCell<SymbolTable>>

Returns the scope associated with the function symbol, if it exists in the symbol table.

+) -> Option<&mut VariableSymbol>

Returns a mutable reference to the VariableSymbol if it exists in the symbol table.

+
source

pub fn lookup_fn_scope(&self, symbol: Symbol) -> Option<&RefCell<SymbolTable>>

Returns the scope associated with the function symbol, if it exists in the symbol table.

source

pub fn lookup_scope_by_index( &self, - index: usize -) -> Option<&RefCell<SymbolTable>>

Returns the scope associated with index, if it exists in the symbol table.

-
source

pub fn to_json_string(&self) -> Result<String, LeoError>

Serializes the symbol table into a JSON string.

-
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Converts the symbol table into a JSON value

+ index: usize +) -> Option<&RefCell<SymbolTable>>

Returns the scope associated with index, if it exists in the symbol table.

+
source

pub fn to_json_string(&self) -> Result<String, LeoError>

Serializes the symbol table into a JSON string.

+
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Converts the symbol table into a JSON value

source

pub fn to_json_file( &self, - path: PathBuf, - file_name: &str -) -> Result<(), LeoError>

source

pub fn to_json_file_without_keys( + path: PathBuf, + file_name: &str +) -> Result<(), LeoError>

source

pub fn to_json_file_without_keys( &self, - path: PathBuf, - file_name: &str, - excluded_keys: &[&str] -) -> Result<(), LeoError>

Serializes the symbol table into a JSON value and removes keys from object mappings before writing to a file.

-
source

pub fn from_json_string(json: &str) -> Result<SymbolTable, LeoError>

Deserializes the JSON string into a symbol table.

-
source

pub fn from_json_file(path: PathBuf) -> Result<SymbolTable, LeoError>

Deserializes the JSON string into a symbol table from a file.

-

Trait Implementations§

source§

impl Clone for SymbolTable

source§

fn clone(&self) -> SymbolTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SymbolTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for SymbolTable

source§

fn default() -> SymbolTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SymbolTable

source§

fn deserialize<__D>( + path: PathBuf, + file_name: &str, + excluded_keys: &[&str] +) -> Result<(), LeoError>

Serializes the symbol table into a JSON value and removes keys from object mappings before writing to a file.

+
source

pub fn from_json_string(json: &str) -> Result<SymbolTable, LeoError>

Deserializes the JSON string into a symbol table.

+
source

pub fn from_json_file(path: PathBuf) -> Result<SymbolTable, LeoError>

Deserializes the JSON string into a symbol table from a file.

+

Trait Implementations§

source§

impl Clone for SymbolTable

source§

fn clone(&self) -> SymbolTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SymbolTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for SymbolTable

source§

fn default() -> SymbolTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SymbolTable

source§

fn deserialize<__D>( __deserializer: __D -) -> Result<SymbolTable, <__D as Deserializer<'de>>::Error>where +) -> Result<SymbolTable, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SymbolTable

source§

fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_compiler/index.html b/leo_compiler/index.html index db7f9ce2c2..e1aceb8c99 100644 --- a/leo_compiler/index.html +++ b/leo_compiler/index.html @@ -1,4 +1,5 @@ -leo_compiler - Rust

Crate leo_compiler

source ·
Expand description

leo-compiler

+leo_compiler - Rust

Crate leo_compiler

source ·
Expand description

leo-compiler

Crates.io Authors License

diff --git a/leo_compiler/options/index.html b/leo_compiler/options/index.html index dabfddc481..943a6d4b2b 100644 --- a/leo_compiler/options/index.html +++ b/leo_compiler/options/index.html @@ -1 +1 @@ -leo_compiler::options - Rust
\ No newline at end of file +leo_compiler::options - Rust
\ No newline at end of file diff --git a/leo_compiler/options/struct.BuildOptions.html b/leo_compiler/options/struct.BuildOptions.html index dd01705caf..d8b007a357 100644 --- a/leo_compiler/options/struct.BuildOptions.html +++ b/leo_compiler/options/struct.BuildOptions.html @@ -1,21 +1,21 @@ -BuildOptions in leo_compiler::options - Rust
pub struct BuildOptions {
-    pub dce_enabled: bool,
-}

Fields§

§dce_enabled: bool

Whether to enable dead code elimination.

-

Trait Implementations§

source§

impl Clone for BuildOptions

source§

fn clone(&self) -> BuildOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for BuildOptions

source§

fn default() -> BuildOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +BuildOptions in leo_compiler::options - Rust
pub struct BuildOptions {
+    pub dce_enabled: bool,
+}

Fields§

§dce_enabled: bool

Whether to enable dead code elimination.

+

Trait Implementations§

source§

impl Clone for BuildOptions

source§

fn clone(&self) -> BuildOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for BuildOptions

source§

fn default() -> BuildOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/options/struct.CompilerOptions.html b/leo_compiler/options/struct.CompilerOptions.html index ae26922112..3e61f98a13 100644 --- a/leo_compiler/options/struct.CompilerOptions.html +++ b/leo_compiler/options/struct.CompilerOptions.html @@ -1,23 +1,23 @@ -CompilerOptions in leo_compiler::options - Rust
pub struct CompilerOptions {
+CompilerOptions in leo_compiler::options - Rust
pub struct CompilerOptions {
     pub build: BuildOptions,
     pub output: OutputOptions,
 }

Fields§

§build: BuildOptions

Build options.

§output: OutputOptions

Output options.

-

Trait Implementations§

source§

impl Clone for CompilerOptions

source§

fn clone(&self) -> CompilerOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for CompilerOptions

source§

fn default() -> CompilerOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +

Trait Implementations§

source§

impl Clone for CompilerOptions

source§

fn clone(&self) -> CompilerOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for CompilerOptions

source§

fn default() -> CompilerOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/options/struct.OutputOptions.html b/leo_compiler/options/struct.OutputOptions.html index 9305597c23..759a271a33 100644 --- a/leo_compiler/options/struct.OutputOptions.html +++ b/leo_compiler/options/struct.OutputOptions.html @@ -1,43 +1,43 @@ -OutputOptions in leo_compiler::options - Rust
pub struct OutputOptions {
Show 13 fields - pub symbol_table_spans_enabled: bool, - pub initial_symbol_table: bool, - pub type_checked_symbol_table: bool, - pub unrolled_symbol_table: bool, - pub ast_spans_enabled: bool, - pub initial_ast: bool, - pub initial_input_ast: bool, - pub unrolled_ast: bool, - pub ssa_ast: bool, - pub flattened_ast: bool, - pub destructured_ast: bool, - pub inlined_ast: bool, - pub dce_ast: bool, -
}

Fields§

§symbol_table_spans_enabled: bool§initial_symbol_table: bool§type_checked_symbol_table: bool

If enabled writes the symbol table after type checking.

-
§unrolled_symbol_table: bool

If enabled writes the symbol table after loop unrolling.

-
§ast_spans_enabled: bool

Whether spans are enabled in the output ASTs.

-
§initial_ast: bool

If enabled writes the AST after parsing.

-
§initial_input_ast: bool

If enabled writes the input AST after parsing.

-
§unrolled_ast: bool

If enabled writes the AST after loop unrolling.

-
§ssa_ast: bool

If enabled writes the AST after static single assignment.

-
§flattened_ast: bool

If enabled writes the AST after flattening.

-
§destructured_ast: bool

If enabled writes the AST after destructuring.

-
§inlined_ast: bool

If enabled writes the AST after inlining.

-
§dce_ast: bool

If enabled writes the AST after dead code elimination.

-

Trait Implementations§

source§

impl Clone for OutputOptions

source§

fn clone(&self) -> OutputOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for OutputOptions

source§

fn default() -> OutputOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +OutputOptions in leo_compiler::options - Rust
pub struct OutputOptions {
Show 13 fields + pub symbol_table_spans_enabled: bool, + pub initial_symbol_table: bool, + pub type_checked_symbol_table: bool, + pub unrolled_symbol_table: bool, + pub ast_spans_enabled: bool, + pub initial_ast: bool, + pub initial_input_ast: bool, + pub unrolled_ast: bool, + pub ssa_ast: bool, + pub flattened_ast: bool, + pub destructured_ast: bool, + pub inlined_ast: bool, + pub dce_ast: bool, +
}

Fields§

§symbol_table_spans_enabled: bool§initial_symbol_table: bool§type_checked_symbol_table: bool

If enabled writes the symbol table after type checking.

+
§unrolled_symbol_table: bool

If enabled writes the symbol table after loop unrolling.

+
§ast_spans_enabled: bool

Whether spans are enabled in the output ASTs.

+
§initial_ast: bool

If enabled writes the AST after parsing.

+
§initial_input_ast: bool

If enabled writes the input AST after parsing.

+
§unrolled_ast: bool

If enabled writes the AST after loop unrolling.

+
§ssa_ast: bool

If enabled writes the AST after static single assignment.

+
§flattened_ast: bool

If enabled writes the AST after flattening.

+
§destructured_ast: bool

If enabled writes the AST after destructuring.

+
§inlined_ast: bool

If enabled writes the AST after inlining.

+
§dce_ast: bool

If enabled writes the AST after dead code elimination.

+

Trait Implementations§

source§

impl Clone for OutputOptions

source§

fn clone(&self) -> OutputOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for OutputOptions

source§

fn default() -> OutputOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/struct.Ast.html b/leo_compiler/struct.Ast.html index 35113ec36f..05841e13b1 100644 --- a/leo_compiler/struct.Ast.html +++ b/leo_compiler/struct.Ast.html @@ -1,47 +1,47 @@ -Ast in leo_compiler - Rust

Struct leo_compiler::Ast

source ·
pub struct Ast {
+Ast in leo_compiler - Rust

Struct leo_compiler::Ast

source ·
pub struct Ast {
     pub ast: Program,
 }
Expand description

The abstract syntax tree (AST) for a Leo program.

The Ast type represents a Leo program as a series of recursive data types. These data types form a tree that begins from a Program type root.

Fields§

§ast: Program

Implementations§

source§

impl Ast

source

pub fn new(program: Program) -> Ast

Creates a new AST from a given program tree.

source

pub fn as_repr(&self) -> &Program

Returns a reference to the inner program AST representation.

-
source

pub fn into_repr(self) -> Program

source

pub fn to_json_string(&self) -> Result<String, LeoError>

Serializes the ast into a JSON string.

-
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

source

pub fn to_json_file( +

source

pub fn into_repr(self) -> Program

source

pub fn to_json_string(&self) -> Result<String, LeoError>

Serializes the ast into a JSON string.

+
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

source

pub fn to_json_file( &self, - path: PathBuf, - file_name: &str -) -> Result<(), LeoError>

Serializes the ast into a JSON file.

+ path: PathBuf, + file_name: &str +) -> Result<(), LeoError>

Serializes the ast into a JSON file.

source

pub fn to_json_file_without_keys( &self, - path: PathBuf, - file_name: &str, - excluded_keys: &[&str] -) -> Result<(), LeoError>

Serializes the ast into a JSON value and removes keys from object mappings before writing to a file.

-
source

pub fn from_json_string(json: &str) -> Result<Ast, LeoError>

Deserializes the JSON string into a ast.

-
source

pub fn from_json_file(path: PathBuf) -> Result<Ast, LeoError>

Deserializes the JSON string into a ast from a file.

-

Trait Implementations§

source§

impl AsRef<Program> for Ast

source§

fn as_ref(&self) -> &Program

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Ast

source§

fn clone(&self) -> Ast

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Ast

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Ast

source§

fn default() -> Ast

Returns the “default value” for a type. Read more
source§

impl PartialEq<Ast> for Ast

source§

fn eq(&self, other: &Ast) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Eq for Ast

source§

impl StructuralEq for Ast

source§

impl StructuralPartialEq for Ast

Auto Trait Implementations§

§

impl !RefUnwindSafe for Ast

§

impl Send for Ast

§

impl !Sync for Ast

§

impl Unpin for Ast

§

impl UnwindSafe for Ast

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + path: PathBuf, + file_name: &str, + excluded_keys: &[&str] +) -> Result<(), LeoError>

Serializes the ast into a JSON value and removes keys from object mappings before writing to a file.

+
source

pub fn from_json_string(json: &str) -> Result<Ast, LeoError>

Deserializes the JSON string into a ast.

+
source

pub fn from_json_file(path: PathBuf) -> Result<Ast, LeoError>

Deserializes the JSON string into a ast from a file.

+

Trait Implementations§

source§

impl AsRef<Program> for Ast

source§

fn as_ref(&self) -> &Program

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Ast

source§

fn clone(&self) -> Ast

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Ast

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Ast

source§

fn default() -> Ast

Returns the “default value” for a type. Read more
source§

impl PartialEq for Ast

source§

fn eq(&self, other: &Ast) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Eq for Ast

source§

impl StructuralEq for Ast

source§

impl StructuralPartialEq for Ast

Auto Trait Implementations§

§

impl !RefUnwindSafe for Ast

§

impl Send for Ast

§

impl !Sync for Ast

§

impl Unpin for Ast

§

impl UnwindSafe for Ast

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/struct.BuildOptions.html b/leo_compiler/struct.BuildOptions.html index 193769589c..f18f159437 100644 --- a/leo_compiler/struct.BuildOptions.html +++ b/leo_compiler/struct.BuildOptions.html @@ -1,21 +1,21 @@ -BuildOptions in leo_compiler - Rust
pub struct BuildOptions {
-    pub dce_enabled: bool,
-}

Fields§

§dce_enabled: bool

Whether to enable dead code elimination.

-

Trait Implementations§

source§

impl Clone for BuildOptions

source§

fn clone(&self) -> BuildOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for BuildOptions

source§

fn default() -> BuildOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +BuildOptions in leo_compiler - Rust
pub struct BuildOptions {
+    pub dce_enabled: bool,
+}

Fields§

§dce_enabled: bool

Whether to enable dead code elimination.

+

Trait Implementations§

source§

impl Clone for BuildOptions

source§

fn clone(&self) -> BuildOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for BuildOptions

source§

fn default() -> BuildOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/struct.Compiler.html b/leo_compiler/struct.Compiler.html index bc86edac44..5e0785e83d 100644 --- a/leo_compiler/struct.Compiler.html +++ b/leo_compiler/struct.Compiler.html @@ -1,43 +1,43 @@ -Compiler in leo_compiler - Rust

Struct leo_compiler::Compiler

source ·
pub struct Compiler<'a> {
+Compiler in leo_compiler - Rust

Struct leo_compiler::Compiler

source ·
pub struct Compiler<'a> {
     handler: &'a Handler,
-    main_file_path: PathBuf,
-    output_directory: PathBuf,
-    pub program_name: String,
-    pub network: String,
+    main_file_path: PathBuf,
+    output_directory: PathBuf,
+    pub program_name: String,
+    pub network: String,
     pub ast: Ast,
-    pub input_ast: Option<InputAst>,
+    pub input_ast: Option<InputAst>,
     compiler_options: CompilerOptions,
     node_builder: NodeBuilder,
     assigner: Assigner,
     type_table: TypeTable,
 }
Expand description

The primary entry point of the Leo compiler.

Fields§

§handler: &'a Handler

The handler is used for error and warning emissions.

-
§main_file_path: PathBuf

The path to the main leo file.

-
§output_directory: PathBuf

The path to where the compiler outputs all generated files.

-
§program_name: String

The program name,

-
§network: String

The network name,

+
§main_file_path: PathBuf

The path to the main leo file.

+
§output_directory: PathBuf

The path to where the compiler outputs all generated files.

+
§program_name: String

The program name,

+
§network: String

The network name,

§ast: Ast

The AST for the program.

-
§input_ast: Option<InputAst>

The input ast for the program if it exists.

+
§input_ast: Option<InputAst>

The input ast for the program if it exists.

§compiler_options: CompilerOptions

Options configuring compilation.

§node_builder: NodeBuilder

The NodeCounter used to generate sequentially increasing NodeIDs.

§assigner: Assigner

The Assigner is used to construct (unique) assignment statements.

§type_table: TypeTable

The type table.

Implementations§

source§

impl<'a> Compiler<'a>

source

pub fn new( - program_name: String, - network: String, + program_name: String, + network: String, handler: &'a Handler, - main_file_path: PathBuf, - output_directory: PathBuf, - compiler_options: Option<CompilerOptions> + main_file_path: PathBuf, + output_directory: PathBuf, + compiler_options: Option<CompilerOptions> ) -> Self

Returns a new Leo compiler.

-
source

pub fn checksum(&self) -> Result<String>

Returns a SHA256 checksum of the program file.

+
source

pub fn checksum(&self) -> Result<String>

Returns a SHA256 checksum of the program file.

source

pub fn parse_program_from_string( &mut self, - program_string: &str, + program_string: &str, name: FileName -) -> Result<()>

Parses and stores a program file content from a string, constructs a syntax tree, and generates a program.

-
source

pub fn parse_program(&mut self) -> Result<()>

Parses and stores the main program file, constructs a syntax tree, and generates a program.

-
source

pub fn parse_input(&mut self, input_file_path: PathBuf) -> Result<()>

Parses and stores the input file, constructs a syntax tree, and generates a program input.

+) -> Result<()>

Parses and stores a program file content from a string, constructs a syntax tree, and generates a program.

+
source

pub fn parse_program(&mut self) -> Result<()>

Parses and stores the main program file, constructs a syntax tree, and generates a program.

+
source

pub fn parse_input(&mut self, input_file_path: PathBuf) -> Result<()>

Parses and stores the input file, constructs a syntax tree, and generates a program input.

source

pub fn symbol_table_pass(&self) -> Result<SymbolTable>

Runs the symbol table pass.

source

pub fn type_checker_pass( &'a self, @@ -50,42 +50,42 @@

source

pub fn static_single_assignment_pass( &mut self, symbol_table: &SymbolTable -) -> Result<()>

Runs the static single assignment pass.

-
source

pub fn flattening_pass(&mut self, symbol_table: &SymbolTable) -> Result<()>

Runs the flattening pass.

-
source

pub fn destructuring_pass(&mut self) -> Result<()>

Runs the destructuring pass.

-
source

pub fn function_inlining_pass(&mut self, call_graph: &CallGraph) -> Result<()>

Runs the function inlining pass.

-
source

pub fn dead_code_elimination_pass(&mut self) -> Result<()>

Runs the dead code elimination pass.

+) -> Result<()>

Runs the static single assignment pass.

+
source

pub fn flattening_pass(&mut self, symbol_table: &SymbolTable) -> Result<()>

Runs the flattening pass.

+
source

pub fn destructuring_pass(&mut self) -> Result<()>

Runs the destructuring pass.

+
source

pub fn function_inlining_pass(&mut self, call_graph: &CallGraph) -> Result<()>

Runs the function inlining pass.

+
source

pub fn dead_code_elimination_pass(&mut self) -> Result<()>

Runs the dead code elimination pass.

source

pub fn code_generation_pass( &mut self, symbol_table: &SymbolTable, struct_graph: &StructGraph, call_graph: &CallGraph -) -> Result<String>

Runs the code generation pass.

+) -> Result<String>

Runs the code generation pass.

source

pub fn compiler_stages( &mut self ) -> Result<(SymbolTable, StructGraph, CallGraph)>

Runs the compiler stages.

-
source

pub fn compile(&mut self) -> Result<(SymbolTable, String)>

Returns a compiled Leo program.

-
source

fn write_ast_to_json(&self, file_suffix: &str) -> Result<()>

Writes the AST to a JSON file.

+
source

pub fn compile(&mut self) -> Result<(SymbolTable, String)>

Returns a compiled Leo program.

+
source

fn write_ast_to_json(&self, file_suffix: &str) -> Result<()>

Writes the AST to a JSON file.

source

fn write_symbol_table_to_json( &self, - file_suffix: &str, + file_suffix: &str, symbol_table: &SymbolTable -) -> Result<()>

Writes the Symbol Table to a JSON file.

-

Trait Implementations§

source§

impl<'a> Clone for Compiler<'a>

source§

fn clone(&self) -> Compiler<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for Compiler<'a>

§

impl<'a> !Send for Compiler<'a>

§

impl<'a> !Sync for Compiler<'a>

§

impl<'a> Unpin for Compiler<'a>

§

impl<'a> !UnwindSafe for Compiler<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<()>

Writes the Symbol Table to a JSON file.

+

Trait Implementations§

source§

impl<'a> Clone for Compiler<'a>

source§

fn clone(&self) -> Compiler<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for Compiler<'a>

§

impl<'a> !Send for Compiler<'a>

§

impl<'a> !Sync for Compiler<'a>

§

impl<'a> Unpin for Compiler<'a>

§

impl<'a> !UnwindSafe for Compiler<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/struct.CompilerOptions.html b/leo_compiler/struct.CompilerOptions.html index 0c02a1f05e..91371bc1e7 100644 --- a/leo_compiler/struct.CompilerOptions.html +++ b/leo_compiler/struct.CompilerOptions.html @@ -1,23 +1,23 @@ -CompilerOptions in leo_compiler - Rust
pub struct CompilerOptions {
+CompilerOptions in leo_compiler - Rust
pub struct CompilerOptions {
     pub build: BuildOptions,
     pub output: OutputOptions,
 }

Fields§

§build: BuildOptions

Build options.

§output: OutputOptions

Output options.

-

Trait Implementations§

source§

impl Clone for CompilerOptions

source§

fn clone(&self) -> CompilerOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for CompilerOptions

source§

fn default() -> CompilerOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +

Trait Implementations§

source§

impl Clone for CompilerOptions

source§

fn clone(&self) -> CompilerOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for CompilerOptions

source§

fn default() -> CompilerOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/struct.InputAst.html b/leo_compiler/struct.InputAst.html index ed91464125..bf7b591fe6 100644 --- a/leo_compiler/struct.InputAst.html +++ b/leo_compiler/struct.InputAst.html @@ -1,52 +1,52 @@ -InputAst in leo_compiler - Rust

Struct leo_compiler::InputAst

source ·
pub struct InputAst {
-    pub sections: Vec<Section, Global>,
+InputAst in leo_compiler - Rust

Struct leo_compiler::InputAst

source ·
pub struct InputAst {
+    pub sections: Vec<Section>,
 }
Expand description

A raw unprocessed input or state file data. Used for future conversion into ProgramInput.

-

Fields§

§sections: Vec<Section, Global>

Implementations§

source§

impl InputAst

Fields§

§sections: Vec<Section>

Implementations§

source§

impl InputAst

source

pub fn program_inputs( &self, - program_name: &str, - structs: IndexMap<Symbol, Struct, RandomState> -) -> Vec<String, Global>

Returns all values of the input AST for execution with leo run.

-
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Serializes the Input into a JSON Value.

+ program_name: &str, + structs: IndexMap<Symbol, Struct> +) -> Vec<String>

Returns all values of the input AST for execution with leo run.

+
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Serializes the Input into a JSON Value.

source

pub fn to_json_file( &self, - path: PathBuf, - file_name: &str -) -> Result<(), LeoError>

Serializes the input into a JSON file.

+ path: PathBuf, + file_name: &str +) -> Result<(), LeoError>

Serializes the input into a JSON file.

source

pub fn to_json_file_without_keys( &self, - path: PathBuf, - file_name: &str, - excluded_keys: &[&str] -) -> Result<(), LeoError>

Serializes the Input into a JSON value and removes keys from object mappings before writing to a file.

-

Trait Implementations§

source§

impl Clone for InputAst

source§

fn clone(&self) -> InputAst

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputAst

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for InputAst

source§

fn deserialize<__D>( + path: PathBuf, + file_name: &str, + excluded_keys: &[&str] +) -> Result<(), LeoError>

Serializes the Input into a JSON value and removes keys from object mappings before writing to a file.

+

Trait Implementations§

source§

impl Clone for InputAst

source§

fn clone(&self) -> InputAst

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputAst

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for InputAst

source§

fn deserialize<__D>( __deserializer: __D -) -> Result<InputAst, <__D as Deserializer<'de>>::Error>where +) -> Result<InputAst, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for InputAst

source§

fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_compiler/struct.OutputOptions.html b/leo_compiler/struct.OutputOptions.html index 323f5c9318..992d0c9939 100644 --- a/leo_compiler/struct.OutputOptions.html +++ b/leo_compiler/struct.OutputOptions.html @@ -1,43 +1,43 @@ -OutputOptions in leo_compiler - Rust
pub struct OutputOptions {
Show 13 fields - pub symbol_table_spans_enabled: bool, - pub initial_symbol_table: bool, - pub type_checked_symbol_table: bool, - pub unrolled_symbol_table: bool, - pub ast_spans_enabled: bool, - pub initial_ast: bool, - pub initial_input_ast: bool, - pub unrolled_ast: bool, - pub ssa_ast: bool, - pub flattened_ast: bool, - pub destructured_ast: bool, - pub inlined_ast: bool, - pub dce_ast: bool, -
}

Fields§

§symbol_table_spans_enabled: bool§initial_symbol_table: bool§type_checked_symbol_table: bool

If enabled writes the symbol table after type checking.

-
§unrolled_symbol_table: bool

If enabled writes the symbol table after loop unrolling.

-
§ast_spans_enabled: bool

Whether spans are enabled in the output ASTs.

-
§initial_ast: bool

If enabled writes the AST after parsing.

-
§initial_input_ast: bool

If enabled writes the input AST after parsing.

-
§unrolled_ast: bool

If enabled writes the AST after loop unrolling.

-
§ssa_ast: bool

If enabled writes the AST after static single assignment.

-
§flattened_ast: bool

If enabled writes the AST after flattening.

-
§destructured_ast: bool

If enabled writes the AST after destructuring.

-
§inlined_ast: bool

If enabled writes the AST after inlining.

-
§dce_ast: bool

If enabled writes the AST after dead code elimination.

-

Trait Implementations§

source§

impl Clone for OutputOptions

source§

fn clone(&self) -> OutputOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for OutputOptions

source§

fn default() -> OutputOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +OutputOptions in leo_compiler - Rust
pub struct OutputOptions {
Show 13 fields + pub symbol_table_spans_enabled: bool, + pub initial_symbol_table: bool, + pub type_checked_symbol_table: bool, + pub unrolled_symbol_table: bool, + pub ast_spans_enabled: bool, + pub initial_ast: bool, + pub initial_input_ast: bool, + pub unrolled_ast: bool, + pub ssa_ast: bool, + pub flattened_ast: bool, + pub destructured_ast: bool, + pub inlined_ast: bool, + pub dce_ast: bool, +
}

Fields§

§symbol_table_spans_enabled: bool§initial_symbol_table: bool§type_checked_symbol_table: bool

If enabled writes the symbol table after type checking.

+
§unrolled_symbol_table: bool

If enabled writes the symbol table after loop unrolling.

+
§ast_spans_enabled: bool

Whether spans are enabled in the output ASTs.

+
§initial_ast: bool

If enabled writes the AST after parsing.

+
§initial_input_ast: bool

If enabled writes the input AST after parsing.

+
§unrolled_ast: bool

If enabled writes the AST after loop unrolling.

+
§ssa_ast: bool

If enabled writes the AST after static single assignment.

+
§flattened_ast: bool

If enabled writes the AST after flattening.

+
§destructured_ast: bool

If enabled writes the AST after destructuring.

+
§inlined_ast: bool

If enabled writes the AST after inlining.

+
§dce_ast: bool

If enabled writes the AST after dead code elimination.

+

Trait Implementations§

source§

impl Clone for OutputOptions

source§

fn clone(&self) -> OutputOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for OutputOptions

source§

fn default() -> OutputOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_compiler/struct.SymbolTable.html b/leo_compiler/struct.SymbolTable.html index 9ca71a7469..5c7f3052d8 100644 --- a/leo_compiler/struct.SymbolTable.html +++ b/leo_compiler/struct.SymbolTable.html @@ -1,95 +1,95 @@ -SymbolTable in leo_compiler - Rust
pub struct SymbolTable {
-    pub(crate) parent: Option<Box<SymbolTable, Global>>,
-    pub functions: IndexMap<Symbol, FunctionSymbol, RandomState>,
-    pub structs: IndexMap<Symbol, Struct, RandomState>,
-    pub(crate) variables: IndexMap<Symbol, VariableSymbol, RandomState>,
-    pub(crate) scope_index: usize,
-    pub(crate) scopes: Vec<RefCell<SymbolTable>, Global>,
-}

Fields§

§parent: Option<Box<SymbolTable, Global>>§functions: IndexMap<Symbol, FunctionSymbol, RandomState>

Functions represents the name of each function mapped to the AST’s function definition. +SymbolTable in leo_compiler - Rust

pub struct SymbolTable {
+    pub(crate) parent: Option<Box<SymbolTable>>,
+    pub functions: IndexMap<Symbol, FunctionSymbol>,
+    pub structs: IndexMap<Symbol, Struct>,
+    pub(crate) variables: IndexMap<Symbol, VariableSymbol>,
+    pub(crate) scope_index: usize,
+    pub(crate) scopes: Vec<RefCell<SymbolTable>>,
+}

Fields§

§parent: Option<Box<SymbolTable>>§functions: IndexMap<Symbol, FunctionSymbol>

Functions represents the name of each function mapped to the AST’s function definition. This field is populated at a first pass.

-
§structs: IndexMap<Symbol, Struct, RandomState>

Maps struct names to struct definitions. +

§structs: IndexMap<Symbol, Struct>

Maps struct names to struct definitions. This field is populated at a first pass.

-
§variables: IndexMap<Symbol, VariableSymbol, RandomState>§scope_index: usize§scopes: Vec<RefCell<SymbolTable>, Global>

Implementations§

source§

impl SymbolTable

§variables: IndexMap<Symbol, VariableSymbol>§scope_index: usize§scopes: Vec<RefCell<SymbolTable>>

Implementations§

source§

impl SymbolTable

source

pub fn check_shadowing( &self, symbol: Symbol, span: Span -) -> Result<(), LeoError>

Recursively checks if the symbol table contains an entry for the given symbol. +) -> Result<(), LeoError>

Recursively checks if the symbol table contains an entry for the given symbol. Leo does not allow any variable shadowing or overlap between different symbols.

-
source

pub fn scope_index(&mut self) -> usize

Returns the current scope index. +

source

pub fn scope_index(&mut self) -> usize

Returns the current scope index. Increments the scope index.

source

pub fn insert_fn( &mut self, symbol: Symbol, insert: &Function -) -> Result<(), LeoError>

Inserts a function into the symbol table.

+) -> Result<(), LeoError>

Inserts a function into the symbol table.

source

pub fn insert_struct( &mut self, symbol: Symbol, insert: &Struct -) -> Result<(), LeoError>

Inserts a struct into the symbol table.

+) -> Result<(), LeoError>

Inserts a struct into the symbol table.

source

pub fn insert_variable( &mut self, symbol: Symbol, insert: VariableSymbol -) -> Result<(), LeoError>

Inserts a variable into the symbol table.

+) -> Result<(), LeoError>

Inserts a variable into the symbol table.

source

pub fn remove_variable_from_current_scope(&mut self, symbol: Symbol)

Removes a variable from the symbol table.

-
source

pub fn insert_block(&mut self) -> usize

Creates a new scope for the block and stores it in the symbol table.

-
source

pub fn lookup_fn_symbol(&self, symbol: Symbol) -> Option<&FunctionSymbol>

Attempts to lookup a function in the symbol table.

-
source

pub fn lookup_struct(&self, symbol: Symbol) -> Option<&Struct>

Attempts to lookup a struct in the symbol table.

-
source

pub fn lookup_variable(&self, symbol: Symbol) -> Option<&VariableSymbol>

Attempts to lookup a variable in the symbol table.

-
source

pub fn variable_in_local_scope(&self, symbol: Symbol) -> bool

Returns true if the variable exists in the local scope

-
source

pub fn variable_in_parent_scope(&self, symbol: Symbol) -> bool

Returns true if the variable exists in any parent scope

+
source

pub fn insert_block(&mut self) -> usize

Creates a new scope for the block and stores it in the symbol table.

+
source

pub fn lookup_fn_symbol(&self, symbol: Symbol) -> Option<&FunctionSymbol>

Attempts to lookup a function in the symbol table.

+
source

pub fn lookup_struct(&self, symbol: Symbol) -> Option<&Struct>

Attempts to lookup a struct in the symbol table.

+
source

pub fn lookup_variable(&self, symbol: Symbol) -> Option<&VariableSymbol>

Attempts to lookup a variable in the symbol table.

+
source

pub fn variable_in_local_scope(&self, symbol: Symbol) -> bool

Returns true if the variable exists in the local scope

+
source

pub fn variable_in_parent_scope(&self, symbol: Symbol) -> bool

Returns true if the variable exists in any parent scope

source

pub fn lookup_variable_mut( &mut self, symbol: Symbol -) -> Option<&mut VariableSymbol>

Returns a mutable reference to the VariableSymbol if it exists in the symbol table.

-
source

pub fn lookup_fn_scope(&self, symbol: Symbol) -> Option<&RefCell<SymbolTable>>

Returns the scope associated with the function symbol, if it exists in the symbol table.

+) -> Option<&mut VariableSymbol>

Returns a mutable reference to the VariableSymbol if it exists in the symbol table.

+
source

pub fn lookup_fn_scope(&self, symbol: Symbol) -> Option<&RefCell<SymbolTable>>

Returns the scope associated with the function symbol, if it exists in the symbol table.

source

pub fn lookup_scope_by_index( &self, - index: usize -) -> Option<&RefCell<SymbolTable>>

Returns the scope associated with index, if it exists in the symbol table.

-
source

pub fn to_json_string(&self) -> Result<String, LeoError>

Serializes the symbol table into a JSON string.

-
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Converts the symbol table into a JSON value

+ index: usize +) -> Option<&RefCell<SymbolTable>>

Returns the scope associated with index, if it exists in the symbol table.

+
source

pub fn to_json_string(&self) -> Result<String, LeoError>

Serializes the symbol table into a JSON string.

+
source

pub fn to_json_value(&self) -> Result<Value, LeoError>

Converts the symbol table into a JSON value

source

pub fn to_json_file( &self, - path: PathBuf, - file_name: &str -) -> Result<(), LeoError>

source

pub fn to_json_file_without_keys( + path: PathBuf, + file_name: &str +) -> Result<(), LeoError>

source

pub fn to_json_file_without_keys( &self, - path: PathBuf, - file_name: &str, - excluded_keys: &[&str] -) -> Result<(), LeoError>

Serializes the symbol table into a JSON value and removes keys from object mappings before writing to a file.

-
source

pub fn from_json_string(json: &str) -> Result<SymbolTable, LeoError>

Deserializes the JSON string into a symbol table.

-
source

pub fn from_json_file(path: PathBuf) -> Result<SymbolTable, LeoError>

Deserializes the JSON string into a symbol table from a file.

-

Trait Implementations§

source§

impl Clone for SymbolTable

source§

fn clone(&self) -> SymbolTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SymbolTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for SymbolTable

source§

fn default() -> SymbolTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SymbolTable

source§

fn deserialize<__D>( + path: PathBuf, + file_name: &str, + excluded_keys: &[&str] +) -> Result<(), LeoError>

Serializes the symbol table into a JSON value and removes keys from object mappings before writing to a file.

+
source

pub fn from_json_string(json: &str) -> Result<SymbolTable, LeoError>

Deserializes the JSON string into a symbol table.

+
source

pub fn from_json_file(path: PathBuf) -> Result<SymbolTable, LeoError>

Deserializes the JSON string into a symbol table from a file.

+

Trait Implementations§

source§

impl Clone for SymbolTable

source§

fn clone(&self) -> SymbolTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SymbolTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for SymbolTable

source§

fn default() -> SymbolTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SymbolTable

source§

fn deserialize<__D>( __deserializer: __D -) -> Result<SymbolTable, <__D as Deserializer<'de>>::Error>where +) -> Result<SymbolTable, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SymbolTable

source§

fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_errors/all.html b/leo_errors/all.html index 513031745a..89df9fcc74 100644 --- a/leo_errors/all.html +++ b/leo_errors/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/leo_errors/common/backtraced/constant.INDENT.html b/leo_errors/common/backtraced/constant.INDENT.html index ae93b0bbc8..2e7ca75608 100644 --- a/leo_errors/common/backtraced/constant.INDENT.html +++ b/leo_errors/common/backtraced/constant.INDENT.html @@ -1,2 +1,2 @@ -INDENT in leo_errors::common::backtraced - Rust
pub(crate) const INDENT: &str = "    ";
Expand description

The indent for an error message.

+INDENT in leo_errors::common::backtraced - Rust
pub(crate) const INDENT: &str = "    ";
Expand description

The indent for an error message.

\ No newline at end of file diff --git a/leo_errors/common/backtraced/index.html b/leo_errors/common/backtraced/index.html index 946b0666f9..d86913af53 100644 --- a/leo_errors/common/backtraced/index.html +++ b/leo_errors/common/backtraced/index.html @@ -1,4 +1,4 @@ -leo_errors::common::backtraced - Rust
Expand description

This module contains a backtraced error and its methods.

+leo_errors::common::backtraced - Rust
Expand description

This module contains a backtraced error and its methods.

Structs

Fields§

§message: String

The error message.

+
§help: Option<String>

The error help message if it exists.

+
§code: i32

The error exit code.

+
§code_identifier: i8

The error leading digits identifier.

+
§type_: String

The characters representing the type of error.

+
§error: bool

Is this Backtrace a warning or error?

§backtrace: Backtrace

The backtrace representing where the error occured in Leo.

Implementations§

source§

impl Backtraced

source

pub fn new_from_backtrace<S>( message: S, - help: Option<String>, - code: i32, - code_identifier: i8, - type_: String, - error: bool, + help: Option<String>, + code: i32, + code_identifier: i8, + type_: String, + error: bool, backtrace: Backtrace ) -> Selfwhere - S: ToString,

Creates a backtraced error from a backtrace.

-
source

pub fn exit_code(&self) -> i32

Gets the backtraced error exit code.

-
source

pub fn error_code(&self) -> String

Gets a unique error identifier.

-
source

pub fn warning_code(&self) -> String

Gets a unique warning identifier.

-

Trait Implementations§

source§

impl Clone for Backtraced

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Backtraced

source§

fn fmt(&self, __f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Backtraced

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Display for Backtraced

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Backtraced

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for AstError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for CliError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for CompilerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for FlattenError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for InputError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for LoopUnrollerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for PackageError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for ParserError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for ParserWarning

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for TypeCheckerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl Hash for Backtraced

source§

fn hash<__H>(&self, __state: &mut __H)where - __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<Backtraced> for Backtraced

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ S: ToString,

Creates a backtraced error from a backtrace.

+
source

pub fn exit_code(&self) -> i32

Gets the backtraced error exit code.

+
source

pub fn error_code(&self) -> String

Gets a unique error identifier.

+
source

pub fn warning_code(&self) -> String

Gets a unique warning identifier.

+

Trait Implementations§

source§

impl Clone for Backtraced

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Backtraced

source§

fn fmt(&self, __f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Backtraced

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Display for Backtraced

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Backtraced

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for AstError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for CliError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for CompilerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for FlattenError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for InputError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for LoopUnrollerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for PackageError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for ParserError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for ParserWarning

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for TypeCheckerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl Hash for Backtraced

source§

fn hash<__H>(&self, __state: &mut __H)where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Backtraced

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/common/formatted/index.html b/leo_errors/common/formatted/index.html index c07cd9b1dc..9511c72c06 100644 --- a/leo_errors/common/formatted/index.html +++ b/leo_errors/common/formatted/index.html @@ -1,4 +1,4 @@ -leo_errors::common::formatted - Rust
Expand description

This module contains a formatted error and its methods.

+leo_errors::common::formatted - Rust
Expand description

This module contains a formatted error and its methods.

Structs

source

pub fn exit_code(&self) -> i32

Calls the backtraces error exit code.

+
source

pub fn error_code(&self) -> String

Returns an error identifier.

+
source

pub fn warning_code(&self) -> String

Returns an warning identifier.

+

Trait Implementations§

source§

impl Clone for Formatted

source§

fn clone(&self) -> Formatted

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Formatted

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Formatted

source§

fn default() -> Formatted

Returns the “default value” for a type. Read more
source§

impl Display for Formatted

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Formatted

source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Formatted> for AstError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CliError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CompilerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for FlattenError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for InputError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for LoopUnrollerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for PackageError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserWarning

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for TypeCheckerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl Hash for Formatted

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Formatted

source§

fn eq(&self, other: &Formatted) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Formatted

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/common/index.html b/leo_errors/common/index.html index 4f9d8c93c6..b8d729042c 100644 --- a/leo_errors/common/index.html +++ b/leo_errors/common/index.html @@ -1,2 +1,2 @@ -leo_errors::common - Rust

Module leo_errors::common

source ·
Expand description

Contains the common functionalities for defining errors..

+leo_errors::common - Rust

Module leo_errors::common

source ·
Expand description

Contains the common functionalities for defining errors..

Re-exports

Modules

  • This module contains a backtraced error and its methods.
  • This module contains a formatted error and its methods.
  • This module contains the macros for making errors easily.
  • This module contains traits for making errors easily.
\ No newline at end of file diff --git a/leo_errors/common/macros/index.html b/leo_errors/common/macros/index.html index eb0880385b..127b9517b1 100644 --- a/leo_errors/common/macros/index.html +++ b/leo_errors/common/macros/index.html @@ -1,2 +1,2 @@ -leo_errors::common::macros - Rust

Module leo_errors::common::macros

source ·
Expand description

This module contains the macros for making errors easily.

+leo_errors::common::macros - Rust

Module leo_errors::common::macros

source ·
Expand description

This module contains the macros for making errors easily.

\ No newline at end of file diff --git a/leo_errors/common/traits/index.html b/leo_errors/common/traits/index.html index 5b3686d945..e345a44fc1 100644 --- a/leo_errors/common/traits/index.html +++ b/leo_errors/common/traits/index.html @@ -1,2 +1,2 @@ -leo_errors::common::traits - Rust

Module leo_errors::common::traits

source ·
Expand description

This module contains traits for making errors easily.

+leo_errors::common::traits - Rust

Module leo_errors::common::traits

source ·
Expand description

This module contains traits for making errors easily.

Traits

\ No newline at end of file diff --git a/leo_errors/common/traits/trait.LeoMessageCode.html b/leo_errors/common/traits/trait.LeoMessageCode.html index 86b5a69381..6dc8ed3a8d 100644 --- a/leo_errors/common/traits/trait.LeoMessageCode.html +++ b/leo_errors/common/traits/trait.LeoMessageCode.html @@ -1,25 +1,25 @@ -LeoMessageCode in leo_errors::common::traits - Rust
pub trait LeoMessageCode: Sized {
+LeoMessageCode in leo_errors::common::traits - Rust
pub trait LeoMessageCode: Sized {
     // Required methods
-    fn exit_code(&self) -> i32;
-    fn error_code(&self) -> String;
-    fn warning_code(&self) -> String;
-    fn code_mask() -> i32;
-    fn message_type() -> String;
-    fn is_error() -> bool;
+    fn exit_code(&self) -> i32;
+    fn error_code(&self) -> String;
+    fn warning_code(&self) -> String;
+    fn code_mask() -> i32;
+    fn message_type() -> String;
+    fn is_error() -> bool;
 
     // Provided method
-    fn code_identifier() -> i8 { ... }
+    fn code_identifier() -> i8 { ... }
 }
Expand description

MessageCode trait that all Errors should implement.

-

Required Methods§

source

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.

-
source

fn error_code(&self) -> String

Returns the prefixed error identifier.

-
source

fn warning_code(&self) -> String

Returns the prefixed warning identifier.

-
source

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.

-
source

fn message_type() -> String

Returns the message’s code type for the program.

-
source

fn is_error() -> bool

Returns if the message is an error or warning.

-

Provided Methods§

source

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 +

Required Methods§

source

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.

+
source

fn error_code(&self) -> String

Returns the prefixed error identifier.

+
source

fn warning_code(&self) -> String

Returns the prefixed warning identifier.

+
source

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.

+
source

fn message_type() -> String

Returns the message’s code type for the program.

+
source

fn is_error() -> bool

Returns if the message is an error or warning.

+

Provided Methods§

source

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes unique to Leo itself.

-

Implementors§

source§

impl LeoMessageCode for AstError

Implements the trait for LeoError Codes.

+

Object Safety§

This trait is not object safe.

Implementors§

source§

impl LeoMessageCode for AstError

Implements the trait for LeoError Codes.

source§

impl LeoMessageCode for CliError

Implements the trait for LeoError Codes.

source§

impl LeoMessageCode for CompilerError

Implements the trait for LeoError Codes.

source§

impl LeoMessageCode for FlattenError

Implements the trait for LeoError Codes.

@@ -29,4 +29,4 @@
source§

impl LeoMessageCode for ParserError

Implements the trait for LeoError Codes.

source§

impl LeoMessageCode for ParserWarning

Implements the trait for LeoError Codes.

source§

impl LeoMessageCode for TypeCheckerError

Implements the trait for LeoError Codes.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/leo_errors/emitter/index.html b/leo_errors/emitter/index.html index 3906dbe7a8..74e9e02dc5 100644 --- a/leo_errors/emitter/index.html +++ b/leo_errors/emitter/index.html @@ -1,3 +1,3 @@ -leo_errors::emitter - Rust

Module leo_errors::emitter

source ·
Expand description

Contains traits and types for channels through which errors go.

+leo_errors::emitter - Rust

Module leo_errors::emitter

source ·
Expand description

Contains traits and types for channels through which errors go.

Structs

  • A buffer of Ts.
  • An Emitter that collects into a list.
  • A handler deals with errors and other compiler output.
  • Contains the actual data for Handler. Modelled this way to afford an API using interior mutability.
  • A trivial Emitter using the standard error.

Traits

  • Types that are sinks for compiler errors.

Type Aliases

\ No newline at end of file diff --git a/leo_errors/emitter/struct.Buffer.html b/leo_errors/emitter/struct.Buffer.html index b537991121..cdee12b345 100644 --- a/leo_errors/emitter/struct.Buffer.html +++ b/leo_errors/emitter/struct.Buffer.html @@ -1,21 +1,21 @@ -Buffer in leo_errors::emitter - Rust

Struct leo_errors::emitter::Buffer

source ·
pub struct Buffer<T>(Vec<T>);
Expand description

A buffer of Ts.

-

Tuple Fields§

§0: Vec<T>

Implementations§

source§

impl<T> Buffer<T>

source

pub fn push(&mut self, x: T)

Push x to the buffer.

-
source

pub fn into_inner(self) -> Vec<T>

Extract the underlying list of Ts.

-
source

pub fn last_entry(&self) -> Option<&T>

Last entry to the buffer.

-

Trait Implementations§

source§

impl<T: Debug> Debug for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Default for Buffer<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T: Display> Display for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Buffer<T>where - T: RefUnwindSafe,

§

impl<T> Send for Buffer<T>where - T: Send,

§

impl<T> Sync for Buffer<T>where - T: Sync,

§

impl<T> Unpin for Buffer<T>where - T: Unpin,

§

impl<T> UnwindSafe for Buffer<T>where - T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Buffer in leo_errors::emitter - Rust

Struct leo_errors::emitter::Buffer

source ·
pub struct Buffer<T>(Vec<T>);
Expand description

A buffer of Ts.

+

Tuple Fields§

§0: Vec<T>

Implementations§

source§

impl<T> Buffer<T>

source

pub fn push(&mut self, x: T)

Push x to the buffer.

+
source

pub fn into_inner(self) -> Vec<T>

Extract the underlying list of Ts.

+
source

pub fn last_entry(&self) -> Option<&T>

Last entry to the buffer.

+

Trait Implementations§

source§

impl<T: Debug> Debug for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Default for Buffer<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T: Display> Display for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Buffer<T>where + T: RefUnwindSafe,

§

impl<T> Send for Buffer<T>where + T: Send,

§

impl<T> Sync for Buffer<T>where + T: Sync,

§

impl<T> Unpin for Buffer<T>where + T: Unpin,

§

impl<T> UnwindSafe for Buffer<T>where + T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/emitter/struct.BufferEmitter.html b/leo_errors/emitter/struct.BufferEmitter.html index df5d8e3bee..2211c6f63d 100644 --- a/leo_errors/emitter/struct.BufferEmitter.html +++ b/leo_errors/emitter/struct.BufferEmitter.html @@ -1,16 +1,16 @@ -BufferEmitter in leo_errors::emitter - Rust
pub struct BufferEmitter(Rc<RefCell<ErrBuffer>>, Rc<RefCell<WarningBuffer>>);
Expand description

An Emitter that collects into a list.

-

Tuple Fields§

§0: Rc<RefCell<ErrBuffer>>§1: Rc<RefCell<WarningBuffer>>

Implementations§

source§

impl BufferEmitter

source

pub fn new() -> Self

Returns a new buffered emitter.

+BufferEmitter in leo_errors::emitter - Rust
pub struct BufferEmitter(Rc<RefCell<ErrBuffer>>, Rc<RefCell<WarningBuffer>>);
Expand description

An Emitter that collects into a list.

+

Tuple Fields§

§0: Rc<RefCell<ErrBuffer>>§1: Rc<RefCell<WarningBuffer>>

Implementations§

source§

impl BufferEmitter

source

pub fn new() -> Self

Returns a new buffered emitter.

source

pub fn extract_errs(&self) -> ErrBuffer

Extracts all the errors collected in this emitter.

source

pub fn extract_warnings(&self) -> WarningBuffer

Extracts all the errors collected in this emitter.

-

Trait Implementations§

source§

impl Clone for BufferEmitter

source§

fn clone(&self) -> BufferEmitter

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for BufferEmitter

source§

fn default() -> BufferEmitter

Returns the “default value” for a type. Read more
source§

impl Emitter for BufferEmitter

source§

fn emit_err(&mut self, err: LeoError)

Emit the error err.
source§

fn last_emitted_err_code(&self) -> Option<i32>

Tracks last emitted error.
source§

fn emit_warning(&mut self, warning: LeoWarning)

Emit the warning.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for BufferEmitter

source§

fn clone(&self) -> BufferEmitter

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for BufferEmitter

source§

fn default() -> BufferEmitter

Returns the “default value” for a type. Read more
source§

impl Emitter for BufferEmitter

source§

fn emit_err(&mut self, err: LeoError)

Emit the error err.
source§

fn last_emitted_err_code(&self) -> Option<i32>

Tracks last emitted error.
source§

fn emit_warning(&mut self, warning: LeoWarning)

Emit the warning.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/emitter/struct.Handler.html b/leo_errors/emitter/struct.Handler.html index ed63588659..686f4eef0c 100644 --- a/leo_errors/emitter/struct.Handler.html +++ b/leo_errors/emitter/struct.Handler.html @@ -1,32 +1,32 @@ -Handler in leo_errors::emitter - Rust

Fields§

§inner: RefCell<HandlerInner>

The inner handler. RefCell is used here to avoid &mut all over the compiler.

-

Implementations§

source§

impl Handler

source

pub fn new(emitter: Box<dyn Emitter>) -> Self

Construct a Handler using the given emitter.

+

Implementations§

source§

impl Handler

source

pub fn new(emitter: Box<dyn Emitter>) -> Self

Construct a Handler using the given emitter.

source

pub fn new_with_buf() -> (Self, BufferEmitter)

Construct a Handler that will append to buf.

source

pub fn with<T>( - logic: impl for<'a> FnOnce(&'a Handler) -> Result<T, LeoError> -) -> Result<T, ErrBuffer>

Runs logic provided a handler that collects all errors into the String, + logic: impl for<'a> FnOnce(&'a Handler) -> Result<T, LeoError> +) -> Result<T, ErrBuffer>

Runs logic provided a handler that collects all errors into the String, or if there were none, returns some T.

-
source

pub fn emit_err<E: Into<LeoError>>(&self, err: E)

Emit the error err.

+
source

pub fn emit_err<E: Into<LeoError>>(&self, err: E)

Emit the error err.

source

pub fn emit_warning(&self, warning: LeoWarning)

Emit the error err.

-
source

pub fn fatal_err(&self, err: LeoError) -> !

Emits the error err. +

source

pub fn fatal_err(&self, err: LeoError) -> !

Emits the error err. This will immediately abort compilation.

-
source

pub fn err_count(&self) -> usize

The number of errors thus far.

-
source

pub fn warning_count(&self) -> usize

The number of warnings thus far.

-
source

pub fn had_errors(&self) -> bool

Did we have any errors thus far?

-
source

pub fn last_err(&self) -> Result<(), Box<LeoError>>

Gets the last emitted error’s exit code if it exists. +

source

pub fn err_count(&self) -> usize

The number of errors thus far.

+
source

pub fn warning_count(&self) -> usize

The number of warnings thus far.

+
source

pub fn had_errors(&self) -> bool

Did we have any errors thus far?

+
source

pub fn last_err(&self) -> Result<(), Box<LeoError>>

Gets the last emitted error’s exit code if it exists. Then exits the program with it if it did exist.

-
source

pub fn extend_if_error<T>(&self, res: Result<T, LeoError>) -> Result<T, ()>

Extend handler with error given res = Err(error).

-

Trait Implementations§

source§

impl Default for Handler

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl !RefUnwindSafe for Handler

§

impl !Send for Handler

§

impl !Sync for Handler

§

impl Unpin for Handler

§

impl !UnwindSafe for Handler

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+
source

pub fn extend_if_error<T>(&self, res: Result<T, LeoError>) -> Result<T, ()>

Extend handler with error given res = Err(error).

+

Trait Implementations§

source§

impl Default for Handler

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl !RefUnwindSafe for Handler

§

impl !Send for Handler

§

impl !Sync for Handler

§

impl Unpin for Handler

§

impl !UnwindSafe for Handler

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/emitter/struct.HandlerInner.html b/leo_errors/emitter/struct.HandlerInner.html index de8f8f03af..0a81eed394 100644 --- a/leo_errors/emitter/struct.HandlerInner.html +++ b/leo_errors/emitter/struct.HandlerInner.html @@ -1,23 +1,23 @@ -HandlerInner in leo_errors::emitter - Rust
struct HandlerInner {
-    err_count: usize,
-    warn_count: usize,
-    emitter: Box<dyn Emitter>,
+HandlerInner in leo_errors::emitter - Rust
struct HandlerInner {
+    err_count: usize,
+    warn_count: usize,
+    emitter: Box<dyn Emitter>,
 }
Expand description

Contains the actual data for Handler. Modelled this way to afford an API using interior mutability.

-

Fields§

§err_count: usize

Number of errors emitted thus far.

-
§warn_count: usize

Number of warnings emitted thus far.

-
§emitter: Box<dyn Emitter>

The sink through which errors will be emitted.

+

Fields§

§err_count: usize

Number of errors emitted thus far.

+
§warn_count: usize

Number of warnings emitted thus far.

+
§emitter: Box<dyn Emitter>

The sink through which errors will be emitted.

Implementations§

source§

impl HandlerInner

source

fn emit_err(&mut self, err: LeoError)

Emit the error err.

-
source

fn last_emitted_err_code(&self) -> Option<i32>

Gets the last emitted error’s exit code.

+
source

fn last_emitted_err_code(&self) -> Option<i32>

Gets the last emitted error’s exit code.

source

fn emit_warning(&mut self, warning: LeoWarning)

Emit the error err.

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/emitter/struct.StderrEmitter.html b/leo_errors/emitter/struct.StderrEmitter.html index f9f5566a03..3c61389777 100644 --- a/leo_errors/emitter/struct.StderrEmitter.html +++ b/leo_errors/emitter/struct.StderrEmitter.html @@ -1,15 +1,15 @@ -StderrEmitter in leo_errors::emitter - Rust
pub struct StderrEmitter {
-    last_error_code: Option<i32>,
+StderrEmitter in leo_errors::emitter - Rust
pub struct StderrEmitter {
+    last_error_code: Option<i32>,
 }
Expand description

A trivial Emitter using the standard error.

-

Fields§

§last_error_code: Option<i32>

Exit code of the last emitted error.

-

Trait Implementations§

source§

impl Emitter for StderrEmitter

source§

fn emit_err(&mut self, err: LeoError)

Emit the error err.
source§

fn last_emitted_err_code(&self) -> Option<i32>

Tracks last emitted error.
source§

fn emit_warning(&mut self, warning: LeoWarning)

Emit the warning.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Fields§

§last_error_code: Option<i32>

Exit code of the last emitted error.

+

Trait Implementations§

source§

impl Emitter for StderrEmitter

source§

fn emit_err(&mut self, err: LeoError)

Emit the error err.
source§

fn last_emitted_err_code(&self) -> Option<i32>

Tracks last emitted error.
source§

fn emit_warning(&mut self, warning: LeoWarning)

Emit the warning.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/emitter/trait.Emitter.html b/leo_errors/emitter/trait.Emitter.html index 625fd6627e..235315620d 100644 --- a/leo_errors/emitter/trait.Emitter.html +++ b/leo_errors/emitter/trait.Emitter.html @@ -1,10 +1,10 @@ -Emitter in leo_errors::emitter - Rust
pub trait Emitter {
+Emitter in leo_errors::emitter - Rust
pub trait Emitter {
     // Required methods
     fn emit_err(&mut self, err: LeoError);
-    fn last_emitted_err_code(&self) -> Option<i32>;
+    fn last_emitted_err_code(&self) -> Option<i32>;
     fn emit_warning(&mut self, warning: LeoWarning);
 }
Expand description

Types that are sinks for compiler errors.

Required Methods§

source

fn emit_err(&mut self, err: LeoError)

Emit the error err.

-
source

fn last_emitted_err_code(&self) -> Option<i32>

Tracks last emitted error.

+
source

fn last_emitted_err_code(&self) -> Option<i32>

Tracks last emitted error.

source

fn emit_warning(&mut self, warning: LeoWarning)

Emit the warning.

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/leo_errors/emitter/type.ErrBuffer.html b/leo_errors/emitter/type.ErrBuffer.html index d04aa8859c..f458acfa7e 100644 --- a/leo_errors/emitter/type.ErrBuffer.html +++ b/leo_errors/emitter/type.ErrBuffer.html @@ -1,5 +1,2 @@ -ErrBuffer in leo_errors::emitter - Rust

Type Alias leo_errors::emitter::ErrBuffer

source ·
pub type ErrBuffer = Buffer<LeoError>;
Expand description

A buffer of LeoErrors.

-

Aliased Type§

struct ErrBuffer(Vec<LeoError, Global>);

Fields§

§0: Vec<LeoError, Global>

Implementations§

source§

impl<T> Buffer<T>

source

pub fn push(&mut self, x: T)

Push x to the buffer.

-
source

pub fn into_inner(self) -> Vec<T>

Extract the underlying list of Ts.

-
source

pub fn last_entry(&self) -> Option<&T>

Last entry to the buffer.

-

Trait Implementations§

source§

impl<T: Debug> Debug for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Default for Buffer<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T: Display> Display for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
\ No newline at end of file +ErrBuffer in leo_errors::emitter - Rust

Type Alias leo_errors::emitter::ErrBuffer

source ·
pub type ErrBuffer = Buffer<LeoError>;
Expand description

A buffer of LeoErrors.

+

Aliased Type§

struct ErrBuffer(Vec<LeoError>);

Fields§

§0: Vec<LeoError>
\ No newline at end of file diff --git a/leo_errors/emitter/type.WarningBuffer.html b/leo_errors/emitter/type.WarningBuffer.html index 7eaa49e775..d02be36a29 100644 --- a/leo_errors/emitter/type.WarningBuffer.html +++ b/leo_errors/emitter/type.WarningBuffer.html @@ -1,5 +1,2 @@ -WarningBuffer in leo_errors::emitter - Rust

Type Alias leo_errors::emitter::WarningBuffer

source ·
pub type WarningBuffer = Buffer<LeoWarning>;
Expand description

A buffer of LeoWarnings.

-

Aliased Type§

struct WarningBuffer(Vec<LeoWarning, Global>);

Fields§

§0: Vec<LeoWarning, Global>

Implementations§

source§

impl<T> Buffer<T>

source

pub fn push(&mut self, x: T)

Push x to the buffer.

-
source

pub fn into_inner(self) -> Vec<T>

Extract the underlying list of Ts.

-
source

pub fn last_entry(&self) -> Option<&T>

Last entry to the buffer.

-

Trait Implementations§

source§

impl<T: Debug> Debug for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Default for Buffer<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T: Display> Display for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
\ No newline at end of file +WarningBuffer in leo_errors::emitter - Rust

Type Alias leo_errors::emitter::WarningBuffer

source ·
pub type WarningBuffer = Buffer<LeoWarning>;
Expand description

A buffer of LeoWarnings.

+

Aliased Type§

struct WarningBuffer(Vec<LeoWarning>);

Fields§

§0: Vec<LeoWarning>
\ No newline at end of file diff --git a/leo_errors/errors/ast/ast_errors/enum.AstError.html b/leo_errors/errors/ast/ast_errors/enum.AstError.html index 7aa17c76d0..d4e41ae048 100644 --- a/leo_errors/errors/ast/ast_errors/enum.AstError.html +++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html @@ -1,51 +1,51 @@ -AstError in leo_errors::errors::ast::ast_errors - Rust
pub enum AstError {
+AstError in leo_errors::errors::ast::ast_errors - Rust
pub enum AstError {
     Formatted(Formatted),
     Backtraced(Backtraced),
 }
Expand description

AstError enum that represents all the errors for the leo-ast crate.

-

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl AstError

source

pub fn failed_to_convert_ast_to_json_string(error: impl ErrorArg) -> Self

For when the AST fails to be represented as a JSON string.

+

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl AstError

source

pub fn failed_to_convert_ast_to_json_string(error: impl ErrorArg) -> Self

For when the AST fails to be represented as a JSON string.

source

pub fn failed_to_create_ast_json_file( - path: impl Debug, - error: impl ErrorArg + path: impl Debug, + error: impl ErrorArg ) -> Self

For when the AST fails to create the AST JSON file.

source

pub fn failed_to_write_ast_to_json_file( - path: impl Debug, - error: impl ErrorArg + path: impl Debug, + error: impl ErrorArg ) -> Self

For when the AST fails to write the AST JSON file.

-
source

pub fn failed_to_read_json_string_to_ast(error: impl ErrorArg) -> Self

For when the a JSON string fails to be represented as an AST.

-
source

pub fn failed_to_read_json_file(path: impl Debug, error: impl ErrorArg) -> Self

For when the a JSON files fails to be represented as an AST.

-
source

pub fn failed_to_convert_ast_to_json_value(error: impl ErrorArg) -> Self

For when the AST fails to be represented as a JSON value.

-
source

pub fn shadowed_function(func: impl Display, span: Span) -> Self

For when a user shadows a function.

-
source

pub fn shadowed_struct(struct_: impl Display, span: Span) -> Self

For when a user shadows a struct.

-
source

pub fn shadowed_record(record: impl Display, span: Span) -> Self

For when a user shadows a record.

-
source

pub fn shadowed_variable(var: impl Display, span: Span) -> Self

For when a user shadows a variable.

+
source

pub fn failed_to_read_json_string_to_ast(error: impl ErrorArg) -> Self

For when the a JSON string fails to be represented as an AST.

+
source

pub fn failed_to_read_json_file(path: impl Debug, error: impl ErrorArg) -> Self

For when the a JSON files fails to be represented as an AST.

+
source

pub fn failed_to_convert_ast_to_json_value(error: impl ErrorArg) -> Self

For when the AST fails to be represented as a JSON value.

+
source

pub fn shadowed_function(func: impl Display, span: Span) -> Self

For when a user shadows a function.

+
source

pub fn shadowed_struct(struct_: impl Display, span: Span) -> Self

For when a user shadows a struct.

+
source

pub fn shadowed_record(record: impl Display, span: Span) -> Self

For when a user shadows a record.

+
source

pub fn shadowed_variable(var: impl Display, span: Span) -> Self

For when a user shadows a variable.

source

pub fn failed_to_convert_symbol_table_to_json_string( - error: impl ErrorArg + error: impl ErrorArg ) -> Self

For when the symbol table fails to be represented as a JSON string.

source

pub fn failed_to_create_symbol_table_json_file( - path: impl Debug, - error: impl ErrorArg + path: impl Debug, + error: impl ErrorArg ) -> Self

For when the symbol table fails to create the symbol table JSON file.

source

pub fn failed_to_write_symbol_table_to_json_file( - path: impl Debug, - error: impl ErrorArg + path: impl Debug, + error: impl ErrorArg ) -> Self

For when the symbol table fails to write the symbol table JSON file.

-
source

pub fn failed_to_read_json_string_to_symbol_table(error: impl ErrorArg) -> Self

For when the a JSON string fails to be represented as an symbol table.

+
source

pub fn failed_to_read_json_string_to_symbol_table(error: impl ErrorArg) -> Self

For when the a JSON string fails to be represented as an symbol table.

source

pub fn failed_to_convert_symbol_table_to_json_value( - error: impl ErrorArg + error: impl ErrorArg ) -> Self

For when the symbol table fails to be represented as a JSON value.

-
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for AstError

source§

fn clone(&self) -> AstError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AstError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for AstError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for AstError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AstError> for LeoError

source§

fn from(source: AstError) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for AstError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for AstError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for AstError

Implements the trait for LeoError Codes.

-
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 +
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for AstError

source§

fn clone(&self) -> AstError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AstError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for AstError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for AstError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AstError> for LeoError

source§

fn from(source: AstError) -> Self

Converts to this type from the input type.
source§

impl From<Backtraced> for AstError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for AstError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for AstError

Implements the trait for LeoError Codes.

+
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes -unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/errors/ast/ast_errors/index.html b/leo_errors/errors/ast/ast_errors/index.html index dbe47ad8b5..47bbe113fb 100644 --- a/leo_errors/errors/ast/ast_errors/index.html +++ b/leo_errors/errors/ast/ast_errors/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::ast::ast_errors - Rust
Expand description

This module contains the AST error definitions.

+leo_errors::errors::ast::ast_errors - Rust
Expand description

This module contains the AST error definitions.

Enums

  • AstError enum that represents all the errors for the leo-ast crate.
\ No newline at end of file diff --git a/leo_errors/errors/ast/index.html b/leo_errors/errors/ast/index.html index 8ab819b8c9..72ab4aa839 100644 --- a/leo_errors/errors/ast/index.html +++ b/leo_errors/errors/ast/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::ast - Rust

Module leo_errors::errors::ast

source ·
Expand description

Contains the AST error definitions.

+leo_errors::errors::ast - Rust

Module leo_errors::errors::ast

source ·
Expand description

Contains the AST error definitions.

Re-exports

Modules

  • This module contains the AST error definitions.
\ No newline at end of file diff --git a/leo_errors/errors/cli/cli_errors/enum.CliError.html b/leo_errors/errors/cli/cli_errors/enum.CliError.html index 7d27a9855a..213d57df5c 100644 --- a/leo_errors/errors/cli/cli_errors/enum.CliError.html +++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html @@ -1,26 +1,26 @@ -CliError in leo_errors::errors::cli::cli_errors - Rust
pub enum CliError {
+CliError in leo_errors::errors::cli::cli_errors - Rust
pub enum CliError {
     Formatted(Formatted),
     Backtraced(Backtraced),
 }
Expand description

CliError enum that represents all the errors for the leo-lang crate.

-

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl CliError

source

pub fn cli_io_error(error: impl ErrorArg) -> Self

For when the CLI experiences an IO error.

-
source

pub fn could_not_fetch_versions(error: impl ErrorArg) -> Self

For when the CLI could not fetch the versions.

+

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl CliError

source

pub fn cli_io_error(error: impl ErrorArg) -> Self

For when the CLI experiences an IO error.

+
source

pub fn could_not_fetch_versions(error: impl ErrorArg) -> Self

For when the CLI could not fetch the versions.

source

pub fn failed_to_enable_ansi_support() -> Self

For when the CLI fails to enable ansi support.

-
source

pub fn self_update_error(error: impl ErrorArg) -> Self

For when the CLI fails to self update.

-
source

pub fn self_update_build_error(error: impl ErrorArg) -> Self

For when the CLI fails to self update.

-
source

pub fn old_release_version(current: impl Display, latest: impl Display) -> Self

For when the CLI has an old release version.

-
source

pub fn failed_to_load_instructions(error: impl Display) -> Self

source

pub fn needs_leo_build() -> Self

source

pub fn failed_to_execute_build(error: impl Display) -> Self

source

pub fn failed_to_execute_new(error: impl Display) -> Self

source

pub fn failed_to_execute_run(error: impl Display) -> Self

source

pub fn failed_to_execute_node(error: impl Display) -> Self

source

pub fn failed_to_execute_deploy(error: impl Display) -> Self

source

pub fn failed_to_parse_new(error: impl Display) -> Self

source

pub fn failed_to_parse_run(error: impl Display) -> Self

source

pub fn failed_to_parse_node(error: impl Display) -> Self

source

pub fn failed_to_parse_deploy(error: impl Display) -> Self

source

pub fn failed_to_parse_execute(error: impl Display) -> Self

source

pub fn failed_to_execute_execute(error: impl Display) -> Self

source

pub fn failed_to_parse_seed(error: impl Display) -> Self

source

pub fn failed_to_write_file(error: impl Display) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for CliError

source§

fn clone(&self) -> CliError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CliError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for CliError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for CliError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for CliError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<CliError> for LeoError

source§

fn from(source: CliError) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CliError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for CliError

Implements the trait for LeoError Codes.

-
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 +
source

pub fn self_update_error(error: impl ErrorArg) -> Self

For when the CLI fails to self update.

+
source

pub fn self_update_build_error(error: impl ErrorArg) -> Self

For when the CLI fails to self update.

+
source

pub fn old_release_version(current: impl Display, latest: impl Display) -> Self

For when the CLI has an old release version.

+
source

pub fn failed_to_load_instructions(error: impl Display) -> Self

source

pub fn needs_leo_build() -> Self

source

pub fn failed_to_execute_build(error: impl Display) -> Self

source

pub fn failed_to_execute_new(error: impl Display) -> Self

source

pub fn failed_to_execute_run(error: impl Display) -> Self

source

pub fn failed_to_execute_node(error: impl Display) -> Self

source

pub fn failed_to_execute_deploy(error: impl Display) -> Self

source

pub fn failed_to_parse_new(error: impl Display) -> Self

source

pub fn failed_to_parse_run(error: impl Display) -> Self

source

pub fn failed_to_parse_node(error: impl Display) -> Self

source

pub fn failed_to_parse_deploy(error: impl Display) -> Self

source

pub fn failed_to_parse_execute(error: impl Display) -> Self

source

pub fn failed_to_execute_execute(error: impl Display) -> Self

source

pub fn failed_to_parse_seed(error: impl Display) -> Self

source

pub fn failed_to_write_file(error: impl Display) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for CliError

source§

fn clone(&self) -> CliError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CliError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for CliError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for CliError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for CliError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<CliError> for LeoError

source§

fn from(source: CliError) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CliError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for CliError

Implements the trait for LeoError Codes.

+
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes -unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/errors/cli/cli_errors/index.html b/leo_errors/errors/cli/cli_errors/index.html index 1cdc47a110..956ea0149f 100644 --- a/leo_errors/errors/cli/cli_errors/index.html +++ b/leo_errors/errors/cli/cli_errors/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::cli::cli_errors - Rust
Expand description

This module contains the CLI error definitions.

+leo_errors::errors::cli::cli_errors - Rust
Expand description

This module contains the CLI error definitions.

Enums

  • CliError enum that represents all the errors for the leo-lang crate.
\ No newline at end of file diff --git a/leo_errors/errors/cli/index.html b/leo_errors/errors/cli/index.html index b79fbf981f..1d275f6a69 100644 --- a/leo_errors/errors/cli/index.html +++ b/leo_errors/errors/cli/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::cli - Rust

Module leo_errors::errors::cli

source ·
Expand description

Contains the CLI error definitions.

+leo_errors::errors::cli - Rust

Module leo_errors::errors::cli

source ·
Expand description

Contains the CLI error definitions.

Re-exports

Modules

  • This module contains the CLI error definitions.
\ No newline at end of file diff --git a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html index 83e1c150e1..78a1c688fb 100644 --- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html +++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html @@ -1,33 +1,33 @@ -CompilerError in leo_errors::errors::compiler::compiler_errors - Rust
pub enum CompilerError {
+CompilerError in leo_errors::errors::compiler::compiler_errors - Rust
pub enum CompilerError {
     Formatted(Formatted),
     Backtraced(Backtraced),
 }
Expand description

CompilerError enum that represents all the errors for the leo-compiler crate.

-

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl CompilerError

source

pub fn file_read_error(path: impl Debug, error: impl ErrorArg) -> Self

For when the compiler can’t read a file from the provided path.

+

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl CompilerError

source

pub fn file_read_error(path: impl Debug, error: impl ErrorArg) -> Self

For when the compiler can’t read a file from the provided path.

source

pub fn illegal_static_member_assignment( - member: impl Display, + member: impl Display, span: Span ) -> Self

For when a user tries to assign to a struct static member.

-
source

pub fn import_not_found(file_path: impl Display, span: Span) -> Self

source

pub fn cannot_open_cwd(err: impl ErrorArg, span: Span) -> Self

source

pub fn program_name_should_match_file_name( - program_name: impl Display, - file_name: impl Display, +

source

pub fn import_not_found(file_path: impl Display, span: Span) -> Self

source

pub fn cannot_open_cwd(err: impl ErrorArg, span: Span) -> Self

source

pub fn program_name_should_match_file_name( + program_name: impl Display, + file_name: impl Display, span: Span ) -> Self

source

pub fn program_scope_name_does_not_match( - program_scope_name: impl Display, - file_name: impl Display, + program_scope_name: impl Display, + file_name: impl Display, span: Span -) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for CompilerError

source§

fn clone(&self) -> CompilerError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CompilerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for CompilerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for CompilerError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for CompilerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<CompilerError> for LeoError

source§

fn from(source: CompilerError) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CompilerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for CompilerError

Implements the trait for LeoError Codes.

-
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 +) -> Self
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for CompilerError

source§

fn clone(&self) -> CompilerError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CompilerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for CompilerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for CompilerError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for CompilerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<CompilerError> for LeoError

source§

fn from(source: CompilerError) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for CompilerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for CompilerError

Implements the trait for LeoError Codes.

+
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes -unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/errors/compiler/compiler_errors/index.html b/leo_errors/errors/compiler/compiler_errors/index.html index c221ca47be..7c067bb38f 100644 --- a/leo_errors/errors/compiler/compiler_errors/index.html +++ b/leo_errors/errors/compiler/compiler_errors/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::compiler::compiler_errors - Rust
Expand description

This module contains the Compiler error definitions.

+leo_errors::errors::compiler::compiler_errors - Rust
Expand description

This module contains the Compiler error definitions.

Enums

  • CompilerError enum that represents all the errors for the leo-compiler crate.
\ No newline at end of file diff --git a/leo_errors/errors/compiler/index.html b/leo_errors/errors/compiler/index.html index f6348bbf82..c6434ad8eb 100644 --- a/leo_errors/errors/compiler/index.html +++ b/leo_errors/errors/compiler/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::compiler - Rust

Module leo_errors::errors::compiler

source ·
Expand description

Contains the Compiler error definitions.

+leo_errors::errors::compiler - Rust

Module leo_errors::errors::compiler

source ·
Expand description

Contains the Compiler error definitions.

Re-exports

Modules

\ No newline at end of file diff --git a/leo_errors/errors/enum.LeoError.html b/leo_errors/errors/enum.LeoError.html index c5c7073c7b..8c5153390e 100644 --- a/leo_errors/errors/enum.LeoError.html +++ b/leo_errors/errors/enum.LeoError.html @@ -1,4 +1,4 @@ -LeoError in leo_errors::errors - Rust
pub enum LeoError {
+LeoError in leo_errors::errors - Rust
pub enum LeoError {
     AstError(AstError),
     CliError(CliError),
     CompilerError(CompilerError),
@@ -8,7 +8,7 @@
     TypeCheckerError(TypeCheckerError),
     LoopUnrollerError(LoopUnrollerError),
     FlattenError(FlattenError),
-    LastErrorCode(i32),
+    LastErrorCode(i32),
     Anyhow(Error),
 }
Expand description

The LeoError type that contains all sub error types. This allows a unified error type throughout the Leo crates.

@@ -21,20 +21,20 @@
§

TypeCheckerError(TypeCheckerError)

Represents a Type Checker Error in a Leo Error.

§

LoopUnrollerError(LoopUnrollerError)

Represents a Loop Unroller Error in a Leo Error.

§

FlattenError(FlattenError)

Represents a Flatten Error in a Leo Error.

-
§

LastErrorCode(i32)

Purely for just exiting with the correct status code and +

§

LastErrorCode(i32)

Purely for just exiting with the correct status code and not re-displaying an error.

§

Anyhow(Error)

Anyhow errors.

-

Implementations§

source§

impl LeoError

source

pub fn error_code(&self) -> String

Implement error code for each type of Error.

-
source

pub fn exit_code(&self) -> i32

Implement exit code for each type of Error.

-

Trait Implementations§

source§

impl Debug for LeoError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for LeoError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for LeoError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AstError> for LeoError

source§

fn from(source: AstError) -> Self

Converts to this type from the input type.
source§

impl From<CliError> for LeoError

source§

fn from(source: CliError) -> Self

Converts to this type from the input type.
source§

impl From<CompilerError> for LeoError

source§

fn from(source: CompilerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for LeoError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<FlattenError> for LeoError

source§

fn from(source: FlattenError) -> Self

Converts to this type from the input type.
source§

impl From<InputError> for LeoError

source§

fn from(source: InputError) -> Self

Converts to this type from the input type.
source§

impl From<LoopUnrollerError> for LeoError

source§

fn from(source: LoopUnrollerError) -> Self

Converts to this type from the input type.
source§

impl From<PackageError> for LeoError

source§

fn from(source: PackageError) -> Self

Converts to this type from the input type.
source§

impl From<ParserError> for LeoError

source§

fn from(source: ParserError) -> Self

Converts to this type from the input type.
source§

impl From<TypeCheckerError> for LeoError

source§

fn from(source: TypeCheckerError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Implementations§

source§

impl LeoError

source

pub fn error_code(&self) -> String

Implement error code for each type of Error.

+
source

pub fn exit_code(&self) -> i32

Implement exit code for each type of Error.

+

Trait Implementations§

source§

impl Debug for LeoError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for LeoError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for LeoError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AstError> for LeoError

source§

fn from(source: AstError) -> Self

Converts to this type from the input type.
source§

impl From<CliError> for LeoError

source§

fn from(source: CliError) -> Self

Converts to this type from the input type.
source§

impl From<CompilerError> for LeoError

source§

fn from(source: CompilerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for LeoError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<FlattenError> for LeoError

source§

fn from(source: FlattenError) -> Self

Converts to this type from the input type.
source§

impl From<InputError> for LeoError

source§

fn from(source: InputError) -> Self

Converts to this type from the input type.
source§

impl From<LoopUnrollerError> for LeoError

source§

fn from(source: LoopUnrollerError) -> Self

Converts to this type from the input type.
source§

impl From<PackageError> for LeoError

source§

fn from(source: PackageError) -> Self

Converts to this type from the input type.
source§

impl From<ParserError> for LeoError

source§

fn from(source: ParserError) -> Self

Converts to this type from the input type.
source§

impl From<TypeCheckerError> for LeoError

source§

fn from(source: TypeCheckerError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/errors/enum.LeoWarning.html b/leo_errors/errors/enum.LeoWarning.html index 9bf8e697a6..6167b831ad 100644 --- a/leo_errors/errors/enum.LeoWarning.html +++ b/leo_errors/errors/enum.LeoWarning.html @@ -1,18 +1,18 @@ -LeoWarning in leo_errors::errors - Rust
pub enum LeoWarning {
+LeoWarning in leo_errors::errors - Rust
pub enum LeoWarning {
     ParserWarning(ParserWarning),
 }
Expand description

The LeoWarning type that contains all sub error types. This allows a unified error type throughout the Leo crates.

Variants§

§

ParserWarning(ParserWarning)

Represents an Parser Error in a Leo Error.

-

Implementations§

source§

impl LeoWarning

source

pub fn error_code(&self) -> String

Implement warning code for each type of Warning.

-

Trait Implementations§

source§

impl Debug for LeoWarning

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for LeoWarning

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for LeoWarning

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<ParserWarning> for LeoWarning

source§

fn from(source: ParserWarning) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Implementations§

source§

impl LeoWarning

source

pub fn error_code(&self) -> String

Implement warning code for each type of Warning.

+

Trait Implementations§

source§

impl Debug for LeoWarning

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for LeoWarning

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for LeoWarning

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<ParserWarning> for LeoWarning

source§

fn from(source: ParserWarning) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html index aa983bf22e..6361b7a6d0 100644 --- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html +++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html @@ -1,29 +1,29 @@ -FlattenError in leo_errors::errors::flattener::flattener_errors - Rust
pub enum FlattenError {
+FlattenError in leo_errors::errors::flattener::flattener_errors - Rust
pub enum FlattenError {
     Formatted(Formatted),
     Backtraced(Backtraced),
 }
Expand description

CliError enum that represents all the errors for the leo-lang crate.

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl FlattenError

source

pub fn binary_overflow( - left: impl Display, - op: impl Display, - right: impl Display, - right_type: impl Display, + left: impl Display, + op: impl Display, + right: impl Display, + right_type: impl Display, span: Span ) -> Self

For when a constant operation would cause an overflow.

-
source

pub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self

For when a constant operation would cause an overflow.

-
source

pub fn loop_has_neg_value(value: impl Display, span: Span) -> Self

For when a loop uses a negative value.

-
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for FlattenError

source§

fn clone(&self) -> FlattenError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FlattenError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for FlattenError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for FlattenError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for FlattenError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<FlattenError> for LeoError

source§

fn from(source: FlattenError) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for FlattenError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for FlattenError

Implements the trait for LeoError Codes.

-
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 +
source

pub fn unary_overflow(left: impl Display, op: impl Display, span: Span) -> Self

For when a constant operation would cause an overflow.

+
source

pub fn loop_has_neg_value(value: impl Display, span: Span) -> Self

For when a loop uses a negative value.

+
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for FlattenError

source§

fn clone(&self) -> FlattenError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FlattenError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for FlattenError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for FlattenError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for FlattenError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<FlattenError> for LeoError

source§

fn from(source: FlattenError) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for FlattenError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for FlattenError

Implements the trait for LeoError Codes.

+
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes -unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/errors/flattener/flattener_errors/fn.type_name.html b/leo_errors/errors/flattener/flattener_errors/fn.type_name.html index eee93868bc..7c012966c1 100644 --- a/leo_errors/errors/flattener/flattener_errors/fn.type_name.html +++ b/leo_errors/errors/flattener/flattener_errors/fn.type_name.html @@ -1,2 +1,2 @@ -type_name in leo_errors::errors::flattener::flattener_errors - Rust
pub fn type_name<T>(_: &T) -> &'static str
Expand description

Generates the type name of a value.

+type_name in leo_errors::errors::flattener::flattener_errors - Rust
pub fn type_name<T>(_: &T) -> &'static str
Expand description

Generates the type name of a value.

\ No newline at end of file diff --git a/leo_errors/errors/flattener/flattener_errors/index.html b/leo_errors/errors/flattener/flattener_errors/index.html index 7e253a96dc..3495bfe337 100644 --- a/leo_errors/errors/flattener/flattener_errors/index.html +++ b/leo_errors/errors/flattener/flattener_errors/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::flattener::flattener_errors - Rust
Expand description

This module contains the Flattener error definitions.

+leo_errors::errors::flattener::flattener_errors - Rust
Expand description

This module contains the Flattener error definitions.

Enums

  • CliError enum that represents all the errors for the leo-lang crate.

Functions

\ No newline at end of file diff --git a/leo_errors/errors/flattener/index.html b/leo_errors/errors/flattener/index.html index d95d4fc62f..f7336409ec 100644 --- a/leo_errors/errors/flattener/index.html +++ b/leo_errors/errors/flattener/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::flattener - Rust
Expand description

Contains the Flattener error definitions.

+leo_errors::errors::flattener - Rust
Expand description

Contains the Flattener error definitions.

Re-exports

Modules

\ No newline at end of file diff --git a/leo_errors/errors/index.html b/leo_errors/errors/index.html index bc02784823..8f8db7a072 100644 --- a/leo_errors/errors/index.html +++ b/leo_errors/errors/index.html @@ -1,4 +1,4 @@ -leo_errors::errors - Rust

Module leo_errors::errors

source ·
Expand description

Contains the errors and warnings for the Leo lang.

+leo_errors::errors - Rust

Module leo_errors::errors

source ·
Expand description

Contains the errors and warnings for the Leo lang.

Re-exports

Modules

  • Contains the AST error definitions.
  • Contains the CLI error definitions.
  • Contains the Compiler error definitions.
  • Contains the Flattener error definitions.
  • Contains the Input error definitions.
  • Contains the Package error definitions.
  • Contains the Parser error definitions.
  • Contains the Type Checker error definitions.

Enums

  • The LeoError type that contains all sub error types. This allows a unified error type throughout the Leo crates.
  • The LeoWarning type that contains all sub error types. This allows a unified error type throughout the Leo crates.

Type Aliases

  • A global result type for all Leo crates, that defaults the errors to be a LeoError.
\ No newline at end of file diff --git a/leo_errors/errors/input/index.html b/leo_errors/errors/input/index.html index f16992a65e..78231718d2 100644 --- a/leo_errors/errors/input/index.html +++ b/leo_errors/errors/input/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::input - Rust

Module leo_errors::errors::input

source ·
Expand description

Contains the Input error definitions.

+leo_errors::errors::input - Rust

Module leo_errors::errors::input

source ·
Expand description

Contains the Input error definitions.

Re-exports

Modules

  • This module contains the Input error definitions.
\ No newline at end of file diff --git a/leo_errors/errors/input/input_errors/enum.InputError.html b/leo_errors/errors/input/input_errors/enum.InputError.html index f4211fdf57..a23b9a15de 100644 --- a/leo_errors/errors/input/input_errors/enum.InputError.html +++ b/leo_errors/errors/input/input_errors/enum.InputError.html @@ -1,31 +1,31 @@ -InputError in leo_errors::errors::input::input_errors - Rust
pub enum InputError {
+InputError in leo_errors::errors::input::input_errors - Rust
pub enum InputError {
     Formatted(Formatted),
     Backtraced(Backtraced),
 }
Expand description

InputError enum that represents all the errors for the inputs part of leo-ast crate.

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl InputError

source

pub fn unexpected_type( - expected: impl Display, - received: impl Display, + expected: impl Display, + received: impl Display, span: Span ) -> Self

For when declared variable type mismatches actual type.

-
source

pub fn illegal_expression(expr: impl Display, span: Span) -> Self

For when the expression is not allowed in an input file.

+
source

pub fn illegal_expression(expr: impl Display, span: Span) -> Self

For when the expression is not allowed in an input file.

source

pub fn unexpected_section( - expected: &[impl Display], - received: impl Display, + expected: &[impl Display], + received: impl Display, span: Span ) -> Self

For when section name is not an allowed one.

-
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for InputError

source§

fn clone(&self) -> InputError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for InputError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for InputError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for InputError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for InputError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<InputError> for LeoError

source§

fn from(source: InputError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for InputError

Implements the trait for LeoError Codes.

-
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 +
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for InputError

source§

fn clone(&self) -> InputError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InputError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for InputError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for InputError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for InputError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for InputError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<InputError> for LeoError

source§

fn from(source: InputError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for InputError

Implements the trait for LeoError Codes.

+
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes -unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/errors/input/input_errors/index.html b/leo_errors/errors/input/input_errors/index.html index 443476a450..f6b50d3eec 100644 --- a/leo_errors/errors/input/input_errors/index.html +++ b/leo_errors/errors/input/input_errors/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::input::input_errors - Rust
Expand description

This module contains the Input error definitions.

+leo_errors::errors::input::input_errors - Rust
Expand description

This module contains the Input error definitions.

Enums

  • InputError enum that represents all the errors for the inputs part of leo-ast crate.
\ No newline at end of file diff --git a/leo_errors/errors/loop_unroller/index.html b/leo_errors/errors/loop_unroller/index.html index 38b105ea3e..9ef384a174 100644 --- a/leo_errors/errors/loop_unroller/index.html +++ b/leo_errors/errors/loop_unroller/index.html @@ -1 +1 @@ -leo_errors::errors::loop_unroller - Rust

Re-exports

Modules

\ No newline at end of file +leo_errors::errors::loop_unroller - Rust

Re-exports

Modules

\ No newline at end of file diff --git a/leo_errors/errors/loop_unroller/loop_unroller_errors/enum.LoopUnrollerError.html b/leo_errors/errors/loop_unroller/loop_unroller_errors/enum.LoopUnrollerError.html index 70ea10b07b..04bd5cf5eb 100644 --- a/leo_errors/errors/loop_unroller/loop_unroller_errors/enum.LoopUnrollerError.html +++ b/leo_errors/errors/loop_unroller/loop_unroller_errors/enum.LoopUnrollerError.html @@ -1,20 +1,20 @@ -LoopUnrollerError in leo_errors::errors::loop_unroller::loop_unroller_errors - Rust
pub enum LoopUnrollerError {
+LoopUnrollerError in leo_errors::errors::loop_unroller::loop_unroller_errors - Rust
pub enum LoopUnrollerError {
     Formatted(Formatted),
     Backtraced(Backtraced),
 }
Expand description

LoopUnrollerError enum that represents all the errors for the loop unrolling errors in the leo-loop_unroller crate.

-

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl LoopUnrollerError

source

pub fn loop_range_decreasing(span: Span) -> Self

source

pub fn variable_array_access(span: Span) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for LoopUnrollerError

source§

fn clone(&self) -> LoopUnrollerError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LoopUnrollerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for LoopUnrollerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for LoopUnrollerError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for LoopUnrollerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for LoopUnrollerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<LoopUnrollerError> for LeoError

source§

fn from(source: LoopUnrollerError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for LoopUnrollerError

Implements the trait for LeoError Codes.

-
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 +

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl LoopUnrollerError

source

pub fn loop_range_decreasing(span: Span) -> Self

source

pub fn variable_array_access(span: Span) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for LoopUnrollerError

source§

fn clone(&self) -> LoopUnrollerError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LoopUnrollerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for LoopUnrollerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for LoopUnrollerError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for LoopUnrollerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for LoopUnrollerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<LoopUnrollerError> for LeoError

source§

fn from(source: LoopUnrollerError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for LoopUnrollerError

Implements the trait for LeoError Codes.

+
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes -unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/errors/loop_unroller/loop_unroller_errors/index.html b/leo_errors/errors/loop_unroller/loop_unroller_errors/index.html index aaf5ea67a7..07de7cc83c 100644 --- a/leo_errors/errors/loop_unroller/loop_unroller_errors/index.html +++ b/leo_errors/errors/loop_unroller/loop_unroller_errors/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::loop_unroller::loop_unroller_errors - Rust
Expand description

This module contains the Input error definitions.

+leo_errors::errors::loop_unroller::loop_unroller_errors - Rust
Expand description

This module contains the Input error definitions.

Enums

  • LoopUnrollerError enum that represents all the errors for the loop unrolling errors in the leo-loop_unroller crate.
\ No newline at end of file diff --git a/leo_errors/errors/package/index.html b/leo_errors/errors/package/index.html index b2d5f9955c..421c690750 100644 --- a/leo_errors/errors/package/index.html +++ b/leo_errors/errors/package/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::package - Rust

Module leo_errors::errors::package

source ·
Expand description

Contains the Package error definitions.

+leo_errors::errors::package - Rust

Module leo_errors::errors::package

source ·
Expand description

Contains the Package error definitions.

Re-exports

Modules

\ No newline at end of file diff --git a/leo_errors/errors/package/package_errors/enum.PackageError.html b/leo_errors/errors/package/package_errors/enum.PackageError.html index a6cb192e84..675507a97c 100644 --- a/leo_errors/errors/package/package_errors/enum.PackageError.html +++ b/leo_errors/errors/package/package_errors/enum.PackageError.html @@ -1,63 +1,63 @@ -PackageError in leo_errors::errors::package::package_errors - Rust
pub enum PackageError {
+PackageError in leo_errors::errors::package::package_errors - Rust
pub enum PackageError {
     Formatted(Formatted),
     Backtraced(Backtraced),
 }
Expand description

PackageError enum that represents all the errors for the leo-package crate.

-

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl PackageError

source

pub fn failed_to_get_input_file_entry(error: impl ErrorArg) -> Self

For when getting a input file entry failed.

+

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl PackageError

source

pub fn failed_to_get_input_file_entry(error: impl ErrorArg) -> Self

For when getting a input file entry failed.

source

pub fn failed_to_get_input_file_type( - file: impl Debug, - error: impl ErrorArg + file: impl Debug, + error: impl ErrorArg ) -> Self

For when getting the input file type failed.

-
source

pub fn invalid_input_file_type(file: impl Debug, type_: FileType) -> Self

For when getting the input file has an invalid file type.

-
source

pub fn failed_to_create_inputs_directory(error: impl ErrorArg) -> Self

For when creating the inputs directory failed.

-
source

pub fn failed_to_read_circuit_file(path: impl Debug) -> Self

For when reading the struct file failed.

-
source

pub fn failed_to_read_inputs_directory(error: impl ErrorArg) -> Self

For when reading the input directory failed.

-
source

pub fn failed_to_read_input_file(path: impl Debug) -> Self

For when reading the input file failed.

-
source

pub fn failed_to_read_snapshot_file(path: impl Debug) -> Self

For when reading the snapshot file failed.

-
source

pub fn failed_to_read_checksum_file(path: impl Debug) -> Self

For when reading the checksum file failed.

-
source

pub fn io_error_circuit_file(error: impl ErrorArg) -> Self

For when the struct file has an IO error.

-
source

pub fn io_error_checksum_file(error: impl ErrorArg) -> Self

For when the checksum file has an IO error.

-
source

pub fn io_error_main_file(error: impl ErrorArg) -> Self

For when the main file has an IO error.

-
source

pub fn failed_to_remove_circuit_file(path: impl Debug) -> Self

For when removing the struct file failed.

-
source

pub fn failed_to_remove_checksum_file(path: impl Debug) -> Self

For when removing the checksum file failed.

-
source

pub fn failed_to_remove_snapshot_file(path: impl Debug) -> Self

For when removing the snapshot file failed.

-
source

pub fn io_error_input_file(error: impl ErrorArg) -> Self

For when the input file has an IO error.

-
source

pub fn io_error_gitignore_file(error: impl ErrorArg) -> Self

For when the gitignore file has an IO error.

-
source

pub fn failed_to_create_source_directory(error: impl ErrorArg) -> Self

For when creating the source directory failed.

-
source

pub fn failed_to_get_leo_file_entry(error: impl ErrorArg) -> Self

For when getting a Leo file entry failed.

-
source

pub fn failed_to_get_leo_file_extension(extension: impl Debug) -> Self

For when getting the source file extension failed.

+
source

pub fn invalid_input_file_type(file: impl Debug, type_: FileType) -> Self

For when getting the input file has an invalid file type.

+
source

pub fn failed_to_create_inputs_directory(error: impl ErrorArg) -> Self

For when creating the inputs directory failed.

+
source

pub fn failed_to_read_circuit_file(path: impl Debug) -> Self

For when reading the struct file failed.

+
source

pub fn failed_to_read_inputs_directory(error: impl ErrorArg) -> Self

For when reading the input directory failed.

+
source

pub fn failed_to_read_input_file(path: impl Debug) -> Self

For when reading the input file failed.

+
source

pub fn failed_to_read_snapshot_file(path: impl Debug) -> Self

For when reading the snapshot file failed.

+
source

pub fn failed_to_read_checksum_file(path: impl Debug) -> Self

For when reading the checksum file failed.

+
source

pub fn io_error_circuit_file(error: impl ErrorArg) -> Self

For when the struct file has an IO error.

+
source

pub fn io_error_checksum_file(error: impl ErrorArg) -> Self

For when the checksum file has an IO error.

+
source

pub fn io_error_main_file(error: impl ErrorArg) -> Self

For when the main file has an IO error.

+
source

pub fn failed_to_remove_circuit_file(path: impl Debug) -> Self

For when removing the struct file failed.

+
source

pub fn failed_to_remove_checksum_file(path: impl Debug) -> Self

For when removing the checksum file failed.

+
source

pub fn failed_to_remove_snapshot_file(path: impl Debug) -> Self

For when removing the snapshot file failed.

+
source

pub fn io_error_input_file(error: impl ErrorArg) -> Self

For when the input file has an IO error.

+
source

pub fn io_error_gitignore_file(error: impl ErrorArg) -> Self

For when the gitignore file has an IO error.

+
source

pub fn failed_to_create_source_directory(error: impl ErrorArg) -> Self

For when creating the source directory failed.

+
source

pub fn failed_to_get_leo_file_entry(error: impl ErrorArg) -> Self

For when getting a Leo file entry failed.

+
source

pub fn failed_to_get_leo_file_extension(extension: impl Debug) -> Self

For when getting the source file extension failed.

source

pub fn invalid_leo_file_extension( - file: impl Debug, - extension: impl Debug + file: impl Debug, + extension: impl Debug ) -> Self

For when the Leo file has an invalid extension.

source

pub fn failed_to_initialize_package( - package: impl Display, - path: impl Debug + package: impl Display, + path: impl Debug ) -> Self

For when the package failed to initalize.

-
source

pub fn invalid_package_name(package: impl Display) -> Self

For when the package has an invalid name.

-
source

pub fn directory_not_found(dirname: impl Display, path: impl Display) -> Self

For when opening a directory failed.

+
source

pub fn invalid_package_name(package: impl Display) -> Self

For when the package has an invalid name.

+
source

pub fn directory_not_found(dirname: impl Display, path: impl Display) -> Self

For when opening a directory failed.

source

pub fn failed_to_create_directory( - dirname: impl Display, - error: impl ErrorArg + dirname: impl Display, + error: impl ErrorArg ) -> Self

For when creating a directory failed.

source

pub fn failed_to_remove_directory( - dirname: impl Display, - error: impl ErrorArg + dirname: impl Display, + error: impl ErrorArg ) -> Self

For when removing a directory failed.

-
source

pub fn failed_to_read_file(path: impl Display, error: impl ErrorArg) -> Self

For when file could not be read.

-
source

pub fn failed_to_get_file_name() -> Self

source

pub fn failed_to_set_cwd(dir: impl Display, error: impl ErrorArg) -> Self

source

pub fn failed_to_open_manifest(error: impl Display) -> Self

source

pub fn failed_to_open_aleo_file(error: impl Display) -> Self

source

pub fn failed_to_create_aleo_file(error: impl Display) -> Self

source

pub fn failed_to_write_aleo_file(error: impl Display) -> Self

source

pub fn failed_to_remove_aleo_file(error: impl Display) -> Self

source

pub fn empty_source_directory() -> Self

source

pub fn source_directory_can_contain_only_one_file() -> Self

source

pub fn io_error_env_file(error: impl ErrorArg) -> Self

For when the environment file has an IO error.

-
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for PackageError

source§

fn clone(&self) -> PackageError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PackageError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for PackageError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for PackageError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for PackageError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for PackageError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<PackageError> for LeoError

source§

fn from(source: PackageError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for PackageError

Implements the trait for LeoError Codes.

-
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 +
source

pub fn failed_to_read_file(path: impl Display, error: impl ErrorArg) -> Self

For when file could not be read.

+
source

pub fn failed_to_get_file_name() -> Self

source

pub fn failed_to_set_cwd(dir: impl Display, error: impl ErrorArg) -> Self

source

pub fn failed_to_open_manifest(error: impl Display) -> Self

source

pub fn failed_to_open_aleo_file(error: impl Display) -> Self

source

pub fn failed_to_create_aleo_file(error: impl Display) -> Self

source

pub fn failed_to_write_aleo_file(error: impl Display) -> Self

source

pub fn failed_to_remove_aleo_file(error: impl Display) -> Self

source

pub fn empty_source_directory() -> Self

source

pub fn source_directory_can_contain_only_one_file() -> Self

source

pub fn io_error_env_file(error: impl ErrorArg) -> Self

For when the environment file has an IO error.

+
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for PackageError

source§

fn clone(&self) -> PackageError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PackageError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for PackageError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for PackageError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for PackageError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for PackageError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<PackageError> for LeoError

source§

fn from(source: PackageError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for PackageError

Implements the trait for LeoError Codes.

+
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes -unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/errors/package/package_errors/index.html b/leo_errors/errors/package/package_errors/index.html index 45143fe19d..c4b9c6d6b1 100644 --- a/leo_errors/errors/package/package_errors/index.html +++ b/leo_errors/errors/package/package_errors/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::package::package_errors - Rust
Expand description

This module contains the Package error definitions.

+leo_errors::errors::package::package_errors - Rust
Expand description

This module contains the Package error definitions.

Enums

  • PackageError enum that represents all the errors for the leo-package crate.
\ No newline at end of file diff --git a/leo_errors/errors/parser/index.html b/leo_errors/errors/parser/index.html index fbba801d50..4aa62be68b 100644 --- a/leo_errors/errors/parser/index.html +++ b/leo_errors/errors/parser/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::parser - Rust

Module leo_errors::errors::parser

source ·
Expand description

Contains the Parser error definitions.

+leo_errors::errors::parser - Rust

Module leo_errors::errors::parser

source ·
Expand description

Contains the Parser error definitions.

Re-exports

Modules

\ No newline at end of file diff --git a/leo_errors/errors/parser/parser_errors/enum.ParserError.html b/leo_errors/errors/parser/parser_errors/enum.ParserError.html index b7800f0511..83efe276bf 100644 --- a/leo_errors/errors/parser/parser_errors/enum.ParserError.html +++ b/leo_errors/errors/parser/parser_errors/enum.ParserError.html @@ -1,76 +1,76 @@ -ParserError in leo_errors::errors::parser::parser_errors - Rust
pub enum ParserError {
+ParserError in leo_errors::errors::parser::parser_errors - Rust
pub enum ParserError {
     Formatted(Formatted),
     Backtraced(Backtraced),
 }
Expand description

ParserError enum that represents all the errors for the leo-parser crate.

-

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl ParserError

source

pub fn unexpected_token(message: impl Display, span: Span) -> Self

For when the parser encountered an unexpected token.

-
source

pub fn invalid_address_lit(token: impl Display, span: Span) -> Self

For when the parser encountered an invalid address literal.

+

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl ParserError

source

pub fn unexpected_token(message: impl Display, span: Span) -> Self

For when the parser encountered an unexpected token.

+
source

pub fn invalid_address_lit(token: impl Display, span: Span) -> Self

For when the parser encountered an invalid address literal.

source

pub fn invalid_import_list(span: Span) -> Self

For when the parser encountered an empty import list.

source

pub fn unexpected_eof(span: Span) -> Self

For when the parser encountered an unexpected End of File.

source

pub fn unexpected_whitespace( - left: impl Display, - right: impl Display, + left: impl Display, + right: impl Display, span: Span ) -> Self

For when the parser encountered an unexpected whitespace.

source

pub fn unexpected( - found: impl Display, - expected: impl Display, + found: impl Display, + expected: impl Display, span: Span ) -> Self

For when the parser encountered an unexpected list of tokens.

source

pub fn mixed_commas_and_semicolons(span: Span) -> Self

For when the parser encountered a mix of commas and semi-colons in struct member variables.

source

pub fn unexpected_ident( - found: impl Display, - expected: &[impl Display], + found: impl Display, + expected: &[impl Display], span: Span ) -> Self

For when the parser encountered an unexpected identifier.

source

pub fn unexpected_statement( - found: impl Display, - expected: impl Display, + found: impl Display, + expected: impl Display, span: Span ) -> Self

For when the parser encountered an unexpected statement.

source

pub fn unexpected_str( - found: impl Display, - expected: impl Display, + found: impl Display, + expected: impl Display, span: Span ) -> Self

For when the parser encountered an unexpected string.

source

pub fn spread_in_array_init(span: Span) -> Self

For when the parser encountered an unexpected spread in an array init expression.

source

pub fn lexer_empty_input() -> Self

When more input was expected but not found.

-
source

pub fn lexer_expected_valid_escaped_char(input: impl Display) -> Self

When an integer is started with a leading zero.

-
source

pub fn lexer_string_not_closed(input: impl Display) -> Self

When a string is not properly closed.

+
source

pub fn lexer_expected_valid_escaped_char(input: impl Display) -> Self

When an integer is started with a leading zero.

+
source

pub fn lexer_string_not_closed(input: impl Display) -> Self

When a string is not properly closed.

source

pub fn lexer_empty_block_comment() -> Self

When a block comment is empty.

source

pub fn lexer_block_comment_does_not_close_before_eof( - input: impl Display + input: impl Display ) -> Self

When a block comment is not closed before end of file.

-
source

pub fn could_not_lex(input: impl Display) -> Self

When the lexer could not lex some text.

-
source

pub fn implicit_values_not_allowed(input: impl Display, span: Span) -> Self

When the user tries to pass an implicit value.

-
source

pub fn lexer_hex_number_provided(input: impl Display) -> Self

When a hex number is provided.

+
source

pub fn could_not_lex(input: impl Display) -> Self

When the lexer could not lex some text.

+
source

pub fn implicit_values_not_allowed(input: impl Display, span: Span) -> Self

When the user tries to pass an implicit value.

+
source

pub fn lexer_hex_number_provided(input: impl Display) -> Self

When a hex number is provided.

source

pub fn inputs_multiple_variable_modes_specified(span: Span) -> Self

For when a user specified more than one mode on a parameter.

source

pub fn lexer_bidi_override() -> Self

For when the lexer encountered a bidi override character

source

pub fn invalid_method_call( - expr: impl Display, - func: impl Display, - num_args: impl Display, + expr: impl Display, + func: impl Display, + num_args: impl Display, span: Span ) -> Self

Parsed an unknown method call on the type of an expression.

-
source

pub fn invalid_associated_access(name: impl Display, span: Span) -> Self

source

pub fn leo_imports_only(span: Span) -> Self

source

pub fn space_in_annotation(span: Span) -> Self

source

pub fn circuit_is_deprecated(span: Span) -> Self

source

pub fn only_one_program_scope_is_allowed(span: Span) -> Self

source

pub fn missing_program_scope(span: Span) -> Self

source

pub fn invalid_network(span: Span) -> Self

source

pub fn tuple_must_have_at_least_two_elements( - kind: impl Display, +

source

pub fn invalid_associated_access(name: impl Display, span: Span) -> Self

source

pub fn leo_imports_only(span: Span) -> Self

source

pub fn space_in_annotation(span: Span) -> Self

source

pub fn circuit_is_deprecated(span: Span) -> Self

source

pub fn only_one_program_scope_is_allowed(span: Span) -> Self

source

pub fn missing_program_scope(span: Span) -> Self

source

pub fn invalid_network(span: Span) -> Self

source

pub fn tuple_must_have_at_least_two_elements( + kind: impl Display, span: Span -) -> Self

source

pub fn async_finalize_is_deprecated(span: Span) -> Self

source

pub fn finalize_statements_are_deprecated(span: Span) -> Self

source

pub fn console_statements_are_not_yet_supported(span: Span) -> Self

source

pub fn tuple_index_must_be_whole_number(found: impl Display, span: Span) -> Self

Enforce that tuple index must not have leading 0, or underscore in between digits

+) -> Self
source

pub fn async_finalize_is_deprecated(span: Span) -> Self

source

pub fn finalize_statements_are_deprecated(span: Span) -> Self

source

pub fn console_statements_are_not_yet_supported(span: Span) -> Self

source

pub fn tuple_index_must_be_whole_number(found: impl Display, span: Span) -> Self

Enforce that tuple index must not have leading 0, or underscore in between digits

source

pub fn array_must_have_at_least_one_element( - kind: impl Display, + kind: impl Display, span: Span -) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for ParserError

source§

fn clone(&self) -> ParserError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ParserError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ParserError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for ParserError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<ParserError> for LeoError

source§

fn from(source: ParserError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for ParserError

Implements the trait for LeoError Codes.

-
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 +) -> Self
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for ParserError

source§

fn clone(&self) -> ParserError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ParserError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ParserError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for ParserError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<ParserError> for LeoError

source§

fn from(source: ParserError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for ParserError

Implements the trait for LeoError Codes.

+
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes -unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/errors/parser/parser_errors/index.html b/leo_errors/errors/parser/parser_errors/index.html index ffb688af92..89ce186c90 100644 --- a/leo_errors/errors/parser/parser_errors/index.html +++ b/leo_errors/errors/parser/parser_errors/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::parser::parser_errors - Rust
Expand description

This module contains the Parser error definitions.

+leo_errors::errors::parser::parser_errors - Rust
Expand description

This module contains the Parser error definitions.

Enums

  • ParserError enum that represents all the errors for the leo-parser crate.
\ No newline at end of file diff --git a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html index d8dcf6446d..eba6a90689 100644 --- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html +++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html @@ -1,22 +1,22 @@ -ParserWarning in leo_errors::errors::parser::parser_warnings - Rust
pub enum ParserWarning {
+ParserWarning in leo_errors::errors::parser::parser_warnings - Rust
pub enum ParserWarning {
     Formatted(Formatted),
     Backtraced(Backtraced),
 }
Expand description

ParserWarning enum that represents all the warnings for the leo-parser crate.

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl ParserWarning

source

pub fn const_parameter_or_input(span: Span) -> Self

For when a user used const on a parameter or input instead of constant.

-
source

pub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self

For when a keyword is deprecated but could be used as a valid identifier.

-
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for ParserWarning

source§

fn clone(&self) -> ParserWarning

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserWarning

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ParserWarning

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ParserWarning

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for ParserWarning

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserWarning

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<ParserWarning> for LeoWarning

source§

fn from(source: ParserWarning) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for ParserWarning

Implements the trait for LeoError Codes.

-
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 +
source

pub fn deprecated(keyword: impl Display, help: impl Display, span: Span) -> Self

For when a keyword is deprecated but could be used as a valid identifier.

+
source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for ParserWarning

source§

fn clone(&self) -> ParserWarning

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParserWarning

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ParserWarning

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ParserWarning

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for ParserWarning

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for ParserWarning

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<ParserWarning> for LeoWarning

source§

fn from(source: ParserWarning) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for ParserWarning

Implements the trait for LeoError Codes.

+
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes -unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/errors/parser/parser_warnings/index.html b/leo_errors/errors/parser/parser_warnings/index.html index afd87e54c9..0aa6875827 100644 --- a/leo_errors/errors/parser/parser_warnings/index.html +++ b/leo_errors/errors/parser/parser_warnings/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::parser::parser_warnings - Rust
Expand description

This module contains the Parser warning definitions.

+leo_errors::errors::parser::parser_warnings - Rust
Expand description

This module contains the Parser warning definitions.

Enums

  • ParserWarning enum that represents all the warnings for the leo-parser crate.
\ No newline at end of file diff --git a/leo_errors/errors/type.Result.html b/leo_errors/errors/type.Result.html index 8e3014557b..5017f7bcbd 100644 --- a/leo_errors/errors/type.Result.html +++ b/leo_errors/errors/type.Result.html @@ -1,7 +1,7 @@ -Result in leo_errors::errors - Rust

Type Alias leo_errors::errors::Result

source ·
pub type Result<T, E = LeoError> = Result<T, E>;
Expand description

A global result type for all Leo crates, that defaults the errors to be a LeoError.

+Result in leo_errors::errors - Rust

Type Alias leo_errors::errors::Result

source ·
pub type Result<T, E = LeoError> = Result<T, E>;
Expand description

A global result type for all Leo crates, that defaults the errors to be a LeoError.

Aliased Type§

enum Result<T, E = LeoError> {
     Ok(T),
     Err(E),
 }

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value

-
\ No newline at end of file +
\ No newline at end of file diff --git a/leo_errors/errors/type_checker/index.html b/leo_errors/errors/type_checker/index.html index bc473a572a..5a7553b61d 100644 --- a/leo_errors/errors/type_checker/index.html +++ b/leo_errors/errors/type_checker/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::type_checker - Rust
Expand description

Contains the Type Checker error definitions.

+leo_errors::errors::type_checker - Rust
Expand description

Contains the Type Checker error definitions.

Re-exports

Modules

\ No newline at end of file diff --git a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html index 9064f588ef..28c1e5e6d3 100644 --- a/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html +++ b/leo_errors/errors/type_checker/type_checker_error/enum.TypeCheckerError.html @@ -1,129 +1,129 @@ -TypeCheckerError in leo_errors::errors::type_checker::type_checker_error - Rust
pub enum TypeCheckerError {
+TypeCheckerError in leo_errors::errors::type_checker::type_checker_error - Rust
pub enum TypeCheckerError {
     Formatted(Formatted),
     Backtraced(Backtraced),
 }
Expand description

InputError enum that represents all the errors for the inputs part of leo-ast crate.

Variants§

§

Formatted(Formatted)

§

Backtraced(Backtraced)

Implementations§

source§

impl TypeCheckerError

source

pub fn invalid_assignment_target(span: Span) -> Self

For when the parser encountered an invalid assignment target.

-
source

pub fn cannot_assign_to_const_input(input: impl Display, span: Span) -> Self

For when the user tries to assign to a const input.

-
source

pub fn cannot_assign_to_const_var(var: impl Display, span: Span) -> Self

For when the user tries to assign to a const input.

+
source

pub fn cannot_assign_to_const_input(input: impl Display, span: Span) -> Self

For when the user tries to assign to a const input.

+
source

pub fn cannot_assign_to_const_var(var: impl Display, span: Span) -> Self

For when the user tries to assign to a const input.

source

pub fn type_should_be( - type_: impl Display, - expected: impl Display, + type_: impl Display, + expected: impl Display, span: Span ) -> Self

For when the user tries to assign to a const input.

-
source

pub fn could_not_determine_type(expr: impl Display, span: Span) -> Self

For when the type checker cannot determine the type of an expression.

-
source

pub fn unknown_sym(kind: impl Display, sym: impl Display, span: Span) -> Self

For when the user tries to return a unknown variable.

+
source

pub fn could_not_determine_type(expr: impl Display, span: Span) -> Self

For when the type checker cannot determine the type of an expression.

+
source

pub fn unknown_sym(kind: impl Display, sym: impl Display, span: Span) -> Self

For when the user tries to return a unknown variable.

source

pub fn incorrect_num_args_to_call( - expected: impl Display, - received: impl Display, + expected: impl Display, + received: impl Display, span: Span ) -> Self

For when the user tries calls a function with the incorrect number of args.

source

pub fn expected_one_type_of( - expected: impl Display, - received: impl Display, + expected: impl Display, + received: impl Display, span: Span ) -> Self

For when one of the following types was expected.

source

pub fn invalid_int_value( - value: impl Display, - type_: impl Display, + value: impl Display, + type_: impl Display, span: Span ) -> Self

For when an integer is not in a valid range.

source

pub fn invalid_core_function( - struct_: impl Display, - function: impl Display, + struct_: impl Display, + function: impl Display, span: Span ) -> Self

For when an invalid core function is used.

-
source

pub fn core_type_name_conflict(type_: impl Display, span: Span) -> Self

For when a struct is created with the same name as a core type.

-
source

pub fn function_has_no_return(func: impl Display, span: Span) -> Self

For when a function doesn’t have a return statement.

+
source

pub fn core_type_name_conflict(type_: impl Display, span: Span) -> Self

For when a struct is created with the same name as a core type.

+
source

pub fn function_has_no_return(func: impl Display, span: Span) -> Self

For when a function doesn’t have a return statement.

source

pub fn incorrect_num_struct_members( - expected: impl Display, - received: impl Display, + expected: impl Display, + received: impl Display, span: Span ) -> Self

For when the user tries initialize a struct with the incorrect number of args.

source

pub fn missing_struct_member( - struct_: impl Display, - member: impl Display, + struct_: impl Display, + member: impl Display, span: Span ) -> Self

For when the user is missing a struct member during initialization.

-
source

pub fn invalid_core_function_call(expr: impl Display, span: Span) -> Self

An invalid access call is made e.g., `SHA256::hash()

-
source

pub fn duplicate_struct_member(struct_: impl Display, span: Span) -> Self

Attempted to define more that one struct member with the same name.

-
source

pub fn duplicate_record_variable(record: impl Display, span: Span) -> Self

Attempted to define more that one record variable with the same name.

-
source

pub fn undefined_type(type_: impl Display, span: Span) -> Self

Attempted to access an invalid struct.

+
source

pub fn invalid_core_function_call(expr: impl Display, span: Span) -> Self

An invalid access call is made e.g., `SHA256::hash()

+
source

pub fn duplicate_struct_member(struct_: impl Display, span: Span) -> Self

Attempted to define more that one struct member with the same name.

+
source

pub fn duplicate_record_variable(record: impl Display, span: Span) -> Self

Attempted to define more that one record variable with the same name.

+
source

pub fn undefined_type(type_: impl Display, span: Span) -> Self

Attempted to access an invalid struct.

source

pub fn invalid_struct_variable( - variable: impl Display, - struct_: impl Display, + variable: impl Display, + struct_: impl Display, span: Span ) -> Self

Attempted to access an invalid struct variable.

source

pub fn required_record_variable( - name: impl Display, - type_: impl Display, + name: impl Display, + type_: impl Display, span: Span ) -> Self

source

pub fn record_var_wrong_type( - name: impl Display, - type_: impl Display, + name: impl Display, + type_: impl Display, span: Span -) -> Self

source

pub fn compare_address(operator: impl Display, span: Span) -> Self

source

pub fn incorrect_tuple_length( - expected: impl Display, - actual: impl Display, +) -> Self

source

pub fn compare_address(operator: impl Display, span: Span) -> Self

source

pub fn incorrect_tuple_length( + expected: impl Display, + actual: impl Display, span: Span ) -> Self

source

pub fn invalid_tuple(span: Span) -> Self

source

pub fn tuple_out_of_range( - index: impl Display, - length: impl Display, + index: impl Display, + length: impl Display, span: Span -) -> Self

source

pub fn unreachable_code_after_return(span: Span) -> Self

source

pub fn loop_body_contains_return(span: Span) -> Self

source

pub fn unknown_annotation(annotation: impl Display, span: Span) -> Self

source

pub fn regular_function_inputs_cannot_have_modes(span: Span) -> Self

source

pub fn struct_or_record_cannot_contain_record( - parent: impl Display, - child: impl Display, +) -> Self

source

pub fn unreachable_code_after_return(span: Span) -> Self

source

pub fn loop_body_contains_return(span: Span) -> Self

source

pub fn unknown_annotation(annotation: impl Display, span: Span) -> Self

source

pub fn regular_function_inputs_cannot_have_modes(span: Span) -> Self

source

pub fn struct_or_record_cannot_contain_record( + parent: impl Display, + child: impl Display, span: Span ) -> Self

source

pub fn invalid_mapping_type( - component: impl Display, - type_: impl Display, + component: impl Display, + type_: impl Display, span: Span ) -> Self

source

pub fn only_transition_functions_can_have_finalize(span: Span) -> Self

source

pub fn finalize_input_mode_must_be_public(span: Span) -> Self

source

pub fn finalize_output_mode_must_be_public(span: Span) -> Self

source

pub fn finalize_in_finalize(span: Span) -> Self

source

pub fn invalid_operation_outside_finalize( - operation: impl Display, + operation: impl Display, span: Span ) -> Self

source

pub fn finalize_without_finalize_block(span: Span) -> Self

source

pub fn loop_body_contains_finalize(span: Span) -> Self

source

pub fn missing_return(span: Span) -> Self

source

pub fn finalize_block_must_not_be_empty(span: Span) -> Self

source

pub fn cannot_have_constant_output_mode(span: Span) -> Self

source

pub fn transition_function_inputs_cannot_be_const(span: Span) -> Self

source

pub fn incorrect_num_args_to_finalize( - expected: impl Display, - received: impl Display, + expected: impl Display, + received: impl Display, span: Span ) -> Self

source

pub fn invalid_self_access(span: Span) -> Self

source

pub fn missing_finalize(span: Span) -> Self

source

pub fn finalize_name_mismatch( - finalize_name: impl Display, - function_name: impl Display, + finalize_name: impl Display, + function_name: impl Display, span: Span -) -> Self

source

pub fn invalid_type(type_: impl Display, span: Span) -> Self

source

pub fn can_only_call_inline_function(span: Span) -> Self

source

pub fn cannot_invoke_call_to_local_transition_function(span: Span) -> Self

source

pub fn loop_bound_must_be_a_literal(span: Span) -> Self

source

pub fn strings_are_not_supported(span: Span) -> Self

source

pub fn imported_program_cannot_import_program(span: Span) -> Self

source

pub fn too_many_transitions(max: impl Display, span: Span) -> Self

source

pub fn assign_unit_expression_to_variable(span: Span) -> Self

source

pub fn nested_tuple_type(span: Span) -> Self

source

pub fn composite_data_type_cannot_contain_tuple( - data_type: impl Display, +) -> Self

source

pub fn invalid_type(type_: impl Display, span: Span) -> Self

source

pub fn can_only_call_inline_function(span: Span) -> Self

source

pub fn cannot_invoke_call_to_local_transition_function(span: Span) -> Self

source

pub fn loop_bound_must_be_a_literal(span: Span) -> Self

source

pub fn strings_are_not_supported(span: Span) -> Self

source

pub fn imported_program_cannot_import_program(span: Span) -> Self

source

pub fn too_many_transitions(max: impl Display, span: Span) -> Self

source

pub fn assign_unit_expression_to_variable(span: Span) -> Self

source

pub fn nested_tuple_type(span: Span) -> Self

source

pub fn composite_data_type_cannot_contain_tuple( + data_type: impl Display, span: Span -) -> Self

source

pub fn function_cannot_take_tuple_as_input(span: Span) -> Self

source

pub fn finalize_cannot_take_tuple_as_input(span: Span) -> Self

source

pub fn nested_tuple_expression(span: Span) -> Self

source

pub fn finalize_statement_cannot_contain_tuples(span: Span) -> Self

source

pub fn expression_statement_must_be_function_call(span: Span) -> Self

source

pub fn lhs_tuple_element_must_be_an_identifier(span: Span) -> Self

source

pub fn lhs_must_be_identifier_or_tuple(span: Span) -> Self

source

pub fn unit_expression_only_in_return_statements(span: Span) -> Self

source

pub fn function_cannot_output_record(span: Span) -> Self

source

pub fn cyclic_struct_dependency(path: Vec<impl Display>) -> Self

source

pub fn cyclic_function_dependency(path: Vec<impl Display>) -> Self

source

pub fn struct_cannot_have_member_mode(span: Span) -> Self

source

pub fn cannot_call_external_inline_function(span: Span) -> Self

source

pub fn finalize_cannot_take_record_as_input(span: Span) -> Self

source

pub fn finalize_cannot_output_record(span: Span) -> Self

source

pub fn finalize_cannot_return_value(span: Span) -> Self

source

pub fn too_many_mappings(max: impl Display, span: Span) -> Self

source

pub fn invalid_associated_constant(expr: impl Display, span: Span) -> Self

A call to an invalid associated constant is made e.g., bool::MAX

+) -> Self
source

pub fn function_cannot_take_tuple_as_input(span: Span) -> Self

source

pub fn finalize_cannot_take_tuple_as_input(span: Span) -> Self

source

pub fn nested_tuple_expression(span: Span) -> Self

source

pub fn finalize_statement_cannot_contain_tuples(span: Span) -> Self

source

pub fn expression_statement_must_be_function_call(span: Span) -> Self

source

pub fn lhs_tuple_element_must_be_an_identifier(span: Span) -> Self

source

pub fn lhs_must_be_identifier_or_tuple(span: Span) -> Self

source

pub fn unit_expression_only_in_return_statements(span: Span) -> Self

source

pub fn function_cannot_output_record(span: Span) -> Self

source

pub fn cyclic_struct_dependency(path: Vec<impl Display>) -> Self

source

pub fn cyclic_function_dependency(path: Vec<impl Display>) -> Self

source

pub fn struct_cannot_have_member_mode(span: Span) -> Self

source

pub fn cannot_call_external_inline_function(span: Span) -> Self

source

pub fn finalize_cannot_take_record_as_input(span: Span) -> Self

source

pub fn finalize_cannot_output_record(span: Span) -> Self

source

pub fn finalize_cannot_return_value(span: Span) -> Self

source

pub fn too_many_mappings(max: impl Display, span: Span) -> Self

source

pub fn invalid_associated_constant(expr: impl Display, span: Span) -> Self

A call to an invalid associated constant is made e.g., bool::MAX

source

pub fn invalid_core_constant( - type_: impl Display, - constant: impl Display, + type_: impl Display, + constant: impl Display, span: Span ) -> Self

For when an invalid core constant is called.

source

pub fn invalid_block_access(span: Span) -> Self

For when an invalid field of block is called.

source

pub fn invalid_operation_inside_finalize( - operation: impl Display, + operation: impl Display, span: Span ) -> Self

source

pub fn operation_must_be_in_finalize_block(span: Span) -> Self

source

pub fn loop_range_decreasing(span: Span) -> Self

source

pub fn loop_bound_type_mismatch(span: Span) -> Self

source

pub fn const_declaration_must_be_literal_or_tuple_of_literals( span: Span ) -> Self

source

pub fn loop_bound_must_be_literal_or_const(span: Span) -> Self

source

pub fn incorrect_num_tuple_elements( - identifiers: impl Display, - types: impl Display, + identifiers: impl Display, + types: impl Display, span: Span ) -> Self

source

pub fn const_declaration_can_only_have_one_binding(span: Span) -> Self

source

pub fn array_empty(span: Span) -> Self

source

pub fn array_too_large( - size: impl Display, - max: impl Display, + size: impl Display, + max: impl Display, span: Span -) -> Self

source

pub fn array_element_cannot_be_tuple(span: Span) -> Self

source

pub fn array_element_cannot_be_record(span: Span) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for TypeCheckerError

source§

fn clone(&self) -> TypeCheckerError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TypeCheckerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TypeCheckerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for TypeCheckerError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for TypeCheckerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for TypeCheckerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<TypeCheckerError> for LeoError

source§

fn from(source: TypeCheckerError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for TypeCheckerError

Implements the trait for LeoError Codes.

-
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 +) -> Self
source

pub fn array_element_cannot_be_tuple(span: Span) -> Self

source

pub fn array_element_cannot_be_record(span: Span) -> Self

source

pub fn num_exit_codes() -> i32

Trait Implementations§

source§

impl Clone for TypeCheckerError

source§

fn clone(&self) -> TypeCheckerError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TypeCheckerError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TypeCheckerError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for TypeCheckerError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Backtraced> for TypeCheckerError

source§

fn from(source: Backtraced) -> Self

Converts to this type from the input type.
source§

impl From<Formatted> for TypeCheckerError

source§

fn from(source: Formatted) -> Self

Converts to this type from the input type.
source§

impl From<TypeCheckerError> for LeoError

source§

fn from(source: TypeCheckerError) -> Self

Converts to this type from the input type.
source§

impl LeoMessageCode for TypeCheckerError

Implements the trait for LeoError Codes.

+
source§

fn exit_code(&self) -> i32

Returns the error’s exit code for the program.
source§

fn error_code(&self) -> String

Returns the prefixed error identifier.
source§

fn warning_code(&self) -> String

Returns the prefixed warning identifier.
source§

fn code_mask() -> i32

Returns the messages’s exit code mask, as to avoid conflicts.
source§

fn message_type() -> String

Returns the message’s code type for the program.
source§

fn is_error() -> bool

Returns if the message is an error or warning.
source§

fn code_identifier() -> i8

The LeoErrorCode which has a default code identifier of 037 (Leo upsidedown and backwards). This is to make the exit codes -unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+unique to Leo itself.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_errors/errors/type_checker/type_checker_error/index.html b/leo_errors/errors/type_checker/type_checker_error/index.html index be739fbdb8..99d11da5b0 100644 --- a/leo_errors/errors/type_checker/type_checker_error/index.html +++ b/leo_errors/errors/type_checker/type_checker_error/index.html @@ -1,2 +1,2 @@ -leo_errors::errors::type_checker::type_checker_error - Rust
Expand description

This module contains the Input error definitions.

+leo_errors::errors::type_checker::type_checker_error - Rust
Expand description

This module contains the Input error definitions.

Enums

  • InputError enum that represents all the errors for the inputs part of leo-ast crate.
\ No newline at end of file diff --git a/leo_errors/index.html b/leo_errors/index.html index 2a607c1bff..00ca857133 100644 --- a/leo_errors/index.html +++ b/leo_errors/index.html @@ -1,4 +1,5 @@ -leo_errors - Rust

Crate leo_errors

source ·
Expand description

leo-errors

+leo_errors - Rust

Crate leo_errors

source ·
Expand description

leo-errors

Crates.io Authors License

diff --git a/leo_errors/macro.create_messages.html b/leo_errors/macro.create_messages.html index 6c2d712cfc..34c7cc0717 100644 --- a/leo_errors/macro.create_messages.html +++ b/leo_errors/macro.create_messages.html @@ -1,4 +1,4 @@ -create_messages in leo_errors - Rust
macro_rules! create_messages {
+create_messages in leo_errors - Rust
macro_rules! create_messages {
     (@step $code:expr,) => { ... };
     ($(#[$error_type_docs:meta])* $type_:ident, code_mask: $code_mask:expr, code_prefix: $code_prefix:expr, $($(#[$docs:meta])* @$formatted_or_backtraced_list:ident $names:ident { args: ($($arg_names:ident: $arg_types:ty$(,)?)*), msg: $messages:expr, help: $helps:expr, })*) => { ... };
     (@step $code:expr, ($(#[$error_func_docs:meta])* formatted, $name:ident($($arg_names:ident: $arg_types:ty,)*), $message:expr, $help:expr), $(($(#[$docs:meta])* $formatted_or_backtraced_tail:ident, $names:ident($($tail_arg_names:ident: $tail_arg_types:ty,)*), $messages:expr, $helps:expr),)*) => { ... };
diff --git a/leo_lang/all.html b/leo_lang/all.html
index 168e563064..44895106ca 100644
--- a/leo_lang/all.html
+++ b/leo_lang/all.html
@@ -1 +1 @@
-List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/leo_lang/cli/account/enum.Account.html b/leo_lang/cli/account/enum.Account.html index 0dfe300776..e1cd5a8434 100644 --- a/leo_lang/cli/account/enum.Account.html +++ b/leo_lang/cli/account/enum.Account.html @@ -1,64 +1,64 @@ -Account in leo_lang::cli::account - Rust
pub enum Account {
+Account in leo_lang::cli::account - Rust
pub enum Account {
     New {
-        seed: Option<u64>,
-        write: bool,
+        seed: Option<u64>,
+        write: bool,
     },
     Import {
         private_key: PrivateKey<Testnet3>,
-        write: bool,
+        write: bool,
     },
 }
Expand description

Commands to manage Aleo accounts.

-

Variants§

§

New

Fields

§seed: Option<u64>

Seed the RNG with a numeric value.

-
§write: bool

Write the private key to the .env file.

+

Variants§

§

New

Fields

§seed: Option<u64>

Seed the RNG with a numeric value.

+
§write: bool

Write the private key to the .env file.

Generates a new Aleo account

§

Import

Fields

§private_key: PrivateKey<Testnet3>

Private key plaintext

-
§write: bool

Write the private key to the .env file.

+
§write: bool

Write the private key to the .env file.

Derive an Aleo account from a private key.

-

Trait Implementations§

source§

impl Command for Account

§

type Input = ()

If the current command requires running another command beforehand +

Trait Implementations§

source§

impl Command for Account

§

type Input = ()

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn prelude(&self, _: Context) -> Result<Self::Input>where - Self: Sized,

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, ctx: Context, _: Self::Input) -> Result<Self::Output>where - Self: Sized,

Runs the main operation of this command. This function is run within + Self: Sized,
Runs the prelude and returns the Input of the current command.
source§

fn apply(self, ctx: Context, _: Self::Input) -> Result<Self::Output>where + Self: Sized,

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Account

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Account

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Account

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Account

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Account

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Account

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Account

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.
source§

impl Subcommand for Account

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Account

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.
source§

impl Subcommand for Account

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/account/index.html b/leo_lang/cli/account/index.html index 55463a52ca..5f03728acd 100644 --- a/leo_lang/cli/account/index.html +++ b/leo_lang/cli/account/index.html @@ -1 +1 @@ -leo_lang::cli::account - Rust

Module leo_lang::cli::account

source ·

Enums

  • Commands to manage Aleo accounts.
\ No newline at end of file +leo_lang::cli::account - Rust

Module leo_lang::cli::account

source ·

Enums

  • Commands to manage Aleo accounts.
\ No newline at end of file diff --git a/leo_lang/cli/build/index.html b/leo_lang/cli/build/index.html index 17edf51a0b..7b3f597ef1 100644 --- a/leo_lang/cli/build/index.html +++ b/leo_lang/cli/build/index.html @@ -1 +1 @@ -leo_lang::cli::build - Rust

Module leo_lang::cli::build

source ·

Structs

  • Compile and build program command.
\ No newline at end of file +leo_lang::cli::build - Rust

Module leo_lang::cli::build

source ·

Structs

  • Compile and build program command.
\ No newline at end of file diff --git a/leo_lang/cli/build/struct.Build.html b/leo_lang/cli/build/struct.Build.html index 58e7640b48..707a318132 100644 --- a/leo_lang/cli/build/struct.Build.html +++ b/leo_lang/cli/build/struct.Build.html @@ -1,49 +1,49 @@ -Build in leo_lang::cli::build - Rust

Struct leo_lang::cli::build::Build

source ·
pub struct Build {
+Build in leo_lang::cli::build - Rust

Struct leo_lang::cli::build::Build

source ·
pub struct Build {
     pub(crate) options: BuildOptions,
 }
Expand description

Compile and build program command.

-

Fields§

§options: BuildOptions

Trait Implementations§

source§

impl Args for Build

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Build

§

type Input = ()

If the current command requires running another command beforehand +

Fields§

§options: BuildOptions

Trait Implementations§

source§

impl Args for Build

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Build

§

type Input = ()

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = (Option<InputAst>, IndexMap<Symbol, Struct, RandomState>)

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = (Option<InputAst>, IndexMap<Symbol, Struct>)

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, _: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, _: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Build

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Build

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Build

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Build

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Build

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Build

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Build

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Build

§

impl Send for Build

§

impl Sync for Build

§

impl Unpin for Build

§

impl UnwindSafe for Build

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Build

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Build

§

impl Send for Build

§

impl Sync for Build

§

impl Unpin for Build

§

impl UnwindSafe for Build

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/clean/index.html b/leo_lang/cli/clean/index.html index 430364184d..ca6b4ce72d 100644 --- a/leo_lang/cli/clean/index.html +++ b/leo_lang/cli/clean/index.html @@ -1 +1 @@ -leo_lang::cli::clean - Rust

Module leo_lang::cli::clean

source ·

Structs

  • Clean outputs folder command
\ No newline at end of file +leo_lang::cli::clean - Rust

Module leo_lang::cli::clean

source ·

Structs

  • Clean outputs folder command
\ No newline at end of file diff --git a/leo_lang/cli/clean/struct.Clean.html b/leo_lang/cli/clean/struct.Clean.html index cc9e13edb9..11b21e9225 100644 --- a/leo_lang/cli/clean/struct.Clean.html +++ b/leo_lang/cli/clean/struct.Clean.html @@ -1,47 +1,47 @@ -Clean in leo_lang::cli::clean - Rust

Struct leo_lang::cli::clean::Clean

source ·
pub struct Clean {}
Expand description

Clean outputs folder command

-

Trait Implementations§

source§

impl Args for Clean

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Clean

§

type Input = ()

If the current command requires running another command beforehand +Clean in leo_lang::cli::clean - Rust

Struct leo_lang::cli::clean::Clean

source ·
pub struct Clean {}
Expand description

Clean outputs folder command

+

Trait Implementations§

source§

impl Args for Clean

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Clean

§

type Input = ()

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, _: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, _: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Clean

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Clean

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Clean

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Clean

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Clean

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Clean

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Clean

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Clean

§

impl Send for Clean

§

impl Sync for Clean

§

impl Unpin for Clean

§

impl UnwindSafe for Clean

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Clean

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Clean

§

impl Send for Clean

§

impl Sync for Clean

§

impl Unpin for Clean

§

impl UnwindSafe for Clean

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/cli/enum.Commands.html b/leo_lang/cli/cli/enum.Commands.html index fca22bd64e..7617166bad 100644 --- a/leo_lang/cli/cli/enum.Commands.html +++ b/leo_lang/cli/cli/enum.Commands.html @@ -1,4 +1,4 @@ -Commands in leo_lang::cli::cli - Rust

Enum leo_lang::cli::cli::Commands

source ·
enum Commands {
+Commands in leo_lang::cli::cli - Rust

Enum leo_lang::cli::cli::Commands

source ·
enum Commands {
     Account {
         command: Account,
     },
@@ -24,36 +24,36 @@
         command: Update,
     },
 }
Expand description

Leo compiler and package manager

-

Variants§

§

Account

Fields

§command: Account
§

New

Fields

§command: New
§

Example

Fields

§command: Example
§

Build

Fields

§command: Build
§

Clean

Fields

§command: Clean
§

Run

Fields

§command: Run
§

Execute

Fields

§command: Execute
§

Update

Fields

§command: Update

Trait Implementations§

source§

impl CommandFactory for Commands

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Commands

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Commands

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +

Variants§

§

Account

Fields

§command: Account
§

New

Fields

§command: New
§

Example

Fields

§command: Example
§

Build

Fields

§command: Build
§

Clean

Fields

§command: Clean
§

Run

Fields

§command: Run
§

Execute

Fields

§command: Execute
§

Update

Fields

§command: Update

Trait Implementations§

source§

impl CommandFactory for Commands

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Commands

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Commands

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Commands

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.
source§

impl Subcommand for Commands

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Commands

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.
source§

impl Subcommand for Commands

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/cli/fn.handle_error.html b/leo_lang/cli/cli/fn.handle_error.html index c41a533c99..f1806e1968 100644 --- a/leo_lang/cli/cli/fn.handle_error.html +++ b/leo_lang/cli/cli/fn.handle_error.html @@ -1 +1 @@ -handle_error in leo_lang::cli::cli - Rust

Function leo_lang::cli::cli::handle_error

source ·
pub fn handle_error<T>(res: Result<T>) -> T
\ No newline at end of file +handle_error in leo_lang::cli::cli - Rust

Function leo_lang::cli::cli::handle_error

source ·
pub fn handle_error<T>(res: Result<T>) -> T
\ No newline at end of file diff --git a/leo_lang/cli/cli/fn.run_with_args.html b/leo_lang/cli/cli/fn.run_with_args.html index d512ad7180..10b644aef6 100644 --- a/leo_lang/cli/cli/fn.run_with_args.html +++ b/leo_lang/cli/cli/fn.run_with_args.html @@ -1,2 +1,2 @@ -run_with_args in leo_lang::cli::cli - Rust

Function leo_lang::cli::cli::run_with_args

source ·
pub fn run_with_args(cli: CLI) -> Result<()>
Expand description

Run command with custom build arguments.

+run_with_args in leo_lang::cli::cli - Rust

Function leo_lang::cli::cli::run_with_args

source ·
pub fn run_with_args(cli: CLI) -> Result<()>
Expand description

Run command with custom build arguments.

\ No newline at end of file diff --git a/leo_lang/cli/cli/index.html b/leo_lang/cli/cli/index.html index bbccfb0948..bd71587606 100644 --- a/leo_lang/cli/cli/index.html +++ b/leo_lang/cli/cli/index.html @@ -1 +1 @@ -leo_lang::cli::cli - Rust

Module leo_lang::cli::cli

source ·

Structs

  • CLI Arguments entry point - includes global parameters and subcommands

Enums

  • Commands 🔒
    Leo compiler and package manager

Functions

\ No newline at end of file +leo_lang::cli::cli - Rust

Module leo_lang::cli::cli

source ·

Structs

  • CLI Arguments entry point - includes global parameters and subcommands

Enums

  • Commands 🔒
    Leo compiler and package manager

Functions

\ No newline at end of file diff --git a/leo_lang/cli/cli/struct.CLI.html b/leo_lang/cli/cli/struct.CLI.html index 9ef0fad38d..fe591641af 100644 --- a/leo_lang/cli/cli/struct.CLI.html +++ b/leo_lang/cli/cli/struct.CLI.html @@ -1,39 +1,39 @@ -CLI in leo_lang::cli::cli - Rust

Struct leo_lang::cli::cli::CLI

source ·
pub struct CLI {
-    debug: bool,
-    quiet: bool,
+CLI in leo_lang::cli::cli - Rust

Struct leo_lang::cli::cli::CLI

source ·
pub struct CLI {
+    debug: bool,
+    quiet: bool,
     command: Commands,
-    path: Option<PathBuf>,
+    path: Option<PathBuf>,
 }
Expand description

CLI Arguments entry point - includes global parameters and subcommands

-

Fields§

§debug: bool§quiet: bool§command: Commands§path: Option<PathBuf>

Trait Implementations§

source§

impl Args for CLI

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl CommandFactory for CLI

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for CLI

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for CLI

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +

Fields§

§debug: bool§quiet: bool§command: Commands§path: Option<PathBuf>

Trait Implementations§

source§

impl Args for CLI

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl CommandFactory for CLI

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for CLI

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for CLI

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for CLI

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for CLI

§

impl Send for CLI

§

impl Sync for CLI

§

impl Unpin for CLI

§

impl UnwindSafe for CLI

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for CLI

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for CLI

§

impl Send for CLI

§

impl Sync for CLI

§

impl Unpin for CLI

§

impl UnwindSafe for CLI

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/commands/account/enum.Account.html b/leo_lang/cli/commands/account/enum.Account.html index 4118a0e74e..fb5f2a6137 100644 --- a/leo_lang/cli/commands/account/enum.Account.html +++ b/leo_lang/cli/commands/account/enum.Account.html @@ -1,64 +1,64 @@ -Account in leo_lang::cli::commands::account - Rust
pub enum Account {
+Account in leo_lang::cli::commands::account - Rust
pub enum Account {
     New {
-        seed: Option<u64>,
-        write: bool,
+        seed: Option<u64>,
+        write: bool,
     },
     Import {
         private_key: PrivateKey<Testnet3>,
-        write: bool,
+        write: bool,
     },
 }
Expand description

Commands to manage Aleo accounts.

-

Variants§

§

New

Fields

§seed: Option<u64>

Seed the RNG with a numeric value.

-
§write: bool

Write the private key to the .env file.

+

Variants§

§

New

Fields

§seed: Option<u64>

Seed the RNG with a numeric value.

+
§write: bool

Write the private key to the .env file.

Generates a new Aleo account

§

Import

Fields

§private_key: PrivateKey<Testnet3>

Private key plaintext

-
§write: bool

Write the private key to the .env file.

+
§write: bool

Write the private key to the .env file.

Derive an Aleo account from a private key.

-

Trait Implementations§

source§

impl Command for Account

§

type Input = ()

If the current command requires running another command beforehand +

Trait Implementations§

source§

impl Command for Account

§

type Input = ()

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn prelude(&self, _: Context) -> Result<Self::Input>where - Self: Sized,

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, ctx: Context, _: Self::Input) -> Result<Self::Output>where - Self: Sized,

Runs the main operation of this command. This function is run within + Self: Sized,
Runs the prelude and returns the Input of the current command.
source§

fn apply(self, ctx: Context, _: Self::Input) -> Result<Self::Output>where + Self: Sized,

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Account

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Account

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Account

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Account

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Account

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Account

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Account

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.
source§

impl Subcommand for Account

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Account

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.
source§

impl Subcommand for Account

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/commands/account/fn.print_keys.html b/leo_lang/cli/commands/account/fn.print_keys.html index 34bf29a030..1000e2fe42 100644 --- a/leo_lang/cli/commands/account/fn.print_keys.html +++ b/leo_lang/cli/commands/account/fn.print_keys.html @@ -1 +1 @@ -print_keys in leo_lang::cli::commands::account - Rust
fn print_keys(private_key: PrivateKey<Testnet3>) -> Result<()>
\ No newline at end of file +print_keys in leo_lang::cli::commands::account - Rust
fn print_keys(private_key: PrivateKey<Testnet3>) -> Result<()>
\ No newline at end of file diff --git a/leo_lang/cli/commands/account/fn.write_to_env_file.html b/leo_lang/cli/commands/account/fn.write_to_env_file.html index 70a0d00cd7..ca059d77e4 100644 --- a/leo_lang/cli/commands/account/fn.write_to_env_file.html +++ b/leo_lang/cli/commands/account/fn.write_to_env_file.html @@ -1,4 +1,4 @@ -write_to_env_file in leo_lang::cli::commands::account - Rust
fn write_to_env_file(
+write_to_env_file in leo_lang::cli::commands::account - Rust
fn write_to_env_file(
     private_key: PrivateKey<Testnet3>,
     ctx: &Context
-) -> Result<()>
\ No newline at end of file +) -> Result<()>
\ No newline at end of file diff --git a/leo_lang/cli/commands/account/index.html b/leo_lang/cli/commands/account/index.html index 9cf6ca750c..7efe3eacc5 100644 --- a/leo_lang/cli/commands/account/index.html +++ b/leo_lang/cli/commands/account/index.html @@ -1 +1 @@ -leo_lang::cli::commands::account - Rust

Module leo_lang::cli::commands::account

source ·

Enums

  • Commands to manage Aleo accounts.

Functions

\ No newline at end of file +leo_lang::cli::commands::account - Rust

Module leo_lang::cli::commands::account

source ·

Enums

  • Commands to manage Aleo accounts.

Functions

\ No newline at end of file diff --git a/leo_lang/cli/commands/build/fn.compile_leo_file.html b/leo_lang/cli/commands/build/fn.compile_leo_file.html index d0a9bd60ce..19ca06e333 100644 --- a/leo_lang/cli/commands/build/fn.compile_leo_file.html +++ b/leo_lang/cli/commands/build/fn.compile_leo_file.html @@ -1,11 +1,11 @@ -compile_leo_file in leo_lang::cli::commands::build - Rust
fn compile_leo_file(
-    file_path: PathBuf,
-    _package_path: &Path,
+compile_leo_file in leo_lang::cli::commands::build - Rust
fn compile_leo_file(
+    file_path: PathBuf,
+    _package_path: &Path,
     program_id: &ProgramID<Testnet3>,
-    outputs: &Path,
-    build: &Path,
+    outputs: &Path,
+    build: &Path,
     handler: &Handler,
     options: BuildOptions,
-    is_import: bool
+    is_import: bool
 ) -> Result<IndexMap<Symbol, Struct>>
Expand description

Compiles a Leo file in the src/ directory.

\ No newline at end of file diff --git a/leo_lang/cli/commands/build/index.html b/leo_lang/cli/commands/build/index.html index 80570185a3..a40c593f6b 100644 --- a/leo_lang/cli/commands/build/index.html +++ b/leo_lang/cli/commands/build/index.html @@ -1 +1 @@ -leo_lang::cli::commands::build - Rust

Module leo_lang::cli::commands::build

source ·

Structs

  • Compile and build program command.

Functions

\ No newline at end of file +leo_lang::cli::commands::build - Rust

Module leo_lang::cli::commands::build

source ·

Structs

  • Compile and build program command.

Functions

\ No newline at end of file diff --git a/leo_lang/cli/commands/build/struct.Build.html b/leo_lang/cli/commands/build/struct.Build.html index 7040ac0490..ba3b410156 100644 --- a/leo_lang/cli/commands/build/struct.Build.html +++ b/leo_lang/cli/commands/build/struct.Build.html @@ -1,49 +1,49 @@ -Build in leo_lang::cli::commands::build - Rust

Struct leo_lang::cli::commands::build::Build

source ·
pub struct Build {
+Build in leo_lang::cli::commands::build - Rust

Struct leo_lang::cli::commands::build::Build

source ·
pub struct Build {
     pub(crate) options: BuildOptions,
 }
Expand description

Compile and build program command.

-

Fields§

§options: BuildOptions

Trait Implementations§

source§

impl Args for Build

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Build

§

type Input = ()

If the current command requires running another command beforehand +

Fields§

§options: BuildOptions

Trait Implementations§

source§

impl Args for Build

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Build

§

type Input = ()

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = (Option<InputAst>, IndexMap<Symbol, Struct, RandomState>)

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = (Option<InputAst>, IndexMap<Symbol, Struct>)

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, _: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, _: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Build

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Build

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Build

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Build

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Build

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Build

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Build

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Build

§

impl Send for Build

§

impl Sync for Build

§

impl Unpin for Build

§

impl UnwindSafe for Build

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Build

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Build

§

impl Send for Build

§

impl Sync for Build

§

impl Unpin for Build

§

impl UnwindSafe for Build

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/commands/clean/index.html b/leo_lang/cli/commands/clean/index.html index ca204db6c0..8c98c66d43 100644 --- a/leo_lang/cli/commands/clean/index.html +++ b/leo_lang/cli/commands/clean/index.html @@ -1 +1 @@ -leo_lang::cli::commands::clean - Rust

Module leo_lang::cli::commands::clean

source ·

Structs

  • Clean outputs folder command
\ No newline at end of file +leo_lang::cli::commands::clean - Rust

Module leo_lang::cli::commands::clean

source ·

Structs

  • Clean outputs folder command
\ No newline at end of file diff --git a/leo_lang/cli/commands/clean/struct.Clean.html b/leo_lang/cli/commands/clean/struct.Clean.html index e74e6cf7c2..b2622975ce 100644 --- a/leo_lang/cli/commands/clean/struct.Clean.html +++ b/leo_lang/cli/commands/clean/struct.Clean.html @@ -1,47 +1,47 @@ -Clean in leo_lang::cli::commands::clean - Rust

Struct leo_lang::cli::commands::clean::Clean

source ·
pub struct Clean {}
Expand description

Clean outputs folder command

-

Trait Implementations§

source§

impl Args for Clean

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Clean

§

type Input = ()

If the current command requires running another command beforehand +Clean in leo_lang::cli::commands::clean - Rust

Struct leo_lang::cli::commands::clean::Clean

source ·
pub struct Clean {}
Expand description

Clean outputs folder command

+

Trait Implementations§

source§

impl Args for Clean

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Clean

§

type Input = ()

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, _: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, _: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Clean

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Clean

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Clean

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Clean

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Clean

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Clean

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Clean

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Clean

§

impl Send for Clean

§

impl Sync for Clean

§

impl Unpin for Clean

§

impl UnwindSafe for Clean

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Clean

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Clean

§

impl Send for Clean

§

impl Sync for Clean

§

impl Unpin for Clean

§

impl UnwindSafe for Clean

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/commands/example/enum.Example.html b/leo_lang/cli/commands/example/enum.Example.html index 69e7fd88bb..c175775fbf 100644 --- a/leo_lang/cli/commands/example/enum.Example.html +++ b/leo_lang/cli/commands/example/enum.Example.html @@ -1,52 +1,52 @@ -Example in leo_lang::cli::commands::example - Rust
pub enum Example {
+Example in leo_lang::cli::commands::example - Rust
pub enum Example {
     Lottery,
     TicTacToe,
     Token,
 }
Expand description

The example programs that can be generated.

-

Variants§

§

Lottery

§

TicTacToe

§

Token

Implementations§

Trait Implementations§

source§

impl Command for Example

§

type Input = <New as Command>::Output

If the current command requires running another command beforehand +

Variants§

§

Lottery

§

TicTacToe

§

Token

Implementations§

Trait Implementations§

source§

impl Command for Example

§

type Input = <New as Command>::Output

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn prelude(&self, context: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, _: Self::Input) -> Result<Self::Output>where - Self: Sized,

Runs the main operation of this command. This function is run within + Self: Sized,
Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Example

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Example

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Example

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Example

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Example

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Example

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Example

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.
source§

impl Subcommand for Example

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Example

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.
source§

impl Subcommand for Example

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/commands/example/index.html b/leo_lang/cli/commands/example/index.html index c0ed88b477..d1a0ca76ba 100644 --- a/leo_lang/cli/commands/example/index.html +++ b/leo_lang/cli/commands/example/index.html @@ -1 +1 @@ -leo_lang::cli::commands::example - Rust

Module leo_lang::cli::commands::example

source ·

Enums

  • The example programs that can be generated.
\ No newline at end of file +leo_lang::cli::commands::example - Rust

Module leo_lang::cli::commands::example

source ·

Enums

  • The example programs that can be generated.
\ No newline at end of file diff --git a/leo_lang/cli/commands/execute/index.html b/leo_lang/cli/commands/execute/index.html index 5f951233e4..53c0ffc38b 100644 --- a/leo_lang/cli/commands/execute/index.html +++ b/leo_lang/cli/commands/execute/index.html @@ -1 +1 @@ -leo_lang::cli::commands::execute - Rust

Module leo_lang::cli::commands::execute

source ·

Structs

  • Build, Prove and Run Leo program with inputs
\ No newline at end of file +leo_lang::cli::commands::execute - Rust

Module leo_lang::cli::commands::execute

source ·

Structs

  • Build, Prove and Run Leo program with inputs
\ No newline at end of file diff --git a/leo_lang/cli/commands/execute/struct.Execute.html b/leo_lang/cli/commands/execute/struct.Execute.html index 97ba593359..20869c34bb 100644 --- a/leo_lang/cli/commands/execute/struct.Execute.html +++ b/leo_lang/cli/commands/execute/struct.Execute.html @@ -1,52 +1,52 @@ -Execute in leo_lang::cli::commands::execute - Rust
pub struct Execute {
-    name: String,
-    inputs: Vec<String>,
-    endpoint: String,
+Execute in leo_lang::cli::commands::execute - Rust
pub struct Execute {
+    name: String,
+    inputs: Vec<String>,
+    endpoint: String,
     pub(crate) compiler_options: BuildOptions,
 }
Expand description

Build, Prove and Run Leo program with inputs

-

Fields§

§name: String§inputs: Vec<String>§endpoint: String§compiler_options: BuildOptions

Trait Implementations§

source§

impl Args for Execute

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Execute

§

type Input = <Build as Command>::Output

If the current command requires running another command beforehand +

Fields§

§name: String§inputs: Vec<String>§endpoint: String§compiler_options: BuildOptions

Trait Implementations§

source§

impl Args for Execute

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Execute

§

type Input = <Build as Command>::Output

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, context: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, input: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Execute

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Execute

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Execute

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Execute

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Execute

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Execute

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Execute

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Execute

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/commands/index.html b/leo_lang/cli/commands/index.html index 0bd6a57ca8..bf960dfb64 100644 --- a/leo_lang/cli/commands/index.html +++ b/leo_lang/cli/commands/index.html @@ -1,2 +1,2 @@ -leo_lang::cli::commands - Rust

Module leo_lang::cli::commands

source ·

Re-exports

Modules

Structs

Assign values from ArgMatches to self.
source§

impl Parser for New

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for New

§

impl Send for New

§

impl Sync for New

§

impl Unpin for New

§

impl UnwindSafe for New

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/commands/run/index.html b/leo_lang/cli/commands/run/index.html index 680a255d79..67968f7f44 100644 --- a/leo_lang/cli/commands/run/index.html +++ b/leo_lang/cli/commands/run/index.html @@ -1 +1 @@ -leo_lang::cli::commands::run - Rust

Module leo_lang::cli::commands::run

source ·

Structs

  • Build, Prove and Run Leo program with inputs
\ No newline at end of file +leo_lang::cli::commands::run - Rust

Module leo_lang::cli::commands::run

source ·

Structs

  • Build, Prove and Run Leo program with inputs
\ No newline at end of file diff --git a/leo_lang/cli/commands/run/struct.Run.html b/leo_lang/cli/commands/run/struct.Run.html index 2eb838d7de..a0375a5047 100644 --- a/leo_lang/cli/commands/run/struct.Run.html +++ b/leo_lang/cli/commands/run/struct.Run.html @@ -1,51 +1,51 @@ -Run in leo_lang::cli::commands::run - Rust

Struct leo_lang::cli::commands::run::Run

source ·
pub struct Run {
-    name: String,
-    inputs: Vec<String>,
+Run in leo_lang::cli::commands::run - Rust

Struct leo_lang::cli::commands::run::Run

source ·
pub struct Run {
+    name: String,
+    inputs: Vec<String>,
     pub(crate) compiler_options: BuildOptions,
 }
Expand description

Build, Prove and Run Leo program with inputs

-

Fields§

§name: String§inputs: Vec<String>§compiler_options: BuildOptions

Trait Implementations§

source§

impl Args for Run

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Run

§

type Input = <Build as Command>::Output

If the current command requires running another command beforehand +

Fields§

§name: String§inputs: Vec<String>§compiler_options: BuildOptions

Trait Implementations§

source§

impl Args for Run

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Run

§

type Input = <Build as Command>::Output

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, context: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, input: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Run

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Run

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Run

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Run

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Run

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Run

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Run

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Run

§

impl Send for Run

§

impl Sync for Run

§

impl Unpin for Run

§

impl UnwindSafe for Run

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Run

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Run

§

impl Send for Run

§

impl Sync for Run

§

impl Unpin for Run

§

impl UnwindSafe for Run

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/commands/struct.BuildOptions.html b/leo_lang/cli/commands/struct.BuildOptions.html index 35a3f8e32e..4497a2a5d8 100644 --- a/leo_lang/cli/commands/struct.BuildOptions.html +++ b/leo_lang/cli/commands/struct.BuildOptions.html @@ -1,53 +1,53 @@ -BuildOptions in leo_lang::cli::commands - Rust
pub struct BuildOptions {
Show 16 fields - pub offline: bool, - pub enable_symbol_table_spans: bool, - pub enable_initial_symbol_table_snapshot: bool, - pub enable_type_checked_symbol_table_snapshot: bool, - pub enable_unrolled_symbol_table_snapshot: bool, - pub enable_ast_spans: bool, - pub enable_dce: bool, - pub enable_all_ast_snapshots: bool, - pub enable_initial_input_ast_snapshot: bool, - pub enable_initial_ast_snapshot: bool, - pub enable_unrolled_ast_snapshot: bool, - pub enable_ssa_ast_snapshot: bool, - pub enable_flattened_ast_snapshot: bool, - pub enable_destructured_ast_snapshot: bool, - pub enable_inlined_ast_snapshot: bool, - pub enable_dce_ast_snapshot: bool, +BuildOptions in leo_lang::cli::commands - Rust
pub struct BuildOptions {
Show 16 fields + pub offline: bool, + pub enable_symbol_table_spans: bool, + pub enable_initial_symbol_table_snapshot: bool, + pub enable_type_checked_symbol_table_snapshot: bool, + pub enable_unrolled_symbol_table_snapshot: bool, + pub enable_ast_spans: bool, + pub enable_dce: bool, + pub enable_all_ast_snapshots: bool, + pub enable_initial_input_ast_snapshot: bool, + pub enable_initial_ast_snapshot: bool, + pub enable_unrolled_ast_snapshot: bool, + pub enable_ssa_ast_snapshot: bool, + pub enable_flattened_ast_snapshot: bool, + pub enable_destructured_ast_snapshot: bool, + pub enable_inlined_ast_snapshot: bool, + pub enable_dce_ast_snapshot: bool,
}
Expand description

Compiler Options wrapper for Build command. Also used by other commands which require Build command output as their input.

-

Fields§

§offline: bool§enable_symbol_table_spans: bool§enable_initial_symbol_table_snapshot: bool§enable_type_checked_symbol_table_snapshot: bool§enable_unrolled_symbol_table_snapshot: bool§enable_ast_spans: bool§enable_dce: bool§enable_all_ast_snapshots: bool§enable_initial_input_ast_snapshot: bool§enable_initial_ast_snapshot: bool§enable_unrolled_ast_snapshot: bool§enable_ssa_ast_snapshot: bool§enable_flattened_ast_snapshot: bool§enable_destructured_ast_snapshot: bool§enable_inlined_ast_snapshot: bool§enable_dce_ast_snapshot: bool

Trait Implementations§

source§

impl Args for BuildOptions

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Clone for BuildOptions

source§

fn clone(&self) -> BuildOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CommandFactory for BuildOptions

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for BuildOptions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BuildOptions

source§

fn default() -> BuildOptions

Returns the “default value” for a type. Read more
source§

impl From<BuildOptions> for CompilerOptions

source§

fn from(options: BuildOptions) -> Self

Converts to this type from the input type.
source§

impl FromArgMatches for BuildOptions

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +

Fields§

§offline: bool§enable_symbol_table_spans: bool§enable_initial_symbol_table_snapshot: bool§enable_type_checked_symbol_table_snapshot: bool§enable_unrolled_symbol_table_snapshot: bool§enable_ast_spans: bool§enable_dce: bool§enable_all_ast_snapshots: bool§enable_initial_input_ast_snapshot: bool§enable_initial_ast_snapshot: bool§enable_unrolled_ast_snapshot: bool§enable_ssa_ast_snapshot: bool§enable_flattened_ast_snapshot: bool§enable_destructured_ast_snapshot: bool§enable_inlined_ast_snapshot: bool§enable_dce_ast_snapshot: bool

Trait Implementations§

source§

impl Args for BuildOptions

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Clone for BuildOptions

source§

fn clone(&self) -> BuildOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CommandFactory for BuildOptions

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for BuildOptions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BuildOptions

source§

fn default() -> BuildOptions

Returns the “default value” for a type. Read more
source§

impl From<BuildOptions> for CompilerOptions

source§

fn from(options: BuildOptions) -> Self

Converts to this type from the input type.
source§

impl FromArgMatches for BuildOptions

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for BuildOptions

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for BuildOptions

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/commands/trait.Command.html b/leo_lang/cli/commands/trait.Command.html index b42787b3be..4522ce57a1 100644 --- a/leo_lang/cli/commands/trait.Command.html +++ b/leo_lang/cli/commands/trait.Command.html @@ -1,19 +1,19 @@ -Command in leo_lang::cli::commands - Rust
pub trait Command {
+Command in leo_lang::cli::commands - Rust
pub trait Command {
     type Input;
     type Output;
 
     // Required methods
     fn prelude(&self, context: Context) -> Result<Self::Input>
-       where Self: Sized;
+       where Self: Sized;
     fn apply(self, context: Context, input: Self::Input) -> Result<Self::Output>
-       where Self: Sized;
+       where Self: Sized;
 
     // Provided methods
     fn log_span(&self) -> Span { ... }
     fn execute(self, context: Context) -> Result<Self::Output>
-       where Self: Sized { ... }
-    fn try_execute(self, context: Context) -> Result<()>
-       where Self: Sized { ... }
+       where Self: Sized { ... }
+    fn try_execute(self, context: Context) -> Result<()>
+       where Self: Sized { ... }
 }
Expand description

Base trait for the Leo CLI, see methods and their documentation for details.

Required Associated Types§

source

type Input

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. @@ -22,19 +22,19 @@ command. If this command is not used as a prelude for another command, this field may be left empty.

Required Methods§

source

fn prelude(&self, context: Context) -> Result<Self::Input>where - Self: Sized,

Runs the prelude and returns the Input of the current command.

+ Self: Sized,

Runs the prelude and returns the Input of the current command.

source

fn apply(self, context: Context, input: Self::Input) -> Result<Self::Output>where - Self: Sized,

Runs the main operation of this command. This function is run within + Self: Sized,

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.

Provided Methods§

source

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.

source

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. + Self: Sized,

A wrapper around the apply method. This function sets up tracing, timing, and the context.

-
source

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a +

source

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific output possible. Errors however are all of the type Error

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/leo_lang/cli/commands/update/index.html b/leo_lang/cli/commands/update/index.html index 31252b7591..112843f2d4 100644 --- a/leo_lang/cli/commands/update/index.html +++ b/leo_lang/cli/commands/update/index.html @@ -1 +1 @@ -leo_lang::cli::commands::update - Rust

Module leo_lang::cli::commands::update

source ·

Structs

  • Update Leo to the latest version
\ No newline at end of file +leo_lang::cli::commands::update - Rust

Module leo_lang::cli::commands::update

source ·

Structs

  • Update Leo to the latest version
\ No newline at end of file diff --git a/leo_lang/cli/commands/update/struct.Update.html b/leo_lang/cli/commands/update/struct.Update.html index f86fe0687b..a8eb1861fc 100644 --- a/leo_lang/cli/commands/update/struct.Update.html +++ b/leo_lang/cli/commands/update/struct.Update.html @@ -1,53 +1,53 @@ -Update in leo_lang::cli::commands::update - Rust
pub struct Update {
-    list: bool,
-    quiet: bool,
+Update in leo_lang::cli::commands::update - Rust
pub struct Update {
+    list: bool,
+    quiet: bool,
 }
Expand description

Update Leo to the latest version

-

Fields§

§list: bool

Lists all available versions of Leo

-
§quiet: bool

Suppress outputs to terminal

-

Trait Implementations§

source§

impl Args for Update

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Update

§

type Input = ()

If the current command requires running another command beforehand +

Fields§

§list: bool

Lists all available versions of Leo

+
§quiet: bool

Suppress outputs to terminal

+

Trait Implementations§

source§

impl Args for Update

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Update

§

type Input = ()

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, _: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, _: Context, _: Self::Input) -> Result<Self::Output>where - Self: Sized,

Runs the main operation of this command. This function is run within + Self: Sized,
Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Update

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Update

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Update

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Update

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Update

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Update

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Update

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Update

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/constant.SNARKVM_COMMAND.html b/leo_lang/cli/constant.SNARKVM_COMMAND.html index 84b1653016..1f72dcf3e7 100644 --- a/leo_lang/cli/constant.SNARKVM_COMMAND.html +++ b/leo_lang/cli/constant.SNARKVM_COMMAND.html @@ -1 +1 @@ -SNARKVM_COMMAND in leo_lang::cli - Rust

Constant leo_lang::cli::SNARKVM_COMMAND

source ·
pub(crate) const SNARKVM_COMMAND: &str = "snarkvm";
\ No newline at end of file +SNARKVM_COMMAND in leo_lang::cli - Rust

Constant leo_lang::cli::SNARKVM_COMMAND

source ·
pub(crate) const SNARKVM_COMMAND: &str = "snarkvm";
\ No newline at end of file diff --git a/leo_lang/cli/context/index.html b/leo_lang/cli/context/index.html index d96833a97a..de8a9cb049 100644 --- a/leo_lang/cli/context/index.html +++ b/leo_lang/cli/context/index.html @@ -1,2 +1,2 @@ -leo_lang::cli::context - Rust

Module leo_lang::cli::context

source ·

Structs

Assign values from ArgMatches to self.
source§

impl Parser for Account

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.
source§

impl Subcommand for Account

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/enum.Example.html b/leo_lang/cli/enum.Example.html index a40aabbc27..bb0f413d5e 100644 --- a/leo_lang/cli/enum.Example.html +++ b/leo_lang/cli/enum.Example.html @@ -1,52 +1,52 @@ -Example in leo_lang::cli - Rust

Enum leo_lang::cli::Example

source ·
pub enum Example {
+Example in leo_lang::cli - Rust

Enum leo_lang::cli::Example

source ·
pub enum Example {
     Lottery,
     TicTacToe,
     Token,
 }
Expand description

The example programs that can be generated.

-

Variants§

§

Lottery

§

TicTacToe

§

Token

Implementations§

Trait Implementations§

source§

impl Command for Example

§

type Input = <New as Command>::Output

If the current command requires running another command beforehand +

Variants§

§

Lottery

§

TicTacToe

§

Token

Implementations§

Trait Implementations§

source§

impl Command for Example

§

type Input = <New as Command>::Output

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn prelude(&self, context: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, _: Self::Input) -> Result<Self::Output>where - Self: Sized,

Runs the main operation of this command. This function is run within + Self: Sized,
Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Example

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Example

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Example

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Example

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Example

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Example

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Example

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.
source§

impl Subcommand for Example

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Example

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.
source§

impl Subcommand for Example

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/example/enum.Example.html b/leo_lang/cli/example/enum.Example.html index c5a0c1aba6..bf38f282e7 100644 --- a/leo_lang/cli/example/enum.Example.html +++ b/leo_lang/cli/example/enum.Example.html @@ -1,52 +1,52 @@ -Example in leo_lang::cli::example - Rust
pub enum Example {
+Example in leo_lang::cli::example - Rust
pub enum Example {
     Lottery,
     TicTacToe,
     Token,
 }
Expand description

The example programs that can be generated.

-

Variants§

§

Lottery

§

TicTacToe

§

Token

Implementations§

Trait Implementations§

source§

impl Command for Example

§

type Input = <New as Command>::Output

If the current command requires running another command beforehand +

Variants§

§

Lottery

§

TicTacToe

§

Token

Implementations§

Trait Implementations§

source§

impl Command for Example

§

type Input = <New as Command>::Output

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn prelude(&self, context: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, _: Self::Input) -> Result<Self::Output>where - Self: Sized,

Runs the main operation of this command. This function is run within + Self: Sized,
Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Example

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Example

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Example

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Example

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Example

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Example

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Example

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.
source§

impl Subcommand for Example

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Example

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.
source§

impl Subcommand for Example

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/example/index.html b/leo_lang/cli/example/index.html index a6bdc5d4f4..5ee19789c8 100644 --- a/leo_lang/cli/example/index.html +++ b/leo_lang/cli/example/index.html @@ -1 +1 @@ -leo_lang::cli::example - Rust

Module leo_lang::cli::example

source ·

Enums

  • The example programs that can be generated.
\ No newline at end of file +leo_lang::cli::example - Rust

Module leo_lang::cli::example

source ·

Enums

  • The example programs that can be generated.
\ No newline at end of file diff --git a/leo_lang/cli/execute/index.html b/leo_lang/cli/execute/index.html index 52314c31bf..c8b8cf9be9 100644 --- a/leo_lang/cli/execute/index.html +++ b/leo_lang/cli/execute/index.html @@ -1 +1 @@ -leo_lang::cli::execute - Rust

Module leo_lang::cli::execute

source ·

Structs

  • Build, Prove and Run Leo program with inputs
\ No newline at end of file +leo_lang::cli::execute - Rust

Module leo_lang::cli::execute

source ·

Structs

  • Build, Prove and Run Leo program with inputs
\ No newline at end of file diff --git a/leo_lang/cli/execute/struct.Execute.html b/leo_lang/cli/execute/struct.Execute.html index 30a10c18d0..6023731d84 100644 --- a/leo_lang/cli/execute/struct.Execute.html +++ b/leo_lang/cli/execute/struct.Execute.html @@ -1,52 +1,52 @@ -Execute in leo_lang::cli::execute - Rust

Struct leo_lang::cli::execute::Execute

source ·
pub struct Execute {
-    name: String,
-    inputs: Vec<String>,
-    endpoint: String,
+Execute in leo_lang::cli::execute - Rust

Struct leo_lang::cli::execute::Execute

source ·
pub struct Execute {
+    name: String,
+    inputs: Vec<String>,
+    endpoint: String,
     pub(crate) compiler_options: BuildOptions,
 }
Expand description

Build, Prove and Run Leo program with inputs

-

Fields§

§name: String§inputs: Vec<String>§endpoint: String§compiler_options: BuildOptions

Trait Implementations§

source§

impl Args for Execute

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Execute

§

type Input = <Build as Command>::Output

If the current command requires running another command beforehand +

Fields§

§name: String§inputs: Vec<String>§endpoint: String§compiler_options: BuildOptions

Trait Implementations§

source§

impl Args for Execute

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Execute

§

type Input = <Build as Command>::Output

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, context: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, input: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Execute

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Execute

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Execute

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Execute

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Execute

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Execute

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Execute

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Execute

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/fn.handle_error.html b/leo_lang/cli/fn.handle_error.html index 42b1980a8b..d0f4103d81 100644 --- a/leo_lang/cli/fn.handle_error.html +++ b/leo_lang/cli/fn.handle_error.html @@ -1 +1 @@ -handle_error in leo_lang::cli - Rust

Function leo_lang::cli::handle_error

source ·
pub fn handle_error<T>(res: Result<T>) -> T
\ No newline at end of file +handle_error in leo_lang::cli - Rust

Function leo_lang::cli::handle_error

source ·
pub fn handle_error<T>(res: Result<T>) -> T
\ No newline at end of file diff --git a/leo_lang/cli/fn.run_with_args.html b/leo_lang/cli/fn.run_with_args.html index 1bc320818d..44c7cac26a 100644 --- a/leo_lang/cli/fn.run_with_args.html +++ b/leo_lang/cli/fn.run_with_args.html @@ -1,2 +1,2 @@ -run_with_args in leo_lang::cli - Rust

Function leo_lang::cli::run_with_args

source ·
pub fn run_with_args(cli: CLI) -> Result<()>
Expand description

Run command with custom build arguments.

+run_with_args in leo_lang::cli - Rust

Function leo_lang::cli::run_with_args

source ·
pub fn run_with_args(cli: CLI) -> Result<()>
Expand description

Run command with custom build arguments.

\ No newline at end of file diff --git a/leo_lang/cli/helpers/context/index.html b/leo_lang/cli/helpers/context/index.html index 4e029bdf4b..49a4c25b2b 100644 --- a/leo_lang/cli/helpers/context/index.html +++ b/leo_lang/cli/helpers/context/index.html @@ -1,2 +1,2 @@ -leo_lang::cli::helpers::context - Rust

Module leo_lang::cli::helpers::context

source ·

Structs

Trait Implementations§

source§

impl<F: Clone, T: Clone> Clone for Format<F, T>

source§

fn clone(&self) -> Format<F, T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<F: Debug, T: Debug> Debug for Format<F, T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Format<Full, SystemTime>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<S, N, T> FormatEvent<S, N> for Format<Full, T>where S: Subscriber + for<'a> LookupSpan<'a>, N: for<'a> FormatFields<'a> + 'static, T: FormatTime,

source§

fn format_event( @@ -26,31 +26,31 @@ context: &FmtContext<'_, S, N>, writer: Writer<'_>, event: &Event<'_> -) -> Result

Write a log message for Event in Context to the given [Writer].

Auto Trait Implementations§

§

impl<F, T> RefUnwindSafe for Format<F, T>where - F: RefUnwindSafe, - T: RefUnwindSafe,

§

impl<F, T> Send for Format<F, T>where - F: Send, - T: Send,

§

impl<F, T> Sync for Format<F, T>where - F: Sync, - T: Sync,

§

impl<F, T> Unpin for Format<F, T>where - F: Unpin, - T: Unpin,

§

impl<F, T> UnwindSafe for Format<F, T>where - F: UnwindSafe, - T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result
Write a log message for Event in Context to the given [Writer].

Auto Trait Implementations§

§

impl<F, T> RefUnwindSafe for Format<F, T>where + F: RefUnwindSafe, + T: RefUnwindSafe,

§

impl<F, T> Send for Format<F, T>where + F: Send, + T: Send,

§

impl<F, T> Sync for Format<F, T>where + F: Sync, + T: Sync,

§

impl<F, T> Unpin for Format<F, T>where + F: Unpin, + T: Unpin,

§

impl<F, T> UnwindSafe for Format<F, T>where + F: UnwindSafe, + T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/helpers/updater/index.html b/leo_lang/cli/helpers/updater/index.html index 67c90eba61..55a6e540bf 100644 --- a/leo_lang/cli/helpers/updater/index.html +++ b/leo_lang/cli/helpers/updater/index.html @@ -1 +1 @@ -leo_lang::cli::helpers::updater - Rust
\ No newline at end of file +leo_lang::cli::helpers::updater - Rust
\ No newline at end of file diff --git a/leo_lang/cli/helpers/updater/struct.Updater.html b/leo_lang/cli/helpers/updater/struct.Updater.html index aa282bc5f7..c9139d3a86 100644 --- a/leo_lang/cli/helpers/updater/struct.Updater.html +++ b/leo_lang/cli/helpers/updater/struct.Updater.html @@ -1,21 +1,21 @@ -Updater in leo_lang::cli::helpers::updater - Rust
pub struct Updater;

Implementations§

source§

impl Updater

source

const LEO_BIN_NAME: &'static str = "leo"

source

const LEO_REPO_NAME: &'static str = "leo"

source

const LEO_REPO_OWNER: &'static str = "AleoHQ"

source

pub fn show_available_releases() -> Result<String>

Show all available releases for leo.

-
source

pub fn update_to_latest_release(show_output: bool) -> Result<Status>

Update leo to the latest release.

-
source

pub fn update_available() -> Result<String>

Check if there is an available update for leo and return the newest release.

+Updater in leo_lang::cli::helpers::updater - Rust
pub struct Updater;

Implementations§

source§

impl Updater

source

const LEO_BIN_NAME: &'static str = "leo"

source

const LEO_REPO_NAME: &'static str = "leo"

source

const LEO_REPO_OWNER: &'static str = "AleoHQ"

source

pub fn show_available_releases() -> Result<String>

Show all available releases for leo.

+
source

pub fn update_to_latest_release(show_output: bool) -> Result<Status>

Update leo to the latest release.

+
source

pub fn update_available() -> Result<String>

Check if there is an available update for leo and return the newest release.

source

pub fn print_cli()

Display the CLI message, if the Leo configuration allows.

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/index.html b/leo_lang/cli/index.html index f436533532..849c794873 100644 --- a/leo_lang/cli/index.html +++ b/leo_lang/cli/index.html @@ -1,2 +1,2 @@ -leo_lang::cli - Rust

Module leo_lang::cli

source ·

Re-exports

Modules

Structs

Trait Implementations§

source§

impl<F: Clone, T: Clone> Clone for Format<F, T>

source§

fn clone(&self) -> Format<F, T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<F: Debug, T: Debug> Debug for Format<F, T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Format<Full, SystemTime>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<S, N, T> FormatEvent<S, N> for Format<Full, T>where S: Subscriber + for<'a> LookupSpan<'a>, N: for<'a> FormatFields<'a> + 'static, T: FormatTime,

source§

fn format_event( @@ -26,31 +26,31 @@ context: &FmtContext<'_, S, N>, writer: Writer<'_>, event: &Event<'_> -) -> Result

Write a log message for Event in Context to the given [Writer].

Auto Trait Implementations§

§

impl<F, T> RefUnwindSafe for Format<F, T>where - F: RefUnwindSafe, - T: RefUnwindSafe,

§

impl<F, T> Send for Format<F, T>where - F: Send, - T: Send,

§

impl<F, T> Sync for Format<F, T>where - F: Sync, - T: Sync,

§

impl<F, T> Unpin for Format<F, T>where - F: Unpin, - T: Unpin,

§

impl<F, T> UnwindSafe for Format<F, T>where - F: UnwindSafe, - T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result
Write a log message for Event in Context to the given [Writer].

Auto Trait Implementations§

§

impl<F, T> RefUnwindSafe for Format<F, T>where + F: RefUnwindSafe, + T: RefUnwindSafe,

§

impl<F, T> Send for Format<F, T>where + F: Send, + T: Send,

§

impl<F, T> Sync for Format<F, T>where + F: Sync, + T: Sync,

§

impl<F, T> Unpin for Format<F, T>where + F: Unpin, + T: Unpin,

§

impl<F, T> UnwindSafe for Format<F, T>where + F: UnwindSafe, + T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/new/index.html b/leo_lang/cli/new/index.html index 4f276eedca..355cf70ce4 100644 --- a/leo_lang/cli/new/index.html +++ b/leo_lang/cli/new/index.html @@ -1 +1 @@ -leo_lang::cli::new - Rust

Module leo_lang::cli::new

source ·

Structs

  • Create new Leo project
\ No newline at end of file +leo_lang::cli::new - Rust

Module leo_lang::cli::new

source ·

Structs

  • Create new Leo project
\ No newline at end of file diff --git a/leo_lang/cli/new/struct.New.html b/leo_lang/cli/new/struct.New.html index 21de6618c6..e0683a4a89 100644 --- a/leo_lang/cli/new/struct.New.html +++ b/leo_lang/cli/new/struct.New.html @@ -1,49 +1,49 @@ -New in leo_lang::cli::new - Rust

Struct leo_lang::cli::new::New

source ·
pub struct New {
-    pub(crate) name: String,
+New in leo_lang::cli::new - Rust

Struct leo_lang::cli::new::New

source ·
pub struct New {
+    pub(crate) name: String,
 }
Expand description

Create new Leo project

-

Fields§

§name: String

Trait Implementations§

source§

impl Args for New

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for New

§

type Input = ()

If the current command requires running another command beforehand +

Fields§

§name: String

Trait Implementations§

source§

impl Args for New

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for New

§

type Input = ()

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, _: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, _: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for New

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for New

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for New

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for New

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for New

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for New

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for New

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for New

§

impl Send for New

§

impl Sync for New

§

impl Unpin for New

§

impl UnwindSafe for New

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for New

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for New

§

impl Send for New

§

impl Sync for New

§

impl Unpin for New

§

impl UnwindSafe for New

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/run/index.html b/leo_lang/cli/run/index.html index 25a5339dd7..3b09608aa7 100644 --- a/leo_lang/cli/run/index.html +++ b/leo_lang/cli/run/index.html @@ -1 +1 @@ -leo_lang::cli::run - Rust

Module leo_lang::cli::run

source ·

Structs

  • Build, Prove and Run Leo program with inputs
\ No newline at end of file +leo_lang::cli::run - Rust

Module leo_lang::cli::run

source ·

Structs

  • Build, Prove and Run Leo program with inputs
\ No newline at end of file diff --git a/leo_lang/cli/run/struct.Run.html b/leo_lang/cli/run/struct.Run.html index def03a2e2d..98d3c77877 100644 --- a/leo_lang/cli/run/struct.Run.html +++ b/leo_lang/cli/run/struct.Run.html @@ -1,51 +1,51 @@ -Run in leo_lang::cli::run - Rust

Struct leo_lang::cli::run::Run

source ·
pub struct Run {
-    name: String,
-    inputs: Vec<String>,
+Run in leo_lang::cli::run - Rust

Struct leo_lang::cli::run::Run

source ·
pub struct Run {
+    name: String,
+    inputs: Vec<String>,
     pub(crate) compiler_options: BuildOptions,
 }
Expand description

Build, Prove and Run Leo program with inputs

-

Fields§

§name: String§inputs: Vec<String>§compiler_options: BuildOptions

Trait Implementations§

source§

impl Args for Run

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Run

§

type Input = <Build as Command>::Output

If the current command requires running another command beforehand +

Fields§

§name: String§inputs: Vec<String>§compiler_options: BuildOptions

Trait Implementations§

source§

impl Args for Run

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Run

§

type Input = <Build as Command>::Output

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, context: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, input: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Run

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Run

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Run

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Run

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Run

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Run

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Run

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Run

§

impl Send for Run

§

impl Sync for Run

§

impl Unpin for Run

§

impl UnwindSafe for Run

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Run

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Run

§

impl Send for Run

§

impl Sync for Run

§

impl Unpin for Run

§

impl UnwindSafe for Run

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/struct.Build.html b/leo_lang/cli/struct.Build.html index 2264ebf7ae..6c2c6854df 100644 --- a/leo_lang/cli/struct.Build.html +++ b/leo_lang/cli/struct.Build.html @@ -1,49 +1,49 @@ -Build in leo_lang::cli - Rust

Struct leo_lang::cli::Build

source ·
pub struct Build {
+Build in leo_lang::cli - Rust

Struct leo_lang::cli::Build

source ·
pub struct Build {
     pub(crate) options: BuildOptions,
 }
Expand description

Compile and build program command.

-

Fields§

§options: BuildOptions

Trait Implementations§

source§

impl Args for Build

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Build

§

type Input = ()

If the current command requires running another command beforehand +

Fields§

§options: BuildOptions

Trait Implementations§

source§

impl Args for Build

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Build

§

type Input = ()

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = (Option<InputAst>, IndexMap<Symbol, Struct, RandomState>)

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = (Option<InputAst>, IndexMap<Symbol, Struct>)

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, _: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, _: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Build

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Build

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Build

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Build

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Build

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Build

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Build

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Build

§

impl Send for Build

§

impl Sync for Build

§

impl Unpin for Build

§

impl UnwindSafe for Build

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Build

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Build

§

impl Send for Build

§

impl Sync for Build

§

impl Unpin for Build

§

impl UnwindSafe for Build

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/struct.BuildOptions.html b/leo_lang/cli/struct.BuildOptions.html index 342964babf..e7b479b598 100644 --- a/leo_lang/cli/struct.BuildOptions.html +++ b/leo_lang/cli/struct.BuildOptions.html @@ -1,53 +1,53 @@ -BuildOptions in leo_lang::cli - Rust

Struct leo_lang::cli::BuildOptions

source ·
pub struct BuildOptions {
Show 16 fields - pub offline: bool, - pub enable_symbol_table_spans: bool, - pub enable_initial_symbol_table_snapshot: bool, - pub enable_type_checked_symbol_table_snapshot: bool, - pub enable_unrolled_symbol_table_snapshot: bool, - pub enable_ast_spans: bool, - pub enable_dce: bool, - pub enable_all_ast_snapshots: bool, - pub enable_initial_input_ast_snapshot: bool, - pub enable_initial_ast_snapshot: bool, - pub enable_unrolled_ast_snapshot: bool, - pub enable_ssa_ast_snapshot: bool, - pub enable_flattened_ast_snapshot: bool, - pub enable_destructured_ast_snapshot: bool, - pub enable_inlined_ast_snapshot: bool, - pub enable_dce_ast_snapshot: bool, +BuildOptions in leo_lang::cli - Rust

Struct leo_lang::cli::BuildOptions

source ·
pub struct BuildOptions {
Show 16 fields + pub offline: bool, + pub enable_symbol_table_spans: bool, + pub enable_initial_symbol_table_snapshot: bool, + pub enable_type_checked_symbol_table_snapshot: bool, + pub enable_unrolled_symbol_table_snapshot: bool, + pub enable_ast_spans: bool, + pub enable_dce: bool, + pub enable_all_ast_snapshots: bool, + pub enable_initial_input_ast_snapshot: bool, + pub enable_initial_ast_snapshot: bool, + pub enable_unrolled_ast_snapshot: bool, + pub enable_ssa_ast_snapshot: bool, + pub enable_flattened_ast_snapshot: bool, + pub enable_destructured_ast_snapshot: bool, + pub enable_inlined_ast_snapshot: bool, + pub enable_dce_ast_snapshot: bool,
}
Expand description

Compiler Options wrapper for Build command. Also used by other commands which require Build command output as their input.

-

Fields§

§offline: bool§enable_symbol_table_spans: bool§enable_initial_symbol_table_snapshot: bool§enable_type_checked_symbol_table_snapshot: bool§enable_unrolled_symbol_table_snapshot: bool§enable_ast_spans: bool§enable_dce: bool§enable_all_ast_snapshots: bool§enable_initial_input_ast_snapshot: bool§enable_initial_ast_snapshot: bool§enable_unrolled_ast_snapshot: bool§enable_ssa_ast_snapshot: bool§enable_flattened_ast_snapshot: bool§enable_destructured_ast_snapshot: bool§enable_inlined_ast_snapshot: bool§enable_dce_ast_snapshot: bool

Trait Implementations§

source§

impl Args for BuildOptions

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Clone for BuildOptions

source§

fn clone(&self) -> BuildOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CommandFactory for BuildOptions

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for BuildOptions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BuildOptions

source§

fn default() -> BuildOptions

Returns the “default value” for a type. Read more
source§

impl From<BuildOptions> for CompilerOptions

source§

fn from(options: BuildOptions) -> Self

Converts to this type from the input type.
source§

impl FromArgMatches for BuildOptions

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +

Fields§

§offline: bool§enable_symbol_table_spans: bool§enable_initial_symbol_table_snapshot: bool§enable_type_checked_symbol_table_snapshot: bool§enable_unrolled_symbol_table_snapshot: bool§enable_ast_spans: bool§enable_dce: bool§enable_all_ast_snapshots: bool§enable_initial_input_ast_snapshot: bool§enable_initial_ast_snapshot: bool§enable_unrolled_ast_snapshot: bool§enable_ssa_ast_snapshot: bool§enable_flattened_ast_snapshot: bool§enable_destructured_ast_snapshot: bool§enable_inlined_ast_snapshot: bool§enable_dce_ast_snapshot: bool

Trait Implementations§

source§

impl Args for BuildOptions

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Clone for BuildOptions

source§

fn clone(&self) -> BuildOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CommandFactory for BuildOptions

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for BuildOptions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BuildOptions

source§

fn default() -> BuildOptions

Returns the “default value” for a type. Read more
source§

impl From<BuildOptions> for CompilerOptions

source§

fn from(options: BuildOptions) -> Self

Converts to this type from the input type.
source§

impl FromArgMatches for BuildOptions

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for BuildOptions

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for BuildOptions

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/struct.CLI.html b/leo_lang/cli/struct.CLI.html index ed49f55d44..bca5780821 100644 --- a/leo_lang/cli/struct.CLI.html +++ b/leo_lang/cli/struct.CLI.html @@ -1,39 +1,39 @@ -CLI in leo_lang::cli - Rust

Struct leo_lang::cli::CLI

source ·
pub struct CLI {
-    debug: bool,
-    quiet: bool,
+CLI in leo_lang::cli - Rust

Struct leo_lang::cli::CLI

source ·
pub struct CLI {
+    debug: bool,
+    quiet: bool,
     command: Commands,
-    path: Option<PathBuf>,
+    path: Option<PathBuf>,
 }
Expand description

CLI Arguments entry point - includes global parameters and subcommands

-

Fields§

§debug: bool§quiet: bool§command: Commands§path: Option<PathBuf>

Trait Implementations§

source§

impl Args for CLI

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl CommandFactory for CLI

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for CLI

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for CLI

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +

Fields§

§debug: bool§quiet: bool§command: Commands§path: Option<PathBuf>

Trait Implementations§

source§

impl Args for CLI

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl CommandFactory for CLI

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for CLI

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for CLI

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for CLI

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for CLI

§

impl Send for CLI

§

impl Sync for CLI

§

impl Unpin for CLI

§

impl UnwindSafe for CLI

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for CLI

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for CLI

§

impl Send for CLI

§

impl Sync for CLI

§

impl Unpin for CLI

§

impl UnwindSafe for CLI

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/struct.Clean.html b/leo_lang/cli/struct.Clean.html index c9a34531c8..5938f46e50 100644 --- a/leo_lang/cli/struct.Clean.html +++ b/leo_lang/cli/struct.Clean.html @@ -1,47 +1,47 @@ -Clean in leo_lang::cli - Rust

Struct leo_lang::cli::Clean

source ·
pub struct Clean {}
Expand description

Clean outputs folder command

-

Trait Implementations§

source§

impl Args for Clean

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Clean

§

type Input = ()

If the current command requires running another command beforehand +Clean in leo_lang::cli - Rust

Struct leo_lang::cli::Clean

source ·
pub struct Clean {}
Expand description

Clean outputs folder command

+

Trait Implementations§

source§

impl Args for Clean

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Clean

§

type Input = ()

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, _: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, _: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Clean

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Clean

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Clean

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Clean

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Clean

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Clean

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Clean

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Clean

§

impl Send for Clean

§

impl Sync for Clean

§

impl Unpin for Clean

§

impl UnwindSafe for Clean

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Clean

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Clean

§

impl Send for Clean

§

impl Sync for Clean

§

impl Unpin for Clean

§

impl UnwindSafe for Clean

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/struct.Execute.html b/leo_lang/cli/struct.Execute.html index ac462f2b75..399f09e422 100644 --- a/leo_lang/cli/struct.Execute.html +++ b/leo_lang/cli/struct.Execute.html @@ -1,52 +1,52 @@ -Execute in leo_lang::cli - Rust

Struct leo_lang::cli::Execute

source ·
pub struct Execute {
-    name: String,
-    inputs: Vec<String>,
-    endpoint: String,
+Execute in leo_lang::cli - Rust

Struct leo_lang::cli::Execute

source ·
pub struct Execute {
+    name: String,
+    inputs: Vec<String>,
+    endpoint: String,
     pub(crate) compiler_options: BuildOptions,
 }
Expand description

Build, Prove and Run Leo program with inputs

-

Fields§

§name: String§inputs: Vec<String>§endpoint: String§compiler_options: BuildOptions

Trait Implementations§

source§

impl Args for Execute

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Execute

§

type Input = <Build as Command>::Output

If the current command requires running another command beforehand +

Fields§

§name: String§inputs: Vec<String>§endpoint: String§compiler_options: BuildOptions

Trait Implementations§

source§

impl Args for Execute

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Execute

§

type Input = <Build as Command>::Output

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, context: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, input: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Execute

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Execute

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Execute

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Execute

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Execute

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Execute

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Execute

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Execute

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/struct.New.html b/leo_lang/cli/struct.New.html index a805e55d1d..ce712da4fa 100644 --- a/leo_lang/cli/struct.New.html +++ b/leo_lang/cli/struct.New.html @@ -1,49 +1,49 @@ -New in leo_lang::cli - Rust

Struct leo_lang::cli::New

source ·
pub struct New {
-    pub(crate) name: String,
+New in leo_lang::cli - Rust

Struct leo_lang::cli::New

source ·
pub struct New {
+    pub(crate) name: String,
 }
Expand description

Create new Leo project

-

Fields§

§name: String

Trait Implementations§

source§

impl Args for New

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for New

§

type Input = ()

If the current command requires running another command beforehand +

Fields§

§name: String

Trait Implementations§

source§

impl Args for New

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for New

§

type Input = ()

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, _: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, _: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for New

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for New

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for New

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for New

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for New

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for New

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for New

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for New

§

impl Send for New

§

impl Sync for New

§

impl Unpin for New

§

impl UnwindSafe for New

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for New

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for New

§

impl Send for New

§

impl Sync for New

§

impl Unpin for New

§

impl UnwindSafe for New

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/struct.Run.html b/leo_lang/cli/struct.Run.html index 042fba1b86..493fd32003 100644 --- a/leo_lang/cli/struct.Run.html +++ b/leo_lang/cli/struct.Run.html @@ -1,51 +1,51 @@ -Run in leo_lang::cli - Rust

Struct leo_lang::cli::Run

source ·
pub struct Run {
-    name: String,
-    inputs: Vec<String>,
+Run in leo_lang::cli - Rust

Struct leo_lang::cli::Run

source ·
pub struct Run {
+    name: String,
+    inputs: Vec<String>,
     pub(crate) compiler_options: BuildOptions,
 }
Expand description

Build, Prove and Run Leo program with inputs

-

Fields§

§name: String§inputs: Vec<String>§compiler_options: BuildOptions

Trait Implementations§

source§

impl Args for Run

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Run

§

type Input = <Build as Command>::Output

If the current command requires running another command beforehand +

Fields§

§name: String§inputs: Vec<String>§compiler_options: BuildOptions

Trait Implementations§

source§

impl Args for Run

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Run

§

type Input = <Build as Command>::Output

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, context: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, context: Context, input: Self::Input) -> Result<Self::Output>

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Run

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Run

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Run

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Run

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Run

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Run

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Run

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Run

§

impl Send for Run

§

impl Sync for Run

§

impl Unpin for Run

§

impl UnwindSafe for Run

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Run

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl RefUnwindSafe for Run

§

impl Send for Run

§

impl Sync for Run

§

impl Unpin for Run

§

impl UnwindSafe for Run

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/struct.Update.html b/leo_lang/cli/struct.Update.html index 194e9b4e14..011bcc9c2b 100644 --- a/leo_lang/cli/struct.Update.html +++ b/leo_lang/cli/struct.Update.html @@ -1,53 +1,53 @@ -Update in leo_lang::cli - Rust

Struct leo_lang::cli::Update

source ·
pub struct Update {
-    list: bool,
-    quiet: bool,
+Update in leo_lang::cli - Rust

Struct leo_lang::cli::Update

source ·
pub struct Update {
+    list: bool,
+    quiet: bool,
 }
Expand description

Update Leo to the latest version

-

Fields§

§list: bool

Lists all available versions of Leo

-
§quiet: bool

Suppress outputs to terminal

-

Trait Implementations§

source§

impl Args for Update

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Update

§

type Input = ()

If the current command requires running another command beforehand +

Fields§

§list: bool

Lists all available versions of Leo

+
§quiet: bool

Suppress outputs to terminal

+

Trait Implementations§

source§

impl Args for Update

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Update

§

type Input = ()

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, _: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, _: Context, _: Self::Input) -> Result<Self::Output>where - Self: Sized,

Runs the main operation of this command. This function is run within + Self: Sized,
Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Update

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Update

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Update

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Update

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Update

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Update

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Update

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Update

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/trait.Command.html b/leo_lang/cli/trait.Command.html index c44ebf5947..7a226749ba 100644 --- a/leo_lang/cli/trait.Command.html +++ b/leo_lang/cli/trait.Command.html @@ -1,19 +1,19 @@ -Command in leo_lang::cli - Rust

Trait leo_lang::cli::Command

source ·
pub trait Command {
+Command in leo_lang::cli - Rust

Trait leo_lang::cli::Command

source ·
pub trait Command {
     type Input;
     type Output;
 
     // Required methods
     fn prelude(&self, context: Context) -> Result<Self::Input>
-       where Self: Sized;
+       where Self: Sized;
     fn apply(self, context: Context, input: Self::Input) -> Result<Self::Output>
-       where Self: Sized;
+       where Self: Sized;
 
     // Provided methods
     fn log_span(&self) -> Span { ... }
     fn execute(self, context: Context) -> Result<Self::Output>
-       where Self: Sized { ... }
-    fn try_execute(self, context: Context) -> Result<()>
-       where Self: Sized { ... }
+       where Self: Sized { ... }
+    fn try_execute(self, context: Context) -> Result<()>
+       where Self: Sized { ... }
 }
Expand description

Base trait for the Leo CLI, see methods and their documentation for details.

Required Associated Types§

source

type Input

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. @@ -22,19 +22,19 @@ command. If this command is not used as a prelude for another command, this field may be left empty.

Required Methods§

source

fn prelude(&self, context: Context) -> Result<Self::Input>where - Self: Sized,

Runs the prelude and returns the Input of the current command.

+ Self: Sized,

Runs the prelude and returns the Input of the current command.

source

fn apply(self, context: Context, input: Self::Input) -> Result<Self::Output>where - Self: Sized,

Runs the main operation of this command. This function is run within + Self: Sized,

Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.

Provided Methods§

source

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.

source

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. + Self: Sized,

A wrapper around the apply method. This function sets up tracing, timing, and the context.

-
source

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a +

source

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific output possible. Errors however are all of the type Error

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/leo_lang/cli/type.CurrentNetwork.html b/leo_lang/cli/type.CurrentNetwork.html index ccd90b1611..b4735ebf36 100644 --- a/leo_lang/cli/type.CurrentNetwork.html +++ b/leo_lang/cli/type.CurrentNetwork.html @@ -1 +1 @@ -CurrentNetwork in leo_lang::cli - Rust

Type Alias leo_lang::cli::CurrentNetwork

source ·
pub(crate) type CurrentNetwork = Testnet3;

Aliased Type§

struct CurrentNetwork;
\ No newline at end of file +CurrentNetwork in leo_lang::cli - Rust

Type Alias leo_lang::cli::CurrentNetwork

source ·
pub(crate) type CurrentNetwork = Testnet3;

Aliased Type§

struct CurrentNetwork;
\ No newline at end of file diff --git a/leo_lang/cli/update/index.html b/leo_lang/cli/update/index.html index 688bdce7ae..c2843dd830 100644 --- a/leo_lang/cli/update/index.html +++ b/leo_lang/cli/update/index.html @@ -1 +1 @@ -leo_lang::cli::update - Rust

Module leo_lang::cli::update

source ·

Structs

  • Update Leo to the latest version
\ No newline at end of file +leo_lang::cli::update - Rust

Module leo_lang::cli::update

source ·

Structs

  • Update Leo to the latest version
\ No newline at end of file diff --git a/leo_lang/cli/update/struct.Update.html b/leo_lang/cli/update/struct.Update.html index 7defe22770..5febb47b9e 100644 --- a/leo_lang/cli/update/struct.Update.html +++ b/leo_lang/cli/update/struct.Update.html @@ -1,53 +1,53 @@ -Update in leo_lang::cli::update - Rust

Struct leo_lang::cli::update::Update

source ·
pub struct Update {
-    list: bool,
-    quiet: bool,
+Update in leo_lang::cli::update - Rust

Struct leo_lang::cli::update::Update

source ·
pub struct Update {
+    list: bool,
+    quiet: bool,
 }
Expand description

Update Leo to the latest version

-

Fields§

§list: bool

Lists all available versions of Leo

-
§quiet: bool

Suppress outputs to terminal

-

Trait Implementations§

source§

impl Args for Update

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Update

§

type Input = ()

If the current command requires running another command beforehand +

Fields§

§list: bool

Lists all available versions of Leo

+
§quiet: bool

Suppress outputs to terminal

+

Trait Implementations§

source§

impl Args for Update

source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

impl Command for Update

§

type Input = ()

If the current command requires running another command beforehand and needs its output result, this is where the result type is defined. -Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another +Example: type Input: ::Out
§

type Output = ()

Defines the output of this command, which may be used as Input for another command. If this command is not used as a prelude for another command, this field may be left empty.
source§

fn log_span(&self) -> Span

Adds a span to the logger via tracing::span. Because of the specifics of the macro implementation, it is not possible to set the span name with a non-literal i.e. a dynamic variable even if this variable is a &’static str.
source§

fn prelude(&self, _: Context) -> Result<Self::Input>

Runs the prelude and returns the Input of the current command.
source§

fn apply(self, _: Context, _: Self::Input) -> Result<Self::Output>where - Self: Sized,

Runs the main operation of this command. This function is run within + Self: Sized,
Runs the main operation of this command. This function is run within context of ‘execute’ function, which sets logging and timers.
source§

fn execute(self, context: Context) -> Result<Self::Output>where - Self: Sized,

A wrapper around the apply method. -This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where - Self: Sized,

Executes command but empty the result. Comes in handy where there’s a + Self: Sized,
A wrapper around the apply method. +This function sets up tracing, timing, and the context.
source§

fn try_execute(self, context: Context) -> Result<()>where + Self: Sized,

Executes command but empty the result. Comes in handy where there’s a need to make match arms compatible while keeping implementation-specific -output possible. Errors however are all of the type Error
source§

impl CommandFactory for Update

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Update

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Update

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( +output possible. Errors however are all of the type Error

source§

impl CommandFactory for Update

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Update

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Update

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches -) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl Parser for Update

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error<RichFormatter>>where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl Parser for Update

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, exit on error
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, exit on error
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/cli/updater/index.html b/leo_lang/cli/updater/index.html index 47ec5a86d7..635b973547 100644 --- a/leo_lang/cli/updater/index.html +++ b/leo_lang/cli/updater/index.html @@ -1 +1 @@ -leo_lang::cli::updater - Rust
\ No newline at end of file +leo_lang::cli::updater - Rust
\ No newline at end of file diff --git a/leo_lang/cli/updater/struct.Updater.html b/leo_lang/cli/updater/struct.Updater.html index 7a26633ca3..0c60ed086a 100644 --- a/leo_lang/cli/updater/struct.Updater.html +++ b/leo_lang/cli/updater/struct.Updater.html @@ -1,21 +1,21 @@ -Updater in leo_lang::cli::updater - Rust

Struct leo_lang::cli::updater::Updater

source ·
pub struct Updater;

Implementations§

source§

impl Updater

source

const LEO_BIN_NAME: &'static str = "leo"

source

const LEO_REPO_NAME: &'static str = "leo"

source

const LEO_REPO_OWNER: &'static str = "AleoHQ"

source

pub fn show_available_releases() -> Result<String>

Show all available releases for leo.

-
source

pub fn update_to_latest_release(show_output: bool) -> Result<Status>

Update leo to the latest release.

-
source

pub fn update_available() -> Result<String>

Check if there is an available update for leo and return the newest release.

+Updater in leo_lang::cli::updater - Rust

Struct leo_lang::cli::updater::Updater

source ·
pub struct Updater;

Implementations§

source§

impl Updater

source

const LEO_BIN_NAME: &'static str = "leo"

source

const LEO_REPO_NAME: &'static str = "leo"

source

const LEO_REPO_OWNER: &'static str = "AleoHQ"

source

pub fn show_available_releases() -> Result<String>

Show all available releases for leo.

+
source

pub fn update_to_latest_release(show_output: bool) -> Result<Status>

Update leo to the latest release.

+
source

pub fn update_available() -> Result<String>

Check if there is an available update for leo and return the newest release.

source

pub fn print_cli()

Display the CLI message, if the Leo configuration allows.

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_lang/index.html b/leo_lang/index.html index 117a1c0886..404732c8c7 100644 --- a/leo_lang/index.html +++ b/leo_lang/index.html @@ -1,4 +1,5 @@ -leo_lang - Rust

Crate leo_lang

source ·
Expand description

+leo_lang - Rust

Crate leo_lang

source ·
Expand description

The Leo Programming Language

diff --git a/leo_package/all.html b/leo_package/all.html index de3065dc20..b162f27a43 100644 --- a/leo_package/all.html +++ b/leo_package/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/leo_package/build/directory/index.html b/leo_package/build/directory/index.html index 97dd497c27..1f5898a83b 100644 --- a/leo_package/build/directory/index.html +++ b/leo_package/build/directory/index.html @@ -1 +1 @@ -leo_package::build::directory - Rust
\ No newline at end of file +leo_package::build::directory - Rust
\ No newline at end of file diff --git a/leo_package/build/directory/static.BUILD_DIRECTORY_NAME.html b/leo_package/build/directory/static.BUILD_DIRECTORY_NAME.html index 14ba40eaa3..4881013851 100644 --- a/leo_package/build/directory/static.BUILD_DIRECTORY_NAME.html +++ b/leo_package/build/directory/static.BUILD_DIRECTORY_NAME.html @@ -1 +1 @@ -BUILD_DIRECTORY_NAME in leo_package::build::directory - Rust
pub static BUILD_DIRECTORY_NAME: &str
\ No newline at end of file +BUILD_DIRECTORY_NAME in leo_package::build::directory - Rust
pub static BUILD_DIRECTORY_NAME: &str
\ No newline at end of file diff --git a/leo_package/build/directory/struct.BuildDirectory.html b/leo_package/build/directory/struct.BuildDirectory.html index 95363a43b6..2b5a36ef8c 100644 --- a/leo_package/build/directory/struct.BuildDirectory.html +++ b/leo_package/build/directory/struct.BuildDirectory.html @@ -1,20 +1,20 @@ -BuildDirectory in leo_package::build::directory - Rust
pub struct BuildDirectory;

Implementations§

source§

impl BuildDirectory

source

pub fn open(path: &Path) -> Result<PathBuf>

Returns the path to the build directory if it exists.

-
source

pub fn create(path: &Path) -> Result<PathBuf>

Creates a directory at the provided path with the default directory name.

-
source

pub fn remove(path: &Path) -> Result<String>

Removes the directory at the provided path.

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +BuildDirectory in leo_package::build::directory - Rust
pub struct BuildDirectory;

Implementations§

source§

impl BuildDirectory

source

pub fn open(path: &Path) -> Result<PathBuf>

Returns the path to the build directory if it exists.

+
source

pub fn create(path: &Path) -> Result<PathBuf>

Creates a directory at the provided path with the default directory name.

+
source

pub fn remove(path: &Path) -> Result<String>

Removes the directory at the provided path.

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_package/build/index.html b/leo_package/build/index.html index a068bdfe7b..20968a842a 100644 --- a/leo_package/build/index.html +++ b/leo_package/build/index.html @@ -1 +1 @@ -leo_package::build - Rust
\ No newline at end of file +leo_package::build - Rust
\ No newline at end of file diff --git a/leo_package/fn.parse_file_paths.html b/leo_package/fn.parse_file_paths.html index 68d15231b9..bb0789d5e9 100644 --- a/leo_package/fn.parse_file_paths.html +++ b/leo_package/fn.parse_file_paths.html @@ -1,4 +1,4 @@ -parse_file_paths in leo_package - Rust
pub(crate) fn parse_file_paths(
-    directory: ReadDir,
-    file_paths: &mut Vec<PathBuf>
-) -> Result<()>
\ No newline at end of file +parse_file_paths in leo_package - Rust
pub(crate) fn parse_file_paths(
+    directory: ReadDir,
+    file_paths: &mut Vec<PathBuf>
+) -> Result<()>
\ No newline at end of file diff --git a/leo_package/imports/directory/index.html b/leo_package/imports/directory/index.html index 6aa9a18b5c..e6c089efee 100644 --- a/leo_package/imports/directory/index.html +++ b/leo_package/imports/directory/index.html @@ -1 +1 @@ -leo_package::imports::directory - Rust
\ No newline at end of file +leo_package::imports::directory - Rust
\ No newline at end of file diff --git a/leo_package/imports/directory/static.IMPORTS_DIRECTORY_NAME.html b/leo_package/imports/directory/static.IMPORTS_DIRECTORY_NAME.html index bb238f1cba..4672028942 100644 --- a/leo_package/imports/directory/static.IMPORTS_DIRECTORY_NAME.html +++ b/leo_package/imports/directory/static.IMPORTS_DIRECTORY_NAME.html @@ -1 +1 @@ -IMPORTS_DIRECTORY_NAME in leo_package::imports::directory - Rust
pub static IMPORTS_DIRECTORY_NAME: &str
\ No newline at end of file +IMPORTS_DIRECTORY_NAME in leo_package::imports::directory - Rust
pub static IMPORTS_DIRECTORY_NAME: &str
\ No newline at end of file diff --git a/leo_package/imports/directory/struct.ImportsDirectory.html b/leo_package/imports/directory/struct.ImportsDirectory.html index 1ef2e8732f..155b9fe414 100644 --- a/leo_package/imports/directory/struct.ImportsDirectory.html +++ b/leo_package/imports/directory/struct.ImportsDirectory.html @@ -1,21 +1,21 @@ -ImportsDirectory in leo_package::imports::directory - Rust
pub struct ImportsDirectory;

Implementations§

source§

impl ImportsDirectory

source

pub fn create(path: &Path) -> Result<PathBuf>

Creates a directory at the provided path with the default directory name if it does not exist.

-
source

pub fn remove(path: &Path) -> Result<String>

Removes the directory at the provided path.

-
source

pub fn is_empty(path: &Path) -> Result<bool>

Returns true if the imports directory does not exist or does not contain files.

-
source

pub fn files(path: &Path) -> Result<Vec<PathBuf>>

Returns a list of files in the imports directory.

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +ImportsDirectory in leo_package::imports::directory - Rust
pub struct ImportsDirectory;

Implementations§

source§

impl ImportsDirectory

source

pub fn create(path: &Path) -> Result<PathBuf>

Creates a directory at the provided path with the default directory name if it does not exist.

+
source

pub fn remove(path: &Path) -> Result<String>

Removes the directory at the provided path.

+
source

pub fn is_empty(path: &Path) -> Result<bool>

Returns true if the imports directory does not exist or does not contain files.

+
source

pub fn files(path: &Path) -> Result<Vec<PathBuf>>

Returns a list of files in the imports directory.

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_package/imports/index.html b/leo_package/imports/index.html index 9360f072a9..b853412786 100644 --- a/leo_package/imports/index.html +++ b/leo_package/imports/index.html @@ -1 +1 @@ -leo_package::imports - Rust
\ No newline at end of file +leo_package::imports - Rust
\ No newline at end of file diff --git a/leo_package/index.html b/leo_package/index.html index b732257890..e96c805d29 100644 --- a/leo_package/index.html +++ b/leo_package/index.html @@ -1,4 +1,5 @@ -leo_package - Rust

Crate leo_package

source ·
Expand description

leo-package

+leo_package - Rust

Crate leo_package

source ·
Expand description

leo-package

Crates.io Authors License

diff --git a/leo_package/inputs/directory/fn.parse_file_paths.html b/leo_package/inputs/directory/fn.parse_file_paths.html index 3f3b3683f8..cf158fcaff 100644 --- a/leo_package/inputs/directory/fn.parse_file_paths.html +++ b/leo_package/inputs/directory/fn.parse_file_paths.html @@ -1,4 +1,4 @@ -parse_file_paths in leo_package::inputs::directory - Rust
fn parse_file_paths(
-    directory: ReadDir,
-    file_paths: &mut Vec<PathBuf>
-) -> Result<()>
\ No newline at end of file +parse_file_paths in leo_package::inputs::directory - Rust
fn parse_file_paths(
+    directory: ReadDir,
+    file_paths: &mut Vec<PathBuf>
+) -> Result<()>
\ No newline at end of file diff --git a/leo_package/inputs/directory/index.html b/leo_package/inputs/directory/index.html index b37d3b1408..1b40ad814c 100644 --- a/leo_package/inputs/directory/index.html +++ b/leo_package/inputs/directory/index.html @@ -1 +1 @@ -leo_package::inputs::directory - Rust
\ No newline at end of file +leo_package::inputs::directory - Rust
\ No newline at end of file diff --git a/leo_package/inputs/directory/static.INPUTS_DIRECTORY_NAME.html b/leo_package/inputs/directory/static.INPUTS_DIRECTORY_NAME.html index e78b7ff220..7e1aa4d090 100644 --- a/leo_package/inputs/directory/static.INPUTS_DIRECTORY_NAME.html +++ b/leo_package/inputs/directory/static.INPUTS_DIRECTORY_NAME.html @@ -1 +1 @@ -INPUTS_DIRECTORY_NAME in leo_package::inputs::directory - Rust
pub static INPUTS_DIRECTORY_NAME: &str
\ No newline at end of file +INPUTS_DIRECTORY_NAME in leo_package::inputs::directory - Rust
pub static INPUTS_DIRECTORY_NAME: &str
\ No newline at end of file diff --git a/leo_package/inputs/directory/struct.InputsDirectory.html b/leo_package/inputs/directory/struct.InputsDirectory.html index 02b92e97b5..5b9cb4657a 100644 --- a/leo_package/inputs/directory/struct.InputsDirectory.html +++ b/leo_package/inputs/directory/struct.InputsDirectory.html @@ -1,19 +1,19 @@ -InputsDirectory in leo_package::inputs::directory - Rust
pub struct InputsDirectory;

Implementations§

source§

impl InputsDirectory

source

pub fn create(path: &Path) -> Result<()>

Creates a directory at the provided path with the default directory name.

-
source

pub fn files(path: &Path) -> Result<Vec<PathBuf>>

Returns a list of files in the input directory.

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +InputsDirectory in leo_package::inputs::directory - Rust
pub struct InputsDirectory;

Implementations§

source§

impl InputsDirectory

source

pub fn create(path: &Path) -> Result<()>

Creates a directory at the provided path with the default directory name.

+
source

pub fn files(path: &Path) -> Result<Vec<PathBuf>>

Returns a list of files in the input directory.

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_package/inputs/index.html b/leo_package/inputs/index.html index 96b152528b..3053d85aae 100644 --- a/leo_package/inputs/index.html +++ b/leo_package/inputs/index.html @@ -1 +1 @@ -leo_package::inputs - Rust

Module leo_package::inputs

source ·

Re-exports

Modules

\ No newline at end of file +leo_package::inputs - Rust

Module leo_package::inputs

source ·

Re-exports

Modules

\ No newline at end of file diff --git a/leo_package/inputs/input/index.html b/leo_package/inputs/input/index.html index dcf5309d7a..c7eefccaf2 100644 --- a/leo_package/inputs/input/index.html +++ b/leo_package/inputs/input/index.html @@ -1,2 +1,2 @@ -leo_package::inputs::input - Rust

Module leo_package::inputs::input

source ·
Expand description

The program.in file.

+leo_package::inputs::input - Rust

Module leo_package::inputs::input

source ·
Expand description

The program.in file.

Structs

Statics

\ No newline at end of file diff --git a/leo_package/inputs/input/static.INPUT_FILE_EXTENSION.html b/leo_package/inputs/input/static.INPUT_FILE_EXTENSION.html index 453f96d34d..ed1e1b567c 100644 --- a/leo_package/inputs/input/static.INPUT_FILE_EXTENSION.html +++ b/leo_package/inputs/input/static.INPUT_FILE_EXTENSION.html @@ -1 +1 @@ -INPUT_FILE_EXTENSION in leo_package::inputs::input - Rust
pub static INPUT_FILE_EXTENSION: &str
\ No newline at end of file +INPUT_FILE_EXTENSION in leo_package::inputs::input - Rust
pub static INPUT_FILE_EXTENSION: &str
\ No newline at end of file diff --git a/leo_package/inputs/input/struct.InputFile.html b/leo_package/inputs/input/struct.InputFile.html index ba4fffe5ab..c1c2a33175 100644 --- a/leo_package/inputs/input/struct.InputFile.html +++ b/leo_package/inputs/input/struct.InputFile.html @@ -1,28 +1,28 @@ -InputFile in leo_package::inputs::input - Rust
pub struct InputFile {
-    pub package_name: String,
-}

Fields§

§package_name: String

Implementations§

source§

impl InputFile

source

pub fn new(package_name: &str) -> Self

source

pub fn filename(&self) -> String

source

pub fn exists_at(&self, path: &Path) -> bool

source

pub fn read_from<'a>(&self, path: &'a Path) -> Result<(String, Cow<'a, Path>)>

Reads the program input variables from the given file path if it exists.

-
source

pub fn write_to(self, path: &Path) -> Result<()>

Writes the standard input format to a file.

-
source

fn template(&self) -> String

source

pub fn setup_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for InputFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +InputFile in leo_package::inputs::input - Rust
pub struct InputFile {
+    pub package_name: String,
+}

Fields§

§package_name: String

Implementations§

source§

impl InputFile

source

pub fn new(package_name: &str) -> Self

source

pub fn filename(&self) -> String

source

pub fn exists_at(&self, path: &Path) -> bool

source

pub fn read_from<'a>(&self, path: &'a Path) -> Result<(String, Cow<'a, Path>)>

Reads the program input variables from the given file path if it exists.

+
source

pub fn write_to(self, path: &Path) -> Result<()>

Writes the standard input format to a file.

+
source

fn template(&self) -> String

source

pub fn setup_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for InputFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/outputs/ast_snapshot/enum.Snapshot.html b/leo_package/outputs/ast_snapshot/enum.Snapshot.html index f2070b262c..02cfba9b04 100644 --- a/leo_package/outputs/ast_snapshot/enum.Snapshot.html +++ b/leo_package/outputs/ast_snapshot/enum.Snapshot.html @@ -1,31 +1,31 @@ -Snapshot in leo_package::outputs::ast_snapshot - Rust
pub enum Snapshot {
+Snapshot in leo_package::outputs::ast_snapshot - Rust
pub enum Snapshot {
     Initial,
     ImportsResolved,
     TypeInference,
     Canonicalization,
 }
Expand description

Enum to handle all 3 types of snapshots.

-

Variants§

§

Initial

§

ImportsResolved

§

TypeInference

§

Canonicalization

Trait Implementations§

source§

impl<'de> Deserialize<'de> for Snapshot

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Snapshot

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +

Variants§

§

Initial

§

ImportsResolved

§

TypeInference

§

Canonicalization

Trait Implementations§

source§

impl<'de> Deserialize<'de> for Snapshot

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Snapshot

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/outputs/ast_snapshot/index.html b/leo_package/outputs/ast_snapshot/index.html index ba248781cc..af644625cf 100644 --- a/leo_package/outputs/ast_snapshot/index.html +++ b/leo_package/outputs/ast_snapshot/index.html @@ -1,3 +1,3 @@ -leo_package::outputs::ast_snapshot - Rust
Expand description

The serialized struct output file.

+leo_package::outputs::ast_snapshot - Rust
Expand description

The serialized struct output file.

Structs

  • Generic Snapshot file wrapper. Each package can have up to 3 different snapshots: initial_ast, canonicalization_ast and type_inferenced_ast;

Enums

  • Enum to handle all 3 types of snapshots.

Statics

\ No newline at end of file diff --git a/leo_package/outputs/ast_snapshot/static.AST_SNAPSHOT_FILE_EXTENSION.html b/leo_package/outputs/ast_snapshot/static.AST_SNAPSHOT_FILE_EXTENSION.html index b8bc7ea92c..0ade538260 100644 --- a/leo_package/outputs/ast_snapshot/static.AST_SNAPSHOT_FILE_EXTENSION.html +++ b/leo_package/outputs/ast_snapshot/static.AST_SNAPSHOT_FILE_EXTENSION.html @@ -1 +1 @@ -AST_SNAPSHOT_FILE_EXTENSION in leo_package::outputs::ast_snapshot - Rust
pub static AST_SNAPSHOT_FILE_EXTENSION: &str
\ No newline at end of file +AST_SNAPSHOT_FILE_EXTENSION in leo_package::outputs::ast_snapshot - Rust
pub static AST_SNAPSHOT_FILE_EXTENSION: &str
\ No newline at end of file diff --git a/leo_package/outputs/ast_snapshot/struct.SnapshotFile.html b/leo_package/outputs/ast_snapshot/struct.SnapshotFile.html index e2007890ca..4296a036fe 100644 --- a/leo_package/outputs/ast_snapshot/struct.SnapshotFile.html +++ b/leo_package/outputs/ast_snapshot/struct.SnapshotFile.html @@ -1,32 +1,32 @@ -SnapshotFile in leo_package::outputs::ast_snapshot - Rust
pub struct SnapshotFile {
-    pub package_name: String,
+SnapshotFile in leo_package::outputs::ast_snapshot - Rust
pub struct SnapshotFile {
+    pub package_name: String,
     pub snapshot: Snapshot,
 }
Expand description

Generic Snapshot file wrapper. Each package can have up to 3 different snapshots: initial_ast, canonicalization_ast and type_inferenced_ast;

-

Fields§

§package_name: String§snapshot: Snapshot

Implementations§

source§

impl SnapshotFile

source

pub fn new(package_name: &str, snapshot: Snapshot) -> Self

source

pub fn exists_at(&self, path: &Path) -> bool

source

pub fn read_from(&self, path: &Path) -> Result<String>

Reads the serialized struct from the given file path if it exists.

-
source

pub fn remove(&self, path: &Path) -> Result<bool>

Removes the serialized struct at the given path if it exists. Returns true on success, +

Fields§

§package_name: String§snapshot: Snapshot

Implementations§

source§

impl SnapshotFile

source

pub fn new(package_name: &str, snapshot: Snapshot) -> Self

source

pub fn exists_at(&self, path: &Path) -> bool

source

pub fn read_from(&self, path: &Path) -> Result<String>

Reads the serialized struct from the given file path if it exists.

+
source

pub fn remove(&self, path: &Path) -> Result<bool>

Removes the serialized struct at the given path if it exists. Returns true on success, false if the file doesn’t exist, and Error if the file system fails during operation.

-
source

fn snapshot_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for SnapshotFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +

source

fn snapshot_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for SnapshotFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/outputs/checksum/index.html b/leo_package/outputs/checksum/index.html index b1ebf08fd0..ad9177f9c4 100644 --- a/leo_package/outputs/checksum/index.html +++ b/leo_package/outputs/checksum/index.html @@ -1,2 +1,2 @@ -leo_package::outputs::checksum - Rust
Expand description

The build checksum file.

+leo_package::outputs::checksum - Rust
Expand description

The build checksum file.

Structs

Statics

\ No newline at end of file diff --git a/leo_package/outputs/checksum/static.CHECKSUM_FILE_EXTENSION.html b/leo_package/outputs/checksum/static.CHECKSUM_FILE_EXTENSION.html index 65a24fd908..8e39465d52 100644 --- a/leo_package/outputs/checksum/static.CHECKSUM_FILE_EXTENSION.html +++ b/leo_package/outputs/checksum/static.CHECKSUM_FILE_EXTENSION.html @@ -1 +1 @@ -CHECKSUM_FILE_EXTENSION in leo_package::outputs::checksum - Rust
pub static CHECKSUM_FILE_EXTENSION: &str
\ No newline at end of file +CHECKSUM_FILE_EXTENSION in leo_package::outputs::checksum - Rust
pub static CHECKSUM_FILE_EXTENSION: &str
\ No newline at end of file diff --git a/leo_package/outputs/checksum/struct.ChecksumFile.html b/leo_package/outputs/checksum/struct.ChecksumFile.html index 314fe53eba..f93508a20c 100644 --- a/leo_package/outputs/checksum/struct.ChecksumFile.html +++ b/leo_package/outputs/checksum/struct.ChecksumFile.html @@ -1,30 +1,30 @@ -ChecksumFile in leo_package::outputs::checksum - Rust
pub struct ChecksumFile {
-    pub package_name: String,
-}

Fields§

§package_name: String

Implementations§

source§

impl ChecksumFile

source

pub fn new(package_name: &str) -> Self

source

pub fn exists_at(&self, path: &Path) -> bool

source

pub fn read_from(&self, path: &Path) -> Result<String>

Reads the checksum from the given file path if it exists.

-
source

pub fn write_to(&self, path: &Path, checksum: String) -> Result<()>

Writes the given checksum to a file.

-
source

pub fn remove(&self, path: &Path) -> Result<bool>

Removes the checksum at the given path if it exists. Returns true on success, +ChecksumFile in leo_package::outputs::checksum - Rust

pub struct ChecksumFile {
+    pub package_name: String,
+}

Fields§

§package_name: String

Implementations§

source§

impl ChecksumFile

source

pub fn new(package_name: &str) -> Self

source

pub fn exists_at(&self, path: &Path) -> bool

source

pub fn read_from(&self, path: &Path) -> Result<String>

Reads the checksum from the given file path if it exists.

+
source

pub fn write_to(&self, path: &Path, checksum: String) -> Result<()>

Writes the given checksum to a file.

+
source

pub fn remove(&self, path: &Path) -> Result<bool>

Removes the checksum at the given path if it exists. Returns true on success, false if the file doesn’t exist, and Error if the file system fails during operation.

-
source

fn setup_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for ChecksumFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +

source

fn setup_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for ChecksumFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/outputs/circuit/index.html b/leo_package/outputs/circuit/index.html index e9ebc3d158..91c6655f13 100644 --- a/leo_package/outputs/circuit/index.html +++ b/leo_package/outputs/circuit/index.html @@ -1,2 +1,2 @@ -leo_package::outputs::circuit - Rust
Expand description

The serialized struct output file.

+leo_package::outputs::circuit - Rust
Expand description

The serialized struct output file.

Structs

Statics

\ No newline at end of file diff --git a/leo_package/outputs/circuit/static.CIRCUIT_FILE_EXTENSION.html b/leo_package/outputs/circuit/static.CIRCUIT_FILE_EXTENSION.html index 194d5dbbd3..7e744f1c4c 100644 --- a/leo_package/outputs/circuit/static.CIRCUIT_FILE_EXTENSION.html +++ b/leo_package/outputs/circuit/static.CIRCUIT_FILE_EXTENSION.html @@ -1 +1 @@ -CIRCUIT_FILE_EXTENSION in leo_package::outputs::circuit - Rust
pub static CIRCUIT_FILE_EXTENSION: &str
\ No newline at end of file +CIRCUIT_FILE_EXTENSION in leo_package::outputs::circuit - Rust
pub static CIRCUIT_FILE_EXTENSION: &str
\ No newline at end of file diff --git a/leo_package/outputs/circuit/struct.CircuitFile.html b/leo_package/outputs/circuit/struct.CircuitFile.html index 36fe64722f..2c74a4d381 100644 --- a/leo_package/outputs/circuit/struct.CircuitFile.html +++ b/leo_package/outputs/circuit/struct.CircuitFile.html @@ -1,30 +1,30 @@ -CircuitFile in leo_package::outputs::circuit - Rust
pub struct CircuitFile {
-    pub package_name: String,
-}

Fields§

§package_name: String

Implementations§

source§

impl CircuitFile

source

pub fn new(package_name: &str) -> Self

source

pub fn exists_at(&self, path: &Path) -> bool

source

pub fn read_from(&self, path: &Path) -> Result<String>

Reads the serialized struct from the given file path if it exists.

-
source

pub fn write_to(&self, path: &Path, circuit: String) -> Result<()>

Writes the given serialized struct to a file.

-
source

pub fn remove(&self, path: &Path) -> Result<bool>

Removes the serialized struct at the given path if it exists. Returns true on success, +CircuitFile in leo_package::outputs::circuit - Rust

pub struct CircuitFile {
+    pub package_name: String,
+}

Fields§

§package_name: String

Implementations§

source§

impl CircuitFile

source

pub fn new(package_name: &str) -> Self

source

pub fn exists_at(&self, path: &Path) -> bool

source

pub fn read_from(&self, path: &Path) -> Result<String>

Reads the serialized struct from the given file path if it exists.

+
source

pub fn write_to(&self, path: &Path, circuit: String) -> Result<()>

Writes the given serialized struct to a file.

+
source

pub fn remove(&self, path: &Path) -> Result<bool>

Removes the serialized struct at the given path if it exists. Returns true on success, false if the file doesn’t exist, and Error if the file system fails during operation.

-
source

fn setup_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for CircuitFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +

source

fn setup_file_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>

Trait Implementations§

source§

impl<'de> Deserialize<'de> for CircuitFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/outputs/directory/index.html b/leo_package/outputs/directory/index.html index 29b8a00977..b5295dd5c7 100644 --- a/leo_package/outputs/directory/index.html +++ b/leo_package/outputs/directory/index.html @@ -1 +1 @@ -leo_package::outputs::directory - Rust
\ No newline at end of file +leo_package::outputs::directory - Rust
\ No newline at end of file diff --git a/leo_package/outputs/directory/static.OUTPUTS_DIRECTORY_NAME.html b/leo_package/outputs/directory/static.OUTPUTS_DIRECTORY_NAME.html index 52478083c0..762e2543e9 100644 --- a/leo_package/outputs/directory/static.OUTPUTS_DIRECTORY_NAME.html +++ b/leo_package/outputs/directory/static.OUTPUTS_DIRECTORY_NAME.html @@ -1 +1 @@ -OUTPUTS_DIRECTORY_NAME in leo_package::outputs::directory - Rust
pub static OUTPUTS_DIRECTORY_NAME: &str
\ No newline at end of file +OUTPUTS_DIRECTORY_NAME in leo_package::outputs::directory - Rust
pub static OUTPUTS_DIRECTORY_NAME: &str
\ No newline at end of file diff --git a/leo_package/outputs/directory/struct.OutputsDirectory.html b/leo_package/outputs/directory/struct.OutputsDirectory.html index f2ba9c428d..fd572249c4 100644 --- a/leo_package/outputs/directory/struct.OutputsDirectory.html +++ b/leo_package/outputs/directory/struct.OutputsDirectory.html @@ -1,19 +1,19 @@ -OutputsDirectory in leo_package::outputs::directory - Rust
pub struct OutputsDirectory;

Implementations§

source§

impl OutputsDirectory

source

pub fn create(path: &Path) -> Result<PathBuf>

Creates a directory at the provided path with the default directory name.

-
source

pub fn remove(path: &Path) -> Result<String>

Removes the directory at the provided path.

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +OutputsDirectory in leo_package::outputs::directory - Rust
pub struct OutputsDirectory;

Implementations§

source§

impl OutputsDirectory

source

pub fn create(path: &Path) -> Result<PathBuf>

Creates a directory at the provided path with the default directory name.

+
source

pub fn remove(path: &Path) -> Result<String>

Removes the directory at the provided path.

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_package/outputs/index.html b/leo_package/outputs/index.html index 66f88d5ad3..1098a0a40b 100644 --- a/leo_package/outputs/index.html +++ b/leo_package/outputs/index.html @@ -1 +1 @@ -leo_package::outputs - Rust

Module leo_package::outputs

source ·

Re-exports

Modules

Statics

\ No newline at end of file +leo_package::outputs - Rust

Module leo_package::outputs

source ·

Re-exports

Modules

Statics

\ No newline at end of file diff --git a/leo_package/outputs/static.MAIN_ALEO_FILE_NAME.html b/leo_package/outputs/static.MAIN_ALEO_FILE_NAME.html index 21c3b1fa4d..a5426129b3 100644 --- a/leo_package/outputs/static.MAIN_ALEO_FILE_NAME.html +++ b/leo_package/outputs/static.MAIN_ALEO_FILE_NAME.html @@ -1 +1 @@ -MAIN_ALEO_FILE_NAME in leo_package::outputs - Rust
pub static MAIN_ALEO_FILE_NAME: &str
\ No newline at end of file +MAIN_ALEO_FILE_NAME in leo_package::outputs - Rust
pub static MAIN_ALEO_FILE_NAME: &str
\ No newline at end of file diff --git a/leo_package/package/index.html b/leo_package/package/index.html index ebf9f582e6..4c1e6a36b6 100644 --- a/leo_package/package/index.html +++ b/leo_package/package/index.html @@ -1 +1 @@ -leo_package::package - Rust
\ No newline at end of file +leo_package::package - Rust
\ No newline at end of file diff --git a/leo_package/package/struct.Package.html b/leo_package/package/struct.Package.html index 16014c97e1..047f4e9f65 100644 --- a/leo_package/package/struct.Package.html +++ b/leo_package/package/struct.Package.html @@ -1,38 +1,38 @@ -Package in leo_package::package - Rust
pub struct Package<N: Network> {
-    pub name: String,
-    pub version: String,
-    pub description: Option<String>,
-    pub license: Option<String>,
-    _phantom: PhantomData<N>,
-}

Fields§

§name: String§version: String§description: Option<String>§license: Option<String>§_phantom: PhantomData<N>

Implementations§

source§

impl<N: Network> Package<N>

source

pub fn new(package_name: &str) -> Result<Self>

source

pub fn is_package_name_valid(package_name: &str) -> bool

Returns true if the package name is valid.

+Package in leo_package::package - Rust
pub struct Package<N: Network> {
+    pub name: String,
+    pub version: String,
+    pub description: Option<String>,
+    pub license: Option<String>,
+    _phantom: PhantomData<N>,
+}

Fields§

§name: String§version: String§description: Option<String>§license: Option<String>§_phantom: PhantomData<N>

Implementations§

source§

impl<N: Network> Package<N>

source

pub fn new(package_name: &str) -> Result<Self>

source

pub fn is_package_name_valid(package_name: &str) -> bool

Returns true if the package name is valid.

Package names can only contain ASCII alphanumeric characters and underscores.

-
source

pub fn can_initialize(package_name: &str, path: &Path) -> bool

Returns true if a package is can be initialized at a given path.

-
source

pub fn is_initialized(package_name: &str, path: &Path) -> bool

Returns true if a package is initialized at the given path

-
source

pub fn initialize(package_name: &str, path: &Path) -> Result<()>

Creates a Leo package at the given path

-

Trait Implementations§

source§

impl<'de, N: Network> Deserialize<'de> for Package<N>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl<N> RefUnwindSafe for Package<N>where - N: RefUnwindSafe,

§

impl<N> Send for Package<N>

§

impl<N> Sync for Package<N>

§

impl<N> Unpin for Package<N>where - N: Unpin,

§

impl<N> UnwindSafe for Package<N>where - N: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +

source

pub fn can_initialize(package_name: &str, path: &Path) -> bool

Returns true if a package is can be initialized at a given path.

+
source

pub fn is_initialized(package_name: &str, path: &Path) -> bool

Returns true if a package is initialized at the given path

+
source

pub fn initialize(package_name: &str, path: &Path) -> Result<()>

Creates a Leo package at the given path

+

Trait Implementations§

source§

impl<'de, N: Network> Deserialize<'de> for Package<N>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl<N> RefUnwindSafe for Package<N>where + N: RefUnwindSafe,

§

impl<N> Send for Package<N>

§

impl<N> Sync for Package<N>

§

impl<N> Unpin for Package<N>where + N: Unpin,

§

impl<N> UnwindSafe for Package<N>where + N: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/root/env/index.html b/leo_package/root/env/index.html index 22ac25aa53..14dc77f7fa 100644 --- a/leo_package/root/env/index.html +++ b/leo_package/root/env/index.html @@ -1,2 +1,2 @@ -leo_package::root::env - Rust

Module leo_package::root::env

source ·
Expand description

The .env file.

+leo_package::root::env - Rust

Module leo_package::root::env

source ·
Expand description

The .env file.

Structs

Statics

\ No newline at end of file diff --git a/leo_package/root/env/static.ENV_FILENAME.html b/leo_package/root/env/static.ENV_FILENAME.html index 1cbece2c0c..1692c705e6 100644 --- a/leo_package/root/env/static.ENV_FILENAME.html +++ b/leo_package/root/env/static.ENV_FILENAME.html @@ -1 +1 @@ -ENV_FILENAME in leo_package::root::env - Rust
pub static ENV_FILENAME: &str
\ No newline at end of file +ENV_FILENAME in leo_package::root::env - Rust
pub static ENV_FILENAME: &str
\ No newline at end of file diff --git a/leo_package/root/env/struct.Env.html b/leo_package/root/env/struct.Env.html index 93b68283cf..5df49b24c1 100644 --- a/leo_package/root/env/struct.Env.html +++ b/leo_package/root/env/struct.Env.html @@ -1,30 +1,30 @@ -Env in leo_package::root::env - Rust

Struct leo_package::root::env::Env

source ·
pub struct Env<N: Network> {
-    data: String,
-    _phantom: PhantomData<N>,
-}

Fields§

§data: String§_phantom: PhantomData<N>

Implementations§

source§

impl<N: Network> Env<N>

source

pub fn new() -> Result<Self>

source

pub fn from(data: String) -> Self

source

pub fn exists_at(path: &Path) -> bool

source

pub fn write_to(self, path: &Path) -> Result<()>

source

fn template() -> Result<String>

Trait Implementations§

source§

impl<N: Default + Network> Default for Env<N>

source§

fn default() -> Env<N>

Returns the “default value” for a type. Read more
source§

impl<'de, N: Network> Deserialize<'de> for Env<N>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl<N> RefUnwindSafe for Env<N>where - N: RefUnwindSafe,

§

impl<N> Send for Env<N>

§

impl<N> Sync for Env<N>

§

impl<N> Unpin for Env<N>where - N: Unpin,

§

impl<N> UnwindSafe for Env<N>where - N: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +Env in leo_package::root::env - Rust

Struct leo_package::root::env::Env

source ·
pub struct Env<N: Network> {
+    data: String,
+    _phantom: PhantomData<N>,
+}

Fields§

§data: String§_phantom: PhantomData<N>

Implementations§

source§

impl<N: Network> Env<N>

source

pub fn new() -> Result<Self>

source

pub fn from(data: String) -> Self

source

pub fn exists_at(path: &Path) -> bool

source

pub fn write_to(self, path: &Path) -> Result<()>

source

fn template() -> Result<String>

Trait Implementations§

source§

impl<N: Default + Network> Default for Env<N>

source§

fn default() -> Env<N>

Returns the “default value” for a type. Read more
source§

impl<'de, N: Network> Deserialize<'de> for Env<N>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl<N> RefUnwindSafe for Env<N>where + N: RefUnwindSafe,

§

impl<N> Send for Env<N>

§

impl<N> Sync for Env<N>

§

impl<N> Unpin for Env<N>where + N: Unpin,

§

impl<N> UnwindSafe for Env<N>where + N: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/root/gitignore/index.html b/leo_package/root/gitignore/index.html index 1a35e52043..c5ee868156 100644 --- a/leo_package/root/gitignore/index.html +++ b/leo_package/root/gitignore/index.html @@ -1,2 +1,2 @@ -leo_package::root::gitignore - Rust

Module leo_package::root::gitignore

source ·
Expand description

The .gitignore file.

+leo_package::root::gitignore - Rust

Module leo_package::root::gitignore

source ·
Expand description

The .gitignore file.

Structs

Statics

\ No newline at end of file diff --git a/leo_package/root/gitignore/static.GITIGNORE_FILENAME.html b/leo_package/root/gitignore/static.GITIGNORE_FILENAME.html index c6c7a88659..89ffebe773 100644 --- a/leo_package/root/gitignore/static.GITIGNORE_FILENAME.html +++ b/leo_package/root/gitignore/static.GITIGNORE_FILENAME.html @@ -1 +1 @@ -GITIGNORE_FILENAME in leo_package::root::gitignore - Rust
pub static GITIGNORE_FILENAME: &str
\ No newline at end of file +GITIGNORE_FILENAME in leo_package::root::gitignore - Rust
pub static GITIGNORE_FILENAME: &str
\ No newline at end of file diff --git a/leo_package/root/gitignore/struct.Gitignore.html b/leo_package/root/gitignore/struct.Gitignore.html index e2dcc6f300..8476cb7142 100644 --- a/leo_package/root/gitignore/struct.Gitignore.html +++ b/leo_package/root/gitignore/struct.Gitignore.html @@ -1,24 +1,24 @@ -Gitignore in leo_package::root::gitignore - Rust
pub struct Gitignore;

Implementations§

source§

impl Gitignore

source

pub fn new() -> Self

source

pub fn exists_at(path: &Path) -> bool

source

pub fn write_to(self, path: &Path) -> Result<()>

source

fn template(&self) -> String

Trait Implementations§

source§

impl Default for Gitignore

source§

fn default() -> Gitignore

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Gitignore

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +Gitignore in leo_package::root::gitignore - Rust
pub struct Gitignore;

Implementations§

source§

impl Gitignore

source

pub fn new() -> Self

source

pub fn exists_at(path: &Path) -> bool

source

pub fn write_to(self, path: &Path) -> Result<()>

source

fn template(&self) -> String

Trait Implementations§

source§

impl Default for Gitignore

source§

fn default() -> Gitignore

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Gitignore

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/root/index.html b/leo_package/root/index.html index e5bc3bc997..30a77dd0fd 100644 --- a/leo_package/root/index.html +++ b/leo_package/root/index.html @@ -1 +1 @@ -leo_package::root - Rust

Module leo_package::root

source ·

Re-exports

Modules

\ No newline at end of file +leo_package::root - Rust

Module leo_package::root

source ·

Re-exports

Modules

\ No newline at end of file diff --git a/leo_package/source/directory/index.html b/leo_package/source/directory/index.html index 6a08e8c5c2..931ab7ecc4 100644 --- a/leo_package/source/directory/index.html +++ b/leo_package/source/directory/index.html @@ -1 +1 @@ -leo_package::source::directory - Rust
\ No newline at end of file +leo_package::source::directory - Rust
\ No newline at end of file diff --git a/leo_package/source/directory/static.SOURCE_DIRECTORY_NAME.html b/leo_package/source/directory/static.SOURCE_DIRECTORY_NAME.html index ce5039079e..fc60fdfa6d 100644 --- a/leo_package/source/directory/static.SOURCE_DIRECTORY_NAME.html +++ b/leo_package/source/directory/static.SOURCE_DIRECTORY_NAME.html @@ -1 +1 @@ -SOURCE_DIRECTORY_NAME in leo_package::source::directory - Rust
pub static SOURCE_DIRECTORY_NAME: &str
\ No newline at end of file +SOURCE_DIRECTORY_NAME in leo_package::source::directory - Rust
pub static SOURCE_DIRECTORY_NAME: &str
\ No newline at end of file diff --git a/leo_package/source/directory/struct.SourceDirectory.html b/leo_package/source/directory/struct.SourceDirectory.html index 9815d4b815..1fa5ec6582 100644 --- a/leo_package/source/directory/struct.SourceDirectory.html +++ b/leo_package/source/directory/struct.SourceDirectory.html @@ -1,20 +1,20 @@ -SourceDirectory in leo_package::source::directory - Rust
pub struct SourceDirectory;

Implementations§

source§

impl SourceDirectory

source

pub fn create(path: &Path) -> Result<()>

Creates a directory at the provided path with the default directory name.

-
source

pub fn files(path: &Path) -> Result<Vec<PathBuf>>

Returns a list of files in the source directory.

-
source

pub fn check_files(paths: &[PathBuf]) -> Result<()>

Check that the files in the source directory are valid.

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +SourceDirectory in leo_package::source::directory - Rust
pub struct SourceDirectory;

Implementations§

source§

impl SourceDirectory

source

pub fn create(path: &Path) -> Result<()>

Creates a directory at the provided path with the default directory name.

+
source

pub fn files(path: &Path) -> Result<Vec<PathBuf>>

Returns a list of files in the source directory.

+
source

pub fn check_files(paths: &[PathBuf]) -> Result<()>

Check that the files in the source directory are valid.

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_package/source/index.html b/leo_package/source/index.html index aef6d5504c..baf6ae6d9d 100644 --- a/leo_package/source/index.html +++ b/leo_package/source/index.html @@ -1 +1 @@ -leo_package::source - Rust

Module leo_package::source

source ·

Re-exports

Modules

\ No newline at end of file +leo_package::source - Rust

Module leo_package::source

source ·

Re-exports

Modules

\ No newline at end of file diff --git a/leo_package/source/main/index.html b/leo_package/source/main/index.html index d0b35594ae..c2f64f56b6 100644 --- a/leo_package/source/main/index.html +++ b/leo_package/source/main/index.html @@ -1,2 +1,2 @@ -leo_package::source::main - Rust

Module leo_package::source::main

source ·
Expand description

The main.leo file.

+leo_package::source::main - Rust

Module leo_package::source::main

source ·
Expand description

The main.leo file.

Structs

Statics

\ No newline at end of file diff --git a/leo_package/source/main/static.MAIN_FILENAME.html b/leo_package/source/main/static.MAIN_FILENAME.html index df47148287..8722206de3 100644 --- a/leo_package/source/main/static.MAIN_FILENAME.html +++ b/leo_package/source/main/static.MAIN_FILENAME.html @@ -1 +1 @@ -MAIN_FILENAME in leo_package::source::main - Rust
pub static MAIN_FILENAME: &str
\ No newline at end of file +MAIN_FILENAME in leo_package::source::main - Rust
pub static MAIN_FILENAME: &str
\ No newline at end of file diff --git a/leo_package/source/main/struct.MainFile.html b/leo_package/source/main/struct.MainFile.html index 8a9e4b731b..575fb6bdb5 100644 --- a/leo_package/source/main/struct.MainFile.html +++ b/leo_package/source/main/struct.MainFile.html @@ -1,26 +1,26 @@ -MainFile in leo_package::source::main - Rust
pub struct MainFile {
-    pub package_name: String,
-}

Fields§

§package_name: String

Implementations§

source§

impl MainFile

source

pub fn new(package_name: &str) -> Self

source

pub fn filename() -> String

source

pub fn exists_at(path: &Path) -> bool

source

pub fn write_to(self, path: &Path) -> Result<()>

source

fn template(&self) -> String

Trait Implementations§

source§

impl<'de> Deserialize<'de> for MainFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +MainFile in leo_package::source::main - Rust
pub struct MainFile {
+    pub package_name: String,
+}

Fields§

§package_name: String

Implementations§

source§

impl MainFile

source

pub fn new(package_name: &str) -> Self

source

pub fn filename() -> String

source

pub fn exists_at(path: &Path) -> bool

source

pub fn write_to(self, path: &Path) -> Result<()>

source

fn template(&self) -> String

Trait Implementations§

source§

impl<'de> Deserialize<'de> for MainFile

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_package/static.LEO_FILE_EXTENSION.html b/leo_package/static.LEO_FILE_EXTENSION.html index 2938a037ae..5a2ee1a76d 100644 --- a/leo_package/static.LEO_FILE_EXTENSION.html +++ b/leo_package/static.LEO_FILE_EXTENSION.html @@ -1 +1 @@ -LEO_FILE_EXTENSION in leo_package - Rust
pub static LEO_FILE_EXTENSION: &str
\ No newline at end of file +LEO_FILE_EXTENSION in leo_package - Rust
pub static LEO_FILE_EXTENSION: &str
\ No newline at end of file diff --git a/leo_parser/all.html b/leo_parser/all.html index 93db4173c1..2f08a180fb 100644 --- a/leo_parser/all.html +++ b/leo_parser/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/leo_parser/constant.KEYWORD_TOKENS.html b/leo_parser/constant.KEYWORD_TOKENS.html index f544787b16..64a15c2e0a 100644 --- a/leo_parser/constant.KEYWORD_TOKENS.html +++ b/leo_parser/constant.KEYWORD_TOKENS.html @@ -1,4 +1,4 @@ -KEYWORD_TOKENS in leo_parser - Rust

Constant leo_parser::KEYWORD_TOKENS

source ·
pub const KEYWORD_TOKENS: &[Token];
Expand description

Represents all valid Leo keyword tokens. +KEYWORD_TOKENS in leo_parser - Rust

Constant leo_parser::KEYWORD_TOKENS

source ·
pub const KEYWORD_TOKENS: &[Token];
Expand description

Represents all valid Leo keyword tokens. This differs from the ABNF grammar for the following reasons: Adding true and false to the keywords of the ABNF grammar makes the lexical grammar ambiguous, because true and false are also boolean literals, which are different tokens from keywords.

diff --git a/leo_parser/fn.parse_ast.html b/leo_parser/fn.parse_ast.html index b4fdb7b07b..8b7caa3d4b 100644 --- a/leo_parser/fn.parse_ast.html +++ b/leo_parser/fn.parse_ast.html @@ -1,7 +1,7 @@ -parse_ast in leo_parser - Rust

Function leo_parser::parse_ast

source ·
pub fn parse_ast(
+parse_ast in leo_parser - Rust

Function leo_parser::parse_ast

source ·
pub fn parse_ast(
     handler: &Handler,
     node_builder: &NodeBuilder,
-    source: &str,
+    source: &str,
     start_pos: BytePos
 ) -> Result<Ast>
Expand description

Creates a new AST from a given file path and source code text.

\ No newline at end of file diff --git a/leo_parser/fn.parse_program_inputs.html b/leo_parser/fn.parse_program_inputs.html index fe6b03b022..c8498c3e91 100644 --- a/leo_parser/fn.parse_program_inputs.html +++ b/leo_parser/fn.parse_program_inputs.html @@ -1,7 +1,7 @@ -parse_program_inputs in leo_parser - Rust
pub fn parse_program_inputs(
+parse_program_inputs in leo_parser - Rust
pub fn parse_program_inputs(
     handler: &Handler,
     node_builder: &NodeBuilder,
-    input_string: &str,
+    input_string: &str,
     start_pos: BytePos
 ) -> Result<InputData>
Expand description

Parses program inputs from the input file path

\ No newline at end of file diff --git a/leo_parser/index.html b/leo_parser/index.html index 72b8853833..bfa5105ca8 100644 --- a/leo_parser/index.html +++ b/leo_parser/index.html @@ -1,4 +1,5 @@ -leo_parser - Rust

Crate leo_parser

source ·
Expand description

The parser to convert Leo code text into an [AST] type.

+leo_parser - Rust

Crate leo_parser

source ·
Expand description

The parser to convert Leo code text into an [AST] type.

This module contains the parse_ast() method which calls the underlying parse() method to create a new program ast.

leo-parser

diff --git a/leo_parser/parser/context/constant.DUMMY_EOF.html b/leo_parser/parser/context/constant.DUMMY_EOF.html index 4f9b914f24..81d9f5204c 100644 --- a/leo_parser/parser/context/constant.DUMMY_EOF.html +++ b/leo_parser/parser/context/constant.DUMMY_EOF.html @@ -1,2 +1,2 @@ -DUMMY_EOF in leo_parser::parser::context - Rust
const DUMMY_EOF: SpannedToken;
Expand description

Dummy span used to appease borrow checker.

+DUMMY_EOF in leo_parser::parser::context - Rust
const DUMMY_EOF: SpannedToken;
Expand description

Dummy span used to appease borrow checker.

\ No newline at end of file diff --git a/leo_parser/parser/context/index.html b/leo_parser/parser/context/index.html index bac0d1a5eb..0db46c2ebc 100644 --- a/leo_parser/parser/context/index.html +++ b/leo_parser/parser/context/index.html @@ -1,2 +1,2 @@ -leo_parser::parser::context - Rust

Module leo_parser::parser::context

source ·

Structs

source

pub(super) fn parse_paren_comma_list<T>( &mut self, - f: impl FnMut(&mut Self) -> Result<Option<T>> -) -> Result<(Vec<T>, bool, Span)>

Parse a list separated by , and delimited by parens.

+ f: impl FnMut(&mut Self) -> Result<Option<T>> +) -> Result<(Vec<T>, bool, Span)>

Parse a list separated by , and delimited by parens.

source

pub(super) fn parse_bracket_comma_list<T>( &mut self, - f: impl FnMut(&mut Self) -> Result<Option<T>> -) -> Result<(Vec<T>, bool, Span)>

Parse a list separated by , and delimited by brackets.

-
source

pub(super) fn peek_is_left_par(&self) -> bool

Returns true if the current token is (.

+ f: impl FnMut(&mut Self) -> Result<Option<T>> +) -> Result<(Vec<T>, bool, Span)>

Parse a list separated by , and delimited by brackets.

+
source

pub(super) fn peek_is_left_par(&self) -> bool

Returns true if the current token is (.

source§

impl ParserContext<'_>

source

pub(crate) fn parse_expression(&mut self) -> Result<Expression>

Returns an Expression AST node if the next token is an expression. Includes struct init expressions.

source

pub(super) fn parse_conditional_expression(&mut self) -> Result<Expression>

Returns an Expression AST node if the next tokens represent @@ -79,7 +79,7 @@

source

fn parse_bin_expr( &mut self, tokens: &[Token], - f: impl FnMut(&mut Self) -> Result<Expression> + f: impl FnMut(&mut Self) -> Result<Expression> ) -> Result<Expression>

Parses a left-associative binary expression <left> token <right> using f for left/right. The token is translated to op in the AST.

source

fn parse_boolean_or_expression(&mut self) -> Result<Expression>

Returns an Expression AST node if the next tokens represent @@ -88,7 +88,7 @@

source

fn parse_boolean_and_expression(&mut self) -> Result<Expression>

Returns an Expression AST node if the next tokens represent a binary AND expression.

Otherwise, tries to parse the next token using [parse_equality_expression].

-
source

fn eat_bin_op(&mut self, tokens: &[Token]) -> Option<BinaryOperation>

Eats one of binary operators matching any in tokens.

+
source

fn eat_bin_op(&mut self, tokens: &[Token]) -> Option<BinaryOperation>

Eats one of binary operators matching any in tokens.

source

fn parse_ordering_expression(&mut self) -> Result<Expression>

Returns an Expression AST node if the next tokens represent a binary relational expression: less than, less than or equals, greater than, greater than or equals.

Otherwise, tries to parse the next token using [parse_additive_expression].

@@ -135,17 +135,17 @@ static access expression.

source

pub(crate) fn parse_expr_tuple( &mut self -) -> Result<(Vec<Expression>, bool, Span)>

Parses a tuple of Expression AST nodes.

+) -> Result<(Vec<Expression>, bool, Span)>

Parses a tuple of Expression AST nodes.

source

fn parse_postfix_expression(&mut self) -> Result<Expression>

Returns an Expression AST node if the next tokens represent an array access, struct member access, function call, or static function call expression.

Otherwise, tries to parse the next token using [parse_primary_expression].

source

fn parse_tuple_expression(&mut self) -> Result<Expression>

Returns an Expression AST node if the next tokens represent a tuple initialization expression or an affine group literal.

source

fn parse_array_expression(&mut self) -> Result<Expression>

Returns an Expression AST node if the next tokens represent an array initialization expression.

-
source

fn peek_group_coordinate(&self, dist: &mut usize) -> Option<GroupCoordinate>

Returns a reference to the next token if it is a GroupCoordinate, or None if +

source

fn peek_group_coordinate(&self, dist: &mut usize) -> Option<GroupCoordinate>

Returns a reference to the next token if it is a GroupCoordinate, or None if the next token is not a GroupCoordinate.

-
source

fn eat_group_partial(&mut self) -> Option<Result<GroupTuple>>

Removes the next two tokens if they are a pair of GroupCoordinate and returns them, -or None if the next token is not a GroupCoordinate.

+
source

fn eat_group_partial(&mut self) -> Option<Result<GroupTuple>>

Removes the next two tokens if they are a pair of GroupCoordinate and returns them, +or None if the next token is not a GroupCoordinate.

source

fn parse_struct_member(&mut self) -> Result<StructVariableInitializer>

source

pub fn parse_struct_init_expression( &mut self, identifier: Identifier @@ -163,7 +163,7 @@

source§

impl ParserContext<'_>

source

pub fn parse_program(&mut self) -> Result<Program>

Returns a Program AST if all tokens can be consumed and represent a valid Leo program.

source

fn unexpected_item(token: &SpannedToken, expected: &[Token]) -> ParserError

source

pub(super) fn parse_import(&mut self) -> Result<(Symbol, (Program, Span))>

Parses an import statement import foo.leo;.

source

fn parse_program_scope(&mut self) -> Result<ProgramScope>

Parsers a program scope program foo.aleo { ... }.

-
source

fn parse_struct_members(&mut self) -> Result<(Vec<Member>, Span)>

Returns a Vec<Member> AST node if the next tokens represent a struct member.

+
source

fn parse_struct_members(&mut self) -> Result<(Vec<Member>, Span)>

Returns a Vec<Member> AST node if the next tokens represent a struct member.

source

pub(super) fn parse_typed_ident(&mut self) -> Result<(Identifier, Type, Span)>

Parses IDENT: TYPE.

source

fn parse_member_variable_declaration(&mut self) -> Result<Member>

Returns a Member AST node if the next tokens represent a struct member variable.

source

pub(super) fn parse_struct(&mut self) -> Result<(Symbol, Struct)>

Parses a struct or record definition, e.g., struct Foo { ... } or record Foo { ... }.

@@ -172,7 +172,7 @@
source

fn parse_input(&mut self) -> Result<Input>

Returns a Input AST node if the next tokens represent a function output.

source

fn parse_function_output(&mut self) -> Result<FunctionOutput>

Returns a FunctionOutput AST node if the next tokens represent a function output.

source

fn parse_output(&mut self) -> Result<Output>

Returns a Output AST node if the next tokens represent a function output.

-
source

fn peek_is_external(&self) -> bool

source

fn parse_annotation(&mut self) -> Result<Annotation>

Returns an Annotation AST node if the next tokens represent an annotation.

+
source

fn peek_is_external(&self) -> bool

source

fn parse_annotation(&mut self) -> Result<Annotation>

Returns an Annotation AST node if the next tokens represent an annotation.

source

fn parse_function(&mut self) -> Result<(Symbol, Function)>

Returns an [(Identifier, Function)] AST node if the next tokens represent a function name and function definition.

source§

impl ParserContext<'_>

source

pub(crate) fn parse_input_file(&mut self) -> Result<InputAst>

Returns a [ParsedInputFile] struct filled with the data acquired in the file.

@@ -196,25 +196,25 @@
source

pub(super) fn parse_definition_statement( &mut self ) -> Result<DefinitionStatement>

Returns a DefinitionStatement AST node if the next tokens represent a definition statement.

-
source§

impl ParserContext<'_>

source

pub(super) fn token_to_int_type(token: &Token) -> Option<IntegerType>

Returns a IntegerType AST node if the given token is a supported integer type, or None.

+
source§

impl ParserContext<'_>

source

pub(super) fn token_to_int_type(token: &Token) -> Option<IntegerType>

Returns a IntegerType AST node if the given token is a supported integer type, or None.

source

pub fn parse_primitive_type(&mut self) -> Result<(Type, Span)>

Returns a [(Type, Span)] tuple of AST nodes if the next token represents a primitive type. Also returns the span of the parsed token.

source

pub fn parse_type(&mut self) -> Result<(Type, Span)>

Returns a [(Type, Span)] tuple of AST nodes if the next token represents a type. Also returns the span of the parsed token.

-

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for ParserContext<'a>

§

impl<'a> !Send for ParserContext<'a>

§

impl<'a> !Sync for ParserContext<'a>

§

impl<'a> Unpin for ParserContext<'a>

§

impl<'a> !UnwindSafe for ParserContext<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for ParserContext<'a>

§

impl<'a> !Send for ParserContext<'a>

§

impl<'a> !Sync for ParserContext<'a>

§

impl<'a> Unpin for ParserContext<'a>

§

impl<'a> !UnwindSafe for ParserContext<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_parser/parser/expression/constant.INT_TYPES.html b/leo_parser/parser/expression/constant.INT_TYPES.html index 297d559c85..723959f37b 100644 --- a/leo_parser/parser/expression/constant.INT_TYPES.html +++ b/leo_parser/parser/expression/constant.INT_TYPES.html @@ -1 +1 @@ -INT_TYPES in leo_parser::parser::expression - Rust
const INT_TYPES: &[Token];
\ No newline at end of file +INT_TYPES in leo_parser::parser::expression - Rust
const INT_TYPES: &[Token];
\ No newline at end of file diff --git a/leo_parser/parser/expression/fn.assert_no_whitespace.html b/leo_parser/parser/expression/fn.assert_no_whitespace.html index e64233ee7e..71740b3123 100644 --- a/leo_parser/parser/expression/fn.assert_no_whitespace.html +++ b/leo_parser/parser/expression/fn.assert_no_whitespace.html @@ -1,6 +1,6 @@ -assert_no_whitespace in leo_parser::parser::expression - Rust
fn assert_no_whitespace(
+assert_no_whitespace in leo_parser::parser::expression - Rust
fn assert_no_whitespace(
     left_span: Span,
     right_span: Span,
-    left: &str,
-    right: &str
-) -> Result<()>
\ No newline at end of file + left: &str, + right: &str +) -> Result<()>
\ No newline at end of file diff --git a/leo_parser/parser/expression/index.html b/leo_parser/parser/expression/index.html index 2d255f230c..d09932c065 100644 --- a/leo_parser/parser/expression/index.html +++ b/leo_parser/parser/expression/index.html @@ -1 +1 @@ -leo_parser::parser::expression - Rust
\ No newline at end of file +leo_parser::parser::expression - Rust
\ No newline at end of file diff --git a/leo_parser/parser/file/index.html b/leo_parser/parser/file/index.html index 12818102bc..3e6d73f0ea 100644 --- a/leo_parser/parser/file/index.html +++ b/leo_parser/parser/file/index.html @@ -1 +1 @@ -leo_parser::parser::file - Rust

Module leo_parser::parser::file

source ·
\ No newline at end of file +leo_parser::parser::file - Rust

Module leo_parser::parser::file

source ·
\ No newline at end of file diff --git a/leo_parser/parser/fn.parse.html b/leo_parser/parser/fn.parse.html index 242a431d27..af8d0f339f 100644 --- a/leo_parser/parser/fn.parse.html +++ b/leo_parser/parser/fn.parse.html @@ -1,7 +1,7 @@ -parse in leo_parser::parser - Rust

Function leo_parser::parser::parse

source ·
pub fn parse(
+parse in leo_parser::parser - Rust

Function leo_parser::parser::parse

source ·
pub fn parse(
     handler: &Handler,
     node_builder: &NodeBuilder,
-    source: &str,
+    source: &str,
     start_pos: BytePos
 ) -> Result<Program>
Expand description

Creates a new program from a given file path and source code text.

\ No newline at end of file diff --git a/leo_parser/parser/fn.parse_input.html b/leo_parser/parser/fn.parse_input.html index 523ffc2af0..16bf00df2f 100644 --- a/leo_parser/parser/fn.parse_input.html +++ b/leo_parser/parser/fn.parse_input.html @@ -1,7 +1,7 @@ -parse_input in leo_parser::parser - Rust

Function leo_parser::parser::parse_input

source ·
pub fn parse_input(
+parse_input in leo_parser::parser - Rust

Function leo_parser::parser::parse_input

source ·
pub fn parse_input(
     handler: &Handler,
     node_builder: &NodeBuilder,
-    source: &str,
+    source: &str,
     start_pos: BytePos
 ) -> Result<InputAst>
Expand description

Parses an input file at the given file path and source code text.

\ No newline at end of file diff --git a/leo_parser/parser/index.html b/leo_parser/parser/index.html index b063b557f8..5ec6b9bdd0 100644 --- a/leo_parser/parser/index.html +++ b/leo_parser/parser/index.html @@ -1,4 +1,4 @@ -leo_parser::parser - Rust

Module leo_parser::parser

source ·
Expand description

The parser to convert Leo code text into an Program AST type.

+leo_parser::parser - Rust

Module leo_parser::parser

source ·
Expand description

The parser to convert Leo code text into an Program AST type.

This module contains the parse() method which calls the underlying tokenize() method to create a new program ast.

Modules

Functions

  • Creates a new program from a given file path and source code text.
  • Parses an input file at the given file path and source code text.
\ No newline at end of file diff --git a/leo_parser/parser/input/index.html b/leo_parser/parser/input/index.html index 7da5304b09..b1e6c5439a 100644 --- a/leo_parser/parser/input/index.html +++ b/leo_parser/parser/input/index.html @@ -1 +1 @@ -leo_parser::parser::input - Rust

Module leo_parser::parser::input

source ·
\ No newline at end of file +leo_parser::parser::input - Rust

Module leo_parser::parser::input

source ·
\ No newline at end of file diff --git a/leo_parser/parser/statement/constant.ASSIGN_TOKENS.html b/leo_parser/parser/statement/constant.ASSIGN_TOKENS.html index 0c057deb67..7d2e6036fd 100644 --- a/leo_parser/parser/statement/constant.ASSIGN_TOKENS.html +++ b/leo_parser/parser/statement/constant.ASSIGN_TOKENS.html @@ -1 +1 @@ -ASSIGN_TOKENS in leo_parser::parser::statement - Rust
const ASSIGN_TOKENS: &[Token];
\ No newline at end of file +ASSIGN_TOKENS in leo_parser::parser::statement - Rust
const ASSIGN_TOKENS: &[Token];
\ No newline at end of file diff --git a/leo_parser/parser/statement/index.html b/leo_parser/parser/statement/index.html index d9ac93f027..8a66cc4b8b 100644 --- a/leo_parser/parser/statement/index.html +++ b/leo_parser/parser/statement/index.html @@ -1 +1 @@ -leo_parser::parser::statement - Rust
\ No newline at end of file +leo_parser::parser::statement - Rust
\ No newline at end of file diff --git a/leo_parser/parser/type_/constant.TYPE_TOKENS.html b/leo_parser/parser/type_/constant.TYPE_TOKENS.html index 79fb7b398c..dcc7565f38 100644 --- a/leo_parser/parser/type_/constant.TYPE_TOKENS.html +++ b/leo_parser/parser/type_/constant.TYPE_TOKENS.html @@ -1 +1 @@ -TYPE_TOKENS in leo_parser::parser::type_ - Rust
pub(super) const TYPE_TOKENS: &[Token];
\ No newline at end of file +TYPE_TOKENS in leo_parser::parser::type_ - Rust
pub(super) const TYPE_TOKENS: &[Token];
\ No newline at end of file diff --git a/leo_parser/parser/type_/index.html b/leo_parser/parser/type_/index.html index c0d061664e..8f8b79553a 100644 --- a/leo_parser/parser/type_/index.html +++ b/leo_parser/parser/type_/index.html @@ -1 +1 @@ -leo_parser::parser::type_ - Rust
\ No newline at end of file +leo_parser::parser::type_ - Rust
\ No newline at end of file diff --git a/leo_parser/tokenizer/fn.tokenize.html b/leo_parser/tokenizer/fn.tokenize.html index 95df213837..cf117e556a 100644 --- a/leo_parser/tokenizer/fn.tokenize.html +++ b/leo_parser/tokenizer/fn.tokenize.html @@ -1,5 +1,5 @@ -tokenize in leo_parser::tokenizer - Rust

Function leo_parser::tokenizer::tokenize

source ·
pub(crate) fn tokenize(
-    input: &str,
+tokenize in leo_parser::tokenizer - Rust

Function leo_parser::tokenizer::tokenize

source ·
pub(crate) fn tokenize(
+    input: &str,
     start_pos: BytePos
-) -> Result<Vec<SpannedToken>>
Expand description

Creates a new vector of spanned tokens from a given file path and source code text.

+) -> Result<Vec<SpannedToken>>
Expand description

Creates a new vector of spanned tokens from a given file path and source code text.

\ No newline at end of file diff --git a/leo_parser/tokenizer/fn.tokenize_iter.html b/leo_parser/tokenizer/fn.tokenize_iter.html index b11b28fb23..861c11a6f6 100644 --- a/leo_parser/tokenizer/fn.tokenize_iter.html +++ b/leo_parser/tokenizer/fn.tokenize_iter.html @@ -1,6 +1,6 @@ -tokenize_iter in leo_parser::tokenizer - Rust
pub(crate) fn tokenize_iter(
-    input: &str,
+tokenize_iter in leo_parser::tokenizer - Rust
pub(crate) fn tokenize_iter(
+    input: &str,
     lo: BytePos
-) -> impl '_ + Iterator<Item = Result<SpannedToken>>
Expand description

Yields spanned tokens from the given source code text.

+) -> impl '_ + Iterator<Item = Result<SpannedToken>>
Expand description

Yields spanned tokens from the given source code text.

The lo byte position determines where spans will start.

\ No newline at end of file diff --git a/leo_parser/tokenizer/index.html b/leo_parser/tokenizer/index.html index 9c970358d6..726c1b5111 100644 --- a/leo_parser/tokenizer/index.html +++ b/leo_parser/tokenizer/index.html @@ -1,4 +1,4 @@ -leo_parser::tokenizer - Rust

Module leo_parser::tokenizer

source ·
Expand description

The tokenizer to convert Leo code text into tokens.

+leo_parser::tokenizer - Rust

Module leo_parser::tokenizer

source ·
Expand description

The tokenizer to convert Leo code text into tokens.

This module contains the tokenize() method which breaks down string text into tokens, optionally separated by whitespace.

Re-exports

Modules

Functions

  • tokenize 🔒
    Creates a new vector of spanned tokens from a given file path and source code text.
  • Yields spanned tokens from the given source code text.
\ No newline at end of file diff --git a/leo_parser/tokenizer/lexer/fn.eat_identifier.html b/leo_parser/tokenizer/lexer/fn.eat_identifier.html index c299ce4835..cd30c99da2 100644 --- a/leo_parser/tokenizer/lexer/fn.eat_identifier.html +++ b/leo_parser/tokenizer/lexer/fn.eat_identifier.html @@ -1,4 +1,4 @@ -eat_identifier in leo_parser::tokenizer::lexer - Rust
fn eat_identifier(
-    input: &mut Peekable<impl Iterator<Item = char>>
-) -> Option<String>
Expand description

Eat an identifier, that is, a string matching ‘[a-zA-Z][a-zA-Z\d_]*’, if any.

+eat_identifier in leo_parser::tokenizer::lexer - Rust
fn eat_identifier(
+    input: &mut Peekable<impl Iterator<Item = char>>
+) -> Option<String>
Expand description

Eat an identifier, that is, a string matching ‘[a-zA-Z][a-zA-Z\d_]*’, if any.

\ No newline at end of file diff --git a/leo_parser/tokenizer/lexer/fn.ensure_no_bidi_override.html b/leo_parser/tokenizer/lexer/fn.ensure_no_bidi_override.html index b75224f865..675214eb34 100644 --- a/leo_parser/tokenizer/lexer/fn.ensure_no_bidi_override.html +++ b/leo_parser/tokenizer/lexer/fn.ensure_no_bidi_override.html @@ -1,2 +1,2 @@ -ensure_no_bidi_override in leo_parser::tokenizer::lexer - Rust
fn ensure_no_bidi_override(string: &str) -> Result<()>
Expand description

Ensure that string contains no Unicode Bidirectional Override code points.

+ensure_no_bidi_override in leo_parser::tokenizer::lexer - Rust
fn ensure_no_bidi_override(string: &str) -> Result<()>
Expand description

Ensure that string contains no Unicode Bidirectional Override code points.

\ No newline at end of file diff --git a/leo_parser/tokenizer/lexer/fn.is_bidi_override.html b/leo_parser/tokenizer/lexer/fn.is_bidi_override.html index c0419972a5..a5a0afb3b7 100644 --- a/leo_parser/tokenizer/lexer/fn.is_bidi_override.html +++ b/leo_parser/tokenizer/lexer/fn.is_bidi_override.html @@ -1,2 +1,2 @@ -is_bidi_override in leo_parser::tokenizer::lexer - Rust
fn is_bidi_override(c: char) -> bool
Expand description

Checks if a char is a Unicode Bidirectional Override code point

+is_bidi_override in leo_parser::tokenizer::lexer - Rust
fn is_bidi_override(c: char) -> bool
Expand description

Checks if a char is a Unicode Bidirectional Override code point

\ No newline at end of file diff --git a/leo_parser/tokenizer/lexer/index.html b/leo_parser/tokenizer/lexer/index.html index 71ddccf9e1..e513cf56ea 100644 --- a/leo_parser/tokenizer/lexer/index.html +++ b/leo_parser/tokenizer/lexer/index.html @@ -1 +1 @@ -leo_parser::tokenizer::lexer - Rust

Module leo_parser::tokenizer::lexer

source ·

Structs

Functions

  • Eat an identifier, that is, a string matching ‘[a-zA-Z][a-zA-Z\d_]*’, if any.
  • Ensure that string contains no Unicode Bidirectional Override code points.
  • Checks if a char is a Unicode Bidirectional Override code point
\ No newline at end of file +leo_parser::tokenizer::lexer - Rust

Module leo_parser::tokenizer::lexer

source ·

Structs

Functions

  • Eat an identifier, that is, a string matching ‘[a-zA-Z][a-zA-Z\d_]*’, if any.
  • Ensure that string contains no Unicode Bidirectional Override code points.
  • Checks if a char is a Unicode Bidirectional Override code point
\ No newline at end of file diff --git a/leo_parser/tokenizer/lexer/struct.SpannedToken.html b/leo_parser/tokenizer/lexer/struct.SpannedToken.html index e4150d6631..36f4373cf9 100644 --- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html +++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html @@ -1,31 +1,31 @@ -SpannedToken in leo_parser::tokenizer::lexer - Rust
pub struct SpannedToken {
+SpannedToken in leo_parser::tokenizer::lexer - Rust
pub struct SpannedToken {
     pub token: Token,
     pub span: Span,
 }

Fields§

§token: Token§span: Span

Implementations§

source§

impl SpannedToken

source

pub const fn dummy() -> Self

Returns a dummy token at a dummy span.

-

Trait Implementations§

source§

impl Clone for SpannedToken

source§

fn clone(&self) -> SpannedToken

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SpannedToken

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SpannedToken

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for SpannedToken

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for SpannedToken

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +

Trait Implementations§

source§

impl Clone for SpannedToken

source§

fn clone(&self) -> SpannedToken

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SpannedToken

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SpannedToken

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for SpannedToken

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for SpannedToken

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_parser/tokenizer/token/constant.KEYWORD_TOKENS.html b/leo_parser/tokenizer/token/constant.KEYWORD_TOKENS.html index a689a0b7d0..8e2bca5f65 100644 --- a/leo_parser/tokenizer/token/constant.KEYWORD_TOKENS.html +++ b/leo_parser/tokenizer/token/constant.KEYWORD_TOKENS.html @@ -1,4 +1,4 @@ -KEYWORD_TOKENS in leo_parser::tokenizer::token - Rust
pub const KEYWORD_TOKENS: &[Token];
Expand description

Represents all valid Leo keyword tokens. +KEYWORD_TOKENS in leo_parser::tokenizer::token - Rust

pub const KEYWORD_TOKENS: &[Token];
Expand description

Represents all valid Leo keyword tokens. This differs from the ABNF grammar for the following reasons: Adding true and false to the keywords of the ABNF grammar makes the lexical grammar ambiguous, because true and false are also boolean literals, which are different tokens from keywords.

diff --git a/leo_parser/tokenizer/token/enum.Delimiter.html b/leo_parser/tokenizer/token/enum.Delimiter.html index 2a0737d424..bd582a37c2 100644 --- a/leo_parser/tokenizer/token/enum.Delimiter.html +++ b/leo_parser/tokenizer/token/enum.Delimiter.html @@ -1,4 +1,4 @@ -Delimiter in leo_parser::tokenizer::token - Rust

Implementations§

source§

impl Delimiter

source

pub fn open_close_pair(self) -> (Token, Token)

Returns the open/close tokens that the delimiter corresponds to.

-

Trait Implementations§

source§

impl Clone for Delimiter

source§

fn clone(&self) -> Delimiter

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for Delimiter

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +

Trait Implementations§

source§

impl Clone for Delimiter

source§

fn clone(&self) -> Delimiter

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for Delimiter

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_parser/tokenizer/token/enum.Token.html b/leo_parser/tokenizer/token/enum.Token.html index c649e52db0..b5b050f042 100644 --- a/leo_parser/tokenizer/token/enum.Token.html +++ b/leo_parser/tokenizer/token/enum.Token.html @@ -1,12 +1,12 @@ -Token in leo_parser::tokenizer::token - Rust
pub enum Token {
-
Show 106 variants CommentLine(String), - CommentBlock(String), - StaticString(String), +Token in leo_parser::tokenizer::token - Rust
pub enum Token {
+
Show 106 variants CommentLine(String), + CommentBlock(String), + StaticString(String), Identifier(Symbol), - Integer(String), + Integer(String), True, False, - AddressLit(String), + AddressLit(String), WhiteSpace, Not, And, @@ -106,46 +106,46 @@ Eof, Leo,
}
Expand description

Represents all valid Leo syntax tokens.

-

Variants§

§

CommentLine(String)

§

CommentBlock(String)

§

StaticString(String)

§

Identifier(Symbol)

§

Integer(String)

§

True

§

False

§

AddressLit(String)

§

WhiteSpace

§

Not

§

And

§

AndAssign

§

Or

§

OrAssign

§

BitAnd

§

BitAndAssign

§

BitOr

§

BitOrAssign

§

Eq

§

NotEq

§

Lt

§

LtEq

§

Gt

§

GtEq

§

Add

§

AddAssign

§

Sub

§

SubAssign

§

Mul

§

MulAssign

§

Div

§

DivAssign

§

Pow

§

PowAssign

§

Rem

§

RemAssign

§

Assign

§

LeftParen

§

RightParen

§

LeftSquare

§

RightSquare

§

LeftCurly

§

RightCurly

§

Comma

§

Dot

§

DotDot

§

Semicolon

§

Colon

§

DoubleColon

§

Question

§

Arrow

§

BigArrow

§

Shl

§

ShlAssign

§

Shr

§

ShrAssign

§

Underscore

§

BitXor

§

BitXorAssign

§

At

§

Address

§

Bool

§

Field

§

Group

§

Scalar

§

Signature

§

String

§

I8

§

I16

§

I32

§

I64

§

I128

§

U8

§

U16

§

U32

§

U64

§

U128

§

Record

§

As

§

Assert

§

AssertEq

§

AssertNeq

§

Console

§

Const

§

Constant

§

Else

§

Finalize

§

For

§

Function

§

If

§

Import

§

In

§

Inline

§

Let

§

Mapping

§

Private

§

Program

§

Public

§

Return

§

SelfLower

§

Struct

§

Then

§

Transition

§

Block

§

Eof

§

Leo

Implementations§

source§

impl Token

source

pub fn is_keyword(&self) -> bool

Returns true if the self token equals a Leo keyword.

-
source

pub fn keyword_to_symbol(&self) -> Option<Symbol>

Converts self to the corresponding Symbol if it is_keyword.

+

Variants§

§

CommentLine(String)

§

CommentBlock(String)

§

StaticString(String)

§

Identifier(Symbol)

§

Integer(String)

§

True

§

False

§

AddressLit(String)

§

WhiteSpace

§

Not

§

And

§

AndAssign

§

Or

§

OrAssign

§

BitAnd

§

BitAndAssign

§

BitOr

§

BitOrAssign

§

Eq

§

NotEq

§

Lt

§

LtEq

§

Gt

§

GtEq

§

Add

§

AddAssign

§

Sub

§

SubAssign

§

Mul

§

MulAssign

§

Div

§

DivAssign

§

Pow

§

PowAssign

§

Rem

§

RemAssign

§

Assign

§

LeftParen

§

RightParen

§

LeftSquare

§

RightSquare

§

LeftCurly

§

RightCurly

§

Comma

§

Dot

§

DotDot

§

Semicolon

§

Colon

§

DoubleColon

§

Question

§

Arrow

§

BigArrow

§

Shl

§

ShlAssign

§

Shr

§

ShrAssign

§

Underscore

§

BitXor

§

BitXorAssign

§

At

§

Address

§

Bool

§

Field

§

Group

§

Scalar

§

Signature

§

String

§

I8

§

I16

§

I32

§

I64

§

I128

§

U8

§

U16

§

U32

§

U64

§

U128

§

Record

§

As

§

Assert

§

AssertEq

§

AssertNeq

§

Console

§

Const

§

Constant

§

Else

§

Finalize

§

For

§

Function

§

If

§

Import

§

In

§

Inline

§

Let

§

Mapping

§

Private

§

Program

§

Public

§

Return

§

SelfLower

§

Struct

§

Then

§

Transition

§

Block

§

Eof

§

Leo

Implementations§

source§

impl Token

source

pub fn is_keyword(&self) -> bool

Returns true if the self token equals a Leo keyword.

+
source

pub fn keyword_to_symbol(&self) -> Option<Symbol>

Converts self to the corresponding Symbol if it is_keyword.

source§

impl Token

source

fn eat_integer( - input: &mut Peekable<impl Iterator<Item = char>> -) -> Result<(usize, Token)>

Returns a tuple: [(integer length, integer token)] if an integer can be eaten, otherwise returns None. + input: &mut Peekable<impl Iterator<Item = char>> +) -> Result<(usize, Token)>

Returns a tuple: [(integer length, integer token)] if an integer can be eaten, otherwise returns None. An integer can be eaten if its bytes are at the front of the given input string.

-
source

pub(crate) fn eat(input: &str) -> Result<(usize, Token)>

Returns a tuple: [(token length, token)] if the next token can be eaten, otherwise returns an error. +

source

pub(crate) fn eat(input: &str) -> Result<(usize, Token)>

Returns a tuple: [(token length, token)] if the next token can be eaten, otherwise returns an error. The next token can be eaten if the bytes at the front of the given input string can be scanned into a token.

-

Trait Implementations§

source§

impl Clone for Token

source§

fn clone(&self) -> Token

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Token

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Token

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Token

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<Token> for Token

source§

fn eq(&self, other: &Token) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Token

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Token

source§

impl StructuralEq for Token

source§

impl StructuralPartialEq for Token

Auto Trait Implementations§

§

impl RefUnwindSafe for Token

§

impl Send for Token

§

impl Sync for Token

§

impl Unpin for Token

§

impl UnwindSafe for Token

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +

Trait Implementations§

source§

impl Clone for Token

source§

fn clone(&self) -> Token

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Token

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Token

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Token

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for Token

source§

fn eq(&self, other: &Token) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Token

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Token

source§

impl StructuralEq for Token

source§

impl StructuralPartialEq for Token

Auto Trait Implementations§

§

impl RefUnwindSafe for Token

§

impl Send for Token

§

impl Sync for Token

§

impl Unpin for Token

§

impl UnwindSafe for Token

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_parser/tokenizer/token/index.html b/leo_parser/tokenizer/token/index.html index 1909336a47..09f4463ec3 100644 --- a/leo_parser/tokenizer/token/index.html +++ b/leo_parser/tokenizer/token/index.html @@ -1,4 +1,4 @@ -leo_parser::tokenizer::token - Rust

Module leo_parser::tokenizer::token

source ·

Enums

  • Describes delimiters of a token sequence.
  • Represents all valid Leo syntax tokens.

Constants

\ No newline at end of file diff --git a/leo_passes/code_generation/index.html b/leo_passes/code_generation/index.html index 55329ea1fa..84ddc4cb77 100644 --- a/leo_passes/code_generation/index.html +++ b/leo_passes/code_generation/index.html @@ -1 +1 @@ -leo_passes::code_generation - Rust
\ No newline at end of file +leo_passes::code_generation - Rust
\ No newline at end of file diff --git a/leo_passes/code_generation/visit_expressions/index.html b/leo_passes/code_generation/visit_expressions/index.html index d6956f4af1..eba1173bb8 100644 --- a/leo_passes/code_generation/visit_expressions/index.html +++ b/leo_passes/code_generation/visit_expressions/index.html @@ -1 +1 @@ -leo_passes::code_generation::visit_expressions - Rust
\ No newline at end of file +leo_passes::code_generation::visit_expressions - Rust
\ No newline at end of file diff --git a/leo_passes/code_generation/visit_program/index.html b/leo_passes/code_generation/visit_program/index.html index 0bf869bf2a..cbdc2ed187 100644 --- a/leo_passes/code_generation/visit_program/index.html +++ b/leo_passes/code_generation/visit_program/index.html @@ -1 +1 @@ -leo_passes::code_generation::visit_program - Rust
\ No newline at end of file +leo_passes::code_generation::visit_program - Rust
\ No newline at end of file diff --git a/leo_passes/code_generation/visit_statements/index.html b/leo_passes/code_generation/visit_statements/index.html index 41a07f7b95..791f37b9db 100644 --- a/leo_passes/code_generation/visit_statements/index.html +++ b/leo_passes/code_generation/visit_statements/index.html @@ -1 +1 @@ -leo_passes::code_generation::visit_statements - Rust
\ No newline at end of file +leo_passes::code_generation::visit_statements - Rust
\ No newline at end of file diff --git a/leo_passes/code_generation/visit_type/index.html b/leo_passes/code_generation/visit_type/index.html index 5f6a187d21..2bde91662d 100644 --- a/leo_passes/code_generation/visit_type/index.html +++ b/leo_passes/code_generation/visit_type/index.html @@ -1 +1 @@ -leo_passes::code_generation::visit_type - Rust
\ No newline at end of file +leo_passes::code_generation::visit_type - Rust
\ No newline at end of file diff --git a/leo_passes/common/assigner/index.html b/leo_passes/common/assigner/index.html index 15f7c9f1c8..2f5eff3448 100644 --- a/leo_passes/common/assigner/index.html +++ b/leo_passes/common/assigner/index.html @@ -1,2 +1,2 @@ -leo_passes::common::assigner - Rust

Module leo_passes::common::assigner

source ·

Structs

\ No newline at end of file diff --git a/leo_passes/common/graph/enum.DiGraphError.html b/leo_passes/common/graph/enum.DiGraphError.html index e9d0437e9c..1b85f8dcdc 100644 --- a/leo_passes/common/graph/enum.DiGraphError.html +++ b/leo_passes/common/graph/enum.DiGraphError.html @@ -1,26 +1,26 @@ -DiGraphError in leo_passes::common::graph - Rust
pub enum DiGraphError<N: Node> {
-    CycleDetected(Vec<N>),
+DiGraphError in leo_passes::common::graph - Rust
pub enum DiGraphError<N: Node> {
+    CycleDetected(Vec<N>),
 }
Expand description

Errors in directed graph operations.

-

Variants§

§

CycleDetected(Vec<N>)

An error that is emitted when a cycle is detected in the directed graph. Contains the path of the cycle.

-

Trait Implementations§

source§

impl<N: Debug + Node> Debug for DiGraphError<N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<N> RefUnwindSafe for DiGraphError<N>where - N: RefUnwindSafe,

§

impl<N> Send for DiGraphError<N>where - N: Send,

§

impl<N> Sync for DiGraphError<N>where - N: Sync,

§

impl<N> Unpin for DiGraphError<N>where - N: Unpin,

§

impl<N> UnwindSafe for DiGraphError<N>where - N: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +

Variants§

§

CycleDetected(Vec<N>)

An error that is emitted when a cycle is detected in the directed graph. Contains the path of the cycle.

+

Trait Implementations§

source§

impl<N: Debug + Node> Debug for DiGraphError<N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<N> RefUnwindSafe for DiGraphError<N>where + N: RefUnwindSafe,

§

impl<N> Send for DiGraphError<N>where + N: Send,

§

impl<N> Sync for DiGraphError<N>where + N: Sync,

§

impl<N> Unpin for DiGraphError<N>where + N: Unpin,

§

impl<N> UnwindSafe for DiGraphError<N>where + N: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/common/graph/index.html b/leo_passes/common/graph/index.html index 02c030c0e1..5e97064e13 100644 --- a/leo_passes/common/graph/index.html +++ b/leo_passes/common/graph/index.html @@ -1 +1 @@ -leo_passes::common::graph - Rust

Module leo_passes::common::graph

source ·

Structs

Enums

Traits

  • A node in a graph.

Type Aliases

\ No newline at end of file +leo_passes::common::graph - Rust

Module leo_passes::common::graph

source ·

Structs

Enums

Traits

  • A node in a graph.

Type Aliases

\ No newline at end of file diff --git a/leo_passes/common/graph/struct.DiGraph.html b/leo_passes/common/graph/struct.DiGraph.html index 1616e7a40d..c0c7fe2db6 100644 --- a/leo_passes/common/graph/struct.DiGraph.html +++ b/leo_passes/common/graph/struct.DiGraph.html @@ -1,4 +1,4 @@ -DiGraph in leo_passes::common::graph - Rust
pub struct DiGraph<N: Node> {
+DiGraph in leo_passes::common::graph - Rust
pub struct DiGraph<N: Node> {
     nodes: IndexSet<N>,
     edges: IndexMap<N, IndexSet<N>>,
 }
Expand description

A directed graph.

@@ -7,33 +7,33 @@ Each entry in the map is a node in the graph, and the set of nodes that it points to.

Implementations§

source§

impl<N: Node> DiGraph<N>

source

pub fn new(nodes: IndexSet<N>) -> Self

Initializes a new DiGraph from a vector of source nodes.

source

pub fn add_edge(&mut self, from: N, to: N)

Adds an edge to the graph.

-
source

pub fn contains_node(&self, node: N) -> bool

Returns true if the graph contains the given node.

-
source

pub fn post_order(&self) -> Result<IndexSet<N>, DiGraphError<N>>

Returns the post-order ordering of the graph. +

source

pub fn contains_node(&self, node: N) -> bool

Returns true if the graph contains the given node.

+
source

pub fn post_order(&self) -> Result<IndexSet<N>, DiGraphError<N>>

Returns the post-order ordering of the graph. Detects if there is a cycle in the graph.

source

fn contains_cycle_from( &self, node: N, discovered: &mut IndexSet<N>, finished: &mut IndexSet<N> -) -> Option<N>

Trait Implementations§

source§

impl<N: Debug + Node> Debug for DiGraph<N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<N> RefUnwindSafe for DiGraph<N>where - N: RefUnwindSafe,

§

impl<N> Send for DiGraph<N>where - N: Send,

§

impl<N> Sync for DiGraph<N>where - N: Sync,

§

impl<N> Unpin for DiGraph<N>where - N: Unpin,

§

impl<N> UnwindSafe for DiGraph<N>where - N: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Option<N>

Trait Implementations§

source§

impl<N: Debug + Node> Debug for DiGraph<N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<N> RefUnwindSafe for DiGraph<N>where + N: RefUnwindSafe,

§

impl<N> Send for DiGraph<N>where + N: Send,

§

impl<N> Sync for DiGraph<N>where + N: Sync,

§

impl<N> Unpin for DiGraph<N>where + N: Unpin,

§

impl<N> UnwindSafe for DiGraph<N>where + N: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/common/graph/trait.Node.html b/leo_passes/common/graph/trait.Node.html index 1d07f7f5ce..fcd1525623 100644 --- a/leo_passes/common/graph/trait.Node.html +++ b/leo_passes/common/graph/trait.Node.html @@ -1,2 +1,2 @@ -Node in leo_passes::common::graph - Rust

Trait leo_passes::common::graph::Node

source ·
pub trait Node: Copy + 'static + Eq + PartialEq + Debug + Hash { }
Expand description

A node in a graph.

-

Implementations on Foreign Types§

source§

impl Node for Symbol

Implementors§

\ No newline at end of file +Node in leo_passes::common::graph - Rust

Trait leo_passes::common::graph::Node

source ·
pub trait Node: Copy + 'static + Eq + PartialEq + Debug + Hash { }
Expand description

A node in a graph.

+

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Node for Symbol

Implementors§

\ No newline at end of file diff --git a/leo_passes/common/graph/type.CallGraph.html b/leo_passes/common/graph/type.CallGraph.html index 4f97dd8472..3fdbaa9b40 100644 --- a/leo_passes/common/graph/type.CallGraph.html +++ b/leo_passes/common/graph/type.CallGraph.html @@ -1,18 +1,8 @@ -CallGraph in leo_passes::common::graph - Rust

Type Alias leo_passes::common::graph::CallGraph

source ·
pub type CallGraph = DiGraph<Symbol>;
Expand description

A call graph.

+CallGraph in leo_passes::common::graph - Rust

Type Alias leo_passes::common::graph::CallGraph

source ·
pub type CallGraph = DiGraph<Symbol>;
Expand description

A call graph.

Aliased Type§

struct CallGraph {
-    nodes: IndexSet<Symbol, RandomState>,
-    edges: IndexMap<Symbol, IndexSet<Symbol, RandomState>, RandomState>,
-}

Fields§

§nodes: IndexSet<Symbol, RandomState>

The set of nodes in the graph.

-
§edges: IndexMap<Symbol, IndexSet<Symbol, RandomState>, RandomState>

The directed edges in the graph. + nodes: IndexSet<Symbol>, + edges: IndexMap<Symbol, IndexSet<Symbol>>, +}

Fields§

§nodes: IndexSet<Symbol>

The set of nodes in the graph.

+
§edges: IndexMap<Symbol, IndexSet<Symbol>>

The directed edges in the graph. Each entry in the map is a node in the graph, and the set of nodes that it points to.

-

Implementations§

source§

impl<N: Node> DiGraph<N>

source

pub fn new(nodes: IndexSet<N>) -> Self

Initializes a new DiGraph from a vector of source nodes.

-
source

pub fn add_edge(&mut self, from: N, to: N)

Adds an edge to the graph.

-
source

pub fn contains_node(&self, node: N) -> bool

Returns true if the graph contains the given node.

-
source

pub fn post_order(&self) -> Result<IndexSet<N>, DiGraphError<N>>

Returns the post-order ordering of the graph. -Detects if there is a cycle in the graph.

-
source

fn contains_cycle_from( - &self, - node: N, - discovered: &mut IndexSet<N>, - finished: &mut IndexSet<N> -) -> Option<N>

Trait Implementations§

source§

impl<N: Debug + Node> Debug for DiGraph<N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
\ No newline at end of file +
\ No newline at end of file diff --git a/leo_passes/common/graph/type.ImportGraph.html b/leo_passes/common/graph/type.ImportGraph.html index e7fc813e74..f1262d177e 100644 --- a/leo_passes/common/graph/type.ImportGraph.html +++ b/leo_passes/common/graph/type.ImportGraph.html @@ -1,18 +1,8 @@ -ImportGraph in leo_passes::common::graph - Rust

Type Alias leo_passes::common::graph::ImportGraph

source ·
pub type ImportGraph = DiGraph<Symbol>;
Expand description

An import dependency graph.

+ImportGraph in leo_passes::common::graph - Rust

Type Alias leo_passes::common::graph::ImportGraph

source ·
pub type ImportGraph = DiGraph<Symbol>;
Expand description

An import dependency graph.

Aliased Type§

struct ImportGraph {
-    nodes: IndexSet<Symbol, RandomState>,
-    edges: IndexMap<Symbol, IndexSet<Symbol, RandomState>, RandomState>,
-}

Fields§

§nodes: IndexSet<Symbol, RandomState>

The set of nodes in the graph.

-
§edges: IndexMap<Symbol, IndexSet<Symbol, RandomState>, RandomState>

The directed edges in the graph. + nodes: IndexSet<Symbol>, + edges: IndexMap<Symbol, IndexSet<Symbol>>, +}

Fields§

§nodes: IndexSet<Symbol>

The set of nodes in the graph.

+
§edges: IndexMap<Symbol, IndexSet<Symbol>>

The directed edges in the graph. Each entry in the map is a node in the graph, and the set of nodes that it points to.

-

Implementations§

source§

impl<N: Node> DiGraph<N>

source

pub fn new(nodes: IndexSet<N>) -> Self

Initializes a new DiGraph from a vector of source nodes.

-
source

pub fn add_edge(&mut self, from: N, to: N)

Adds an edge to the graph.

-
source

pub fn contains_node(&self, node: N) -> bool

Returns true if the graph contains the given node.

-
source

pub fn post_order(&self) -> Result<IndexSet<N>, DiGraphError<N>>

Returns the post-order ordering of the graph. -Detects if there is a cycle in the graph.

-
source

fn contains_cycle_from( - &self, - node: N, - discovered: &mut IndexSet<N>, - finished: &mut IndexSet<N> -) -> Option<N>

Trait Implementations§

source§

impl<N: Debug + Node> Debug for DiGraph<N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
\ No newline at end of file +
\ No newline at end of file diff --git a/leo_passes/common/graph/type.StructGraph.html b/leo_passes/common/graph/type.StructGraph.html index 82f898f73f..fc8a5e45e0 100644 --- a/leo_passes/common/graph/type.StructGraph.html +++ b/leo_passes/common/graph/type.StructGraph.html @@ -1,18 +1,8 @@ -StructGraph in leo_passes::common::graph - Rust

Type Alias leo_passes::common::graph::StructGraph

source ·
pub type StructGraph = DiGraph<Symbol>;
Expand description

A struct dependency graph.

+StructGraph in leo_passes::common::graph - Rust

Type Alias leo_passes::common::graph::StructGraph

source ·
pub type StructGraph = DiGraph<Symbol>;
Expand description

A struct dependency graph.

Aliased Type§

struct StructGraph {
-    nodes: IndexSet<Symbol, RandomState>,
-    edges: IndexMap<Symbol, IndexSet<Symbol, RandomState>, RandomState>,
-}

Fields§

§nodes: IndexSet<Symbol, RandomState>

The set of nodes in the graph.

-
§edges: IndexMap<Symbol, IndexSet<Symbol, RandomState>, RandomState>

The directed edges in the graph. + nodes: IndexSet<Symbol>, + edges: IndexMap<Symbol, IndexSet<Symbol>>, +}

Fields§

§nodes: IndexSet<Symbol>

The set of nodes in the graph.

+
§edges: IndexMap<Symbol, IndexSet<Symbol>>

The directed edges in the graph. Each entry in the map is a node in the graph, and the set of nodes that it points to.

-

Implementations§

source§

impl<N: Node> DiGraph<N>

source

pub fn new(nodes: IndexSet<N>) -> Self

Initializes a new DiGraph from a vector of source nodes.

-
source

pub fn add_edge(&mut self, from: N, to: N)

Adds an edge to the graph.

-
source

pub fn contains_node(&self, node: N) -> bool

Returns true if the graph contains the given node.

-
source

pub fn post_order(&self) -> Result<IndexSet<N>, DiGraphError<N>>

Returns the post-order ordering of the graph. -Detects if there is a cycle in the graph.

-
source

fn contains_cycle_from( - &self, - node: N, - discovered: &mut IndexSet<N>, - finished: &mut IndexSet<N> -) -> Option<N>

Trait Implementations§

source§

impl<N: Debug + Node> Debug for DiGraph<N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
\ No newline at end of file +
\ No newline at end of file diff --git a/leo_passes/common/index.html b/leo_passes/common/index.html index e87060fc52..1c52355a19 100644 --- a/leo_passes/common/index.html +++ b/leo_passes/common/index.html @@ -1 +1 @@ -leo_passes::common - Rust
\ No newline at end of file +leo_passes::common - Rust
\ No newline at end of file diff --git a/leo_passes/common/rename_table/index.html b/leo_passes/common/rename_table/index.html index 8ce0fd6637..fd541db63e 100644 --- a/leo_passes/common/rename_table/index.html +++ b/leo_passes/common/rename_table/index.html @@ -1 +1 @@ -leo_passes::common::rename_table - Rust

Structs

  • RenameTable tracks the names assigned by static single assignment in a single scope.
\ No newline at end of file +leo_passes::common::rename_table - Rust

Structs

  • RenameTable tracks the names assigned by static single assignment in a single scope.
\ No newline at end of file diff --git a/leo_passes/common/rename_table/struct.RenameTable.html b/leo_passes/common/rename_table/struct.RenameTable.html index 36928b80b9..a9f0c60f28 100644 --- a/leo_passes/common/rename_table/struct.RenameTable.html +++ b/leo_passes/common/rename_table/struct.RenameTable.html @@ -1,42 +1,42 @@ -RenameTable in leo_passes::common::rename_table - Rust
pub struct RenameTable {
-    pub(crate) parent: Option<Box<RenameTable>>,
+RenameTable in leo_passes::common::rename_table - Rust
pub struct RenameTable {
+    pub(crate) parent: Option<Box<RenameTable>>,
     names: IndexMap<Symbol, Symbol>,
     ids: IndexMap<Symbol, NodeID>,
 }
Expand description

RenameTable tracks the names assigned by static single assignment in a single scope.

-

Fields§

§parent: Option<Box<RenameTable>>

The RenameTable of the parent scope.

+

Fields§

§parent: Option<Box<RenameTable>>

The RenameTable of the parent scope.

§names: IndexMap<Symbol, Symbol>

The mapping from names in the original AST to new names in the renamed AST.

§ids: IndexMap<Symbol, NodeID>

The mapping from symbols to node IDs. These are used to ensure that newly introduced symbols reference the appropriate information that has been previously indexed by node ID. e,g. TypeTable.

-

Implementations§

source§

impl RenameTable

source

pub(crate) fn new(parent: Option<Box<RenameTable>>) -> Self

Create a new RenameTable with the given parent.

-
source

pub(crate) fn local_names(&self) -> impl Iterator<Item = &Symbol>

Returns the symbols that were renamed in the current scope.

+

Implementations§

source§

impl RenameTable

source

pub(crate) fn new(parent: Option<Box<RenameTable>>) -> Self

Create a new RenameTable with the given parent.

+
source

pub(crate) fn local_names(&self) -> impl Iterator<Item = &Symbol>

Returns the symbols that were renamed in the current scope.

source

pub(crate) fn update(&mut self, symbol: Symbol, new_symbol: Symbol, id: NodeID)

Updates self.mapping with the desired entry. Creates a new entry if symbol is not already in self.mapping.

-
source

pub(crate) fn lookup(&self, symbol: Symbol) -> Option<&Symbol>

Looks up the new name for symbol, recursively checking the parent if it is not found.

-
source

pub(crate) fn lookup_id(&self, symbol: &Symbol) -> Option<&NodeID>

Looks up the node ID for symbol, recursively checking the parent if it is not found.

-

Trait Implementations§

source§

impl Clone for RenameTable

source§

fn clone(&self) -> RenameTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RenameTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RenameTable

source§

fn default() -> RenameTable

Returns the “default value” for a type. Read more
source§

impl PartialEq<RenameTable> for RenameTable

source§

fn eq(&self, other: &RenameTable) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Eq for RenameTable

source§

impl StructuralEq for RenameTable

source§

impl StructuralPartialEq for RenameTable

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +
source

pub(crate) fn lookup(&self, symbol: Symbol) -> Option<&Symbol>

Looks up the new name for symbol, recursively checking the parent if it is not found.

+
source

pub(crate) fn lookup_id(&self, symbol: &Symbol) -> Option<&NodeID>

Looks up the node ID for symbol, recursively checking the parent if it is not found.

+

Trait Implementations§

source§

impl Clone for RenameTable

source§

fn clone(&self) -> RenameTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RenameTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RenameTable

source§

fn default() -> RenameTable

Returns the “default value” for a type. Read more
source§

impl PartialEq for RenameTable

source§

fn eq(&self, other: &RenameTable) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Eq for RenameTable

source§

impl StructuralEq for RenameTable

source§

impl StructuralPartialEq for RenameTable

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/common/replacer/index.html b/leo_passes/common/replacer/index.html index 7fdb772fce..3ce7eb39e9 100644 --- a/leo_passes/common/replacer/index.html +++ b/leo_passes/common/replacer/index.html @@ -1,3 +1,3 @@ -leo_passes::common::replacer - Rust

Module leo_passes::common::replacer

source ·

Structs

\ No newline at end of file diff --git a/leo_passes/common/symbol_table/function_symbol/index.html b/leo_passes/common/symbol_table/function_symbol/index.html index a74772dc6a..26beb9eec7 100644 --- a/leo_passes/common/symbol_table/function_symbol/index.html +++ b/leo_passes/common/symbol_table/function_symbol/index.html @@ -1 +1 @@ -leo_passes::common::symbol_table::function_symbol - Rust

Structs

\ No newline at end of file +leo_passes::common::symbol_table::function_symbol - Rust

Structs

\ No newline at end of file diff --git a/leo_passes/common/symbol_table/function_symbol/struct.FinalizeData.html b/leo_passes/common/symbol_table/function_symbol/struct.FinalizeData.html index e1c601c678..81a07efe82 100644 --- a/leo_passes/common/symbol_table/function_symbol/struct.FinalizeData.html +++ b/leo_passes/common/symbol_table/function_symbol/struct.FinalizeData.html @@ -1,32 +1,32 @@ -FinalizeData in leo_passes::common::symbol_table::function_symbol - Rust
pub struct FinalizeData {
-    pub(crate) input: Vec<Input>,
+FinalizeData in leo_passes::common::symbol_table::function_symbol - Rust
pub struct FinalizeData {
+    pub(crate) input: Vec<Input>,
     pub(crate) output_type: Type,
 }
Expand description

Metadata associated with the finalize block.

-

Fields§

§input: Vec<Input>

The inputs to the finalize block.

+

Fields§

§input: Vec<Input>

The inputs to the finalize block.

§output_type: Type

The output type of the finalize block.

-

Trait Implementations§

source§

impl Clone for FinalizeData

source§

fn clone(&self) -> FinalizeData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FinalizeData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FinalizeData

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for FinalizeData

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +

Trait Implementations§

source§

impl Clone for FinalizeData

source§

fn clone(&self) -> FinalizeData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FinalizeData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FinalizeData

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for FinalizeData

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_passes/common/symbol_table/function_symbol/struct.FunctionSymbol.html b/leo_passes/common/symbol_table/function_symbol/struct.FunctionSymbol.html index 1805dd6046..f85a5c6351 100644 --- a/leo_passes/common/symbol_table/function_symbol/struct.FunctionSymbol.html +++ b/leo_passes/common/symbol_table/function_symbol/struct.FunctionSymbol.html @@ -1,40 +1,40 @@ -FunctionSymbol in leo_passes::common::symbol_table::function_symbol - Rust
pub struct FunctionSymbol {
-    pub(crate) id: usize,
+FunctionSymbol in leo_passes::common::symbol_table::function_symbol - Rust
pub struct FunctionSymbol {
+    pub(crate) id: usize,
     pub(crate) output_type: Type,
     pub variant: Variant,
     pub(crate) _span: Span,
-    pub(crate) input: Vec<Input>,
-    pub(crate) finalize: Option<FinalizeData>,
+    pub(crate) input: Vec<Input>,
+    pub(crate) finalize: Option<FinalizeData>,
 }
Expand description

An entry for a function in the symbol table.

-

Fields§

§id: usize

The index associated with the scope in the parent symbol table.

+

Fields§

§id: usize

The index associated with the scope in the parent symbol table.

§output_type: Type

The output type of the function.

§variant: Variant

Is this function a transition, inlined, or a regular function?.

§_span: Span

The Span associated with the function.

-
§input: Vec<Input>

The inputs to the function.

-
§finalize: Option<FinalizeData>

Metadata associated with the finalize block.

-

Trait Implementations§

source§

impl Clone for FunctionSymbol

source§

fn clone(&self) -> FunctionSymbol

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FunctionSymbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FunctionSymbol

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for FunctionSymbol

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +

§input: Vec<Input>

The inputs to the function.

+
§finalize: Option<FinalizeData>

Metadata associated with the finalize block.

+

Trait Implementations§

source§

impl Clone for FunctionSymbol

source§

fn clone(&self) -> FunctionSymbol

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FunctionSymbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FunctionSymbol

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for FunctionSymbol

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_passes/common/symbol_table/index.html b/leo_passes/common/symbol_table/index.html index 5f9792d64b..3dc6cdf219 100644 --- a/leo_passes/common/symbol_table/index.html +++ b/leo_passes/common/symbol_table/index.html @@ -1 +1 @@ -leo_passes::common::symbol_table - Rust
\ No newline at end of file +leo_passes::common::symbol_table - Rust
\ No newline at end of file diff --git a/leo_passes/common/symbol_table/struct.SymbolTable.html b/leo_passes/common/symbol_table/struct.SymbolTable.html index c18ada240e..f5a75a4d8c 100644 --- a/leo_passes/common/symbol_table/struct.SymbolTable.html +++ b/leo_passes/common/symbol_table/struct.SymbolTable.html @@ -1,11 +1,11 @@ -SymbolTable in leo_passes::common::symbol_table - Rust
pub struct SymbolTable {
-    pub(crate) parent: Option<Box<SymbolTable>>,
+SymbolTable in leo_passes::common::symbol_table - Rust
pub struct SymbolTable {
+    pub(crate) parent: Option<Box<SymbolTable>>,
     pub functions: IndexMap<Symbol, FunctionSymbol>,
     pub structs: IndexMap<Symbol, Struct>,
     pub(crate) variables: IndexMap<Symbol, VariableSymbol>,
-    pub(crate) scope_index: usize,
-    pub(crate) scopes: Vec<RefCell<SymbolTable>>,
-}

Fields§

§parent: Option<Box<SymbolTable>>

The parent scope if it exists. + pub(crate) scope_index: usize, + pub(crate) scopes: Vec<RefCell<SymbolTable>>, +}

Fields§

§parent: Option<Box<SymbolTable>>

The parent scope if it exists. For example, the parent scope of a then-block is the scope containing the associated ConditionalStatement.

§functions: IndexMap<Symbol, FunctionSymbol>

Functions represents the name of each function mapped to the AST’s function definition. This field is populated at a first pass.

@@ -13,65 +13,65 @@ This field is populated at a first pass.

§variables: IndexMap<Symbol, VariableSymbol>

The variables defined in a scope. This field is populated as necessary.

-
§scope_index: usize

The index of the current scope.

-
§scopes: Vec<RefCell<SymbolTable>>

The sub-scopes of this scope.

-

Implementations§

source§

impl SymbolTable

source§

impl SymbolTable

source

pub fn check_shadowing(&self, symbol: Symbol, span: Span) -> Result<()>

Recursively checks if the symbol table contains an entry for the given symbol. +

§scope_index: usize

The index of the current scope.

+
§scopes: Vec<RefCell<SymbolTable>>

The sub-scopes of this scope.

+

Implementations§

source§

impl SymbolTable

source§

impl SymbolTable

source

pub fn check_shadowing(&self, symbol: Symbol, span: Span) -> Result<()>

Recursively checks if the symbol table contains an entry for the given symbol. Leo does not allow any variable shadowing or overlap between different symbols.

-
source

pub fn scope_index(&mut self) -> usize

Returns the current scope index. +

source

pub fn scope_index(&mut self) -> usize

Returns the current scope index. Increments the scope index.

-
source

pub fn insert_fn(&mut self, symbol: Symbol, insert: &Function) -> Result<()>

Inserts a function into the symbol table.

-
source

pub fn insert_struct(&mut self, symbol: Symbol, insert: &Struct) -> Result<()>

Inserts a struct into the symbol table.

+
source

pub fn insert_fn(&mut self, symbol: Symbol, insert: &Function) -> Result<()>

Inserts a function into the symbol table.

+
source

pub fn insert_struct(&mut self, symbol: Symbol, insert: &Struct) -> Result<()>

Inserts a struct into the symbol table.

source

pub fn insert_variable( &mut self, symbol: Symbol, insert: VariableSymbol -) -> Result<()>

Inserts a variable into the symbol table.

+) -> Result<()>

Inserts a variable into the symbol table.

source

pub fn remove_variable_from_current_scope(&mut self, symbol: Symbol)

Removes a variable from the symbol table.

-
source

pub fn insert_block(&mut self) -> usize

Creates a new scope for the block and stores it in the symbol table.

-
source

pub fn lookup_fn_symbol(&self, symbol: Symbol) -> Option<&FunctionSymbol>

Attempts to lookup a function in the symbol table.

-
source

pub fn lookup_struct(&self, symbol: Symbol) -> Option<&Struct>

Attempts to lookup a struct in the symbol table.

-
source

pub fn lookup_variable(&self, symbol: Symbol) -> Option<&VariableSymbol>

Attempts to lookup a variable in the symbol table.

-
source

pub fn variable_in_local_scope(&self, symbol: Symbol) -> bool

Returns true if the variable exists in the local scope

-
source

pub fn variable_in_parent_scope(&self, symbol: Symbol) -> bool

Returns true if the variable exists in any parent scope

+
source

pub fn insert_block(&mut self) -> usize

Creates a new scope for the block and stores it in the symbol table.

+
source

pub fn lookup_fn_symbol(&self, symbol: Symbol) -> Option<&FunctionSymbol>

Attempts to lookup a function in the symbol table.

+
source

pub fn lookup_struct(&self, symbol: Symbol) -> Option<&Struct>

Attempts to lookup a struct in the symbol table.

+
source

pub fn lookup_variable(&self, symbol: Symbol) -> Option<&VariableSymbol>

Attempts to lookup a variable in the symbol table.

+
source

pub fn variable_in_local_scope(&self, symbol: Symbol) -> bool

Returns true if the variable exists in the local scope

+
source

pub fn variable_in_parent_scope(&self, symbol: Symbol) -> bool

Returns true if the variable exists in any parent scope

source

pub fn lookup_variable_mut( &mut self, symbol: Symbol -) -> Option<&mut VariableSymbol>

Returns a mutable reference to the VariableSymbol if it exists in the symbol table.

-
source

pub fn lookup_fn_scope(&self, symbol: Symbol) -> Option<&RefCell<Self>>

Returns the scope associated with the function symbol, if it exists in the symbol table.

-
source

pub fn lookup_scope_by_index(&self, index: usize) -> Option<&RefCell<Self>>

Returns the scope associated with index, if it exists in the symbol table.

-
source

pub fn to_json_string(&self) -> Result<String>

Serializes the symbol table into a JSON string.

+) -> Option<&mut VariableSymbol>

Returns a mutable reference to the VariableSymbol if it exists in the symbol table.

+
source

pub fn lookup_fn_scope(&self, symbol: Symbol) -> Option<&RefCell<Self>>

Returns the scope associated with the function symbol, if it exists in the symbol table.

+
source

pub fn lookup_scope_by_index(&self, index: usize) -> Option<&RefCell<Self>>

Returns the scope associated with index, if it exists in the symbol table.

+
source

pub fn to_json_string(&self) -> Result<String>

Serializes the symbol table into a JSON string.

source

pub fn to_json_value(&self) -> Result<Value>

Converts the symbol table into a JSON value

-
source

pub fn to_json_file(&self, path: PathBuf, file_name: &str) -> Result<()>

source

pub fn to_json_file_without_keys( +

source

pub fn to_json_file(&self, path: PathBuf, file_name: &str) -> Result<()>

source

pub fn to_json_file_without_keys( &self, - path: PathBuf, - file_name: &str, - excluded_keys: &[&str] -) -> Result<()>

Serializes the symbol table into a JSON value and removes keys from object mappings before writing to a file.

-
source

pub fn from_json_string(json: &str) -> Result<Self>

Deserializes the JSON string into a symbol table.

-
source

pub fn from_json_file(path: PathBuf) -> Result<Self>

Deserializes the JSON string into a symbol table from a file.

-

Trait Implementations§

source§

impl Clone for SymbolTable

source§

fn clone(&self) -> SymbolTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SymbolTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SymbolTable

source§

fn default() -> SymbolTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SymbolTable

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SymbolTable

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere + path: PathBuf, + file_name: &str, + excluded_keys: &[&str] +) -> Result<()>

Serializes the symbol table into a JSON value and removes keys from object mappings before writing to a file.

+
source

pub fn from_json_string(json: &str) -> Result<Self>

Deserializes the JSON string into a symbol table.

+
source

pub fn from_json_file(path: PathBuf) -> Result<Self>

Deserializes the JSON string into a symbol table from a file.

+

Trait Implementations§

source§

impl Clone for SymbolTable

source§

fn clone(&self) -> SymbolTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SymbolTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SymbolTable

source§

fn default() -> SymbolTable

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SymbolTable

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SymbolTable

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html index dad971b838..906e86bfbf 100644 --- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html +++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html @@ -1,40 +1,40 @@ -VariableType in leo_passes::common::symbol_table::variable_symbol - Rust
pub enum VariableType {
+VariableType in leo_passes::common::symbol_table::variable_symbol - Rust
pub enum VariableType {
     Const,
     Input(Mode),
     Mut,
 }
Expand description

An enumeration of the different types of variable type.

-

Variants§

§

Const

§

Input(Mode)

§

Mut

Trait Implementations§

source§

impl Clone for VariableType

source§

fn clone(&self) -> VariableType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VariableType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VariableType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VariableType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<VariableType> for VariableType

source§

fn eq(&self, other: &VariableType) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VariableType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for VariableType

source§

impl Eq for VariableType

source§

impl StructuralEq for VariableType

source§

impl StructuralPartialEq for VariableType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +

Variants§

§

Const

§

Input(Mode)

§

Mut

Trait Implementations§

source§

impl Clone for VariableType

source§

fn clone(&self) -> VariableType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VariableType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VariableType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VariableType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for VariableType

source§

fn eq(&self, other: &VariableType) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VariableType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for VariableType

source§

impl Eq for VariableType

source§

impl StructuralEq for VariableType

source§

impl StructuralPartialEq for VariableType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_passes/common/symbol_table/variable_symbol/index.html b/leo_passes/common/symbol_table/variable_symbol/index.html index 2e407adf72..30310eef37 100644 --- a/leo_passes/common/symbol_table/variable_symbol/index.html +++ b/leo_passes/common/symbol_table/variable_symbol/index.html @@ -1 +1 @@ -leo_passes::common::symbol_table::variable_symbol - Rust

Structs

Enums

  • An enumeration of the different types of variable type.
\ No newline at end of file +leo_passes::common::symbol_table::variable_symbol - Rust

Structs

Enums

  • An enumeration of the different types of variable type.
\ No newline at end of file diff --git a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html index 7951311a18..3014dc497b 100644 --- a/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html +++ b/leo_passes/common/symbol_table/variable_symbol/struct.VariableSymbol.html @@ -1,4 +1,4 @@ -VariableSymbol in leo_passes::common::symbol_table::variable_symbol - Rust
pub struct VariableSymbol {
+VariableSymbol in leo_passes::common::symbol_table::variable_symbol - Rust
pub struct VariableSymbol {
     pub type_: Type,
     pub span: Span,
     pub declaration: VariableType,
@@ -6,38 +6,38 @@
 

Fields§

§type_: Type

The Type of the variable.

§span: Span

The Span associated with the variable.

§declaration: VariableType

The type of declaration for the variable.

-

Trait Implementations§

source§

impl Clone for VariableSymbol

source§

fn clone(&self) -> VariableSymbol

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VariableSymbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VariableSymbol

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VariableSymbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<VariableSymbol> for VariableSymbol

source§

fn eq(&self, other: &VariableSymbol) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VariableSymbol

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for VariableSymbol

source§

impl StructuralEq for VariableSymbol

source§

impl StructuralPartialEq for VariableSymbol

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere +

Trait Implementations§

source§

impl Clone for VariableSymbol

source§

fn clone(&self) -> VariableSymbol

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VariableSymbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VariableSymbol

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VariableSymbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for VariableSymbol

source§

fn eq(&self, other: &VariableSymbol) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VariableSymbol

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for VariableSymbol

source§

impl StructuralEq for VariableSymbol

source§

impl StructuralPartialEq for VariableSymbol

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,

§

fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an + field: &str +) -> Result<T, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +[WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_passes/common/type_table/index.html b/leo_passes/common/type_table/index.html index 349569e266..c196b289ac 100644 --- a/leo_passes/common/type_table/index.html +++ b/leo_passes/common/type_table/index.html @@ -1 +1 @@ -leo_passes::common::type_table - Rust

Structs

  • A mapping between node IDs and their types.
\ No newline at end of file +leo_passes::common::type_table - Rust

Structs

  • A mapping between node IDs and their types.
\ No newline at end of file diff --git a/leo_passes/common/type_table/struct.TypeTable.html b/leo_passes/common/type_table/struct.TypeTable.html index 390b118a8c..558c9edc03 100644 --- a/leo_passes/common/type_table/struct.TypeTable.html +++ b/leo_passes/common/type_table/struct.TypeTable.html @@ -1,25 +1,25 @@ -TypeTable in leo_passes::common::type_table - Rust
pub struct TypeTable {
-    inner: RefCell<IndexMap<NodeID, Type>>,
+TypeTable in leo_passes::common::type_table - Rust
pub struct TypeTable {
+    inner: RefCell<IndexMap<NodeID, Type>>,
 }
Expand description

A mapping between node IDs and their types.

-

Fields§

§inner: RefCell<IndexMap<NodeID, Type>>

The inner table. +

Fields§

§inner: RefCell<IndexMap<NodeID, Type>>

The inner table. RefCell is used here to avoid &mut all over the compiler.

-

Implementations§

source§

impl TypeTable

source

pub fn get(&self, index: &NodeID) -> Option<Type>

Gets an entry from the table.

+

Implementations§

source§

impl TypeTable

source

pub fn get(&self, index: &NodeID) -> Option<Type>

Gets an entry from the table.

source

pub fn insert(&self, index: NodeID, value: Type)

Inserts an entry into the table.

-

Trait Implementations§

source§

impl Clone for TypeTable

source§

fn clone(&self) -> TypeTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TypeTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TypeTable

source§

fn default() -> TypeTable

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +

Trait Implementations§

source§

impl Clone for TypeTable

source§

fn clone(&self) -> TypeTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TypeTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TypeTable

source§

fn default() -> TypeTable

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/dead_code_elimination/dead_code_eliminator/index.html b/leo_passes/dead_code_elimination/dead_code_eliminator/index.html index e0f71a248e..025d208b3d 100644 --- a/leo_passes/dead_code_elimination/dead_code_eliminator/index.html +++ b/leo_passes/dead_code_elimination/dead_code_eliminator/index.html @@ -1 +1 @@ -leo_passes::dead_code_elimination::dead_code_eliminator - Rust
\ No newline at end of file +leo_passes::dead_code_elimination::dead_code_eliminator - Rust
\ No newline at end of file diff --git a/leo_passes/dead_code_elimination/dead_code_eliminator/struct.DeadCodeEliminator.html b/leo_passes/dead_code_elimination/dead_code_eliminator/struct.DeadCodeEliminator.html index 064203acd0..9960b7d113 100644 --- a/leo_passes/dead_code_elimination/dead_code_eliminator/struct.DeadCodeEliminator.html +++ b/leo_passes/dead_code_elimination/dead_code_eliminator/struct.DeadCodeEliminator.html @@ -1,10 +1,10 @@ -DeadCodeEliminator in leo_passes::dead_code_elimination::dead_code_eliminator - Rust
pub struct DeadCodeEliminator<'a> {
+DeadCodeEliminator in leo_passes::dead_code_elimination::dead_code_eliminator - Rust
pub struct DeadCodeEliminator<'a> {
     pub(crate) node_builder: &'a NodeBuilder,
     pub(crate) used_variables: IndexSet<Symbol>,
-    pub(crate) is_necessary: bool,
+    pub(crate) is_necessary: bool,
 }

Fields§

§node_builder: &'a NodeBuilder

A counter to generate unique node IDs.

§used_variables: IndexSet<Symbol>

The set of used variables in the current function body.

-
§is_necessary: bool

Whether or not the variables are necessary.

+
§is_necessary: bool

Whether or not the variables are necessary.

Implementations§

source§

impl<'a> DeadCodeEliminator<'a>

source

pub fn new(node_builder: &'a NodeBuilder) -> Self

Initializes a new DeadCodeEliminator.

Trait Implementations§

source§

impl ExpressionReconstructor for DeadCodeEliminator<'_>

source§

fn reconstruct_associated_function( &mut self, @@ -20,7 +20,7 @@ input: Identifier ) -> (Expression, Self::AdditionalOutput)

Marks identifiers as used. This is necessary to determine which statements can be eliminated from the program.

-
§

type AdditionalOutput = ()

source§

fn reconstruct_expression( +

§

type AdditionalOutput = ()

source§

fn reconstruct_expression( &mut self, input: Expression ) -> (Expression, Self::AdditionalOutput)

source§

fn reconstruct_access( @@ -68,7 +68,7 @@ ) -> (Expression, Self::AdditionalOutput)

source§

fn reconstruct_unit( &mut self, input: UnitExpression -) -> (Expression, Self::AdditionalOutput)

source§

impl<'a> Pass for DeadCodeEliminator<'a>

§

type Input = (Ast, &'a NodeBuilder)

§

type Output = Result<Ast, LeoError>

source§

fn do_pass((ast, node_builder): Self::Input) -> Self::Output

Runs the compiler pass.
source§

impl ProgramReconstructor for DeadCodeEliminator<'_>

source§

impl StatementReconstructor for DeadCodeEliminator<'_>

source§

impl<'a> Pass for DeadCodeEliminator<'a>

§

type Input = (Ast, &'a NodeBuilder)

§

type Output = Result<Ast, LeoError>

source§

fn do_pass((ast, node_builder): Self::Input) -> Self::Output

Runs the compiler pass.
source§

impl ProgramReconstructor for DeadCodeEliminator<'_>

source§

impl StatementReconstructor for DeadCodeEliminator<'_>

source§

fn reconstruct_assign( &mut self, input: AssignStatement ) -> (Statement, Self::AdditionalOutput)

Reconstruct an assignment statement by eliminating any dead code.

@@ -105,20 +105,20 @@ ) -> (Statement, Self::AdditionalOutput)
source§

fn reconstruct_const( &mut self, input: ConstDeclaration -) -> (Statement, Self::AdditionalOutput)

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for DeadCodeEliminator<'a>

§

impl<'a> !Send for DeadCodeEliminator<'a>

§

impl<'a> !Sync for DeadCodeEliminator<'a>

§

impl<'a> Unpin for DeadCodeEliminator<'a>

§

impl<'a> !UnwindSafe for DeadCodeEliminator<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> (Statement, Self::AdditionalOutput)

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for DeadCodeEliminator<'a>

§

impl<'a> !Send for DeadCodeEliminator<'a>

§

impl<'a> !Sync for DeadCodeEliminator<'a>

§

impl<'a> Unpin for DeadCodeEliminator<'a>

§

impl<'a> !UnwindSafe for DeadCodeEliminator<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/dead_code_elimination/eliminate_expression/index.html b/leo_passes/dead_code_elimination/eliminate_expression/index.html index d8f1be94a7..cb482624e4 100644 --- a/leo_passes/dead_code_elimination/eliminate_expression/index.html +++ b/leo_passes/dead_code_elimination/eliminate_expression/index.html @@ -1 +1 @@ -leo_passes::dead_code_elimination::eliminate_expression - Rust
\ No newline at end of file +leo_passes::dead_code_elimination::eliminate_expression - Rust
\ No newline at end of file diff --git a/leo_passes/dead_code_elimination/eliminate_program/index.html b/leo_passes/dead_code_elimination/eliminate_program/index.html index c58087200a..b0acd5537c 100644 --- a/leo_passes/dead_code_elimination/eliminate_program/index.html +++ b/leo_passes/dead_code_elimination/eliminate_program/index.html @@ -1 +1 @@ -leo_passes::dead_code_elimination::eliminate_program - Rust
\ No newline at end of file +leo_passes::dead_code_elimination::eliminate_program - Rust
\ No newline at end of file diff --git a/leo_passes/dead_code_elimination/eliminate_statement/index.html b/leo_passes/dead_code_elimination/eliminate_statement/index.html index 7d37cac9e6..2284ad01d2 100644 --- a/leo_passes/dead_code_elimination/eliminate_statement/index.html +++ b/leo_passes/dead_code_elimination/eliminate_statement/index.html @@ -1 +1 @@ -leo_passes::dead_code_elimination::eliminate_statement - Rust
\ No newline at end of file +leo_passes::dead_code_elimination::eliminate_statement - Rust
\ No newline at end of file diff --git a/leo_passes/dead_code_elimination/index.html b/leo_passes/dead_code_elimination/index.html index d5177f8d92..2a4fb5078b 100644 --- a/leo_passes/dead_code_elimination/index.html +++ b/leo_passes/dead_code_elimination/index.html @@ -1,4 +1,4 @@ -leo_passes::dead_code_elimination - Rust
Expand description

The Dead Code Elimination pass traverses the AST and eliminates unused code, +leo_passes::dead_code_elimination - Rust

Expand description

The Dead Code Elimination pass traverses the AST and eliminates unused code, specifically assignment statements, within the boundary of transitions and functions. The pass is run after the Function Inlining pass.

See https://en.wikipedia.org/wiki/Dead-code_elimination for more information.

diff --git a/leo_passes/destructuring/destructure_expression/index.html b/leo_passes/destructuring/destructure_expression/index.html index b7dca018cc..3026c698a3 100644 --- a/leo_passes/destructuring/destructure_expression/index.html +++ b/leo_passes/destructuring/destructure_expression/index.html @@ -1 +1 @@ -leo_passes::destructuring::destructure_expression - Rust
\ No newline at end of file +leo_passes::destructuring::destructure_expression - Rust
\ No newline at end of file diff --git a/leo_passes/destructuring/destructure_program/index.html b/leo_passes/destructuring/destructure_program/index.html index 4c32ba976f..26555a1075 100644 --- a/leo_passes/destructuring/destructure_program/index.html +++ b/leo_passes/destructuring/destructure_program/index.html @@ -1 +1 @@ -leo_passes::destructuring::destructure_program - Rust
\ No newline at end of file +leo_passes::destructuring::destructure_program - Rust
\ No newline at end of file diff --git a/leo_passes/destructuring/destructure_statement/index.html b/leo_passes/destructuring/destructure_statement/index.html index 6630ebd0fe..7933a65c1a 100644 --- a/leo_passes/destructuring/destructure_statement/index.html +++ b/leo_passes/destructuring/destructure_statement/index.html @@ -1 +1 @@ -leo_passes::destructuring::destructure_statement - Rust
\ No newline at end of file +leo_passes::destructuring::destructure_statement - Rust
\ No newline at end of file diff --git a/leo_passes/destructuring/destructurer/index.html b/leo_passes/destructuring/destructurer/index.html index 07edd3b2d0..af02f3d57e 100644 --- a/leo_passes/destructuring/destructurer/index.html +++ b/leo_passes/destructuring/destructurer/index.html @@ -1 +1 @@ -leo_passes::destructuring::destructurer - Rust
\ No newline at end of file +leo_passes::destructuring::destructurer - Rust
\ No newline at end of file diff --git a/leo_passes/destructuring/destructurer/struct.Destructurer.html b/leo_passes/destructuring/destructurer/struct.Destructurer.html index ea31832b5a..f3b51906e2 100644 --- a/leo_passes/destructuring/destructurer/struct.Destructurer.html +++ b/leo_passes/destructuring/destructurer/struct.Destructurer.html @@ -1,4 +1,4 @@ -Destructurer in leo_passes::destructuring::destructurer - Rust
§

type AdditionalOutput = Vec<Statement, Global>

source§

fn reconstruct_expression( +

§

type AdditionalOutput = Vec<Statement>

source§

fn reconstruct_expression( &mut self, input: Expression ) -> (Expression, Self::AdditionalOutput)

source§

fn reconstruct_access( @@ -74,7 +74,7 @@ ) -> (Expression, Self::AdditionalOutput)

source§

fn reconstruct_unit( &mut self, input: UnitExpression -) -> (Expression, Self::AdditionalOutput)

source§

impl<'a> Pass for Destructurer<'a>

§

type Input = (Ast, &'a TypeTable, &'a NodeBuilder, &'a Assigner)

§

type Output = Result<Ast, LeoError>

source§

fn do_pass((ast, tt, node_builder, assigner): Self::Input) -> Self::Output

Runs the compiler pass.
source§

impl ProgramReconstructor for Destructurer<'_>

source§

impl StatementReconstructor for Destructurer<'_>

source§

impl<'a> Pass for Destructurer<'a>

§

type Input = (Ast, &'a TypeTable, &'a NodeBuilder, &'a Assigner)

§

type Output = Result<Ast, LeoError>

source§

fn do_pass((ast, tt, node_builder, assigner): Self::Input) -> Self::Output

Runs the compiler pass.
source§

impl ProgramReconstructor for Destructurer<'_>

source§

impl StatementReconstructor for Destructurer<'_>

source§

fn reconstruct_assign( &mut self, assign: AssignStatement ) -> (Statement, Self::AdditionalOutput)

Flattens an assign statement, if necessary. @@ -109,20 +109,20 @@ ) -> (Statement, Self::AdditionalOutput)

source§

fn reconstruct_expression_statement( &mut self, input: ExpressionStatement -) -> (Statement, Self::AdditionalOutput)

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for Destructurer<'a>

§

impl<'a> !Send for Destructurer<'a>

§

impl<'a> !Sync for Destructurer<'a>

§

impl<'a> Unpin for Destructurer<'a>

§

impl<'a> !UnwindSafe for Destructurer<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> (Statement, Self::AdditionalOutput)

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for Destructurer<'a>

§

impl<'a> !Send for Destructurer<'a>

§

impl<'a> !Sync for Destructurer<'a>

§

impl<'a> Unpin for Destructurer<'a>

§

impl<'a> !UnwindSafe for Destructurer<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/destructuring/index.html b/leo_passes/destructuring/index.html index 99f559e55a..62607e854c 100644 --- a/leo_passes/destructuring/index.html +++ b/leo_passes/destructuring/index.html @@ -1,3 +1,3 @@ -leo_passes::destructuring - Rust
Expand description

The destructuring pass traverses the AST and destructures tuples into individual variables. +leo_passes::destructuring - Rust

Expand description

The destructuring pass traverses the AST and destructures tuples into individual variables. This pass assumes that tuples have a depth of 1, which is ensured by the type checking pass.

Re-exports

Modules

\ No newline at end of file diff --git a/leo_passes/flattening/flatten_expression/index.html b/leo_passes/flattening/flatten_expression/index.html index 3406b5c1bc..28c93d3e8d 100644 --- a/leo_passes/flattening/flatten_expression/index.html +++ b/leo_passes/flattening/flatten_expression/index.html @@ -1 +1 @@ -leo_passes::flattening::flatten_expression - Rust
\ No newline at end of file +leo_passes::flattening::flatten_expression - Rust
\ No newline at end of file diff --git a/leo_passes/flattening/flatten_program/index.html b/leo_passes/flattening/flatten_program/index.html index 7ff4520dbd..efb3b7edaf 100644 --- a/leo_passes/flattening/flatten_program/index.html +++ b/leo_passes/flattening/flatten_program/index.html @@ -1 +1 @@ -leo_passes::flattening::flatten_program - Rust
\ No newline at end of file +leo_passes::flattening::flatten_program - Rust
\ No newline at end of file diff --git a/leo_passes/flattening/flatten_statement/index.html b/leo_passes/flattening/flatten_statement/index.html index 452e40823f..d9737f863c 100644 --- a/leo_passes/flattening/flatten_statement/index.html +++ b/leo_passes/flattening/flatten_statement/index.html @@ -1 +1 @@ -leo_passes::flattening::flatten_statement - Rust
\ No newline at end of file +leo_passes::flattening::flatten_statement - Rust
\ No newline at end of file diff --git a/leo_passes/flattening/flattener/index.html b/leo_passes/flattening/flattener/index.html index 9ef9329721..f6e0a9e846 100644 --- a/leo_passes/flattening/flattener/index.html +++ b/leo_passes/flattening/flattener/index.html @@ -1 +1 @@ -leo_passes::flattening::flattener - Rust
\ No newline at end of file +leo_passes::flattening::flattener - Rust
\ No newline at end of file diff --git a/leo_passes/flattening/flattener/struct.Flattener.html b/leo_passes/flattening/flattener/struct.Flattener.html index 7b40ffdf1f..0a191144a8 100644 --- a/leo_passes/flattening/flattener/struct.Flattener.html +++ b/leo_passes/flattening/flattener/struct.Flattener.html @@ -1,16 +1,16 @@ -Flattener in leo_passes::flattening::flattener - Rust
pub struct Flattener<'a> {
+Flattener in leo_passes::flattening::flattener - Rust
pub struct Flattener<'a> {
     pub(crate) symbol_table: &'a SymbolTable,
     pub(crate) type_table: &'a TypeTable,
     pub(crate) node_builder: &'a NodeBuilder,
     pub(crate) assigner: &'a Assigner,
-    pub(crate) condition_stack: Vec<Expression>,
-    pub(crate) returns: Vec<(Option<Expression>, ReturnStatement)>,
+    pub(crate) condition_stack: Vec<Expression>,
+    pub(crate) returns: Vec<(Option<Expression>, ReturnStatement)>,
 }

Fields§

§symbol_table: &'a SymbolTable

The symbol table associated with the program.

§type_table: &'a TypeTable

A mapping between node IDs and their types.

§node_builder: &'a NodeBuilder

A counter used to generate unique node IDs.

§assigner: &'a Assigner

A struct used to construct (unique) assignment statements.

-
§condition_stack: Vec<Expression>

A stack of condition Expressions visited up to the current point in the AST.

-
§returns: Vec<(Option<Expression>, ReturnStatement)>

A list containing tuples of guards and expressions associated ReturnStatements. +

§condition_stack: Vec<Expression>

A stack of condition Expressions visited up to the current point in the AST.

+
§returns: Vec<(Option<Expression>, ReturnStatement)>

A list containing tuples of guards and expressions associated ReturnStatements. A guard is an expression that evaluates to true on the execution path of the ReturnStatement. Note that returns are inserted in the order they are encountered during a pre-order traversal of the AST. Note that type checking guarantees that there is at most one return in a basic block.

@@ -21,13 +21,13 @@ assigner: &'a Assigner ) -> Self
source

pub(crate) fn clear_early_returns( &mut self -) -> Vec<(Option<Expression>, ReturnStatement)>

Clears the state associated with ReturnStatements, returning the ones that were previously stored.

-
source

pub(crate) fn construct_guard(&mut self) -> Option<Expression>

Constructs a guard from the current state of the condition stack.

+) -> Vec<(Option<Expression>, ReturnStatement)>

Clears the state associated with ReturnStatements, returning the ones that were previously stored.

+
source

pub(crate) fn construct_guard(&mut self) -> Option<Expression>

Constructs a guard from the current state of the condition stack.

source

pub(crate) fn fold_guards( &mut self, - prefix: &str, - guards: Vec<(Option<Expression>, Expression)> -) -> (Expression, Vec<Statement>)

Fold guards and expressions into a single expression. + prefix: &str, + guards: Vec<(Option<Expression>, Expression)> +) -> (Expression, Vec<Statement>)

Fold guards and expressions into a single expression. Note that this function assumes that at least one guard is present.

source

pub(crate) fn unique_simple_assign_statement( &mut self, @@ -41,7 +41,7 @@

source

pub(crate) fn fold_returns( &mut self, block: &mut Block, - returns: Vec<(Option<Expression>, ReturnStatement)> + returns: Vec<(Option<Expression>, ReturnStatement)> )

Folds a list of return statements into a single return statement and adds the produced statements to the block.

source

pub(crate) fn ternary_array( &mut self, @@ -49,19 +49,19 @@ condition: &Expression, first: &Identifier, second: &Identifier -) -> (Expression, Vec<Statement>)

source

pub(crate) fn ternary_struct( +) -> (Expression, Vec<Statement>)

source

pub(crate) fn ternary_struct( &mut self, struct_: &Struct, condition: &Expression, first: &Identifier, second: &Identifier -) -> (Expression, Vec<Statement>)

source

pub(crate) fn ternary_tuple( +) -> (Expression, Vec<Statement>)

source

pub(crate) fn ternary_tuple( &mut self, tuple_type: &TupleType, condition: &Expression, first: &Identifier, second: &Identifier -) -> (Expression, Vec<Statement>)

Trait Implementations§

Trait Implementations§

source§

impl ExpressionReconstructor for Flattener<'_>

source§

fn reconstruct_struct_init( &mut self, input: StructExpression ) -> (Expression, Self::AdditionalOutput)

Reconstructs a struct init expression, flattening any tuples in the expression.

@@ -80,7 +80,7 @@ let var$1 = cond ? a.baz : b.baz; let var$2 = Foo { bar: var$0, baz: var$1 }; var$2 -
§

type AdditionalOutput = Vec<Statement, Global>

source§

fn reconstruct_expression( +

§

type AdditionalOutput = Vec<Statement>

source§

fn reconstruct_expression( &mut self, input: Expression ) -> (Expression, Self::AdditionalOutput)

source§

fn reconstruct_access( @@ -131,7 +131,7 @@ ) -> (Expression, Self::AdditionalOutput)

source§

fn reconstruct_unit( &mut self, input: UnitExpression -) -> (Expression, Self::AdditionalOutput)

source§

impl<'a> Pass for Flattener<'a>

§

type Input = (Ast, &'a SymbolTable, &'a TypeTable, &'a NodeBuilder, &'a Assigner)

§

type Output = Result<Ast, LeoError>

source§

fn do_pass((ast, st, tt, node_builder, assigner): Self::Input) -> Self::Output

Runs the compiler pass.
source§

impl ProgramReconstructor for Flattener<'_>

source§

fn reconstruct_function(&mut self, function: Function) -> Function

Flattens a function’s body and finalize block, if it exists.

+) -> (Expression, Self::AdditionalOutput)
source§

impl<'a> Pass for Flattener<'a>

§

type Input = (Ast, &'a SymbolTable, &'a TypeTable, &'a NodeBuilder, &'a Assigner)

§

type Output = Result<Ast, LeoError>

source§

fn do_pass((ast, st, tt, node_builder, assigner): Self::Input) -> Self::Output

Runs the compiler pass.
source§

impl ProgramReconstructor for Flattener<'_>

source§

fn reconstruct_function(&mut self, function: Function) -> Function

Flattens a function’s body and finalize block, if it exists.

source§

fn reconstruct_program(&mut self, input: Program) -> Program

source§

fn reconstruct_program_scope(&mut self, input: ProgramScope) -> ProgramScope

source§

fn reconstruct_struct(&mut self, input: Struct) -> Struct

source§

fn reconstruct_import(&mut self, input: Program) -> Program

source§

fn reconstruct_mapping(&mut self, input: Mapping) -> Mapping

source§

impl StatementReconstructor for Flattener<'_>

source§

fn reconstruct_assert( &mut self, input: AssertStatement @@ -186,20 +186,20 @@ ) -> (Statement, Self::AdditionalOutput)

source§

fn reconstruct_expression_statement( &mut self, input: ExpressionStatement -) -> (Statement, Self::AdditionalOutput)

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for Flattener<'a>

§

impl<'a> !Send for Flattener<'a>

§

impl<'a> !Sync for Flattener<'a>

§

impl<'a> Unpin for Flattener<'a>

§

impl<'a> !UnwindSafe for Flattener<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> (Statement, Self::AdditionalOutput)

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for Flattener<'a>

§

impl<'a> !Send for Flattener<'a>

§

impl<'a> !Sync for Flattener<'a>

§

impl<'a> Unpin for Flattener<'a>

§

impl<'a> !UnwindSafe for Flattener<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/flattening/index.html b/leo_passes/flattening/index.html index 8856ef9e25..ed6db1fa91 100644 --- a/leo_passes/flattening/index.html +++ b/leo_passes/flattening/index.html @@ -1,4 +1,4 @@ -leo_passes::flattening - Rust

Module leo_passes::flattening

source ·
Expand description

The flattening pass traverses the AST after the SSA pass and converts into a sequential code. +leo_passes::flattening - Rust

Module leo_passes::flattening

source ·
Expand description

The flattening pass traverses the AST after the SSA pass and converts into a sequential code. The pass flattens ConditionalStatements into a sequence of AssignStatements. The pass rewrites ReturnStatements into AssignStatements and consolidates the returned values as a single ReturnStatement at the end of the function. The pass rewrites ternary expressions over composite data types, into ternary expressions over the individual fields of the composite data type, followed by an expression constructing the composite data type.

diff --git a/leo_passes/function_inlining/assignment_renamer/index.html b/leo_passes/function_inlining/assignment_renamer/index.html index 9d826d6507..b6df39191c 100644 --- a/leo_passes/function_inlining/assignment_renamer/index.html +++ b/leo_passes/function_inlining/assignment_renamer/index.html @@ -1,2 +1,2 @@ -leo_passes::function_inlining::assignment_renamer - Rust

Structs

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for AssignmentRenamer<'a>

§

impl<'a> !Send for AssignmentRenamer<'a>

§

impl<'a> !Sync for AssignmentRenamer<'a>

§

impl<'a> Unpin for AssignmentRenamer<'a>

§

impl<'a> !UnwindSafe for AssignmentRenamer<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/function_inlining/function_inliner/index.html b/leo_passes/function_inlining/function_inliner/index.html index 80b857ef15..efdc277b33 100644 --- a/leo_passes/function_inlining/function_inliner/index.html +++ b/leo_passes/function_inlining/function_inliner/index.html @@ -1 +1 @@ -leo_passes::function_inlining::function_inliner - Rust
\ No newline at end of file +leo_passes::function_inlining::function_inliner - Rust
\ No newline at end of file diff --git a/leo_passes/function_inlining/function_inliner/struct.FunctionInliner.html b/leo_passes/function_inlining/function_inliner/struct.FunctionInliner.html index b9e64c0fde..75861bb89d 100644 --- a/leo_passes/function_inlining/function_inliner/struct.FunctionInliner.html +++ b/leo_passes/function_inlining/function_inliner/struct.FunctionInliner.html @@ -1,21 +1,21 @@ -FunctionInliner in leo_passes::function_inlining::function_inliner - Rust
pub struct FunctionInliner<'a> {
+FunctionInliner in leo_passes::function_inlining::function_inliner - Rust
pub struct FunctionInliner<'a> {
     pub(crate) node_builder: &'a NodeBuilder,
     pub(crate) call_graph: &'a CallGraph,
     pub(crate) assignment_renamer: AssignmentRenamer<'a>,
     pub(crate) type_table: &'a TypeTable,
-    pub(crate) reconstructed_functions: Vec<(Symbol, Function)>,
+    pub(crate) reconstructed_functions: Vec<(Symbol, Function)>,
 }

Fields§

§node_builder: &'a NodeBuilder

A counter used to create unique NodeIDs.

§call_graph: &'a CallGraph

The call graph for the program.

§assignment_renamer: AssignmentRenamer<'a>

A wrapper around an Assigner used to create unique variable assignments.

§type_table: &'a TypeTable

A mapping between node IDs and their types.

-
§reconstructed_functions: Vec<(Symbol, Function)>

A map of reconstructed functions in the current program scope.

+
§reconstructed_functions: Vec<(Symbol, Function)>

A map of reconstructed functions in the current program scope.

Implementations§

source§

impl<'a> FunctionInliner<'a>

source

pub fn new( node_builder: &'a NodeBuilder, call_graph: &'a CallGraph, assigner: &'a Assigner, type_table: &'a TypeTable ) -> Self

Initializes a new FunctionInliner.

-

Trait Implementations§

Trait Implementations§

source§

impl ExpressionReconstructor for FunctionInliner<'_>

source§

impl<'a> Pass for FunctionInliner<'a>

source§

impl<'a> Pass for FunctionInliner<'a>

§

type Input = (Ast, &'a NodeBuilder, &'a DiGraph<Symbol>, &'a Assigner, &'a TypeTable)

§

type Output = Result<Ast, LeoError>

source§

fn do_pass( (ast, node_builder, call_graph, assigner, tt): Self::Input ) -> Self::Output

Runs the compiler pass.
source§

impl ProgramReconstructor for FunctionInliner<'_>

source§

impl StatementReconstructor for FunctionInliner<'_>

source§

fn reconstruct_assign( &mut self, @@ -112,20 +112,20 @@ ) -> (Statement, Self::AdditionalOutput)

source§

fn reconstruct_return( &mut self, input: ReturnStatement -) -> (Statement, Self::AdditionalOutput)

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for FunctionInliner<'a>

§

impl<'a> !Send for FunctionInliner<'a>

§

impl<'a> !Sync for FunctionInliner<'a>

§

impl<'a> Unpin for FunctionInliner<'a>

§

impl<'a> !UnwindSafe for FunctionInliner<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> (Statement, Self::AdditionalOutput)

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for FunctionInliner<'a>

§

impl<'a> !Send for FunctionInliner<'a>

§

impl<'a> !Sync for FunctionInliner<'a>

§

impl<'a> Unpin for FunctionInliner<'a>

§

impl<'a> !UnwindSafe for FunctionInliner<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/function_inlining/index.html b/leo_passes/function_inlining/index.html index 32599035a4..0149e71f8c 100644 --- a/leo_passes/function_inlining/index.html +++ b/leo_passes/function_inlining/index.html @@ -1,4 +1,4 @@ -leo_passes::function_inlining - Rust
Expand description

The Function Inlining pass traverses the AST and inlines function at their call site. +leo_passes::function_inlining - Rust

Expand description

The Function Inlining pass traverses the AST and inlines function at their call site. See https://en.wikipedia.org/wiki/Inline_expansion for more information. The pass also reorders Functions in a reconstructed ProgramScope so that they are in a post-order of the call graph. In other words, a callee function will appear before a caller function in the order.

diff --git a/leo_passes/function_inlining/inline_expression/index.html b/leo_passes/function_inlining/inline_expression/index.html index 2172ba6145..4d3ed213c5 100644 --- a/leo_passes/function_inlining/inline_expression/index.html +++ b/leo_passes/function_inlining/inline_expression/index.html @@ -1 +1 @@ -leo_passes::function_inlining::inline_expression - Rust
\ No newline at end of file +leo_passes::function_inlining::inline_expression - Rust
\ No newline at end of file diff --git a/leo_passes/function_inlining/inline_program/index.html b/leo_passes/function_inlining/inline_program/index.html index 5d7413c798..c3bd76425f 100644 --- a/leo_passes/function_inlining/inline_program/index.html +++ b/leo_passes/function_inlining/inline_program/index.html @@ -1 +1 @@ -leo_passes::function_inlining::inline_program - Rust
\ No newline at end of file +leo_passes::function_inlining::inline_program - Rust
\ No newline at end of file diff --git a/leo_passes/function_inlining/inline_statement/index.html b/leo_passes/function_inlining/inline_statement/index.html index a7aca60bad..6e1fac85a7 100644 --- a/leo_passes/function_inlining/inline_statement/index.html +++ b/leo_passes/function_inlining/inline_statement/index.html @@ -1 +1 @@ -leo_passes::function_inlining::inline_statement - Rust
\ No newline at end of file +leo_passes::function_inlining::inline_statement - Rust
\ No newline at end of file diff --git a/leo_passes/index.html b/leo_passes/index.html index 6309ac3441..07ce33dd8b 100644 --- a/leo_passes/index.html +++ b/leo_passes/index.html @@ -1,4 +1,5 @@ -leo_passes - Rust

Crate leo_passes

source ·
Expand description

leo-passes

+leo_passes - Rust

Crate leo_passes

source ·
Expand description

leo-passes

Crates.io Authors License

diff --git a/leo_passes/loop_unrolling/index.html b/leo_passes/loop_unrolling/index.html index c2facb2ef3..f48401686b 100644 --- a/leo_passes/loop_unrolling/index.html +++ b/leo_passes/loop_unrolling/index.html @@ -1 +1 @@ -leo_passes::loop_unrolling - Rust
\ No newline at end of file +leo_passes::loop_unrolling - Rust
\ No newline at end of file diff --git a/leo_passes/loop_unrolling/range_iterator/enum.Clusivity.html b/leo_passes/loop_unrolling/range_iterator/enum.Clusivity.html index 0bb06d9321..bc1c334c80 100644 --- a/leo_passes/loop_unrolling/range_iterator/enum.Clusivity.html +++ b/leo_passes/loop_unrolling/range_iterator/enum.Clusivity.html @@ -1,21 +1,21 @@ -Clusivity in leo_passes::loop_unrolling::range_iterator - Rust
pub(crate) enum Clusivity {
+Clusivity in leo_passes::loop_unrolling::range_iterator - Rust
pub(crate) enum Clusivity {
     Inclusive,
     Exclusive,
 }
Expand description

Whether or not a bound is inclusive or exclusive.

-

Variants§

§

Inclusive

§

Exclusive

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +

Variants§

§

Inclusive

§

Exclusive

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/loop_unrolling/range_iterator/index.html b/leo_passes/loop_unrolling/range_iterator/index.html index 3b409847ac..6faf563010 100644 --- a/leo_passes/loop_unrolling/range_iterator/index.html +++ b/leo_passes/loop_unrolling/range_iterator/index.html @@ -1 +1 @@ -leo_passes::loop_unrolling::range_iterator - Rust

Structs

Enums

  • Clusivity 🔒
    Whether or not a bound is inclusive or exclusive.

Traits

  • LoopBound 🔒
    A trait for whose implementors are concrete values for loop bounds.
\ No newline at end of file +leo_passes::loop_unrolling::range_iterator - Rust

Structs

Enums

  • Clusivity 🔒
    Whether or not a bound is inclusive or exclusive.

Traits

  • LoopBound 🔒
    A trait for whose implementors are concrete values for loop bounds.
\ No newline at end of file diff --git a/leo_passes/loop_unrolling/range_iterator/struct.RangeIterator.html b/leo_passes/loop_unrolling/range_iterator/struct.RangeIterator.html index 4a4db2486c..3600adc894 100644 --- a/leo_passes/loop_unrolling/range_iterator/struct.RangeIterator.html +++ b/leo_passes/loop_unrolling/range_iterator/struct.RangeIterator.html @@ -1,1225 +1,1215 @@ -RangeIterator in leo_passes::loop_unrolling::range_iterator - Rust
pub(crate) struct RangeIterator<I: LoopBound> {
+RangeIterator in leo_passes::loop_unrolling::range_iterator - Rust
pub(crate) struct RangeIterator<I: LoopBound> {
     end: I,
-    current: Option<I>,
+    current: Option<I>,
     clusivity: Clusivity,
 }
Expand description

An iterator over a range of values.

-

Fields§

§end: I§current: Option<I>§clusivity: Clusivity

Implementations§

source§

impl<I: LoopBound> RangeIterator<I>

source

pub(crate) fn new(start: I, end: I, clusivity: Clusivity) -> Self

Trait Implementations§

source§

impl<I: LoopBound> Iterator for RangeIterator<I>

§

type Item = I

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<Self::Item>

Advances the iterator and returns the next value. Read more
source§

fn next_chunk<const N: usize>( +

Fields§

§end: I§current: Option<I>§clusivity: Clusivity

Implementations§

source§

impl<I: LoopBound> RangeIterator<I>

source

pub(crate) fn new(start: I, end: I, clusivity: Clusivity) -> Self

Trait Implementations§

source§

impl<I: LoopBound> Iterator for RangeIterator<I>

§

type Item = I

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<Self::Item>

Advances the iterator and returns the next value. Read more
source§

fn next_chunk<const N: usize>( &mut self -) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
1.0.0 · source§

fn count(self) -> usizewhere - Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>where - Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZeroUsize>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.0.0 · source§

fn nth(&mut self, n: usize) -> Option<Self::Item>

Returns the nth element of the iterator. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>where - Self: Sized,

Creates an iterator starting at the same point, but stepping by -the given amount at each iteration. Read more
1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>where - Self: Sized, - U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>where - Self: Sized, - U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>where - Self: Sized, - G: FnMut() -> Self::Item,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places an item generated by separator -between adjacent items of the original iterator. Read more
1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>where - Self: Sized, - F: FnMut(Self::Item) -> B,

Takes a closure and creates an iterator which calls that closure on each -element. Read more
1.21.0 · source§

fn for_each<F>(self, f: F)where - Self: Sized, - F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator which uses a closure to determine if an element -should be yielded. Read more
1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>where - Self: Sized,

Creates an iterator which gives the current iteration count as well as -the next value. Read more
1.0.0 · source§

fn peekable(self) -> Peekable<Self>where - Self: Sized,

Creates an iterator which can use the peek and peek_mut methods +) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where + Self: Sized,
🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
1.0.0 · source§

fn count(self) -> usizewhere + Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>where + Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZeroUsize>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.0.0 · source§

fn nth(&mut self, n: usize) -> Option<Self::Item>

Returns the nth element of the iterator. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>where + Self: Sized,

Creates an iterator starting at the same point, but stepping by +the given amount at each iteration. Read more
1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>where + Self: Sized, + U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>where + Self: Sized, + U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>where + Self: Sized, + G: FnMut() -> Self::Item,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places an item generated by separator +between adjacent items of the original iterator. Read more
1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>where + Self: Sized, + F: FnMut(Self::Item) -> B,

Takes a closure and creates an iterator which calls that closure on each +element. Read more
1.21.0 · source§

fn for_each<F>(self, f: F)where + Self: Sized, + F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

Creates an iterator which uses a closure to determine if an element +should be yielded. Read more
1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>where + Self: Sized,

Creates an iterator which gives the current iteration count as well as +the next value. Read more
1.0.0 · source§

fn peekable(self) -> Peekable<Self>where + Self: Sized,

Creates an iterator which can use the peek and peek_mut methods to look at the next element of the iterator without consuming it. See -their documentation for more information. Read more
1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>where - Self: Sized, - P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>where - Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>where - Self: Sized,

Creates an iterator that yields the first n elements, or fewer -if the underlying iterator ends sooner. Read more
1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>where - Self: Sized, - F: FnMut(&mut St, Self::Item) -> Option<B>,

An iterator adapter which, like fold, holds internal state, but -unlike fold, produces a new iterator. Read more
1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>where - Self: Sized, - U: IntoIterator, - F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>where - Self: Sized, - F: FnMut(&[Self::Item; N]) -> R,

🔬This is a nightly-only experimental API. (iter_map_windows)
Calls the given function f for each contiguous window of size N over -self and returns an iterator over the outputs of f. Like slice::windows(), -the windows during mapping overlap as well. Read more
1.0.0 · source§

fn fuse(self) -> Fuse<Self>where - Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>where - Self: Sized, - F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Selfwhere - Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> Bwhere - B: FromIterator<Self::Item>, - Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut Ewhere - E: Extend<Self::Item>, - Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)where - Self: Sized, - B: Default + Extend<Self::Item>, - F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn is_partitioned<P>(self, predicate: P) -> boolwhere - Self: Sized, - P: FnMut(Self::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_is_partitioned)
Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> Rwhere - Self: Sized, - F: FnMut(B, Self::Item) -> R, - R: Try<Output = B>,

An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> Rwhere - Self: Sized, - F: FnMut(Self::Item) -> R, - R: Try<Output = ()>,

An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> Bwhere - Self: Sized, - F: FnMut(B, Self::Item) -> B,

Folds every element into an accumulator by applying an operation, -returning the final result. Read more
1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>where - Self: Sized, - F: FnMut(Self::Item, Self::Item) -> Self::Item,

Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
source§

fn try_reduce<F, R>( +their documentation for more information. Read more

1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>where + Self: Sized, + P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>where + Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>where + Self: Sized,

Creates an iterator that yields the first n elements, or fewer +if the underlying iterator ends sooner. Read more
1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>where + Self: Sized, + F: FnMut(&mut St, Self::Item) -> Option<B>,

An iterator adapter which, like fold, holds internal state, but +unlike fold, produces a new iterator. Read more
1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>where + Self: Sized, + U: IntoIterator, + F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>where + Self: Sized, + F: FnMut(&[Self::Item; N]) -> R,

🔬This is a nightly-only experimental API. (iter_map_windows)
Calls the given function f for each contiguous window of size N over +self and returns an iterator over the outputs of f. Like slice::windows(), +the windows during mapping overlap as well. Read more
1.0.0 · source§

fn fuse(self) -> Fuse<Self>where + Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>where + Self: Sized, + F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Selfwhere + Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> Bwhere + B: FromIterator<Self::Item>, + Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut Ewhere + E: Extend<Self::Item>, + Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)where + Self: Sized, + B: Default + Extend<Self::Item>, + F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn is_partitioned<P>(self, predicate: P) -> boolwhere + Self: Sized, + P: FnMut(Self::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_is_partitioned)
Checks if the elements of this iterator are partitioned according to the given predicate, +such that all those that return true precede all those that return false. Read more
1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> Rwhere + Self: Sized, + F: FnMut(B, Self::Item) -> R, + R: Try<Output = B>,

An iterator method that applies a function as long as it returns +successfully, producing a single, final value. Read more
1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> Rwhere + Self: Sized, + F: FnMut(Self::Item) -> R, + R: Try<Output = ()>,

An iterator method that applies a fallible function to each item in the +iterator, stopping at the first error and returning that error. Read more
1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> Bwhere + Self: Sized, + F: FnMut(B, Self::Item) -> B,

Folds every element into an accumulator by applying an operation, +returning the final result. Read more
1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>where + Self: Sized, + F: FnMut(Self::Item, Self::Item) -> Self::Item,

Reduces the elements to a single one, by repeatedly applying a reducing +operation. Read more
source§

fn try_reduce<F, R>( &mut self, f: F -) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryTypewhere - Self: Sized, - F: FnMut(Self::Item, Self::Item) -> R, - R: Try<Output = Self::Item>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (iterator_try_reduce)
Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
1.0.0 · source§

fn all<F>(&mut self, f: F) -> boolwhere - Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> boolwhere - Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

Applies function to the elements of iterator and returns -the first non-none result. Read more
source§

fn try_find<F, R>( +) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryTypewhere + Self: Sized, + F: FnMut(Self::Item, Self::Item) -> R, + R: Try<Output = Self::Item>, + <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (iterator_try_reduce)
Reduces the elements to a single one by repeatedly applying a reducing operation. If the +closure returns a failure, the failure is propagated back to the caller immediately. Read more
1.0.0 · source§

fn all<F>(&mut self, f: F) -> boolwhere + Self: Sized, + F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> boolwhere + Self: Sized, + F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

Applies function to the elements of iterator and returns +the first non-none result. Read more
source§

fn try_find<F, R>( &mut self, f: F -) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryTypewhere - Self: Sized, - F: FnMut(&Self::Item) -> R, - R: Try<Output = bool>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (try_find)
Applies function to the elements of iterator and returns -the first true result or the first error. Read more
1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>where - Self: Sized, - P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

Returns the element that gives the maximum value from the -specified function. Read more
1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

Returns the element that gives the minimum value from the -specified function. Read more
1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)where - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>where - T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>where - T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> Swhere - Self: Sized, - S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> Pwhere - Self: Sized, - P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Orderingwhere - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

Lexicographically compares the PartialOrd elements of -this Iterator with those of another. The comparison works like short-circuit +) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryTypewhere + Self: Sized, + F: FnMut(&Self::Item) -> R, + R: Try<Output = bool>, + <R as Try>::Residual: Residual<Option<Self::Item>>,
🔬This is a nightly-only experimental API. (try_find)
Applies function to the elements of iterator and returns +the first true result or the first error. Read more
1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>where + Self: Sized, + P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

Returns the element that gives the maximum value from the +specified function. Read more
1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the maximum value with respect to the +specified comparison function. Read more
1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

Returns the element that gives the minimum value from the +specified function. Read more
1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the minimum value with respect to the +specified comparison function. Read more
1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)where + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>where + T: 'a + Copy, + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>where + T: 'a + Clone, + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> Swhere + Self: Sized, + S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> Pwhere + Self: Sized, + P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Orderingwhere + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

Lexicographically compares the PartialOrd elements of +this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn eq<I>(self, other: I) -> boolwhere - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

Determines if the elements of this Iterator are equal to those of -another. Read more
source§

fn eq_by<I, F>(self, other: I, eq: F) -> boolwhere - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_order_by)
Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
1.5.0 · source§

fn ne<I>(self, other: I) -> boolwhere - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

Determines if the elements of this Iterator are not equal to those of -another. Read more
1.5.0 · source§

fn lt<I>(self, other: I) -> boolwhere - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
1.5.0 · source§

fn le<I>(self, other: I) -> boolwhere - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
1.5.0 · source§

fn gt<I>(self, other: I) -> boolwhere - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
1.5.0 · source§

fn ge<I>(self, other: I) -> boolwhere - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
source§

fn is_sorted_by<F>(self, compare: F) -> boolwhere - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Option<Ordering>,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> boolwhere - Self: Sized, - F: FnMut(Self::Item) -> K, - K: PartialOrd<K>,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given key extraction -function. Read more

Auto Trait Implementations§

§

impl<I> RefUnwindSafe for RangeIterator<I>where - I: RefUnwindSafe,

§

impl<I> Send for RangeIterator<I>where - I: Send,

§

impl<I> Sync for RangeIterator<I>where - I: Sync,

§

impl<I> Unpin for RangeIterator<I>where - I: Unpin,

§

impl<I> UnwindSafe for RangeIterator<I>where - I: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +As soon as an order can be determined, the evaluation stops and a result is returned. Read more
source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn eq<I>(self, other: I) -> boolwhere + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

Determines if the elements of this Iterator are equal to those of +another. Read more
source§

fn eq_by<I, F>(self, other: I, eq: F) -> boolwhere + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_order_by)
Determines if the elements of this Iterator are equal to those of +another with respect to the specified equality function. Read more
1.5.0 · source§

fn ne<I>(self, other: I) -> boolwhere + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

Determines if the elements of this Iterator are not equal to those of +another. Read more
1.5.0 · source§

fn lt<I>(self, other: I) -> boolwhere + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

Determines if the elements of this Iterator are lexicographically +less than those of another. Read more
1.5.0 · source§

fn le<I>(self, other: I) -> boolwhere + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

Determines if the elements of this Iterator are lexicographically +less or equal to those of another. Read more
1.5.0 · source§

fn gt<I>(self, other: I) -> boolwhere + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

Determines if the elements of this Iterator are lexicographically +greater than those of another. Read more
1.5.0 · source§

fn ge<I>(self, other: I) -> boolwhere + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

Determines if the elements of this Iterator are lexicographically +greater than or equal to those of another. Read more
source§

fn is_sorted_by<F>(self, compare: F) -> boolwhere + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Option<Ordering>,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> boolwhere + Self: Sized, + F: FnMut(Self::Item) -> K, + K: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given key extraction +function. Read more

Auto Trait Implementations§

§

impl<I> RefUnwindSafe for RangeIterator<I>where + I: RefUnwindSafe,

§

impl<I> Send for RangeIterator<I>where + I: Send,

§

impl<I> Sync for RangeIterator<I>where + I: Sync,

§

impl<I> Unpin for RangeIterator<I>where + I: Unpin,

§

impl<I> UnwindSafe for RangeIterator<I>where + I: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<I> IntoIterator for Iwhere - I: Iterator,

§

type Item = <I as Iterator>::Item

The type of the elements being iterated over.
§

type IntoIter = I

Which kind of iterator are we turning this into?
const: unstable · source§

fn into_iter(self) -> I

Creates an iterator from a value. Read more
source§

impl<I> IteratorRandom for Iwhere - I: Iterator,

source§

fn choose<R>(self, rng: &mut R) -> Option<Self::Item>where - R: Rng + ?Sized,

Choose one element at random from the iterator. Read more
source§

fn choose_stable<R>(self, rng: &mut R) -> Option<Self::Item>where - R: Rng + ?Sized,

Choose one element at random from the iterator. Read more
source§

fn choose_multiple_fill<R>(self, rng: &mut R, buf: &mut [Self::Item]) -> usizewhere - R: Rng + ?Sized,

Collects values at random from the iterator into a supplied buffer -until that buffer is filled. Read more
source§

fn choose_multiple<R>( - self, - rng: &mut R, - amount: usize -) -> Vec<Self::Item, Global>where - R: Rng + ?Sized,

Collects amount values at random from the iterator into a vector. Read more
source§

impl<T> Itertools for Twhere - T: Iterator + ?Sized,

source§

fn interleave<J>( +From<T> for U chooses to do.

+

source§

impl<I> IntoIterator for Iwhere + I: Iterator,

§

type Item = <I as Iterator>::Item

The type of the elements being iterated over.
§

type IntoIter = I

Which kind of iterator are we turning this into?
const: unstable · source§

fn into_iter(self) -> I

Creates an iterator from a value. Read more
source§

impl<I> IteratorRandom for Iwhere + I: Iterator,

source§

fn choose<R>(self, rng: &mut R) -> Option<Self::Item>where + R: Rng + ?Sized,

Choose one element at random from the iterator. Read more
source§

fn choose_stable<R>(self, rng: &mut R) -> Option<Self::Item>where + R: Rng + ?Sized,

Choose one element at random from the iterator. Read more
source§

fn choose_multiple_fill<R>(self, rng: &mut R, buf: &mut [Self::Item]) -> usizewhere + R: Rng + ?Sized,

Collects values at random from the iterator into a supplied buffer +until that buffer is filled. Read more
source§

fn choose_multiple<R>(self, rng: &mut R, amount: usize) -> Vec<Self::Item>where + R: Rng + ?Sized,

Collects amount values at random from the iterator into a vector. Read more
source§

impl<T> Itertools for Twhere + T: Iterator + ?Sized,

source§

fn interleave<J>( self, other: J -) -> Interleave<Self, <J as IntoIterator>::IntoIter>where - J: IntoIterator<Item = Self::Item>, - Self: Sized,

Alternate elements from two iterators until both have run out. Read more
source§

fn interleave_shortest<J>( +) -> Interleave<Self, <J as IntoIterator>::IntoIter>where + J: IntoIterator<Item = Self::Item>, + Self: Sized,

Alternate elements from two iterators until both have run out. Read more
source§

fn interleave_shortest<J>( self, other: J -) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter>where - J: IntoIterator<Item = Self::Item>, - Self: Sized,

Alternate elements from two iterators until at least one of them has run +) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter>where + J: IntoIterator<Item = Self::Item>, + Self: Sized,
Alternate elements from two iterators until at least one of them has run out. Read more
source§

fn intersperse( self, - element: Self::Item -) -> IntersperseWith<Self, IntersperseElementSimple<Self::Item>>where - Self: Sized, - Self::Item: Clone,

An iterator adaptor to insert a particular value + element: Self::Item +) -> IntersperseWith<Self, IntersperseElementSimple<Self::Item>>where + Self: Sized, + Self::Item: Clone,
An iterator adaptor to insert a particular value between each element of the adapted iterator. Read more
source§

fn intersperse_with<F>(self, element: F) -> IntersperseWith<Self, F>where - Self: Sized, - F: FnMut() -> Self::Item,

An iterator adaptor to insert a particular value created by a function + Self: Sized, + F: FnMut() -> Self::Item,
An iterator adaptor to insert a particular value created by a function between each element of the adapted iterator. Read more
source§

fn zip_longest<J>( self, other: J -) -> ZipLongest<Self, <J as IntoIterator>::IntoIter>where - J: IntoIterator, - Self: Sized,

Create an iterator which iterates over both this and the specified -iterator simultaneously, yielding pairs of two optional elements. Read more
source§

fn zip_eq<J>(self, other: J) -> ZipEq<Self, <J as IntoIterator>::IntoIter>where - J: IntoIterator, - Self: Sized,

Create an iterator which iterates over both this and the specified +) -> ZipLongest<Self, <J as IntoIterator>::IntoIter>where + J: IntoIterator, + Self: Sized,
Create an iterator which iterates over both this and the specified +iterator simultaneously, yielding pairs of two optional elements. Read more
source§

fn zip_eq<J>(self, other: J) -> ZipEq<Self, <J as IntoIterator>::IntoIter>where + J: IntoIterator, + Self: Sized,

Create an iterator which iterates over both this and the specified iterator simultaneously, yielding pairs of elements. Read more
source§

fn batching<B, F>(self, f: F) -> Batching<Self, F>where - F: FnMut(&mut Self) -> Option<B>, - Self: Sized,

A “meta iterator adaptor”. Its closure receives a reference to the + F: FnMut(&mut Self) -> Option<B>, + Self: Sized,
A “meta iterator adaptor”. Its closure receives a reference to the iterator and may pick off as many elements as it likes, to produce the next iterator element. Read more
source§

fn group_by<K, F>(self, key: F) -> GroupBy<K, Self, F>where - Self: Sized, - F: FnMut(&Self::Item) -> K, - K: PartialEq<K>,

Return an iterable that can group iterator elements. + Self: Sized, + F: FnMut(&Self::Item) -> K, + K: PartialEq,
Return an iterable that can group iterator elements. Consecutive elements that map to the same key (“runs”), are assigned -to the same group. Read more
source§

fn chunks(self, size: usize) -> IntoChunks<Self>where - Self: Sized,

Return an iterable that can chunk the iterator. Read more
source§

fn tuple_windows<T>(self) -> TupleWindows<Self, T>where - Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, +to the same group. Read more

source§

fn chunks(self, size: usize) -> IntoChunks<Self>where + Self: Sized,

Return an iterable that can chunk the iterator. Read more
source§

fn tuple_windows<T>(self) -> TupleWindows<Self, T>where + Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, T: HomogeneousTuple, - <T as TupleCollect>::Item: Clone,

Return an iterator over all contiguous windows producing tuples of + <T as TupleCollect>::Item: Clone,
Return an iterator over all contiguous windows producing tuples of a specific size (up to 12). Read more
source§

fn circular_tuple_windows<T>(self) -> CircularTupleWindows<Self, T>where - Self: Sized + Clone + Iterator<Item = <T as TupleCollect>::Item> + ExactSizeIterator, - T: TupleCollect + Clone, - <T as TupleCollect>::Item: Clone,

Return an iterator over all windows, wrapping back to the first + Self: Sized + Clone + Iterator<Item = <T as TupleCollect>::Item> + ExactSizeIterator, + T: TupleCollect + Clone, + <T as TupleCollect>::Item: Clone,
Return an iterator over all windows, wrapping back to the first elements when the window would otherwise exceed the length of the iterator, producing tuples of a specific size (up to 12). Read more
source§

fn tuples<T>(self) -> Tuples<Self, T>where - Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, + Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, T: HomogeneousTuple,

Return an iterator that groups the items in tuples of a specific size (up to 12). Read more
source§

fn tee(self) -> (Tee<Self>, Tee<Self>)where - Self: Sized, - Self::Item: Clone,

Split into an iterator pair that both yield all elements from -the original iterator. Read more
source§

fn step(self, n: usize) -> Step<Self>where - Self: Sized,

👎Deprecated since 0.8.0: Use std .step_by() instead
Return an iterator adaptor that steps n elements in the base iterator + Self: Sized, + Self::Item: Clone,
Split into an iterator pair that both yield all elements from +the original iterator. Read more
source§

fn step(self, n: usize) -> Step<Self>where + Self: Sized,

👎Deprecated since 0.8.0: Use std .step_by() instead
Return an iterator adaptor that steps n elements in the base iterator for each iteration. Read more
source§

fn map_into<R>(self) -> MapSpecialCase<Self, MapSpecialCaseFnInto<R>>where - Self: Sized, - Self::Item: Into<R>,

Convert each item of the iterator using the Into trait. Read more
source§

fn map_results<F, T, U, E>( + Self: Sized, + Self::Item: Into<R>,

Convert each item of the iterator using the Into trait. Read more
source§

fn map_results<F, T, U, E>( self, f: F ) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>where - Self: Iterator<Item = Result<T, E>> + Sized, - F: FnMut(T) -> U,

👎Deprecated since 0.10.0: Use .map_ok() instead
source§

fn map_ok<F, T, U, E>(self, f: F) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>where - Self: Iterator<Item = Result<T, E>> + Sized, - F: FnMut(T) -> U,

Return an iterator adaptor that applies the provided closure + Self: Iterator<Item = Result<T, E>> + Sized, + F: FnMut(T) -> U,
👎Deprecated since 0.10.0: Use .map_ok() instead
source§

fn map_ok<F, T, U, E>(self, f: F) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>where + Self: Iterator<Item = Result<T, E>> + Sized, + F: FnMut(T) -> U,

Return an iterator adaptor that applies the provided closure to every Result::Ok value. Result::Err values are unchanged. Read more
source§

fn filter_ok<F, T, E>(self, f: F) -> FilterOk<Self, F>where - Self: Iterator<Item = Result<T, E>> + Sized, - F: FnMut(&T) -> bool,

Return an iterator adaptor that filters every Result::Ok + Self: Iterator<Item = Result<T, E>> + Sized, + F: FnMut(&T) -> bool,
Return an iterator adaptor that filters every Result::Ok value with the provided closure. Result::Err values are unchanged. Read more
source§

fn filter_map_ok<F, T, U, E>(self, f: F) -> FilterMapOk<Self, F>where - Self: Iterator<Item = Result<T, E>> + Sized, - F: FnMut(T) -> Option<U>,

Return an iterator adaptor that filters and transforms every + Self: Iterator<Item = Result<T, E>> + Sized, + F: FnMut(T) -> Option<U>,
Return an iterator adaptor that filters and transforms every Result::Ok value with the provided closure. Result::Err values are unchanged. Read more
source§

fn flatten_ok<T, E>(self) -> FlattenOk<Self, T, E>where - Self: Iterator<Item = Result<T, E>> + Sized, - T: IntoIterator,

Return an iterator adaptor that flattens every Result::Ok value into -a series of Result::Ok values. Result::Err values are unchanged. Read more
source§

fn process_results<F, T, E, R>(self, processor: F) -> Result<R, E>where - Self: Iterator<Item = Result<T, E>> + Sized, - F: FnOnce(ProcessResults<'_, Self, E>) -> R,

“Lift” a function of the values of the current iterator so as to process + Self: Iterator<Item = Result<T, E>> + Sized, + T: IntoIterator,
Return an iterator adaptor that flattens every Result::Ok value into +a series of Result::Ok values. Result::Err values are unchanged. Read more
source§

fn process_results<F, T, E, R>(self, processor: F) -> Result<R, E>where + Self: Iterator<Item = Result<T, E>> + Sized, + F: FnOnce(ProcessResults<'_, Self, E>) -> R,

“Lift” a function of the values of the current iterator so as to process an iterator of Result values instead. Read more
source§

fn merge<J>( self, other: J -) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte>where - Self: Sized, - Self::Item: PartialOrd<Self::Item>, - J: IntoIterator<Item = Self::Item>,

Return an iterator adaptor that merges the two base iterators in +) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte>where + Self: Sized, + Self::Item: PartialOrd, + J: IntoIterator<Item = Self::Item>,
Return an iterator adaptor that merges the two base iterators in ascending order. If both base iterators are sorted (ascending), the result is sorted. Read more
source§

fn merge_by<J, F>( self, other: J, is_first: F -) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F>where - Self: Sized, - J: IntoIterator<Item = Self::Item>, - F: FnMut(&Self::Item, &Self::Item) -> bool,

Return an iterator adaptor that merges the two base iterators in order. +) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F>where + Self: Sized, + J: IntoIterator<Item = Self::Item>, + F: FnMut(&Self::Item, &Self::Item) -> bool,
Return an iterator adaptor that merges the two base iterators in order. This is much like .merge() but allows for a custom ordering. Read more
source§

fn merge_join_by<J, F, T>( self, other: J, cmp_fn: F -) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeFuncLR<F, <F as FuncLR<Self::Item, <<J as IntoIterator>::IntoIter as Iterator>::Item>>::T>>where - J: IntoIterator, - F: FnMut(&Self::Item, &<J as IntoIterator>::Item) -> T, - Self: Sized,

Create an iterator that merges items from both this and the specified -iterator in ascending order. Read more
source§

fn kmerge(self) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, KMergeByLt>where - Self: Sized, - Self::Item: IntoIterator, - <Self::Item as IntoIterator>::Item: PartialOrd<<Self::Item as IntoIterator>::Item>,

Return an iterator adaptor that flattens an iterator of iterators by +) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeFuncLR<F, <F as FuncLR<Self::Item, <<J as IntoIterator>::IntoIter as Iterator>::Item>>::T>>where + J: IntoIterator, + F: FnMut(&Self::Item, &<J as IntoIterator>::Item) -> T, + Self: Sized,
Create an iterator that merges items from both this and the specified +iterator in ascending order. Read more
source§

fn kmerge(self) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, KMergeByLt>where + Self: Sized, + Self::Item: IntoIterator, + <Self::Item as IntoIterator>::Item: PartialOrd,

Return an iterator adaptor that flattens an iterator of iterators by merging them in ascending order. Read more
source§

fn kmerge_by<F>( self, first: F -) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, F>where - Self: Sized, - Self::Item: IntoIterator, - F: FnMut(&<Self::Item as IntoIterator>::Item, &<Self::Item as IntoIterator>::Item) -> bool,

Return an iterator adaptor that flattens an iterator of iterators by +) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, F>where + Self: Sized, + Self::Item: IntoIterator, + F: FnMut(&<Self::Item as IntoIterator>::Item, &<Self::Item as IntoIterator>::Item) -> bool,
Return an iterator adaptor that flattens an iterator of iterators by merging them according to the given closure. Read more
source§

fn cartesian_product<J>( self, other: J -) -> Product<Self, <J as IntoIterator>::IntoIter>where - Self: Sized, - Self::Item: Clone, - J: IntoIterator, - <J as IntoIterator>::IntoIter: Clone,

Return an iterator adaptor that iterates over the cartesian product of +) -> Product<Self, <J as IntoIterator>::IntoIter>where + Self: Sized, + Self::Item: Clone, + J: IntoIterator, + <J as IntoIterator>::IntoIter: Clone,
Return an iterator adaptor that iterates over the cartesian product of the element sets of two iterators self and J. Read more
source§

fn multi_cartesian_product( self -) -> MultiProduct<<Self::Item as IntoIterator>::IntoIter>where - Self: Sized, - Self::Item: IntoIterator, - <Self::Item as IntoIterator>::IntoIter: Clone, - <Self::Item as IntoIterator>::Item: Clone,

Return an iterator adaptor that iterates over the cartesian product of -all subiterators returned by meta-iterator self. Read more
source§

fn coalesce<F>(self, f: F) -> CoalesceBy<Self, F, Self::Item>where - Self: Sized, - F: FnMut(Self::Item, Self::Item) -> Result<Self::Item, (Self::Item, Self::Item)>,

Return an iterator adaptor that uses the passed-in closure to -optionally merge together consecutive elements. Read more
source§

fn dedup(self) -> CoalesceBy<Self, DedupPred2CoalescePred<DedupEq>, Self::Item>where - Self: Sized, - Self::Item: PartialEq<Self::Item>,

Remove duplicates from sections of consecutive identical elements. +) -> MultiProduct<<Self::Item as IntoIterator>::IntoIter>where + Self: Sized, + Self::Item: IntoIterator, + <Self::Item as IntoIterator>::IntoIter: Clone, + <Self::Item as IntoIterator>::Item: Clone,
Return an iterator adaptor that iterates over the cartesian product of +all subiterators returned by meta-iterator self. Read more
source§

fn coalesce<F>(self, f: F) -> CoalesceBy<Self, F, Self::Item>where + Self: Sized, + F: FnMut(Self::Item, Self::Item) -> Result<Self::Item, (Self::Item, Self::Item)>,

Return an iterator adaptor that uses the passed-in closure to +optionally merge together consecutive elements. Read more
source§

fn dedup(self) -> CoalesceBy<Self, DedupPred2CoalescePred<DedupEq>, Self::Item>where + Self: Sized, + Self::Item: PartialEq,

Remove duplicates from sections of consecutive identical elements. If the iterator is sorted, all elements will be unique. Read more
source§

fn dedup_by<Cmp>( self, cmp: Cmp -) -> CoalesceBy<Self, DedupPred2CoalescePred<Cmp>, Self::Item>where - Self: Sized, - Cmp: FnMut(&Self::Item, &Self::Item) -> bool,

Remove duplicates from sections of consecutive identical elements, +) -> CoalesceBy<Self, DedupPred2CoalescePred<Cmp>, Self::Item>where + Self: Sized, + Cmp: FnMut(&Self::Item, &Self::Item) -> bool,
Remove duplicates from sections of consecutive identical elements, determining equality using a comparison function. If the iterator is sorted, all elements will be unique. Read more
source§

fn dedup_with_count( self -) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<DedupEq>, (usize, Self::Item)>where - Self: Sized,

Remove duplicates from sections of consecutive identical elements, while keeping a count of +) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<DedupEq>, (usize, Self::Item)>where + Self: Sized,
Remove duplicates from sections of consecutive identical elements, while keeping a count of how many repeated elements were present. If the iterator is sorted, all elements will be unique. Read more
source§

fn dedup_by_with_count<Cmp>( self, cmp: Cmp -) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<Cmp>, (usize, Self::Item)>where - Self: Sized, - Cmp: FnMut(&Self::Item, &Self::Item) -> bool,

Remove duplicates from sections of consecutive identical elements, while keeping a count of +) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<Cmp>, (usize, Self::Item)>where + Self: Sized, + Cmp: FnMut(&Self::Item, &Self::Item) -> bool,
Remove duplicates from sections of consecutive identical elements, while keeping a count of how many repeated elements were present. This will determine equality using a comparison function. -If the iterator is sorted, all elements will be unique. Read more
source§

fn duplicates(self) -> DuplicatesBy<Self, Self::Item, ById>where - Self: Sized, - Self::Item: Eq + Hash,

Return an iterator adaptor that produces elements that appear more than once during the +If the iterator is sorted, all elements will be unique. Read more
source§

fn duplicates(self) -> DuplicatesBy<Self, Self::Item, ById>where + Self: Sized, + Self::Item: Eq + Hash,

Return an iterator adaptor that produces elements that appear more than once during the iteration. Duplicates are detected using hash and equality. Read more
source§

fn duplicates_by<V, F>(self, f: F) -> DuplicatesBy<Self, V, ByFn<F>>where - Self: Sized, - V: Eq + Hash, - F: FnMut(&Self::Item) -> V,

Return an iterator adaptor that produces elements that appear more than once during the + Self: Sized, + V: Eq + Hash, + F: FnMut(&Self::Item) -> V,
Return an iterator adaptor that produces elements that appear more than once during the iteration. Duplicates are detected using hash and equality. Read more
source§

fn unique(self) -> Unique<Self>where - Self: Sized, - Self::Item: Clone + Eq + Hash,

Return an iterator adaptor that filters out elements that have + Self: Sized, + Self::Item: Clone + Eq + Hash,
Return an iterator adaptor that filters out elements that have already been produced once during the iteration. Duplicates are detected using hash and equality. Read more
source§

fn unique_by<V, F>(self, f: F) -> UniqueBy<Self, V, F>where - Self: Sized, - V: Eq + Hash, - F: FnMut(&Self::Item) -> V,

Return an iterator adaptor that filters out elements that have + Self: Sized, + V: Eq + Hash, + F: FnMut(&Self::Item) -> V,
Return an iterator adaptor that filters out elements that have already been produced once during the iteration. Read more
source§

fn peeking_take_while<F>(&mut self, accept: F) -> PeekingTakeWhile<'_, Self, F>where - Self: Sized + PeekingNext, - F: FnMut(&Self::Item) -> bool,

Return an iterator adaptor that borrows from this iterator and + Self: Sized + PeekingNext, + F: FnMut(&Self::Item) -> bool,
Return an iterator adaptor that borrows from this iterator and takes items while the closure accept returns true. Read more
source§

fn take_while_ref<F>(&mut self, accept: F) -> TakeWhileRef<'_, Self, F>where - Self: Clone, - F: FnMut(&Self::Item) -> bool,

Return an iterator adaptor that borrows from a Clone-able iterator + Self: Clone, + F: FnMut(&Self::Item) -> bool,
Return an iterator adaptor that borrows from a Clone-able iterator to only pick off elements while the predicate accept returns true. Read more
source§

fn take_while_inclusive<F>(self, accept: F) -> TakeWhileInclusive<Self, F>where - Self: Sized, - F: FnMut(&Self::Item) -> bool,

Returns an iterator adaptor that consumes elements while the given + Self: Sized, + F: FnMut(&Self::Item) -> bool,
Returns an iterator adaptor that consumes elements while the given predicate is true, including the element for which the predicate first returned false. Read more
source§

fn while_some<A>(self) -> WhileSome<Self>where - Self: Sized + Iterator<Item = Option<A>>,

Return an iterator adaptor that filters Option<A> iterator elements + Self: Sized + Iterator<Item = Option<A>>,
Return an iterator adaptor that filters Option<A> iterator elements and produces A. Stops on the first None encountered. Read more
source§

fn tuple_combinations<T>(self) -> TupleCombinations<Self, T>where - Self: Sized + Clone, - Self::Item: Clone, + Self: Sized + Clone, + Self::Item: Clone, T: HasCombination<Self>,

Return an iterator adaptor that iterates over the combinations of the -elements from an iterator. Read more
source§

fn combinations(self, k: usize) -> Combinations<Self>where - Self: Sized, - Self::Item: Clone,

Return an iterator adaptor that iterates over the k-length combinations of +elements from an iterator. Read more
source§

fn combinations(self, k: usize) -> Combinations<Self>where + Self: Sized, + Self::Item: Clone,

Return an iterator adaptor that iterates over the k-length combinations of the elements from an iterator. Read more
source§

fn combinations_with_replacement( self, - k: usize + k: usize ) -> CombinationsWithReplacement<Self>where - Self: Sized, - Self::Item: Clone,

Return an iterator that iterates over the k-length combinations of -the elements from an iterator, with replacement. Read more
source§

fn permutations(self, k: usize) -> Permutations<Self>where - Self: Sized, - Self::Item: Clone,

Return an iterator adaptor that iterates over all k-permutations of the + Self: Sized, + Self::Item: Clone,
Return an iterator that iterates over the k-length combinations of +the elements from an iterator, with replacement. Read more
source§

fn permutations(self, k: usize) -> Permutations<Self>where + Self: Sized, + Self::Item: Clone,

Return an iterator adaptor that iterates over all k-permutations of the elements from an iterator. Read more
source§

fn powerset(self) -> Powerset<Self>where - Self: Sized, - Self::Item: Clone,

Return an iterator that iterates through the powerset of the elements from an -iterator. Read more
source§

fn pad_using<F>(self, min: usize, f: F) -> PadUsing<Self, F>where - Self: Sized, - F: FnMut(usize) -> Self::Item,

Return an iterator adaptor that pads the sequence to a minimum length of + Self: Sized, + Self::Item: Clone,
Return an iterator that iterates through the powerset of the elements from an +iterator. Read more
source§

fn pad_using<F>(self, min: usize, f: F) -> PadUsing<Self, F>where + Self: Sized, + F: FnMut(usize) -> Self::Item,

Return an iterator adaptor that pads the sequence to a minimum length of min by filling missing elements using a closure f. Read more
source§

fn with_position(self) -> WithPosition<Self>where - Self: Sized,

Return an iterator adaptor that combines each element with a Position to + Self: Sized,
Return an iterator adaptor that combines each element with a Position to ease special-case handling of the first or last elements. Read more
source§

fn positions<P>(self, predicate: P) -> Positions<Self, P>where - Self: Sized, - P: FnMut(Self::Item) -> bool,

Return an iterator adaptor that yields the indices of all elements + Self: Sized, + P: FnMut(Self::Item) -> bool,
Return an iterator adaptor that yields the indices of all elements satisfying a predicate, counted from the start of the iterator. Read more
source§

fn update<F>(self, updater: F) -> Update<Self, F>where - Self: Sized, - F: FnMut(&mut Self::Item),

Return an iterator adaptor that applies a mutating function -to each element before yielding it. Read more
source§

fn next_tuple<T>(&mut self) -> Option<T>where - Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, + Self: Sized, + F: FnMut(&mut Self::Item),

Return an iterator adaptor that applies a mutating function +to each element before yielding it. Read more
source§

fn next_tuple<T>(&mut self) -> Option<T>where + Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, T: HomogeneousTuple,

Advances the iterator and returns the next items grouped in a tuple of -a specific size (up to 12). Read more
source§

fn collect_tuple<T>(self) -> Option<T>where - Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, +a specific size (up to 12). Read more

source§

fn collect_tuple<T>(self) -> Option<T>where + Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, T: HomogeneousTuple,

Collects all items from the iterator into a tuple of a specific size -(up to 12). Read more
source§

fn find_position<P>(&mut self, pred: P) -> Option<(usize, Self::Item)>where - P: FnMut(&Self::Item) -> bool,

Find the position and value of the first element satisfying a predicate. Read more
source§

fn find_or_last<P>(self, predicate: P) -> Option<Self::Item>where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

Find the value of the first element satisfying a predicate or return the last element, if any. Read more
source§

fn find_or_first<P>(self, predicate: P) -> Option<Self::Item>where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

Find the value of the first element satisfying a predicate or return the first element, if any. Read more
source§

fn contains<Q>(&mut self, query: &Q) -> boolwhere - Self: Sized, - Self::Item: Borrow<Q>, - Q: PartialEq<Q>,

Returns true if the given item is present in this iterator. Read more
source§

fn all_equal(&mut self) -> boolwhere - Self: Sized, - Self::Item: PartialEq<Self::Item>,

Check whether all elements compare equal. Read more
source§

fn all_equal_value( +(up to 12). Read more

source§

fn find_position<P>(&mut self, pred: P) -> Option<(usize, Self::Item)>where + P: FnMut(&Self::Item) -> bool,

Find the position and value of the first element satisfying a predicate. Read more
source§

fn find_or_last<P>(self, predicate: P) -> Option<Self::Item>where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

Find the value of the first element satisfying a predicate or return the last element, if any. Read more
source§

fn find_or_first<P>(self, predicate: P) -> Option<Self::Item>where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

Find the value of the first element satisfying a predicate or return the first element, if any. Read more
source§

fn contains<Q>(&mut self, query: &Q) -> boolwhere + Self: Sized, + Self::Item: Borrow<Q>, + Q: PartialEq,

Returns true if the given item is present in this iterator. Read more
source§

fn all_equal(&mut self) -> boolwhere + Self: Sized, + Self::Item: PartialEq,

Check whether all elements compare equal. Read more
source§

fn all_equal_value( &mut self -) -> Result<Self::Item, Option<(Self::Item, Self::Item)>>where - Self: Sized, - Self::Item: PartialEq<Self::Item>,

If there are elements and they are all equal, return a single copy of that element. +) -> Result<Self::Item, Option<(Self::Item, Self::Item)>>where + Self: Sized, + Self::Item: PartialEq,
If there are elements and they are all equal, return a single copy of that element. If there are no elements, return an Error containing None. If there are elements and they are not all equal, return a tuple containing the first -two non-equal elements found. Read more
source§

fn all_unique(&mut self) -> boolwhere - Self: Sized, - Self::Item: Eq + Hash,

Check whether all elements are unique (non equal). Read more
source§

fn dropping(self, n: usize) -> Selfwhere - Self: Sized,

Consume the first n elements from the iterator eagerly, -and return the same iterator again. Read more
source§

fn dropping_back(self, n: usize) -> Selfwhere - Self: Sized + DoubleEndedIterator,

Consume the last n elements from the iterator eagerly, +two non-equal elements found. Read more
source§

fn all_unique(&mut self) -> boolwhere + Self: Sized, + Self::Item: Eq + Hash,

Check whether all elements are unique (non equal). Read more
source§

fn dropping(self, n: usize) -> Selfwhere + Self: Sized,

Consume the first n elements from the iterator eagerly, +and return the same iterator again. Read more
source§

fn dropping_back(self, n: usize) -> Selfwhere + Self: Sized + DoubleEndedIterator,

Consume the last n elements from the iterator eagerly, and return the same iterator again. Read more
source§

fn foreach<F>(self, f: F)where - F: FnMut(Self::Item), - Self: Sized,

👎Deprecated since 0.8.0: Use .for_each() instead
Run the closure f eagerly on each element of the iterator. Read more
source§

fn concat(self) -> Self::Itemwhere - Self: Sized, - Self::Item: Extend<<Self::Item as IntoIterator>::Item> + IntoIterator + Default,

Combine all an iterator’s elements into one element by using Extend. Read more
source§

fn collect_vec(self) -> Vec<Self::Item, Global>where - Self: Sized,

.collect_vec() is simply a type specialization of Iterator::collect, -for convenience.
source§

fn try_collect<T, U, E>(self) -> Result<U, E>where - Self: Sized + Iterator<Item = Result<T, E>>, - Result<U, E>: FromIterator<Result<T, E>>,

.try_collect() is more convenient way of writing -.collect::<Result<_, _>>() Read more
source§

fn set_from<'a, A, J>(&mut self, from: J) -> usizewhere + F: FnMut(Self::Item), + Self: Sized,

👎Deprecated since 0.8.0: Use .for_each() instead
Run the closure f eagerly on each element of the iterator. Read more
source§

fn concat(self) -> Self::Itemwhere + Self: Sized, + Self::Item: Extend<<Self::Item as IntoIterator>::Item> + IntoIterator + Default,

Combine all an iterator’s elements into one element by using Extend. Read more
source§

fn collect_vec(self) -> Vec<Self::Item>where + Self: Sized,

.collect_vec() is simply a type specialization of Iterator::collect, +for convenience.
source§

fn try_collect<T, U, E>(self) -> Result<U, E>where + Self: Sized + Iterator<Item = Result<T, E>>, + Result<U, E>: FromIterator<Result<T, E>>,

.try_collect() is more convenient way of writing +.collect::<Result<_, _>>() Read more
source§

fn set_from<'a, A, J>(&mut self, from: J) -> usizewhere A: 'a, - Self: Iterator<Item = &'a mut A>, - J: IntoIterator<Item = A>,

Assign to each reference in self from the from iterator, -stopping at the shortest of the two iterators. Read more
source§

fn join(&mut self, sep: &str) -> Stringwhere - Self::Item: Display,

Combine all iterator elements into one String, separated by sep. Read more
source§

fn format(self, sep: &str) -> Format<'_, Self>where - Self: Sized,

Format all iterator elements, separated by sep. Read more
source§

fn format_with<F>(self, sep: &str, format: F) -> FormatWith<'_, Self, F>where - Self: Sized, - F: FnMut(Self::Item, &mut dyn FnMut(&dyn Display) -> Result<(), Error>) -> Result<(), Error>,

Format all iterator elements, separated by sep. Read more
source§

fn fold_results<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>where - Self: Iterator<Item = Result<A, E>>, - F: FnMut(B, A) -> B,

👎Deprecated since 0.10.0: Use .fold_ok() instead
source§

fn fold_ok<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>where - Self: Iterator<Item = Result<A, E>>, - F: FnMut(B, A) -> B,

Fold Result values from an iterator. Read more
source§

fn fold_options<A, B, F>(&mut self, start: B, f: F) -> Option<B>where - Self: Iterator<Item = Option<A>>, - F: FnMut(B, A) -> B,

Fold Option values from an iterator. Read more
source§

fn fold1<F>(self, f: F) -> Option<Self::Item>where - F: FnMut(Self::Item, Self::Item) -> Self::Item, - Self: Sized,

👎Deprecated since 0.10.2: Use Iterator::reduce instead
Accumulator of the elements in the iterator. Read more
source§

fn tree_fold1<F>(self, f: F) -> Option<Self::Item>where - F: FnMut(Self::Item, Self::Item) -> Self::Item, - Self: Sized,

Accumulate the elements in the iterator in a tree-like manner. Read more
source§

fn fold_while<B, F>(&mut self, init: B, f: F) -> FoldWhile<B>where - Self: Sized, - F: FnMut(B, Self::Item) -> FoldWhile<B>,

An iterator method that applies a function, producing a single, final value. Read more
source§

fn sum1<S>(self) -> Option<S>where - Self: Sized, - S: Sum<Self::Item>,

Iterate over the entire iterator and add all the elements. Read more
source§

fn product1<P>(self) -> Option<P>where - Self: Sized, - P: Product<Self::Item>,

Iterate over the entire iterator and multiply all the elements. Read more
source§

fn sorted_unstable(self) -> IntoIter<Self::Item, Global>where - Self: Sized, - Self::Item: Ord,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_unstable_by<F>(self, cmp: F) -> IntoIter<Self::Item, Global>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_unstable_by_key<K, F>(self, f: F) -> IntoIter<Self::Item, Global>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted(self) -> IntoIter<Self::Item, Global>where - Self: Sized, - Self::Item: Ord,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_by<F>(self, cmp: F) -> IntoIter<Self::Item, Global>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_by_key<K, F>(self, f: F) -> IntoIter<Self::Item, Global>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_by_cached_key<K, F>(self, f: F) -> IntoIter<Self::Item, Global>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Sort all iterator elements into a new iterator in ascending order. The key function is -called exactly once per key. Read more
source§

fn k_smallest(self, k: usize) -> IntoIter<Self::Item, Global>where - Self: Sized, - Self::Item: Ord,

Sort the k smallest elements into a new iterator, in ascending order. Read more
source§

fn partition_map<A, B, F, L, R>(self, predicate: F) -> (A, B)where - Self: Sized, - F: FnMut(Self::Item) -> Either<L, R>, - A: Default + Extend<L>, - B: Default + Extend<R>,

Collect all iterator elements into one of two -partitions. Unlike Iterator::partition, each partition may -have a distinct type. Read more
source§

fn partition_result<A, B, T, E>(self) -> (A, B)where - Self: Iterator<Item = Result<T, E>> + Sized, - A: Default + Extend<T>, - B: Default + Extend<E>,

Partition a sequence of Results into one list of all the Ok elements -and another list of all the Err elements. Read more
source§

fn into_group_map<K, V>(self) -> HashMap<K, Vec<V, Global>, RandomState>where - Self: Iterator<Item = (K, V)> + Sized, - K: Hash + Eq,

Return a HashMap of keys mapped to Vecs of values. Keys and values -are taken from (Key, Value) tuple pairs yielded by the input iterator. Read more
source§

fn into_group_map_by<K, V, F>( - self, - f: F -) -> HashMap<K, Vec<V, Global>, RandomState>where - Self: Iterator<Item = V> + Sized, - K: Hash + Eq, - F: Fn(&V) -> K,

Return an Iterator on a HashMap. Keys mapped to Vecs of values. The key is specified + Self: Iterator<Item = &'a mut A>, + J: IntoIterator<Item = A>,
Assign to each reference in self from the from iterator, +stopping at the shortest of the two iterators. Read more
source§

fn join(&mut self, sep: &str) -> Stringwhere + Self::Item: Display,

Combine all iterator elements into one String, separated by sep. Read more
source§

fn format(self, sep: &str) -> Format<'_, Self>where + Self: Sized,

Format all iterator elements, separated by sep. Read more
source§

fn format_with<F>(self, sep: &str, format: F) -> FormatWith<'_, Self, F>where + Self: Sized, + F: FnMut(Self::Item, &mut dyn FnMut(&dyn Display) -> Result<(), Error>) -> Result<(), Error>,

Format all iterator elements, separated by sep. Read more
source§

fn fold_results<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>where + Self: Iterator<Item = Result<A, E>>, + F: FnMut(B, A) -> B,

👎Deprecated since 0.10.0: Use .fold_ok() instead
source§

fn fold_ok<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>where + Self: Iterator<Item = Result<A, E>>, + F: FnMut(B, A) -> B,

Fold Result values from an iterator. Read more
source§

fn fold_options<A, B, F>(&mut self, start: B, f: F) -> Option<B>where + Self: Iterator<Item = Option<A>>, + F: FnMut(B, A) -> B,

Fold Option values from an iterator. Read more
source§

fn fold1<F>(self, f: F) -> Option<Self::Item>where + F: FnMut(Self::Item, Self::Item) -> Self::Item, + Self: Sized,

👎Deprecated since 0.10.2: Use Iterator::reduce instead
Accumulator of the elements in the iterator. Read more
source§

fn tree_fold1<F>(self, f: F) -> Option<Self::Item>where + F: FnMut(Self::Item, Self::Item) -> Self::Item, + Self: Sized,

Accumulate the elements in the iterator in a tree-like manner. Read more
source§

fn fold_while<B, F>(&mut self, init: B, f: F) -> FoldWhile<B>where + Self: Sized, + F: FnMut(B, Self::Item) -> FoldWhile<B>,

An iterator method that applies a function, producing a single, final value. Read more
source§

fn sum1<S>(self) -> Option<S>where + Self: Sized, + S: Sum<Self::Item>,

Iterate over the entire iterator and add all the elements. Read more
source§

fn product1<P>(self) -> Option<P>where + Self: Sized, + P: Product<Self::Item>,

Iterate over the entire iterator and multiply all the elements. Read more
source§

fn sorted_unstable(self) -> IntoIter<Self::Item>where + Self: Sized, + Self::Item: Ord,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_unstable_by<F>(self, cmp: F) -> IntoIter<Self::Item>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_unstable_by_key<K, F>(self, f: F) -> IntoIter<Self::Item>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted(self) -> IntoIter<Self::Item>where + Self: Sized, + Self::Item: Ord,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_by<F>(self, cmp: F) -> IntoIter<Self::Item>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_by_key<K, F>(self, f: F) -> IntoIter<Self::Item>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_by_cached_key<K, F>(self, f: F) -> IntoIter<Self::Item>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Sort all iterator elements into a new iterator in ascending order. The key function is +called exactly once per key. Read more
source§

fn k_smallest(self, k: usize) -> IntoIter<Self::Item>where + Self: Sized, + Self::Item: Ord,

Sort the k smallest elements into a new iterator, in ascending order. Read more
source§

fn partition_map<A, B, F, L, R>(self, predicate: F) -> (A, B)where + Self: Sized, + F: FnMut(Self::Item) -> Either<L, R>, + A: Default + Extend<L>, + B: Default + Extend<R>,

Collect all iterator elements into one of two +partitions. Unlike Iterator::partition, each partition may +have a distinct type. Read more
source§

fn partition_result<A, B, T, E>(self) -> (A, B)where + Self: Iterator<Item = Result<T, E>> + Sized, + A: Default + Extend<T>, + B: Default + Extend<E>,

Partition a sequence of Results into one list of all the Ok elements +and another list of all the Err elements. Read more
source§

fn into_group_map<K, V>(self) -> HashMap<K, Vec<V>>where + Self: Iterator<Item = (K, V)> + Sized, + K: Hash + Eq,

Return a HashMap of keys mapped to Vecs of values. Keys and values +are taken from (Key, Value) tuple pairs yielded by the input iterator. Read more
source§

fn into_group_map_by<K, V, F>(self, f: F) -> HashMap<K, Vec<V>>where + Self: Iterator<Item = V> + Sized, + K: Hash + Eq, + F: Fn(&V) -> K,

Return an Iterator on a HashMap. Keys mapped to Vecs of values. The key is specified in the closure. Read more
source§

fn into_grouping_map<K, V>(self) -> GroupingMap<Self>where - Self: Iterator<Item = (K, V)> + Sized, - K: Hash + Eq,

Constructs a GroupingMap to be used later with one of the efficient + Self: Iterator<Item = (K, V)> + Sized, + K: Hash + Eq,
Constructs a GroupingMap to be used later with one of the efficient group-and-fold operations it allows to perform. Read more
source§

fn into_grouping_map_by<K, V, F>( self, key_mapper: F ) -> GroupingMap<MapForGrouping<Self, F>>where - Self: Iterator<Item = V> + Sized, - K: Hash + Eq, - F: FnMut(&V) -> K,

Constructs a GroupingMap to be used later with one of the efficient -group-and-fold operations it allows to perform. Read more
source§

fn min_set(self) -> Vec<Self::Item, Global>where - Self: Sized, - Self::Item: Ord,

Return all minimum elements of an iterator. Read more
source§

fn min_set_by<F>(self, compare: F) -> Vec<Self::Item, Global>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return all minimum elements of an iterator, as determined by -the specified function. Read more
source§

fn min_set_by_key<K, F>(self, key: F) -> Vec<Self::Item, Global>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Return all minimum elements of an iterator, as determined by -the specified function. Read more
source§

fn max_set(self) -> Vec<Self::Item, Global>where - Self: Sized, - Self::Item: Ord,

Return all maximum elements of an iterator. Read more
source§

fn max_set_by<F>(self, compare: F) -> Vec<Self::Item, Global>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return all maximum elements of an iterator, as determined by -the specified function. Read more
source§

fn max_set_by_key<K, F>(self, key: F) -> Vec<Self::Item, Global>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Return all maximum elements of an iterator, as determined by -the specified function. Read more
source§

fn minmax(self) -> MinMaxResult<Self::Item>where - Self: Sized, - Self::Item: PartialOrd<Self::Item>,

Return the minimum and maximum elements in the iterator. Read more
source§

fn minmax_by_key<K, F>(self, key: F) -> MinMaxResult<Self::Item>where - Self: Sized, - K: PartialOrd<K>, - F: FnMut(&Self::Item) -> K,

Return the minimum and maximum element of an iterator, as determined by -the specified function. Read more
source§

fn minmax_by<F>(self, compare: F) -> MinMaxResult<Self::Item>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the minimum and maximum element of an iterator, as determined by -the specified comparison function. Read more
source§

fn position_max(self) -> Option<usize>where - Self: Sized, - Self::Item: Ord,

Return the position of the maximum element in the iterator. Read more
source§

fn position_max_by_key<K, F>(self, key: F) -> Option<usize>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Return the position of the maximum element in the iterator, as -determined by the specified function. Read more
source§

fn position_max_by<F>(self, compare: F) -> Option<usize>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the position of the maximum element in the iterator, as -determined by the specified comparison function. Read more
source§

fn position_min(self) -> Option<usize>where - Self: Sized, - Self::Item: Ord,

Return the position of the minimum element in the iterator. Read more
source§

fn position_min_by_key<K, F>(self, key: F) -> Option<usize>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Return the position of the minimum element in the iterator, as -determined by the specified function. Read more
source§

fn position_min_by<F>(self, compare: F) -> Option<usize>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the position of the minimum element in the iterator, as -determined by the specified comparison function. Read more
source§

fn position_minmax(self) -> MinMaxResult<usize>where - Self: Sized, - Self::Item: PartialOrd<Self::Item>,

Return the positions of the minimum and maximum elements in -the iterator. Read more
source§

fn position_minmax_by_key<K, F>(self, key: F) -> MinMaxResult<usize>where - Self: Sized, - K: PartialOrd<K>, - F: FnMut(&Self::Item) -> K,

Return the postions of the minimum and maximum elements of an -iterator, as determined by the specified function. Read more
source§

fn position_minmax_by<F>(self, compare: F) -> MinMaxResult<usize>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the postions of the minimum and maximum elements of an -iterator, as determined by the specified comparison function. Read more
source§

fn exactly_one(self) -> Result<Self::Item, ExactlyOneError<Self>>where - Self: Sized,

If the iterator yields exactly one element, that element will be returned, otherwise + Self: Iterator<Item = V> + Sized, + K: Hash + Eq, + F: FnMut(&V) -> K,
Constructs a GroupingMap to be used later with one of the efficient +group-and-fold operations it allows to perform. Read more
source§

fn min_set(self) -> Vec<Self::Item>where + Self: Sized, + Self::Item: Ord,

Return all minimum elements of an iterator. Read more
source§

fn min_set_by<F>(self, compare: F) -> Vec<Self::Item>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return all minimum elements of an iterator, as determined by +the specified function. Read more
source§

fn min_set_by_key<K, F>(self, key: F) -> Vec<Self::Item>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Return all minimum elements of an iterator, as determined by +the specified function. Read more
source§

fn max_set(self) -> Vec<Self::Item>where + Self: Sized, + Self::Item: Ord,

Return all maximum elements of an iterator. Read more
source§

fn max_set_by<F>(self, compare: F) -> Vec<Self::Item>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return all maximum elements of an iterator, as determined by +the specified function. Read more
source§

fn max_set_by_key<K, F>(self, key: F) -> Vec<Self::Item>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Return all maximum elements of an iterator, as determined by +the specified function. Read more
source§

fn minmax(self) -> MinMaxResult<Self::Item>where + Self: Sized, + Self::Item: PartialOrd,

Return the minimum and maximum elements in the iterator. Read more
source§

fn minmax_by_key<K, F>(self, key: F) -> MinMaxResult<Self::Item>where + Self: Sized, + K: PartialOrd, + F: FnMut(&Self::Item) -> K,

Return the minimum and maximum element of an iterator, as determined by +the specified function. Read more
source§

fn minmax_by<F>(self, compare: F) -> MinMaxResult<Self::Item>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the minimum and maximum element of an iterator, as determined by +the specified comparison function. Read more
source§

fn position_max(self) -> Option<usize>where + Self: Sized, + Self::Item: Ord,

Return the position of the maximum element in the iterator. Read more
source§

fn position_max_by_key<K, F>(self, key: F) -> Option<usize>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Return the position of the maximum element in the iterator, as +determined by the specified function. Read more
source§

fn position_max_by<F>(self, compare: F) -> Option<usize>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the position of the maximum element in the iterator, as +determined by the specified comparison function. Read more
source§

fn position_min(self) -> Option<usize>where + Self: Sized, + Self::Item: Ord,

Return the position of the minimum element in the iterator. Read more
source§

fn position_min_by_key<K, F>(self, key: F) -> Option<usize>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Return the position of the minimum element in the iterator, as +determined by the specified function. Read more
source§

fn position_min_by<F>(self, compare: F) -> Option<usize>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the position of the minimum element in the iterator, as +determined by the specified comparison function. Read more
source§

fn position_minmax(self) -> MinMaxResult<usize>where + Self: Sized, + Self::Item: PartialOrd,

Return the positions of the minimum and maximum elements in +the iterator. Read more
source§

fn position_minmax_by_key<K, F>(self, key: F) -> MinMaxResult<usize>where + Self: Sized, + K: PartialOrd, + F: FnMut(&Self::Item) -> K,

Return the postions of the minimum and maximum elements of an +iterator, as determined by the specified function. Read more
source§

fn position_minmax_by<F>(self, compare: F) -> MinMaxResult<usize>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the postions of the minimum and maximum elements of an +iterator, as determined by the specified comparison function. Read more
source§

fn exactly_one(self) -> Result<Self::Item, ExactlyOneError<Self>>where + Self: Sized,

If the iterator yields exactly one element, that element will be returned, otherwise an error will be returned containing an iterator that has the same output as the input -iterator. Read more
source§

fn at_most_one(self) -> Result<Option<Self::Item>, ExactlyOneError<Self>>where - Self: Sized,

If the iterator yields no elements, Ok(None) will be returned. If the iterator yields +iterator. Read more
source§

fn at_most_one(self) -> Result<Option<Self::Item>, ExactlyOneError<Self>>where + Self: Sized,

If the iterator yields no elements, Ok(None) will be returned. If the iterator yields exactly one element, that element will be returned, otherwise an error will be returned containing an iterator that has the same output as the input iterator. Read more
source§

fn multipeek(self) -> MultiPeek<Self>where - Self: Sized,

An iterator adaptor that allows the user to peek at multiple .next() -values without advancing the base iterator. Read more
source§

fn counts(self) -> HashMap<Self::Item, usize, RandomState>where - Self: Sized, - Self::Item: Eq + Hash,

Collect the items in this iterator and return a HashMap which + Self: Sized,
An iterator adaptor that allows the user to peek at multiple .next() +values without advancing the base iterator. Read more
source§

fn counts(self) -> HashMap<Self::Item, usize>where + Self: Sized, + Self::Item: Eq + Hash,

Collect the items in this iterator and return a HashMap which contains each item that appears in the iterator and the number -of times it appears. Read more
source§

fn counts_by<K, F>(self, f: F) -> HashMap<K, usize, RandomState>where - Self: Sized, - K: Eq + Hash, - F: FnMut(Self::Item) -> K,

Collect the items in this iterator and return a HashMap which +of times it appears. Read more
source§

fn counts_by<K, F>(self, f: F) -> HashMap<K, usize>where + Self: Sized, + K: Eq + Hash, + F: FnMut(Self::Item) -> K,

Collect the items in this iterator and return a HashMap which contains each item that appears in the iterator and the number of times it appears, determining identity using a keying function. Read more
source§

fn multiunzip<FromI>(self) -> FromIwhere - Self: Sized + MultiUnzip<FromI>,

Converts an iterator of tuples into a tuple of containers. Read more
source§

fn try_len(&self) -> Result<usize, (usize, Option<usize>)>

Returns the length of the iterator if one exists. -Otherwise return self.size_hint(). Read more
source§

impl<T> Itertools for Twhere - T: Iterator + ?Sized,

source§

fn interleave<J>( + Self: Sized + MultiUnzip<FromI>,

Converts an iterator of tuples into a tuple of containers. Read more
source§

fn try_len(&self) -> Result<usize, (usize, Option<usize>)>

Returns the length of the iterator if one exists. +Otherwise return self.size_hint(). Read more
source§

impl<T> Itertools for Twhere + T: Iterator + ?Sized,

source§

fn interleave<J>( self, other: J -) -> Interleave<Self, <J as IntoIterator>::IntoIter>where - J: IntoIterator<Item = Self::Item>, - Self: Sized,

Alternate elements from two iterators until both have run out. Read more
source§

fn interleave_shortest<J>( +) -> Interleave<Self, <J as IntoIterator>::IntoIter>where + J: IntoIterator<Item = Self::Item>, + Self: Sized,

Alternate elements from two iterators until both have run out. Read more
source§

fn interleave_shortest<J>( self, other: J -) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter>where - J: IntoIterator<Item = Self::Item>, - Self: Sized,

Alternate elements from two iterators until at least one of them has run +) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter>where + J: IntoIterator<Item = Self::Item>, + Self: Sized,
Alternate elements from two iterators until at least one of them has run out. Read more
source§

fn intersperse( self, - element: Self::Item -) -> IntersperseWith<Self, IntersperseElementSimple<Self::Item>>where - Self: Sized, - Self::Item: Clone,

An iterator adaptor to insert a particular value + element: Self::Item +) -> IntersperseWith<Self, IntersperseElementSimple<Self::Item>>where + Self: Sized, + Self::Item: Clone,
An iterator adaptor to insert a particular value between each element of the adapted iterator. Read more
source§

fn intersperse_with<F>(self, element: F) -> IntersperseWith<Self, F>where - Self: Sized, - F: FnMut() -> Self::Item,

An iterator adaptor to insert a particular value created by a function + Self: Sized, + F: FnMut() -> Self::Item,
An iterator adaptor to insert a particular value created by a function between each element of the adapted iterator. Read more
source§

fn zip_longest<J>( self, other: J -) -> ZipLongest<Self, <J as IntoIterator>::IntoIter>where - J: IntoIterator, - Self: Sized,

Create an iterator which iterates over both this and the specified -iterator simultaneously, yielding pairs of two optional elements. Read more
source§

fn zip_eq<J>(self, other: J) -> ZipEq<Self, <J as IntoIterator>::IntoIter>where - J: IntoIterator, - Self: Sized,

Create an iterator which iterates over both this and the specified +) -> ZipLongest<Self, <J as IntoIterator>::IntoIter>where + J: IntoIterator, + Self: Sized,
Create an iterator which iterates over both this and the specified +iterator simultaneously, yielding pairs of two optional elements. Read more
source§

fn zip_eq<J>(self, other: J) -> ZipEq<Self, <J as IntoIterator>::IntoIter>where + J: IntoIterator, + Self: Sized,

Create an iterator which iterates over both this and the specified iterator simultaneously, yielding pairs of elements. Read more
source§

fn batching<B, F>(self, f: F) -> Batching<Self, F>where - F: FnMut(&mut Self) -> Option<B>, - Self: Sized,

A “meta iterator adaptor”. Its closure receives a reference to the + F: FnMut(&mut Self) -> Option<B>, + Self: Sized,
A “meta iterator adaptor”. Its closure receives a reference to the iterator and may pick off as many elements as it likes, to produce the next iterator element. Read more
source§

fn group_by<K, F>(self, key: F) -> GroupBy<K, Self, F>where - Self: Sized, - F: FnMut(&Self::Item) -> K, - K: PartialEq<K>,

Return an iterable that can group iterator elements. + Self: Sized, + F: FnMut(&Self::Item) -> K, + K: PartialEq,
Return an iterable that can group iterator elements. Consecutive elements that map to the same key (“runs”), are assigned -to the same group. Read more
source§

fn chunks(self, size: usize) -> IntoChunks<Self>where - Self: Sized,

Return an iterable that can chunk the iterator. Read more
source§

fn tuple_windows<T>(self) -> TupleWindows<Self, T>where - Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, +to the same group. Read more

source§

fn chunks(self, size: usize) -> IntoChunks<Self>where + Self: Sized,

Return an iterable that can chunk the iterator. Read more
source§

fn tuple_windows<T>(self) -> TupleWindows<Self, T>where + Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, T: HomogeneousTuple, - <T as TupleCollect>::Item: Clone,

Return an iterator over all contiguous windows producing tuples of + <T as TupleCollect>::Item: Clone,
Return an iterator over all contiguous windows producing tuples of a specific size (up to 12). Read more
source§

fn circular_tuple_windows<T>(self) -> CircularTupleWindows<Self, T>where - Self: Sized + Clone + Iterator<Item = <T as TupleCollect>::Item> + ExactSizeIterator, - T: TupleCollect + Clone, - <T as TupleCollect>::Item: Clone,

Return an iterator over all windows, wrapping back to the first + Self: Sized + Clone + Iterator<Item = <T as TupleCollect>::Item> + ExactSizeIterator, + T: TupleCollect + Clone, + <T as TupleCollect>::Item: Clone,
Return an iterator over all windows, wrapping back to the first elements when the window would otherwise exceed the length of the iterator, producing tuples of a specific size (up to 12). Read more
source§

fn tuples<T>(self) -> Tuples<Self, T>where - Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, + Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, T: HomogeneousTuple,

Return an iterator that groups the items in tuples of a specific size (up to 12). Read more
source§

fn tee(self) -> (Tee<Self>, Tee<Self>)where - Self: Sized, - Self::Item: Clone,

Split into an iterator pair that both yield all elements from -the original iterator. Read more
source§

fn step(self, n: usize) -> Step<Self>where - Self: Sized,

👎Deprecated since 0.8.0: Use std .step_by() instead
Return an iterator adaptor that steps n elements in the base iterator + Self: Sized, + Self::Item: Clone,
Split into an iterator pair that both yield all elements from +the original iterator. Read more
source§

fn step(self, n: usize) -> Step<Self>where + Self: Sized,

👎Deprecated since 0.8.0: Use std .step_by() instead
Return an iterator adaptor that steps n elements in the base iterator for each iteration. Read more
source§

fn map_into<R>(self) -> MapSpecialCase<Self, MapSpecialCaseFnInto<R>>where - Self: Sized, - Self::Item: Into<R>,

Convert each item of the iterator using the Into trait. Read more
source§

fn map_results<F, T, U, E>( + Self: Sized, + Self::Item: Into<R>,

Convert each item of the iterator using the Into trait. Read more
source§

fn map_results<F, T, U, E>( self, f: F ) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>where - Self: Iterator<Item = Result<T, E>> + Sized, - F: FnMut(T) -> U,

👎Deprecated since 0.10.0: Use .map_ok() instead
source§

fn map_ok<F, T, U, E>(self, f: F) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>where - Self: Iterator<Item = Result<T, E>> + Sized, - F: FnMut(T) -> U,

Return an iterator adaptor that applies the provided closure + Self: Iterator<Item = Result<T, E>> + Sized, + F: FnMut(T) -> U,
👎Deprecated since 0.10.0: Use .map_ok() instead
source§

fn map_ok<F, T, U, E>(self, f: F) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>where + Self: Iterator<Item = Result<T, E>> + Sized, + F: FnMut(T) -> U,

Return an iterator adaptor that applies the provided closure to every Result::Ok value. Result::Err values are unchanged. Read more
source§

fn filter_ok<F, T, E>(self, f: F) -> FilterOk<Self, F>where - Self: Iterator<Item = Result<T, E>> + Sized, - F: FnMut(&T) -> bool,

Return an iterator adaptor that filters every Result::Ok + Self: Iterator<Item = Result<T, E>> + Sized, + F: FnMut(&T) -> bool,
Return an iterator adaptor that filters every Result::Ok value with the provided closure. Result::Err values are unchanged. Read more
source§

fn filter_map_ok<F, T, U, E>(self, f: F) -> FilterMapOk<Self, F>where - Self: Iterator<Item = Result<T, E>> + Sized, - F: FnMut(T) -> Option<U>,

Return an iterator adaptor that filters and transforms every + Self: Iterator<Item = Result<T, E>> + Sized, + F: FnMut(T) -> Option<U>,
Return an iterator adaptor that filters and transforms every Result::Ok value with the provided closure. Result::Err values are unchanged. Read more
source§

fn flatten_ok<T, E>(self) -> FlattenOk<Self, T, E>where - Self: Iterator<Item = Result<T, E>> + Sized, - T: IntoIterator,

Return an iterator adaptor that flattens every Result::Ok value into -a series of Result::Ok values. Result::Err values are unchanged. Read more
source§

fn process_results<F, T, E, R>(self, processor: F) -> Result<R, E>where - Self: Iterator<Item = Result<T, E>> + Sized, - F: FnOnce(ProcessResults<'_, Self, E>) -> R,

“Lift” a function of the values of the current iterator so as to process + Self: Iterator<Item = Result<T, E>> + Sized, + T: IntoIterator,
Return an iterator adaptor that flattens every Result::Ok value into +a series of Result::Ok values. Result::Err values are unchanged. Read more
source§

fn process_results<F, T, E, R>(self, processor: F) -> Result<R, E>where + Self: Iterator<Item = Result<T, E>> + Sized, + F: FnOnce(ProcessResults<'_, Self, E>) -> R,

“Lift” a function of the values of the current iterator so as to process an iterator of Result values instead. Read more
source§

fn merge<J>( self, other: J -) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte>where - Self: Sized, - Self::Item: PartialOrd<Self::Item>, - J: IntoIterator<Item = Self::Item>,

Return an iterator adaptor that merges the two base iterators in +) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte>where + Self: Sized, + Self::Item: PartialOrd, + J: IntoIterator<Item = Self::Item>,
Return an iterator adaptor that merges the two base iterators in ascending order. If both base iterators are sorted (ascending), the result is sorted. Read more
source§

fn merge_by<J, F>( self, other: J, is_first: F -) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F>where - Self: Sized, - J: IntoIterator<Item = Self::Item>, - F: FnMut(&Self::Item, &Self::Item) -> bool,

Return an iterator adaptor that merges the two base iterators in order. +) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F>where + Self: Sized, + J: IntoIterator<Item = Self::Item>, + F: FnMut(&Self::Item, &Self::Item) -> bool,
Return an iterator adaptor that merges the two base iterators in order. This is much like .merge() but allows for a custom ordering. Read more
source§

fn merge_join_by<J, F, T>( self, other: J, cmp_fn: F -) -> MergeJoinBy<Self, <J as IntoIterator>::IntoIter, F>where - J: IntoIterator, - F: FnMut(&Self::Item, &<J as IntoIterator>::Item) -> T, - T: OrderingOrBool<Self::Item, <J as IntoIterator>::Item>, - Self: Sized,

Create an iterator that merges items from both this and the specified -iterator in ascending order. Read more
source§

fn kmerge(self) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, KMergeByLt>where - Self: Sized, - Self::Item: IntoIterator, - <Self::Item as IntoIterator>::Item: PartialOrd<<Self::Item as IntoIterator>::Item>,

Return an iterator adaptor that flattens an iterator of iterators by +) -> MergeJoinBy<Self, <J as IntoIterator>::IntoIter, F>where + J: IntoIterator, + F: FnMut(&Self::Item, &<J as IntoIterator>::Item) -> T, + T: OrderingOrBool<Self::Item, <J as IntoIterator>::Item>, + Self: Sized,
Create an iterator that merges items from both this and the specified +iterator in ascending order. Read more
source§

fn kmerge(self) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, KMergeByLt>where + Self: Sized, + Self::Item: IntoIterator, + <Self::Item as IntoIterator>::Item: PartialOrd,

Return an iterator adaptor that flattens an iterator of iterators by merging them in ascending order. Read more
source§

fn kmerge_by<F>( self, first: F -) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, F>where - Self: Sized, - Self::Item: IntoIterator, - F: FnMut(&<Self::Item as IntoIterator>::Item, &<Self::Item as IntoIterator>::Item) -> bool,

Return an iterator adaptor that flattens an iterator of iterators by +) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, F>where + Self: Sized, + Self::Item: IntoIterator, + F: FnMut(&<Self::Item as IntoIterator>::Item, &<Self::Item as IntoIterator>::Item) -> bool,
Return an iterator adaptor that flattens an iterator of iterators by merging them according to the given closure. Read more
source§

fn cartesian_product<J>( self, other: J -) -> Product<Self, <J as IntoIterator>::IntoIter>where - Self: Sized, - Self::Item: Clone, - J: IntoIterator, - <J as IntoIterator>::IntoIter: Clone,

Return an iterator adaptor that iterates over the cartesian product of +) -> Product<Self, <J as IntoIterator>::IntoIter>where + Self: Sized, + Self::Item: Clone, + J: IntoIterator, + <J as IntoIterator>::IntoIter: Clone,
Return an iterator adaptor that iterates over the cartesian product of the element sets of two iterators self and J. Read more
source§

fn multi_cartesian_product( self -) -> MultiProduct<<Self::Item as IntoIterator>::IntoIter>where - Self: Sized, - Self::Item: IntoIterator, - <Self::Item as IntoIterator>::IntoIter: Clone, - <Self::Item as IntoIterator>::Item: Clone,

Return an iterator adaptor that iterates over the cartesian product of -all subiterators returned by meta-iterator self. Read more
source§

fn coalesce<F>(self, f: F) -> CoalesceBy<Self, F, Self::Item>where - Self: Sized, - F: FnMut(Self::Item, Self::Item) -> Result<Self::Item, (Self::Item, Self::Item)>,

Return an iterator adaptor that uses the passed-in closure to -optionally merge together consecutive elements. Read more
source§

fn dedup(self) -> CoalesceBy<Self, DedupPred2CoalescePred<DedupEq>, Self::Item>where - Self: Sized, - Self::Item: PartialEq<Self::Item>,

Remove duplicates from sections of consecutive identical elements. +) -> MultiProduct<<Self::Item as IntoIterator>::IntoIter>where + Self: Sized, + Self::Item: IntoIterator, + <Self::Item as IntoIterator>::IntoIter: Clone, + <Self::Item as IntoIterator>::Item: Clone,
Return an iterator adaptor that iterates over the cartesian product of +all subiterators returned by meta-iterator self. Read more
source§

fn coalesce<F>(self, f: F) -> CoalesceBy<Self, F, Self::Item>where + Self: Sized, + F: FnMut(Self::Item, Self::Item) -> Result<Self::Item, (Self::Item, Self::Item)>,

Return an iterator adaptor that uses the passed-in closure to +optionally merge together consecutive elements. Read more
source§

fn dedup(self) -> CoalesceBy<Self, DedupPred2CoalescePred<DedupEq>, Self::Item>where + Self: Sized, + Self::Item: PartialEq,

Remove duplicates from sections of consecutive identical elements. If the iterator is sorted, all elements will be unique. Read more
source§

fn dedup_by<Cmp>( self, cmp: Cmp -) -> CoalesceBy<Self, DedupPred2CoalescePred<Cmp>, Self::Item>where - Self: Sized, - Cmp: FnMut(&Self::Item, &Self::Item) -> bool,

Remove duplicates from sections of consecutive identical elements, +) -> CoalesceBy<Self, DedupPred2CoalescePred<Cmp>, Self::Item>where + Self: Sized, + Cmp: FnMut(&Self::Item, &Self::Item) -> bool,
Remove duplicates from sections of consecutive identical elements, determining equality using a comparison function. If the iterator is sorted, all elements will be unique. Read more
source§

fn dedup_with_count( self -) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<DedupEq>, (usize, Self::Item)>where - Self: Sized,

Remove duplicates from sections of consecutive identical elements, while keeping a count of +) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<DedupEq>, (usize, Self::Item)>where + Self: Sized,
Remove duplicates from sections of consecutive identical elements, while keeping a count of how many repeated elements were present. If the iterator is sorted, all elements will be unique. Read more
source§

fn dedup_by_with_count<Cmp>( self, cmp: Cmp -) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<Cmp>, (usize, Self::Item)>where - Self: Sized, - Cmp: FnMut(&Self::Item, &Self::Item) -> bool,

Remove duplicates from sections of consecutive identical elements, while keeping a count of +) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<Cmp>, (usize, Self::Item)>where + Self: Sized, + Cmp: FnMut(&Self::Item, &Self::Item) -> bool,
Remove duplicates from sections of consecutive identical elements, while keeping a count of how many repeated elements were present. This will determine equality using a comparison function. -If the iterator is sorted, all elements will be unique. Read more
source§

fn duplicates(self) -> DuplicatesBy<Self, Self::Item, ById>where - Self: Sized, - Self::Item: Eq + Hash,

Return an iterator adaptor that produces elements that appear more than once during the +If the iterator is sorted, all elements will be unique. Read more
source§

fn duplicates(self) -> DuplicatesBy<Self, Self::Item, ById>where + Self: Sized, + Self::Item: Eq + Hash,

Return an iterator adaptor that produces elements that appear more than once during the iteration. Duplicates are detected using hash and equality. Read more
source§

fn duplicates_by<V, F>(self, f: F) -> DuplicatesBy<Self, V, ByFn<F>>where - Self: Sized, - V: Eq + Hash, - F: FnMut(&Self::Item) -> V,

Return an iterator adaptor that produces elements that appear more than once during the + Self: Sized, + V: Eq + Hash, + F: FnMut(&Self::Item) -> V,
Return an iterator adaptor that produces elements that appear more than once during the iteration. Duplicates are detected using hash and equality. Read more
source§

fn unique(self) -> Unique<Self>where - Self: Sized, - Self::Item: Clone + Eq + Hash,

Return an iterator adaptor that filters out elements that have + Self: Sized, + Self::Item: Clone + Eq + Hash,
Return an iterator adaptor that filters out elements that have already been produced once during the iteration. Duplicates are detected using hash and equality. Read more
source§

fn unique_by<V, F>(self, f: F) -> UniqueBy<Self, V, F>where - Self: Sized, - V: Eq + Hash, - F: FnMut(&Self::Item) -> V,

Return an iterator adaptor that filters out elements that have + Self: Sized, + V: Eq + Hash, + F: FnMut(&Self::Item) -> V,
Return an iterator adaptor that filters out elements that have already been produced once during the iteration. Read more
source§

fn peeking_take_while<F>(&mut self, accept: F) -> PeekingTakeWhile<'_, Self, F>where - Self: Sized + PeekingNext, - F: FnMut(&Self::Item) -> bool,

Return an iterator adaptor that borrows from this iterator and + Self: Sized + PeekingNext, + F: FnMut(&Self::Item) -> bool,
Return an iterator adaptor that borrows from this iterator and takes items while the closure accept returns true. Read more
source§

fn take_while_ref<F>(&mut self, accept: F) -> TakeWhileRef<'_, Self, F>where - Self: Clone, - F: FnMut(&Self::Item) -> bool,

Return an iterator adaptor that borrows from a Clone-able iterator + Self: Clone, + F: FnMut(&Self::Item) -> bool,
Return an iterator adaptor that borrows from a Clone-able iterator to only pick off elements while the predicate accept returns true. Read more
source§

fn take_while_inclusive<F>( &mut self, accept: F ) -> TakeWhileInclusive<'_, Self, F>where - Self: Sized, - F: FnMut(&Self::Item) -> bool,

Returns an iterator adaptor that consumes elements while the given + Self: Sized, + F: FnMut(&Self::Item) -> bool,
Returns an iterator adaptor that consumes elements while the given predicate is true, including the element for which the predicate first returned false. Read more
source§

fn while_some<A>(self) -> WhileSome<Self>where - Self: Sized + Iterator<Item = Option<A>>,

Return an iterator adaptor that filters Option<A> iterator elements + Self: Sized + Iterator<Item = Option<A>>,
Return an iterator adaptor that filters Option<A> iterator elements and produces A. Stops on the first None encountered. Read more
source§

fn tuple_combinations<T>(self) -> TupleCombinations<Self, T>where - Self: Sized + Clone, - Self::Item: Clone, + Self: Sized + Clone, + Self::Item: Clone, T: HasCombination<Self>,

Return an iterator adaptor that iterates over the combinations of the -elements from an iterator. Read more
source§

fn combinations(self, k: usize) -> Combinations<Self>where - Self: Sized, - Self::Item: Clone,

Return an iterator adaptor that iterates over the k-length combinations of +elements from an iterator. Read more
source§

fn combinations(self, k: usize) -> Combinations<Self>where + Self: Sized, + Self::Item: Clone,

Return an iterator adaptor that iterates over the k-length combinations of the elements from an iterator. Read more
source§

fn combinations_with_replacement( self, - k: usize + k: usize ) -> CombinationsWithReplacement<Self>where - Self: Sized, - Self::Item: Clone,

Return an iterator that iterates over the k-length combinations of -the elements from an iterator, with replacement. Read more
source§

fn permutations(self, k: usize) -> Permutations<Self>where - Self: Sized, - Self::Item: Clone,

Return an iterator adaptor that iterates over all k-permutations of the + Self: Sized, + Self::Item: Clone,
Return an iterator that iterates over the k-length combinations of +the elements from an iterator, with replacement. Read more
source§

fn permutations(self, k: usize) -> Permutations<Self>where + Self: Sized, + Self::Item: Clone,

Return an iterator adaptor that iterates over all k-permutations of the elements from an iterator. Read more
source§

fn powerset(self) -> Powerset<Self>where - Self: Sized, - Self::Item: Clone,

Return an iterator that iterates through the powerset of the elements from an -iterator. Read more
source§

fn pad_using<F>(self, min: usize, f: F) -> PadUsing<Self, F>where - Self: Sized, - F: FnMut(usize) -> Self::Item,

Return an iterator adaptor that pads the sequence to a minimum length of + Self: Sized, + Self::Item: Clone,
Return an iterator that iterates through the powerset of the elements from an +iterator. Read more
source§

fn pad_using<F>(self, min: usize, f: F) -> PadUsing<Self, F>where + Self: Sized, + F: FnMut(usize) -> Self::Item,

Return an iterator adaptor that pads the sequence to a minimum length of min by filling missing elements using a closure f. Read more
source§

fn with_position(self) -> WithPosition<Self>where - Self: Sized,

Return an iterator adaptor that combines each element with a Position to + Self: Sized,
Return an iterator adaptor that combines each element with a Position to ease special-case handling of the first or last elements. Read more
source§

fn positions<P>(self, predicate: P) -> Positions<Self, P>where - Self: Sized, - P: FnMut(Self::Item) -> bool,

Return an iterator adaptor that yields the indices of all elements + Self: Sized, + P: FnMut(Self::Item) -> bool,
Return an iterator adaptor that yields the indices of all elements satisfying a predicate, counted from the start of the iterator. Read more
source§

fn update<F>(self, updater: F) -> Update<Self, F>where - Self: Sized, - F: FnMut(&mut Self::Item),

Return an iterator adaptor that applies a mutating function -to each element before yielding it. Read more
source§

fn next_tuple<T>(&mut self) -> Option<T>where - Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, + Self: Sized, + F: FnMut(&mut Self::Item),

Return an iterator adaptor that applies a mutating function +to each element before yielding it. Read more
source§

fn next_tuple<T>(&mut self) -> Option<T>where + Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, T: HomogeneousTuple,

Advances the iterator and returns the next items grouped in a tuple of -a specific size (up to 12). Read more
source§

fn collect_tuple<T>(self) -> Option<T>where - Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, +a specific size (up to 12). Read more

source§

fn collect_tuple<T>(self) -> Option<T>where + Self: Sized + Iterator<Item = <T as TupleCollect>::Item>, T: HomogeneousTuple,

Collects all items from the iterator into a tuple of a specific size -(up to 12). Read more
source§

fn find_position<P>(&mut self, pred: P) -> Option<(usize, Self::Item)>where - P: FnMut(&Self::Item) -> bool,

Find the position and value of the first element satisfying a predicate. Read more
source§

fn find_or_last<P>(self, predicate: P) -> Option<Self::Item>where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

Find the value of the first element satisfying a predicate or return the last element, if any. Read more
source§

fn find_or_first<P>(self, predicate: P) -> Option<Self::Item>where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

Find the value of the first element satisfying a predicate or return the first element, if any. Read more
source§

fn contains<Q>(&mut self, query: &Q) -> boolwhere - Self: Sized, - Self::Item: Borrow<Q>, - Q: PartialEq<Q>,

Returns true if the given item is present in this iterator. Read more
source§

fn all_equal(&mut self) -> boolwhere - Self: Sized, - Self::Item: PartialEq<Self::Item>,

Check whether all elements compare equal. Read more
source§

fn all_equal_value( +(up to 12). Read more

source§

fn find_position<P>(&mut self, pred: P) -> Option<(usize, Self::Item)>where + P: FnMut(&Self::Item) -> bool,

Find the position and value of the first element satisfying a predicate. Read more
source§

fn find_or_last<P>(self, predicate: P) -> Option<Self::Item>where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

Find the value of the first element satisfying a predicate or return the last element, if any. Read more
source§

fn find_or_first<P>(self, predicate: P) -> Option<Self::Item>where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

Find the value of the first element satisfying a predicate or return the first element, if any. Read more
source§

fn contains<Q>(&mut self, query: &Q) -> boolwhere + Self: Sized, + Self::Item: Borrow<Q>, + Q: PartialEq,

Returns true if the given item is present in this iterator. Read more
source§

fn all_equal(&mut self) -> boolwhere + Self: Sized, + Self::Item: PartialEq,

Check whether all elements compare equal. Read more
source§

fn all_equal_value( &mut self -) -> Result<Self::Item, Option<(Self::Item, Self::Item)>>where - Self: Sized, - Self::Item: PartialEq<Self::Item>,

If there are elements and they are all equal, return a single copy of that element. +) -> Result<Self::Item, Option<(Self::Item, Self::Item)>>where + Self: Sized, + Self::Item: PartialEq,
If there are elements and they are all equal, return a single copy of that element. If there are no elements, return an Error containing None. If there are elements and they are not all equal, return a tuple containing the first -two non-equal elements found. Read more
source§

fn all_unique(&mut self) -> boolwhere - Self: Sized, - Self::Item: Eq + Hash,

Check whether all elements are unique (non equal). Read more
source§

fn dropping(self, n: usize) -> Selfwhere - Self: Sized,

Consume the first n elements from the iterator eagerly, -and return the same iterator again. Read more
source§

fn dropping_back(self, n: usize) -> Selfwhere - Self: Sized + DoubleEndedIterator,

Consume the last n elements from the iterator eagerly, +two non-equal elements found. Read more
source§

fn all_unique(&mut self) -> boolwhere + Self: Sized, + Self::Item: Eq + Hash,

Check whether all elements are unique (non equal). Read more
source§

fn dropping(self, n: usize) -> Selfwhere + Self: Sized,

Consume the first n elements from the iterator eagerly, +and return the same iterator again. Read more
source§

fn dropping_back(self, n: usize) -> Selfwhere + Self: Sized + DoubleEndedIterator,

Consume the last n elements from the iterator eagerly, and return the same iterator again. Read more
source§

fn foreach<F>(self, f: F)where - F: FnMut(Self::Item), - Self: Sized,

👎Deprecated since 0.8.0: Use .for_each() instead
Run the closure f eagerly on each element of the iterator. Read more
source§

fn concat(self) -> Self::Itemwhere - Self: Sized, - Self::Item: Extend<<Self::Item as IntoIterator>::Item> + IntoIterator + Default,

Combine all an iterator’s elements into one element by using Extend. Read more
source§

fn collect_vec(self) -> Vec<Self::Item, Global>where - Self: Sized,

.collect_vec() is simply a type specialization of Iterator::collect, -for convenience.
source§

fn try_collect<T, U, E>(self) -> Result<U, E>where - Self: Sized + Iterator<Item = Result<T, E>>, - Result<U, E>: FromIterator<Result<T, E>>,

.try_collect() is more convenient way of writing -.collect::<Result<_, _>>() Read more
source§

fn set_from<'a, A, J>(&mut self, from: J) -> usizewhere + F: FnMut(Self::Item), + Self: Sized,

👎Deprecated since 0.8.0: Use .for_each() instead
Run the closure f eagerly on each element of the iterator. Read more
source§

fn concat(self) -> Self::Itemwhere + Self: Sized, + Self::Item: Extend<<Self::Item as IntoIterator>::Item> + IntoIterator + Default,

Combine all an iterator’s elements into one element by using Extend. Read more
source§

fn collect_vec(self) -> Vec<Self::Item>where + Self: Sized,

.collect_vec() is simply a type specialization of Iterator::collect, +for convenience.
source§

fn try_collect<T, U, E>(self) -> Result<U, E>where + Self: Sized + Iterator<Item = Result<T, E>>, + Result<U, E>: FromIterator<Result<T, E>>,

.try_collect() is more convenient way of writing +.collect::<Result<_, _>>() Read more
source§

fn set_from<'a, A, J>(&mut self, from: J) -> usizewhere A: 'a, - Self: Iterator<Item = &'a mut A>, - J: IntoIterator<Item = A>,

Assign to each reference in self from the from iterator, -stopping at the shortest of the two iterators. Read more
source§

fn join(&mut self, sep: &str) -> Stringwhere - Self::Item: Display,

Combine all iterator elements into one String, separated by sep. Read more
source§

fn format(self, sep: &str) -> Format<'_, Self>where - Self: Sized,

Format all iterator elements, separated by sep. Read more
source§

fn format_with<F>(self, sep: &str, format: F) -> FormatWith<'_, Self, F>where - Self: Sized, - F: FnMut(Self::Item, &mut dyn FnMut(&dyn Display) -> Result<(), Error>) -> Result<(), Error>,

Format all iterator elements, separated by sep. Read more
source§

fn fold_results<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>where - Self: Iterator<Item = Result<A, E>>, - F: FnMut(B, A) -> B,

👎Deprecated since 0.10.0: Use .fold_ok() instead
source§

fn fold_ok<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>where - Self: Iterator<Item = Result<A, E>>, - F: FnMut(B, A) -> B,

Fold Result values from an iterator. Read more
source§

fn fold_options<A, B, F>(&mut self, start: B, f: F) -> Option<B>where - Self: Iterator<Item = Option<A>>, - F: FnMut(B, A) -> B,

Fold Option values from an iterator. Read more
source§

fn fold1<F>(self, f: F) -> Option<Self::Item>where - F: FnMut(Self::Item, Self::Item) -> Self::Item, - Self: Sized,

👎Deprecated since 0.10.2: Use Iterator::reduce instead
Accumulator of the elements in the iterator. Read more
source§

fn tree_fold1<F>(self, f: F) -> Option<Self::Item>where - F: FnMut(Self::Item, Self::Item) -> Self::Item, - Self: Sized,

Accumulate the elements in the iterator in a tree-like manner. Read more
source§

fn fold_while<B, F>(&mut self, init: B, f: F) -> FoldWhile<B>where - Self: Sized, - F: FnMut(B, Self::Item) -> FoldWhile<B>,

An iterator method that applies a function, producing a single, final value. Read more
source§

fn sum1<S>(self) -> Option<S>where - Self: Sized, - S: Sum<Self::Item>,

Iterate over the entire iterator and add all the elements. Read more
source§

fn product1<P>(self) -> Option<P>where - Self: Sized, - P: Product<Self::Item>,

Iterate over the entire iterator and multiply all the elements. Read more
source§

fn sorted_unstable(self) -> IntoIter<Self::Item, Global>where - Self: Sized, - Self::Item: Ord,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_unstable_by<F>(self, cmp: F) -> IntoIter<Self::Item, Global>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_unstable_by_key<K, F>(self, f: F) -> IntoIter<Self::Item, Global>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted(self) -> IntoIter<Self::Item, Global>where - Self: Sized, - Self::Item: Ord,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_by<F>(self, cmp: F) -> IntoIter<Self::Item, Global>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_by_key<K, F>(self, f: F) -> IntoIter<Self::Item, Global>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_by_cached_key<K, F>(self, f: F) -> IntoIter<Self::Item, Global>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Sort all iterator elements into a new iterator in ascending order. The key function is -called exactly once per key. Read more
source§

fn k_smallest(self, k: usize) -> IntoIter<Self::Item, Global>where - Self: Sized, - Self::Item: Ord,

Sort the k smallest elements into a new iterator, in ascending order. Read more
source§

fn partition_map<A, B, F, L, R>(self, predicate: F) -> (A, B)where - Self: Sized, - F: FnMut(Self::Item) -> Either<L, R>, - A: Default + Extend<L>, - B: Default + Extend<R>,

Collect all iterator elements into one of two -partitions. Unlike Iterator::partition, each partition may -have a distinct type. Read more
source§

fn partition_result<A, B, T, E>(self) -> (A, B)where - Self: Iterator<Item = Result<T, E>> + Sized, - A: Default + Extend<T>, - B: Default + Extend<E>,

Partition a sequence of Results into one list of all the Ok elements -and another list of all the Err elements. Read more
source§

fn into_group_map<K, V>(self) -> HashMap<K, Vec<V, Global>, RandomState>where - Self: Iterator<Item = (K, V)> + Sized, - K: Hash + Eq,

Return a HashMap of keys mapped to Vecs of values. Keys and values -are taken from (Key, Value) tuple pairs yielded by the input iterator. Read more
source§

fn into_group_map_by<K, V, F>( - self, - f: F -) -> HashMap<K, Vec<V, Global>, RandomState>where - Self: Iterator<Item = V> + Sized, - K: Hash + Eq, - F: Fn(&V) -> K,

Return an Iterator on a HashMap. Keys mapped to Vecs of values. The key is specified + Self: Iterator<Item = &'a mut A>, + J: IntoIterator<Item = A>,
Assign to each reference in self from the from iterator, +stopping at the shortest of the two iterators. Read more
source§

fn join(&mut self, sep: &str) -> Stringwhere + Self::Item: Display,

Combine all iterator elements into one String, separated by sep. Read more
source§

fn format(self, sep: &str) -> Format<'_, Self>where + Self: Sized,

Format all iterator elements, separated by sep. Read more
source§

fn format_with<F>(self, sep: &str, format: F) -> FormatWith<'_, Self, F>where + Self: Sized, + F: FnMut(Self::Item, &mut dyn FnMut(&dyn Display) -> Result<(), Error>) -> Result<(), Error>,

Format all iterator elements, separated by sep. Read more
source§

fn fold_results<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>where + Self: Iterator<Item = Result<A, E>>, + F: FnMut(B, A) -> B,

👎Deprecated since 0.10.0: Use .fold_ok() instead
source§

fn fold_ok<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>where + Self: Iterator<Item = Result<A, E>>, + F: FnMut(B, A) -> B,

Fold Result values from an iterator. Read more
source§

fn fold_options<A, B, F>(&mut self, start: B, f: F) -> Option<B>where + Self: Iterator<Item = Option<A>>, + F: FnMut(B, A) -> B,

Fold Option values from an iterator. Read more
source§

fn fold1<F>(self, f: F) -> Option<Self::Item>where + F: FnMut(Self::Item, Self::Item) -> Self::Item, + Self: Sized,

👎Deprecated since 0.10.2: Use Iterator::reduce instead
Accumulator of the elements in the iterator. Read more
source§

fn tree_fold1<F>(self, f: F) -> Option<Self::Item>where + F: FnMut(Self::Item, Self::Item) -> Self::Item, + Self: Sized,

Accumulate the elements in the iterator in a tree-like manner. Read more
source§

fn fold_while<B, F>(&mut self, init: B, f: F) -> FoldWhile<B>where + Self: Sized, + F: FnMut(B, Self::Item) -> FoldWhile<B>,

An iterator method that applies a function, producing a single, final value. Read more
source§

fn sum1<S>(self) -> Option<S>where + Self: Sized, + S: Sum<Self::Item>,

Iterate over the entire iterator and add all the elements. Read more
source§

fn product1<P>(self) -> Option<P>where + Self: Sized, + P: Product<Self::Item>,

Iterate over the entire iterator and multiply all the elements. Read more
source§

fn sorted_unstable(self) -> IntoIter<Self::Item>where + Self: Sized, + Self::Item: Ord,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_unstable_by<F>(self, cmp: F) -> IntoIter<Self::Item>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_unstable_by_key<K, F>(self, f: F) -> IntoIter<Self::Item>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted(self) -> IntoIter<Self::Item>where + Self: Sized, + Self::Item: Ord,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_by<F>(self, cmp: F) -> IntoIter<Self::Item>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_by_key<K, F>(self, f: F) -> IntoIter<Self::Item>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Sort all iterator elements into a new iterator in ascending order. Read more
source§

fn sorted_by_cached_key<K, F>(self, f: F) -> IntoIter<Self::Item>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Sort all iterator elements into a new iterator in ascending order. The key function is +called exactly once per key. Read more
source§

fn k_smallest(self, k: usize) -> IntoIter<Self::Item>where + Self: Sized, + Self::Item: Ord,

Sort the k smallest elements into a new iterator, in ascending order. Read more
source§

fn partition_map<A, B, F, L, R>(self, predicate: F) -> (A, B)where + Self: Sized, + F: FnMut(Self::Item) -> Either<L, R>, + A: Default + Extend<L>, + B: Default + Extend<R>,

Collect all iterator elements into one of two +partitions. Unlike Iterator::partition, each partition may +have a distinct type. Read more
source§

fn partition_result<A, B, T, E>(self) -> (A, B)where + Self: Iterator<Item = Result<T, E>> + Sized, + A: Default + Extend<T>, + B: Default + Extend<E>,

Partition a sequence of Results into one list of all the Ok elements +and another list of all the Err elements. Read more
source§

fn into_group_map<K, V>(self) -> HashMap<K, Vec<V>>where + Self: Iterator<Item = (K, V)> + Sized, + K: Hash + Eq,

Return a HashMap of keys mapped to Vecs of values. Keys and values +are taken from (Key, Value) tuple pairs yielded by the input iterator. Read more
source§

fn into_group_map_by<K, V, F>(self, f: F) -> HashMap<K, Vec<V>>where + Self: Iterator<Item = V> + Sized, + K: Hash + Eq, + F: Fn(&V) -> K,

Return an Iterator on a HashMap. Keys mapped to Vecs of values. The key is specified in the closure. Read more
source§

fn into_grouping_map<K, V>(self) -> GroupingMap<Self>where - Self: Iterator<Item = (K, V)> + Sized, - K: Hash + Eq,

Constructs a GroupingMap to be used later with one of the efficient + Self: Iterator<Item = (K, V)> + Sized, + K: Hash + Eq,
Constructs a GroupingMap to be used later with one of the efficient group-and-fold operations it allows to perform. Read more
source§

fn into_grouping_map_by<K, V, F>( self, key_mapper: F ) -> GroupingMap<MapForGrouping<Self, F>>where - Self: Iterator<Item = V> + Sized, - K: Hash + Eq, - F: FnMut(&V) -> K,

Constructs a GroupingMap to be used later with one of the efficient -group-and-fold operations it allows to perform. Read more
source§

fn min_set(self) -> Vec<Self::Item, Global>where - Self: Sized, - Self::Item: Ord,

Return all minimum elements of an iterator. Read more
source§

fn min_set_by<F>(self, compare: F) -> Vec<Self::Item, Global>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return all minimum elements of an iterator, as determined by -the specified function. Read more
source§

fn min_set_by_key<K, F>(self, key: F) -> Vec<Self::Item, Global>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Return all minimum elements of an iterator, as determined by -the specified function. Read more
source§

fn max_set(self) -> Vec<Self::Item, Global>where - Self: Sized, - Self::Item: Ord,

Return all maximum elements of an iterator. Read more
source§

fn max_set_by<F>(self, compare: F) -> Vec<Self::Item, Global>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return all maximum elements of an iterator, as determined by -the specified function. Read more
source§

fn max_set_by_key<K, F>(self, key: F) -> Vec<Self::Item, Global>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Return all maximum elements of an iterator, as determined by -the specified function. Read more
source§

fn minmax(self) -> MinMaxResult<Self::Item>where - Self: Sized, - Self::Item: PartialOrd<Self::Item>,

Return the minimum and maximum elements in the iterator. Read more
source§

fn minmax_by_key<K, F>(self, key: F) -> MinMaxResult<Self::Item>where - Self: Sized, - K: PartialOrd<K>, - F: FnMut(&Self::Item) -> K,

Return the minimum and maximum element of an iterator, as determined by -the specified function. Read more
source§

fn minmax_by<F>(self, compare: F) -> MinMaxResult<Self::Item>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the minimum and maximum element of an iterator, as determined by -the specified comparison function. Read more
source§

fn position_max(self) -> Option<usize>where - Self: Sized, - Self::Item: Ord,

Return the position of the maximum element in the iterator. Read more
source§

fn position_max_by_key<K, F>(self, key: F) -> Option<usize>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Return the position of the maximum element in the iterator, as -determined by the specified function. Read more
source§

fn position_max_by<F>(self, compare: F) -> Option<usize>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the position of the maximum element in the iterator, as -determined by the specified comparison function. Read more
source§

fn position_min(self) -> Option<usize>where - Self: Sized, - Self::Item: Ord,

Return the position of the minimum element in the iterator. Read more
source§

fn position_min_by_key<K, F>(self, key: F) -> Option<usize>where - Self: Sized, - K: Ord, - F: FnMut(&Self::Item) -> K,

Return the position of the minimum element in the iterator, as -determined by the specified function. Read more
source§

fn position_min_by<F>(self, compare: F) -> Option<usize>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the position of the minimum element in the iterator, as -determined by the specified comparison function. Read more
source§

fn position_minmax(self) -> MinMaxResult<usize>where - Self: Sized, - Self::Item: PartialOrd<Self::Item>,

Return the positions of the minimum and maximum elements in -the iterator. Read more
source§

fn position_minmax_by_key<K, F>(self, key: F) -> MinMaxResult<usize>where - Self: Sized, - K: PartialOrd<K>, - F: FnMut(&Self::Item) -> K,

Return the postions of the minimum and maximum elements of an -iterator, as determined by the specified function. Read more
source§

fn position_minmax_by<F>(self, compare: F) -> MinMaxResult<usize>where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the postions of the minimum and maximum elements of an -iterator, as determined by the specified comparison function. Read more
source§

fn exactly_one(self) -> Result<Self::Item, ExactlyOneError<Self>>where - Self: Sized,

If the iterator yields exactly one element, that element will be returned, otherwise + Self: Iterator<Item = V> + Sized, + K: Hash + Eq, + F: FnMut(&V) -> K,
Constructs a GroupingMap to be used later with one of the efficient +group-and-fold operations it allows to perform. Read more
source§

fn min_set(self) -> Vec<Self::Item>where + Self: Sized, + Self::Item: Ord,

Return all minimum elements of an iterator. Read more
source§

fn min_set_by<F>(self, compare: F) -> Vec<Self::Item>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return all minimum elements of an iterator, as determined by +the specified function. Read more
source§

fn min_set_by_key<K, F>(self, key: F) -> Vec<Self::Item>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Return all minimum elements of an iterator, as determined by +the specified function. Read more
source§

fn max_set(self) -> Vec<Self::Item>where + Self: Sized, + Self::Item: Ord,

Return all maximum elements of an iterator. Read more
source§

fn max_set_by<F>(self, compare: F) -> Vec<Self::Item>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return all maximum elements of an iterator, as determined by +the specified function. Read more
source§

fn max_set_by_key<K, F>(self, key: F) -> Vec<Self::Item>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Return all maximum elements of an iterator, as determined by +the specified function. Read more
source§

fn minmax(self) -> MinMaxResult<Self::Item>where + Self: Sized, + Self::Item: PartialOrd,

Return the minimum and maximum elements in the iterator. Read more
source§

fn minmax_by_key<K, F>(self, key: F) -> MinMaxResult<Self::Item>where + Self: Sized, + K: PartialOrd, + F: FnMut(&Self::Item) -> K,

Return the minimum and maximum element of an iterator, as determined by +the specified function. Read more
source§

fn minmax_by<F>(self, compare: F) -> MinMaxResult<Self::Item>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the minimum and maximum element of an iterator, as determined by +the specified comparison function. Read more
source§

fn position_max(self) -> Option<usize>where + Self: Sized, + Self::Item: Ord,

Return the position of the maximum element in the iterator. Read more
source§

fn position_max_by_key<K, F>(self, key: F) -> Option<usize>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Return the position of the maximum element in the iterator, as +determined by the specified function. Read more
source§

fn position_max_by<F>(self, compare: F) -> Option<usize>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the position of the maximum element in the iterator, as +determined by the specified comparison function. Read more
source§

fn position_min(self) -> Option<usize>where + Self: Sized, + Self::Item: Ord,

Return the position of the minimum element in the iterator. Read more
source§

fn position_min_by_key<K, F>(self, key: F) -> Option<usize>where + Self: Sized, + K: Ord, + F: FnMut(&Self::Item) -> K,

Return the position of the minimum element in the iterator, as +determined by the specified function. Read more
source§

fn position_min_by<F>(self, compare: F) -> Option<usize>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the position of the minimum element in the iterator, as +determined by the specified comparison function. Read more
source§

fn position_minmax(self) -> MinMaxResult<usize>where + Self: Sized, + Self::Item: PartialOrd,

Return the positions of the minimum and maximum elements in +the iterator. Read more
source§

fn position_minmax_by_key<K, F>(self, key: F) -> MinMaxResult<usize>where + Self: Sized, + K: PartialOrd, + F: FnMut(&Self::Item) -> K,

Return the postions of the minimum and maximum elements of an +iterator, as determined by the specified function. Read more
source§

fn position_minmax_by<F>(self, compare: F) -> MinMaxResult<usize>where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Return the postions of the minimum and maximum elements of an +iterator, as determined by the specified comparison function. Read more
source§

fn exactly_one(self) -> Result<Self::Item, ExactlyOneError<Self>>where + Self: Sized,

If the iterator yields exactly one element, that element will be returned, otherwise an error will be returned containing an iterator that has the same output as the input -iterator. Read more
source§

fn at_most_one(self) -> Result<Option<Self::Item>, ExactlyOneError<Self>>where - Self: Sized,

If the iterator yields no elements, Ok(None) will be returned. If the iterator yields +iterator. Read more
source§

fn at_most_one(self) -> Result<Option<Self::Item>, ExactlyOneError<Self>>where + Self: Sized,

If the iterator yields no elements, Ok(None) will be returned. If the iterator yields exactly one element, that element will be returned, otherwise an error will be returned containing an iterator that has the same output as the input iterator. Read more
source§

fn multipeek(self) -> MultiPeek<Self>where - Self: Sized,

An iterator adaptor that allows the user to peek at multiple .next() -values without advancing the base iterator. Read more
source§

fn counts(self) -> HashMap<Self::Item, usize, RandomState>where - Self: Sized, - Self::Item: Eq + Hash,

Collect the items in this iterator and return a HashMap which + Self: Sized,
An iterator adaptor that allows the user to peek at multiple .next() +values without advancing the base iterator. Read more
source§

fn counts(self) -> HashMap<Self::Item, usize>where + Self: Sized, + Self::Item: Eq + Hash,

Collect the items in this iterator and return a HashMap which contains each item that appears in the iterator and the number -of times it appears. Read more
source§

fn counts_by<K, F>(self, f: F) -> HashMap<K, usize, RandomState>where - Self: Sized, - K: Eq + Hash, - F: FnMut(Self::Item) -> K,

Collect the items in this iterator and return a HashMap which +of times it appears. Read more
source§

fn counts_by<K, F>(self, f: F) -> HashMap<K, usize>where + Self: Sized, + K: Eq + Hash, + F: FnMut(Self::Item) -> K,

Collect the items in this iterator and return a HashMap which contains each item that appears in the iterator and the number of times it appears, determining identity using a keying function. Read more
source§

fn multiunzip<FromI>(self) -> FromIwhere - Self: Sized + MultiUnzip<FromI>,

Converts an iterator of tuples into a tuple of containers. Read more
source§

impl<IT> MultiUnzip<()> for ITwhere - IT: Iterator<Item = ()>,

source§

fn multiunzip(self)

Unzip this iterator into multiple collections.
source§

impl<IT> MultiUnzip<()> for ITwhere - IT: Iterator<Item = ()>,

source§

fn multiunzip(self)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA> MultiUnzip<(FromA,)> for ITwhere - IT: Iterator<Item = (A,)>, - FromA: Default + Extend<A>,

source§

fn multiunzip(self) -> (FromA,)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA> MultiUnzip<(FromA,)> for ITwhere - IT: Iterator<Item = (A,)>, - FromA: Default + Extend<A>,

source§

fn multiunzip(self) -> (FromA,)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB> MultiUnzip<(FromA, FromB)> for ITwhere - IT: Iterator<Item = (A, B)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>,

source§

fn multiunzip(self) -> (FromA, FromB)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB> MultiUnzip<(FromA, FromB)> for ITwhere - IT: Iterator<Item = (A, B)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>,

source§

fn multiunzip(self) -> (FromA, FromB)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC> MultiUnzip<(FromA, FromB, FromC)> for ITwhere - IT: Iterator<Item = (A, B, C)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC> MultiUnzip<(FromA, FromB, FromC)> for ITwhere - IT: Iterator<Item = (A, B, C)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD> MultiUnzip<(FromA, FromB, FromC, FromD)> for ITwhere - IT: Iterator<Item = (A, B, C, D)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD> MultiUnzip<(FromA, FromB, FromC, FromD)> for ITwhere - IT: Iterator<Item = (A, B, C, D)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE> MultiUnzip<(FromA, FromB, FromC, FromD, FromE)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE> MultiUnzip<(FromA, FromB, FromC, FromD, FromE)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F, G)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>, - FromG: Default + Extend<G>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F, G)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>, - FromG: Default + Extend<G>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F, G, H)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>, - FromG: Default + Extend<G>, - FromH: Default + Extend<H>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F, G, H)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>, - FromG: Default + Extend<G>, - FromH: Default + Extend<H>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F, G, H, I)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>, - FromG: Default + Extend<G>, - FromH: Default + Extend<H>, - FromI: Default + Extend<I>,

source§

fn multiunzip( + Self: Sized + MultiUnzip<FromI>,

Converts an iterator of tuples into a tuple of containers. Read more
source§

impl<IT> MultiUnzip<()> for ITwhere + IT: Iterator<Item = ()>,

source§

fn multiunzip(self)

Unzip this iterator into multiple collections.
source§

impl<IT> MultiUnzip<()> for ITwhere + IT: Iterator<Item = ()>,

source§

fn multiunzip(self)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA> MultiUnzip<(FromA,)> for ITwhere + IT: Iterator<Item = (A,)>, + FromA: Default + Extend<A>,

source§

fn multiunzip(self) -> (FromA,)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA> MultiUnzip<(FromA,)> for ITwhere + IT: Iterator<Item = (A,)>, + FromA: Default + Extend<A>,

source§

fn multiunzip(self) -> (FromA,)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB> MultiUnzip<(FromA, FromB)> for ITwhere + IT: Iterator<Item = (A, B)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>,

source§

fn multiunzip(self) -> (FromA, FromB)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB> MultiUnzip<(FromA, FromB)> for ITwhere + IT: Iterator<Item = (A, B)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>,

source§

fn multiunzip(self) -> (FromA, FromB)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC> MultiUnzip<(FromA, FromB, FromC)> for ITwhere + IT: Iterator<Item = (A, B, C)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC> MultiUnzip<(FromA, FromB, FromC)> for ITwhere + IT: Iterator<Item = (A, B, C)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD> MultiUnzip<(FromA, FromB, FromC, FromD)> for ITwhere + IT: Iterator<Item = (A, B, C, D)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD> MultiUnzip<(FromA, FromB, FromC, FromD)> for ITwhere + IT: Iterator<Item = (A, B, C, D)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE> MultiUnzip<(FromA, FromB, FromC, FromD, FromE)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE> MultiUnzip<(FromA, FromB, FromC, FromD, FromE)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>,

source§

fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H, I)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>, + FromI: Default + Extend<I>,

source§

fn multiunzip( self -) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F, G, H, I)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>, - FromG: Default + Extend<G>, - FromH: Default + Extend<H>, - FromI: Default + Extend<I>,

source§

fn multiunzip( +) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H, I)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>, + FromI: Default + Extend<I>,

source§

fn multiunzip( self -) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>, - FromG: Default + Extend<G>, - FromH: Default + Extend<H>, - FromI: Default + Extend<I>, - FromJ: Default + Extend<J>,

source§

fn multiunzip( +) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>, + FromI: Default + Extend<I>, + FromJ: Default + Extend<J>,

source§

fn multiunzip( self -) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>, - FromG: Default + Extend<G>, - FromH: Default + Extend<H>, - FromI: Default + Extend<I>, - FromJ: Default + Extend<J>,

source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>, + FromI: Default + Extend<I>, + FromJ: Default + Extend<J>,

source§

fn multiunzip( self -) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)

Unzip this iterator into multiple collections.
source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>, - FromG: Default + Extend<G>, - FromH: Default + Extend<H>, - FromI: Default + Extend<I>, - FromJ: Default + Extend<J>, - FromK: Default + Extend<K>,

source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>, + FromI: Default + Extend<I>, + FromJ: Default + Extend<J>, + FromK: Default + Extend<K>,

source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>, - FromG: Default + Extend<G>, - FromH: Default + Extend<H>, - FromI: Default + Extend<I>, - FromJ: Default + Extend<J>, - FromK: Default + Extend<K>,

source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>, + FromI: Default + Extend<I>, + FromJ: Default + Extend<J>, + FromK: Default + Extend<K>,

source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK, L, FromL> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK, FromL)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K, L)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>, - FromG: Default + Extend<G>, - FromH: Default + Extend<H>, - FromI: Default + Extend<I>, - FromJ: Default + Extend<J>, - FromK: Default + Extend<K>, - FromL: Default + Extend<L>,

source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK, L, FromL> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK, FromL)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K, L)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>, + FromI: Default + Extend<I>, + FromJ: Default + Extend<J>, + FromK: Default + Extend<K>, + FromL: Default + Extend<L>,

source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK, L, FromL> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK, FromL)> for ITwhere - IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K, L)>, - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - FromC: Default + Extend<C>, - FromD: Default + Extend<D>, - FromE: Default + Extend<E>, - FromF: Default + Extend<F>, - FromG: Default + Extend<G>, - FromH: Default + Extend<H>, - FromI: Default + Extend<I>, - FromJ: Default + Extend<J>, - FromK: Default + Extend<K>, - FromL: Default + Extend<L>,

source§

impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK, L, FromL> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK, FromL)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K, L)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>, + FromI: Default + Extend<I>, + FromJ: Default + Extend<J>, + FromK: Default + Extend<K>, + FromL: Default + Extend<L>,

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<S, T> ProgressIterator for Twhere - T: Iterator<Item = S>,

§

fn progress_with(self, progress: ProgressBar) -> ProgressBarIter<T>

Wrap an iterator with a custom progress bar.
§

fn try_progress(self) -> Option<ProgressBarIter<Self>>

Wrap an iterator with default styling. Uses Iterator::size_hint to get length. +) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK, FromL)
Unzip this iterator into multiple collections.
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<S, T> ProgressIterator for Twhere + T: Iterator<Item = S>,

§

fn progress_with(self, progress: ProgressBar) -> ProgressBarIter<T>

Wrap an iterator with a custom progress bar.
§

fn try_progress(self) -> Option<ProgressBarIter<Self>>

Wrap an iterator with default styling. Uses Iterator::size_hint to get length. Returns Some(..) only if size_hint.1 is Some. If you want to create a progress bar even if size_hint.1 returns None use progress_count or progress_with instead.
§

fn progress(self) -> ProgressBarIter<Self>where - Self: ExactSizeIterator,

Wrap an iterator with default styling.
§

fn progress_count(self, len: u64) -> ProgressBarIter<Self>

Wrap an iterator with an explicit element count.
§

fn progress_with_style(self, style: ProgressStyle) -> ProgressBarIter<Self>where - Self: ExactSizeIterator,

Wrap an iterator with a progress bar and style it.
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<I> UnicodeNormalization<I> for Iwhere - I: Iterator<Item = char>,

§

fn nfd(self) -> Decompositions<I>

Returns an iterator over the string in Unicode Normalization Form D + Self: ExactSizeIterator,
Wrap an iterator with default styling.
§

fn progress_count(self, len: u64) -> ProgressBarIter<Self>

Wrap an iterator with an explicit element count.
§

fn progress_with_style(self, style: ProgressStyle) -> ProgressBarIter<Self>where + Self: ExactSizeIterator,

Wrap an iterator with a progress bar and style it.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<I> UnicodeNormalization<I> for Iwhere + I: Iterator<Item = char>,

§

fn nfd(self) -> Decompositions<I>

Returns an iterator over the string in Unicode Normalization Form D (canonical decomposition).
§

fn nfkd(self) -> Decompositions<I>

Returns an iterator over the string in Unicode Normalization Form KD (compatibility decomposition).
§

fn nfc(self) -> Recompositions<I>

An Iterator over the string in Unicode Normalization Form C (canonical decomposition followed by canonical composition).
§

fn nfkc(self) -> Recompositions<I>

An Iterator over the string in Unicode Normalization Form KC @@ -1228,8 +1218,8 @@ part of the canonical or compatibility decomposition algorithms, but performing it before those algorithms produces normalized output which better preserves the intent of the original text. Read more
§

fn stream_safe(self) -> StreamSafe<I>

An Iterator over the string with Conjoining Grapheme Joiner characters -inserted according to the Stream-Safe Text Process (UAX15-D4)
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +inserted according to the Stream-Safe Text Process (UAX15-D4)
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/loop_unrolling/range_iterator/trait.LoopBound.html b/leo_passes/loop_unrolling/range_iterator/trait.LoopBound.html index 4c9201927c..c67415b251 100644 --- a/leo_passes/loop_unrolling/range_iterator/trait.LoopBound.html +++ b/leo_passes/loop_unrolling/range_iterator/trait.LoopBound.html @@ -1,2 +1,2 @@ -LoopBound in leo_passes::loop_unrolling::range_iterator - Rust
pub(crate) trait LoopBound: Add<Output = Self> + Copy + Display + One + PartialOrd + TryFrom<Value, Error = LeoError> { }
Expand description

A trait for whose implementors are concrete values for loop bounds.

-

Implementations on Foreign Types§

source§

impl LoopBound for u128

source§

impl LoopBound for i128

Implementors§

\ No newline at end of file +LoopBound in leo_passes::loop_unrolling::range_iterator - Rust
pub(crate) trait LoopBound: Add<Output = Self> + Copy + Display + One + PartialOrd + TryFrom<Value, Error = LeoError> { }
Expand description

A trait for whose implementors are concrete values for loop bounds.

+

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl LoopBound for i128

source§

impl LoopBound for u128

Implementors§

\ No newline at end of file diff --git a/leo_passes/loop_unrolling/unroll_expression/index.html b/leo_passes/loop_unrolling/unroll_expression/index.html index 583b853e65..723a1fefcb 100644 --- a/leo_passes/loop_unrolling/unroll_expression/index.html +++ b/leo_passes/loop_unrolling/unroll_expression/index.html @@ -1 +1 @@ -leo_passes::loop_unrolling::unroll_expression - Rust
\ No newline at end of file +leo_passes::loop_unrolling::unroll_expression - Rust
\ No newline at end of file diff --git a/leo_passes/loop_unrolling/unroll_program/index.html b/leo_passes/loop_unrolling/unroll_program/index.html index 733626d8db..96d6a3b9d3 100644 --- a/leo_passes/loop_unrolling/unroll_program/index.html +++ b/leo_passes/loop_unrolling/unroll_program/index.html @@ -1 +1 @@ -leo_passes::loop_unrolling::unroll_program - Rust
\ No newline at end of file +leo_passes::loop_unrolling::unroll_program - Rust
\ No newline at end of file diff --git a/leo_passes/loop_unrolling/unroll_statement/index.html b/leo_passes/loop_unrolling/unroll_statement/index.html index 2cd397fd6d..181b3dbb60 100644 --- a/leo_passes/loop_unrolling/unroll_statement/index.html +++ b/leo_passes/loop_unrolling/unroll_statement/index.html @@ -1 +1 @@ -leo_passes::loop_unrolling::unroll_statement - Rust
\ No newline at end of file +leo_passes::loop_unrolling::unroll_statement - Rust
\ No newline at end of file diff --git a/leo_passes/loop_unrolling/unroller/index.html b/leo_passes/loop_unrolling/unroller/index.html index d3c4e74873..c6e0685b07 100644 --- a/leo_passes/loop_unrolling/unroller/index.html +++ b/leo_passes/loop_unrolling/unroller/index.html @@ -1 +1 @@ -leo_passes::loop_unrolling::unroller - Rust
\ No newline at end of file +leo_passes::loop_unrolling::unroller - Rust
\ No newline at end of file diff --git a/leo_passes/loop_unrolling/unroller/struct.Unroller.html b/leo_passes/loop_unrolling/unroller/struct.Unroller.html index 09a9dd51d1..3abe894078 100644 --- a/leo_passes/loop_unrolling/unroller/struct.Unroller.html +++ b/leo_passes/loop_unrolling/unroller/struct.Unroller.html @@ -1,27 +1,27 @@ -Unroller in leo_passes::loop_unrolling::unroller - Rust
pub struct Unroller<'a> {
-    pub(crate) constant_propagation_table: RefCell<ConstantPropagationTable>,
-    pub(crate) symbol_table: RefCell<SymbolTable>,
+Unroller in leo_passes::loop_unrolling::unroller - Rust
pub struct Unroller<'a> {
+    pub(crate) constant_propagation_table: RefCell<ConstantPropagationTable>,
+    pub(crate) symbol_table: RefCell<SymbolTable>,
     pub(crate) type_table: &'a TypeTable,
-    pub(crate) scope_index: usize,
+    pub(crate) scope_index: usize,
     pub(crate) handler: &'a Handler,
     pub(crate) node_builder: &'a NodeBuilder,
-    pub(crate) is_unrolling: bool,
-}

Fields§

§constant_propagation_table: RefCell<ConstantPropagationTable>

A table of constant variables.

-
§symbol_table: RefCell<SymbolTable>

The symbol table for the function being processed.

+ pub(crate) is_unrolling: bool, +}

Fields§

§constant_propagation_table: RefCell<ConstantPropagationTable>

A table of constant variables.

+
§symbol_table: RefCell<SymbolTable>

The symbol table for the function being processed.

§type_table: &'a TypeTable

A mapping from node IDs to their types.

-
§scope_index: usize

The index of the current scope.

+
§scope_index: usize

The index of the current scope.

§handler: &'a Handler

An error handler used for any errors found during unrolling.

§node_builder: &'a NodeBuilder

A counter used to generate unique node IDs.

-
§is_unrolling: bool

Are we in the midst of unrolling a loop?

+
§is_unrolling: bool

Are we in the midst of unrolling a loop?

Implementations§

source§

impl<'a> Unroller<'a>

source

pub(crate) fn new( symbol_table: SymbolTable, type_table: &'a TypeTable, handler: &'a Handler, node_builder: &'a NodeBuilder -) -> Self

source

pub(crate) fn current_scope_index(&mut self) -> usize

Returns the index of the current scope. +) -> Self

source

pub(crate) fn current_scope_index(&mut self) -> usize

Returns the index of the current scope. Note that if we are in the midst of unrolling an IterationStatement, a new scope is created.

-
source

pub(crate) fn enter_scope(&mut self, index: usize) -> usize

Enters a child scope.

-
source

pub(crate) fn exit_scope(&mut self, index: usize)

Exits the current block scope.

+
source

pub(crate) fn enter_scope(&mut self, index: usize) -> usize

Enters a child scope.

+
source

pub(crate) fn exit_scope(&mut self, index: usize)

Exits the current block scope.

source

pub(crate) fn emit_err(&self, err: LoopUnrollerError)

Emits a Loop Unrolling Error

source

pub(crate) fn unroll_iteration_statement<I: LoopBound>( &mut self, @@ -32,7 +32,7 @@ input: &IterationStatement, iteration_count: I ) -> Statement

A helper function to unroll a single iteration an IterationStatement.

-

Trait Implementations§

Trait Implementations§

source§

impl ExpressionReconstructor for Unroller<'_>

source§

impl<'a> Pass for Unroller<'a>

§

type Input = (Ast, &'a Handler, &'a NodeBuilder, SymbolTable, &'a TypeTable)

§

type Output = Result<(Ast, SymbolTable), LeoError>

source§

fn do_pass((ast, handler, node_builder, st, tt): Self::Input) -> Self::Output

Runs the compiler pass.
source§

impl ProgramReconstructor for Unroller<'_>

source§

impl StatementReconstructor for Unroller<'_>

source§

impl<'a> Pass for Unroller<'a>

§

type Input = (Ast, &'a Handler, &'a NodeBuilder, SymbolTable, &'a TypeTable)

§

type Output = Result<(Ast, SymbolTable), LeoError>

source§

fn do_pass((ast, handler, node_builder, st, tt): Self::Input) -> Self::Output

Runs the compiler pass.
source§

impl ProgramReconstructor for Unroller<'_>

source§

impl StatementReconstructor for Unroller<'_>

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for Unroller<'a>

§

impl<'a> !Send for Unroller<'a>

§

impl<'a> !Sync for Unroller<'a>

§

impl<'a> Unpin for Unroller<'a>

§

impl<'a> !UnwindSafe for Unroller<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> (Statement, Self::AdditionalOutput)

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for Unroller<'a>

§

impl<'a> !Send for Unroller<'a>

§

impl<'a> !Sync for Unroller<'a>

§

impl<'a> Unpin for Unroller<'a>

§

impl<'a> !UnwindSafe for Unroller<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/pass/index.html b/leo_passes/pass/index.html index 0825cb0b26..d7a4bc2881 100644 --- a/leo_passes/pass/index.html +++ b/leo_passes/pass/index.html @@ -1 +1 @@ -leo_passes::pass - Rust

Module leo_passes::pass

source ·

Traits

  • A compiler pass consuming Self::Input and returning Self::Output.
\ No newline at end of file +leo_passes::pass - Rust

Module leo_passes::pass

source ·

Traits

  • A compiler pass consuming Self::Input and returning Self::Output.
\ No newline at end of file diff --git a/leo_passes/pass/trait.Pass.html b/leo_passes/pass/trait.Pass.html index 0f322072b9..6ab4f9b7c5 100644 --- a/leo_passes/pass/trait.Pass.html +++ b/leo_passes/pass/trait.Pass.html @@ -1,4 +1,4 @@ -Pass in leo_passes::pass - Rust

Trait leo_passes::pass::Pass

source ·
pub trait Pass {
+Pass in leo_passes::pass - Rust

Trait leo_passes::pass::Pass

source ·
pub trait Pass {
     type Input;
     type Output;
 
@@ -6,4 +6,4 @@
     fn do_pass(input: Self::Input) -> Self::Output;
 }
Expand description

A compiler pass consuming Self::Input and returning Self::Output.

Required Associated Types§

Required Methods§

source

fn do_pass(input: Self::Input) -> Self::Output

Runs the compiler pass.

-

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/leo_passes/static_single_assignment/index.html b/leo_passes/static_single_assignment/index.html index 60c43c1220..e05d50a7b3 100644 --- a/leo_passes/static_single_assignment/index.html +++ b/leo_passes/static_single_assignment/index.html @@ -1,4 +1,4 @@ -leo_passes::static_single_assignment - Rust
Expand description

The Static Single Assignment pass traverses the AST and converts it into SSA form. +leo_passes::static_single_assignment - Rust

Expand description

The Static Single Assignment pass traverses the AST and converts it into SSA form. See https://en.wikipedia.org/wiki/Static_single-assignment_form for more information. The pass also replaces DefinitionStatements with AssignmentStatements. The pass also simplifies complex expressions into a sequence of AssignStatements. For example, (a + b) * c is rewritten into $var$1 = a + b; $var$2 = $var$1 * c.

diff --git a/leo_passes/static_single_assignment/rename_expression/index.html b/leo_passes/static_single_assignment/rename_expression/index.html index d16f6207d5..42011394fc 100644 --- a/leo_passes/static_single_assignment/rename_expression/index.html +++ b/leo_passes/static_single_assignment/rename_expression/index.html @@ -1 +1 @@ -leo_passes::static_single_assignment::rename_expression - Rust
\ No newline at end of file +leo_passes::static_single_assignment::rename_expression - Rust
\ No newline at end of file diff --git a/leo_passes/static_single_assignment/rename_program/index.html b/leo_passes/static_single_assignment/rename_program/index.html index 78b7cc120f..8a37a91b3d 100644 --- a/leo_passes/static_single_assignment/rename_program/index.html +++ b/leo_passes/static_single_assignment/rename_program/index.html @@ -1 +1 @@ -leo_passes::static_single_assignment::rename_program - Rust
\ No newline at end of file +leo_passes::static_single_assignment::rename_program - Rust
\ No newline at end of file diff --git a/leo_passes/static_single_assignment/rename_statement/index.html b/leo_passes/static_single_assignment/rename_statement/index.html index 4f97019b53..fe8dfa197e 100644 --- a/leo_passes/static_single_assignment/rename_statement/index.html +++ b/leo_passes/static_single_assignment/rename_statement/index.html @@ -1 +1 @@ -leo_passes::static_single_assignment::rename_statement - Rust
\ No newline at end of file +leo_passes::static_single_assignment::rename_statement - Rust
\ No newline at end of file diff --git a/leo_passes/static_single_assignment/static_single_assigner/index.html b/leo_passes/static_single_assignment/static_single_assigner/index.html index b02c0d5e7e..e7dd17ac04 100644 --- a/leo_passes/static_single_assignment/static_single_assigner/index.html +++ b/leo_passes/static_single_assignment/static_single_assigner/index.html @@ -1 +1 @@ -leo_passes::static_single_assignment::static_single_assigner - Rust
\ No newline at end of file +leo_passes::static_single_assignment::static_single_assigner - Rust
\ No newline at end of file diff --git a/leo_passes/static_single_assignment/static_single_assigner/struct.StaticSingleAssigner.html b/leo_passes/static_single_assignment/static_single_assigner/struct.StaticSingleAssigner.html index b4706fba59..5baf34451a 100644 --- a/leo_passes/static_single_assignment/static_single_assigner/struct.StaticSingleAssigner.html +++ b/leo_passes/static_single_assignment/static_single_assigner/struct.StaticSingleAssigner.html @@ -1,15 +1,15 @@ -StaticSingleAssigner in leo_passes::static_single_assignment::static_single_assigner - Rust
pub struct StaticSingleAssigner<'a> {
+StaticSingleAssigner in leo_passes::static_single_assignment::static_single_assigner - Rust
pub struct StaticSingleAssigner<'a> {
     pub(crate) node_builder: &'a NodeBuilder,
     pub(crate) symbol_table: &'a SymbolTable,
     pub(crate) type_table: &'a TypeTable,
     pub(crate) rename_table: RenameTable,
-    pub(crate) is_lhs: bool,
+    pub(crate) is_lhs: bool,
     pub(crate) assigner: &'a Assigner,
 }

Fields§

§node_builder: &'a NodeBuilder

A counter used to generate unique node IDs.

§symbol_table: &'a SymbolTable

The SymbolTable of the program.

§type_table: &'a TypeTable

A mapping from node IDs to their types.

§rename_table: RenameTable

The RenameTable for the current basic block in the AST

-
§is_lhs: bool

A flag to determine whether or not the traversal is on the left-hand side of a definition or an assignment.

+
§is_lhs: bool

A flag to determine whether or not the traversal is on the left-hand side of a definition or an assignment.

§assigner: &'a Assigner

A struct used to construct (unique) assignment statements.

Implementations§

source§

impl<'a> StaticSingleAssigner<'a>

source

pub(crate) fn new( node_builder: &'a NodeBuilder, @@ -40,10 +40,10 @@

source§

fn consume_ternary(&mut self, input: TernaryExpression) -> Self::Output

Consumes a ternary expression, accumulating any statements that are generated.

source§

fn consume_tuple(&mut self, input: TupleExpression) -> Self::Output

Consumes a tuple expression, accumulating any statements that are generated

source§

fn consume_unary(&mut self, input: UnaryExpression) -> Self::Output

Consumes a unary expression, accumulating any statements that are generated.

-
§

type Output = (Expression, Vec<Statement, Global>)

source§

fn consume_unit(&mut self, input: UnitExpression) -> Self::Output

source§

fn consume_expression(&mut self, input: Expression) -> Self::Output

source§

fn consume_err(&mut self, _input: ErrExpression) -> Self::Output

source§

impl FunctionConsumer for StaticSingleAssigner<'_>

source§

fn consume_function(&mut self, function: Function) -> Self::Output

Reconstructs the Functions in the Program, while allocating the appropriate RenameTables.

-
§

type Output = Function

source§

impl<'a> Pass for StaticSingleAssigner<'a>

§

type Output = (Expression, Vec<Statement>)

source§

fn consume_unit(&mut self, input: UnitExpression) -> Self::Output

source§

fn consume_expression(&mut self, input: Expression) -> Self::Output

source§

fn consume_err(&mut self, _input: ErrExpression) -> Self::Output

source§

impl FunctionConsumer for StaticSingleAssigner<'_>

source§

fn consume_function(&mut self, function: Function) -> Self::Output

Reconstructs the Functions in the Program, while allocating the appropriate RenameTables.

+
§

type Output = Function

source§

impl<'a> Pass for StaticSingleAssigner<'a>

§

type Input = (Ast, &'a NodeBuilder, &'a Assigner, &'a SymbolTable, &'a TypeTable)

§

type Output = Result<Ast, LeoError>

source§

fn do_pass( (ast, node_builder, assigner, symbol_table, type_table): Self::Input -) -> Self::Output

Runs the compiler pass.
source§

impl ProgramConsumer for StaticSingleAssigner<'_>

§

type Output = Program

source§

fn consume_program(&mut self, input: Program) -> Self::Output

source§

impl ProgramScopeConsumer for StaticSingleAssigner<'_>

source§

impl StatementConsumer for StaticSingleAssigner<'_>

source§

fn consume_assert(&mut self, input: AssertStatement) -> Self::Output

Consumes the expressions in an AssertStatement, returning the list of simplified statements.

+) -> Self::Output
Runs the compiler pass.
source§

impl ProgramConsumer for StaticSingleAssigner<'_>

§

type Output = Program

source§

fn consume_program(&mut self, input: Program) -> Self::Output

source§

impl ProgramScopeConsumer for StaticSingleAssigner<'_>

source§

impl StatementConsumer for StaticSingleAssigner<'_>

source§

fn consume_assert(&mut self, input: AssertStatement) -> Self::Output

Consumes the expressions in an AssertStatement, returning the list of simplified statements.

source§

fn consume_assign(&mut self, assign: AssignStatement) -> Self::Output

Consume all AssignStatements, renaming as necessary.

source§

fn consume_block(&mut self, block: Block) -> Self::Output

Consumes a Block, flattening its constituent ConditionalStatements.

source§

fn consume_conditional( @@ -69,21 +69,21 @@ ) -> Self::Output

Consumes the expressions associated with ExpressionStatement, returning the simplified ExpressionStatement.

source§

fn consume_return(&mut self, input: ReturnStatement) -> Self::Output

Reconstructs the expression associated with the return statement, returning a simplified ReturnStatement. Note that type checking guarantees that there is at most one ReturnStatement in a block.

-
§

type Output = Vec<Statement, Global>

source§

fn consume_const(&mut self, _: ConstDeclaration) -> Self::Output

source§

fn consume_iteration(&mut self, _input: IterationStatement) -> Self::Output

source§

fn consume_statement(&mut self, input: Statement) -> Self::Output

source§

impl StructConsumer for StaticSingleAssigner<'_>

source§

fn consume_struct(&mut self, struct_: Struct) -> Self::Output

Reconstructs records in the program, ordering its fields such that owner and is the first field.

-
§

type Output = Struct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +
§

type Output = Vec<Statement>

source§

fn consume_const(&mut self, _: ConstDeclaration) -> Self::Output

source§

fn consume_iteration(&mut self, _input: IterationStatement) -> Self::Output

source§

fn consume_statement(&mut self, input: Statement) -> Self::Output

source§

impl StructConsumer for StaticSingleAssigner<'_>

source§

fn consume_struct(&mut self, struct_: Struct) -> Self::Output

Reconstructs records in the program, ordering its fields such that owner and is the first field.

+
§

type Output = Struct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/symbol_table_creation/creator/index.html b/leo_passes/symbol_table_creation/creator/index.html index 121cd9e271..516c718d03 100644 --- a/leo_passes/symbol_table_creation/creator/index.html +++ b/leo_passes/symbol_table_creation/creator/index.html @@ -1,3 +1,3 @@ -leo_passes::symbol_table_creation::creator - Rust

Structs

Type checks the inputs to a core function call and returns the expected output type. Emits an error if the correct number of arguments are not provided. Emits an error if the arguments are not of the correct type.

source

pub(crate) fn check_expected_struct( &mut self, struct_: Identifier, - expected: &Option<Type>, + expected: &Option<Type>, span: Span ) -> Type

Returns the struct type and emits an error if the expected type does not match.

source

pub(crate) fn assert_member_is_not_record( @@ -123,14 +123,14 @@ parent: Symbol, type_: &Type )

Emits an error if the struct member is a record type.

-
source

pub(crate) fn assert_type_is_valid(&self, type_: &Type, span: Span) -> bool

Emits an error if the type or its constituent types is not valid.

+
source

pub(crate) fn assert_type_is_valid(&self, type_: &Type, span: Span) -> bool

Emits an error if the type or its constituent types is not valid.

source

pub(crate) fn assert_mapping_type( &self, - type_: &Option<Type>, + type_: &Option<Type>, span: Span -) -> Option<MappingType>

Emits an error if the type is not a mapping.

-
source

pub(crate) fn assert_array_type(&self, type_: &Option<Type>, span: Span)

Emits an error if the type is not an array.

-

Trait Implementations§

source§

impl<'a> ExpressionVisitor<'a> for TypeChecker<'a>

§

type AdditionalInput = Option<Type>

§

type Output = Option<Type>

source§

fn visit_expression( +) -> Option<MappingType>

Emits an error if the type is not a mapping.

+
source

pub(crate) fn assert_array_type(&self, type_: &Option<Type>, span: Span)

Emits an error if the type is not an array.

+

Trait Implementations§

source§

impl<'a> ExpressionVisitor<'a> for TypeChecker<'a>

§

type AdditionalInput = Option<Type>

§

type Output = Option<Type>

source§

fn visit_expression( &mut self, input: &'a Expression, additional: &Self::AdditionalInput @@ -186,20 +186,20 @@ &mut self, input: &'a UnitExpression, _additional: &Self::AdditionalInput -) -> Self::Output

source§

impl<'a> Pass for TypeChecker<'a>

§

type Input = (&'a Ast, &'a Handler, SymbolTable, &'a TypeTable)

§

type Output = Result<(SymbolTable, DiGraph<Symbol>, DiGraph<Symbol>), LeoError>

source§

fn do_pass((ast, handler, st, tt): Self::Input) -> Self::Output

Runs the compiler pass.
source§

impl<'a> ProgramVisitor<'a> for TypeChecker<'a>

source§

fn visit_program(&mut self, input: &'a Program)

source§

fn visit_program_scope(&mut self, input: &'a ProgramScope)

source§

fn visit_struct(&mut self, input: &'a Struct)

source§

fn visit_mapping(&mut self, input: &'a Mapping)

source§

fn visit_function(&mut self, function: &'a Function)

source§

fn visit_import(&mut self, input: &'a Program)

source§

impl<'a> StatementVisitor<'a> for TypeChecker<'a>

source§

fn visit_statement(&mut self, input: &'a Statement)

source§

fn visit_assert(&mut self, input: &'a AssertStatement)

source§

fn visit_assign(&mut self, input: &'a AssignStatement)

source§

fn visit_block(&mut self, input: &'a Block)

source§

fn visit_conditional(&mut self, input: &'a ConditionalStatement)

source§

fn visit_console(&mut self, _: &'a ConsoleStatement)

source§

fn visit_const(&mut self, input: &'a ConstDeclaration)

source§

fn visit_definition(&mut self, input: &'a DefinitionStatement)

source§

fn visit_expression_statement(&mut self, input: &'a ExpressionStatement)

source§

fn visit_iteration(&mut self, input: &'a IterationStatement)

source§

fn visit_return(&mut self, input: &'a ReturnStatement)

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for TypeChecker<'a>

§

impl<'a> !Send for TypeChecker<'a>

§

impl<'a> !Sync for TypeChecker<'a>

§

impl<'a> Unpin for TypeChecker<'a>

§

impl<'a> !UnwindSafe for TypeChecker<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an +) -> Self::Output
source§

impl<'a> Pass for TypeChecker<'a>

§

type Input = (&'a Ast, &'a Handler, SymbolTable, &'a TypeTable)

§

type Output = Result<(SymbolTable, DiGraph<Symbol>, DiGraph<Symbol>), LeoError>

source§

fn do_pass((ast, handler, st, tt): Self::Input) -> Self::Output

Runs the compiler pass.
source§

impl<'a> ProgramVisitor<'a> for TypeChecker<'a>

source§

fn visit_program(&mut self, input: &'a Program)

source§

fn visit_program_scope(&mut self, input: &'a ProgramScope)

source§

fn visit_struct(&mut self, input: &'a Struct)

source§

fn visit_mapping(&mut self, input: &'a Mapping)

source§

fn visit_function(&mut self, function: &'a Function)

source§

fn visit_import(&mut self, input: &'a Program)

source§

impl<'a> StatementVisitor<'a> for TypeChecker<'a>

source§

fn visit_statement(&mut self, input: &'a Statement)

source§

fn visit_assert(&mut self, input: &'a AssertStatement)

source§

fn visit_assign(&mut self, input: &'a AssignStatement)

source§

fn visit_block(&mut self, input: &'a Block)

source§

fn visit_conditional(&mut self, input: &'a ConditionalStatement)

source§

fn visit_console(&mut self, _: &'a ConsoleStatement)

source§

fn visit_const(&mut self, input: &'a ConstDeclaration)

source§

fn visit_definition(&mut self, input: &'a DefinitionStatement)

source§

fn visit_expression_statement(&mut self, input: &'a ExpressionStatement)

source§

fn visit_iteration(&mut self, input: &'a IterationStatement)

source§

fn visit_return(&mut self, input: &'a ReturnStatement)

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for TypeChecker<'a>

§

impl<'a> !Send for TypeChecker<'a>

§

impl<'a> !Sync for TypeChecker<'a>

§

impl<'a> Unpin for TypeChecker<'a>

§

impl<'a> !UnwindSafe for TypeChecker<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/leo_passes/type_checking/index.html b/leo_passes/type_checking/index.html index 1ae47bd240..a9db60ac26 100644 --- a/leo_passes/type_checking/index.html +++ b/leo_passes/type_checking/index.html @@ -1 +1 @@ -leo_passes::type_checking - Rust
\ No newline at end of file +leo_passes::type_checking - Rust
\ No newline at end of file diff --git a/leo_span/all.html b/leo_span/all.html index 062f1df69f..58823822f4 100644 --- a/leo_span/all.html +++ b/leo_span/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Functions

Statics

Constants

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Functions

Statics

Constants

\ No newline at end of file diff --git a/leo_span/index.html b/leo_span/index.html index 94067861bb..7352ce4dfe 100644 --- a/leo_span/index.html +++ b/leo_span/index.html @@ -1 +1,2 @@ -leo_span - Rust

Crate leo_span

source ·

Re-exports

Modules

  • Defines the Span type used to track where code comes from.
  • Provides custom serialize/deserialize implementations for Span.
\ No newline at end of file +leo_span - Rust

Crate leo_span

source ·

Re-exports

Modules

  • Defines the Span type used to track where code comes from.
  • Provides custom serialize/deserialize implementations for Span.
\ No newline at end of file diff --git a/leo_span/source_map/enum.FileName.html b/leo_span/source_map/enum.FileName.html index dd05be72f9..656ce3aefa 100644 --- a/leo_span/source_map/enum.FileName.html +++ b/leo_span/source_map/enum.FileName.html @@ -1,21 +1,21 @@ -FileName in leo_span::source_map - Rust
pub enum FileName {
-    Real(PathBuf),
-    Custom(String),
+FileName in leo_span::source_map - Rust
pub enum FileName {
+    Real(PathBuf),
+    Custom(String),
 }
Expand description

A file name.

For now it’s simply a wrapper around PathBuf, but may become more complicated in the future.

-

Variants§

§

Real(PathBuf)

A real file.

-
§

Custom(String)

Any sort of description for a source.

-

Trait Implementations§

source§

impl Clone for FileName

source§

fn clone(&self) -> FileName

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Display for FileName

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Variants§

§

Real(PathBuf)

A real file.

+
§

Custom(String)

Any sort of description for a source.

+

Trait Implementations§

source§

impl Clone for FileName

source§

fn clone(&self) -> FileName

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Display for FileName

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_span/source_map/fn.analyze_source_file.html b/leo_span/source_map/fn.analyze_source_file.html index 3b32eeb273..76c15a3d53 100644 --- a/leo_span/source_map/fn.analyze_source_file.html +++ b/leo_span/source_map/fn.analyze_source_file.html @@ -1,7 +1,7 @@ -analyze_source_file in leo_span::source_map - Rust
fn analyze_source_file(
-    src: &str,
+analyze_source_file in leo_span::source_map - Rust
fn analyze_source_file(
+    src: &str,
     source_file_start_pos: BytePos
-) -> (Vec<BytePos>, Vec<MultiByteChar>)
Expand description

Finds all newlines, multi-byte characters, and non-narrow characters in a +) -> (Vec<BytePos>, Vec<MultiByteChar>)

Expand description

Finds all newlines, multi-byte characters, and non-narrow characters in a SourceFile.

This function will use an SSE2 enhanced implementation if hardware support is detected at runtime.

diff --git a/leo_span/source_map/fn.is_not_test_framework.html b/leo_span/source_map/fn.is_not_test_framework.html index f9ab716de1..35ee29675c 100644 --- a/leo_span/source_map/fn.is_not_test_framework.html +++ b/leo_span/source_map/fn.is_not_test_framework.html @@ -1,2 +1,2 @@ -is_not_test_framework in leo_span::source_map - Rust
pub fn is_not_test_framework() -> bool
Expand description

Is the env var LEO_TESTFRAMEWORK not enabled?

+is_not_test_framework in leo_span::source_map - Rust
pub fn is_not_test_framework() -> bool
Expand description

Is the env var LEO_TESTFRAMEWORK not enabled?

\ No newline at end of file diff --git a/leo_span/source_map/fn.normalize_newlines.html b/leo_span/source_map/fn.normalize_newlines.html index 2481560cf0..f8ce2f1be6 100644 --- a/leo_span/source_map/fn.normalize_newlines.html +++ b/leo_span/source_map/fn.normalize_newlines.html @@ -1,3 +1,3 @@ -normalize_newlines in leo_span::source_map - Rust
fn normalize_newlines(src: &mut String)
Expand description

Replaces \r\n with \n in-place in src.

+normalize_newlines in leo_span::source_map - Rust
fn normalize_newlines(src: &mut String)
Expand description

Replaces \r\n with \n in-place in src.

Returns error if there’s a lone \r in the string.

\ No newline at end of file diff --git a/leo_span/source_map/fn.normalize_src.html b/leo_span/source_map/fn.normalize_src.html index 6bb9c22e73..01f3079de3 100644 --- a/leo_span/source_map/fn.normalize_src.html +++ b/leo_span/source_map/fn.normalize_src.html @@ -1,2 +1,2 @@ -normalize_src in leo_span::source_map - Rust
fn normalize_src(src: &mut String)
Expand description

Normalizes the source code and records the normalizations.

+normalize_src in leo_span::source_map - Rust
fn normalize_src(src: &mut String)
Expand description

Normalizes the source code and records the normalizations.

\ No newline at end of file diff --git a/leo_span/source_map/fn.remove_bom.html b/leo_span/source_map/fn.remove_bom.html index 49fc7aecde..50829b76be 100644 --- a/leo_span/source_map/fn.remove_bom.html +++ b/leo_span/source_map/fn.remove_bom.html @@ -1,2 +1,2 @@ -remove_bom in leo_span::source_map - Rust
fn remove_bom(src: &mut String)
Expand description

Removes UTF-8 BOM, if any.

+remove_bom in leo_span::source_map - Rust
fn remove_bom(src: &mut String)
Expand description

Removes UTF-8 BOM, if any.

\ No newline at end of file diff --git a/leo_span/source_map/index.html b/leo_span/source_map/index.html index 57bf7d262e..7013447e01 100644 --- a/leo_span/source_map/index.html +++ b/leo_span/source_map/index.html @@ -1,4 +1,4 @@ -leo_span::source_map - Rust

Module leo_span::source_map

source ·

Structs

Fields§

§source_file: Rc<SourceFile>

Information on the original source.

+
§line: usize

The 1-based line number.

§col: CharPos

The (0-based) column offset into the line.

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_span/source_map/struct.MultiByteChar.html b/leo_span/source_map/struct.MultiByteChar.html index 4e0d6e3535..2ab766af65 100644 --- a/leo_span/source_map/struct.MultiByteChar.html +++ b/leo_span/source_map/struct.MultiByteChar.html @@ -1,22 +1,22 @@ -MultiByteChar in leo_span::source_map - Rust
struct MultiByteChar {
+MultiByteChar in leo_span::source_map - Rust
struct MultiByteChar {
     pub pos: BytePos,
-    pub bytes: u8,
+    pub bytes: u8,
 }
Expand description

Identifies an offset of a multi-byte character in a SourceFile.

Fields§

§pos: BytePos

The absolute offset of the character in the SourceMap.

-
§bytes: u8

The number of bytes, >= 2.

-

Trait Implementations§

source§

impl Clone for MultiByteChar

source§

fn clone(&self) -> MultiByteChar

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MultiByteChar

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<MultiByteChar> for MultiByteChar

source§

fn eq(&self, other: &MultiByteChar) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Copy for MultiByteChar

source§

impl Eq for MultiByteChar

source§

impl StructuralEq for MultiByteChar

source§

impl StructuralPartialEq for MultiByteChar

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+
§bytes: u8

The number of bytes, >= 2.

+

Trait Implementations§

source§

impl Clone for MultiByteChar

source§

fn clone(&self) -> MultiByteChar

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MultiByteChar

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for MultiByteChar

source§

fn eq(&self, other: &MultiByteChar) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Copy for MultiByteChar

source§

impl Eq for MultiByteChar

source§

impl StructuralEq for MultiByteChar

source§

impl StructuralPartialEq for MultiByteChar

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_span/source_map/struct.SourceFile.html b/leo_span/source_map/struct.SourceFile.html index 51ba11fbb6..95d69c4cfd 100644 --- a/leo_span/source_map/struct.SourceFile.html +++ b/leo_span/source_map/struct.SourceFile.html @@ -1,36 +1,36 @@ -SourceFile in leo_span::source_map - Rust
pub struct SourceFile {
+SourceFile in leo_span::source_map - Rust
pub struct SourceFile {
     pub name: FileName,
-    pub src: String,
+    pub src: String,
     pub start_pos: BytePos,
     pub end_pos: BytePos,
-    lines: Vec<BytePos>,
-    multibyte_chars: Vec<MultiByteChar>,
+    lines: Vec<BytePos>,
+    multibyte_chars: Vec<MultiByteChar>,
 }
Expand description

A single source in the SourceMap.

Fields§

§name: FileName

The name of the file that the source came from.

-
§src: String

The complete source code.

+
§src: String

The complete source code.

§start_pos: BytePos

The start position of this source in the SourceMap.

§end_pos: BytePos

The end position of this source in the SourceMap.

-
§lines: Vec<BytePos>

Locations of line beginnings in the source code.

-
§multibyte_chars: Vec<MultiByteChar>

Locations of multi-byte characters in the source code.

-

Implementations§

source§

impl SourceFile

source

fn new(name: FileName, src: String, start_pos: BytePos) -> Self

Creates a new SourceMap given the file name, +

§lines: Vec<BytePos>

Locations of line beginnings in the source code.

+
§multibyte_chars: Vec<MultiByteChar>

Locations of multi-byte characters in the source code.

+

Implementations§

source§

impl SourceFile

source

fn new(name: FileName, src: String, start_pos: BytePos) -> Self

Creates a new SourceMap given the file name, source contents, and the start_position.

This position is used for analysis purposes.

source

fn bytepos_to_file_charpos(&self, bpos: BytePos) -> CharPos

Converts an absolute BytePos to a CharPos relative to the SourceFile.

-
source

fn lookup_line(&self, pos: BytePos) -> Option<usize>

Finds the line containing the given position. The return value is the +

source

fn lookup_line(&self, pos: BytePos) -> Option<usize>

Finds the line containing the given position. The return value is the index into the lines array of this SourceFile, not the 1-based line number. If the source_file is empty or the position is located before the first line, None is returned.

-
source

fn lookup_file_pos(&self, pos: BytePos) -> (usize, CharPos)

Looks up the file’s (1-based) line number and (0-based CharPos) column offset, for a +

source

fn lookup_file_pos(&self, pos: BytePos) -> (usize, CharPos)

Looks up the file’s (1-based) line number and (0-based CharPos) column offset, for a given BytePos.

-
source

fn contents_of_span(&self, span: Span) -> String

Returns contents of a span assumed to be within the given file.

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+
source

fn contents_of_span(&self, span: Span) -> String

Returns contents of a span assumed to be within the given file.

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_span/source_map/struct.SourceMap.html b/leo_span/source_map/struct.SourceMap.html index 80922c9ee5..f57d81caf2 100644 --- a/leo_span/source_map/struct.SourceMap.html +++ b/leo_span/source_map/struct.SourceMap.html @@ -1,18 +1,18 @@ -SourceMap in leo_span::source_map - Rust
pub struct SourceMap {
-    inner: RefCell<SourceMapInner>,
+SourceMap in leo_span::source_map - Rust
pub struct SourceMap {
+    inner: RefCell<SourceMapInner>,
 }
Expand description

The source map containing all recorded sources, methods to register new ones, and methods to query about spans in relation to recorded sources.

-

Fields§

§inner: RefCell<SourceMapInner>

The actual source map data.

-

Implementations§

source§

impl SourceMap

source

pub fn load_file(&self, path: &Path) -> Result<Rc<SourceFile>>

Loads the given path and returns a SourceFile for it.

-
source

pub fn new_source(&self, source: &str, name: FileName) -> Rc<SourceFile>

Registers source under the given file name, returning a SourceFile back.

-
source

fn find_source_file_index(&self, pos: BytePos) -> Option<usize>

Find the index for the source file containing pos.

-
source

fn find_source_file(&self, pos: BytePos) -> Option<Rc<SourceFile>>

Find the source file containing pos.

-
source

fn find_line_col(&self, pos: BytePos) -> Option<LineCol>

Finds line column info about a given pos.

-
source

pub fn span_to_location(&self, sp: Span) -> Option<SpanLocation>

Retrives the location (source file, line, col) on the given span.

-
source

pub fn span_to_string(&self, span: Span) -> String

Returns a displayable representation of the span as a string.

-
source

pub fn contents_of_span(&self, span: Span) -> Option<String>

Returns the source contents that is spanned by span.

-
source

pub fn line_contents_of_span(&self, span: Span) -> Option<String>

Returns the source contents of the lines that span is within.

+

Fields§

§inner: RefCell<SourceMapInner>

The actual source map data.

+

Implementations§

source§

impl SourceMap

source

pub fn load_file(&self, path: &Path) -> Result<Rc<SourceFile>>

Loads the given path and returns a SourceFile for it.

+
source

pub fn new_source(&self, source: &str, name: FileName) -> Rc<SourceFile>

Registers source under the given file name, returning a SourceFile back.

+
source

fn find_source_file_index(&self, pos: BytePos) -> Option<usize>

Find the index for the source file containing pos.

+
source

fn find_source_file(&self, pos: BytePos) -> Option<Rc<SourceFile>>

Find the source file containing pos.

+
source

fn find_line_col(&self, pos: BytePos) -> Option<LineCol>

Finds line column info about a given pos.

+
source

pub fn span_to_location(&self, sp: Span) -> Option<SpanLocation>

Retrives the location (source file, line, col) on the given span.

+
source

pub fn span_to_string(&self, span: Span) -> String

Returns a displayable representation of the span as a string.

+
source

pub fn contents_of_span(&self, span: Span) -> Option<String>

Returns the source contents that is spanned by span.

+
source

pub fn line_contents_of_span(&self, span: Span) -> Option<String>

Returns the source contents of the lines that span is within.

That is, if the span refers to x = 4 in the source code:

// Line 1
@@ -21,14 +21,14 @@
 // Line 4
 

then the contents on lines 2 and 3 are returned.

-

Trait Implementations§

source§

impl Default for SourceMap

source§

fn default() -> SourceMap

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Default for SourceMap

source§

fn default() -> SourceMap

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_span/source_map/struct.SourceMapInner.html b/leo_span/source_map/struct.SourceMapInner.html index cd32ffa43b..11c7979504 100644 --- a/leo_span/source_map/struct.SourceMapInner.html +++ b/leo_span/source_map/struct.SourceMapInner.html @@ -1,21 +1,21 @@ -SourceMapInner in leo_span::source_map - Rust
struct SourceMapInner {
-    used_address_space: u32,
-    source_files: Vec<Rc<SourceFile>>,
+SourceMapInner in leo_span::source_map - Rust
struct SourceMapInner {
+    used_address_space: u32,
+    source_files: Vec<Rc<SourceFile>>,
 }
Expand description

Actual data of the source map. We use this setup for purposes of interior mutability.

-

Fields§

§used_address_space: u32

The address space below this value is currently used by the files in the source map.

-
§source_files: Vec<Rc<SourceFile>>

All the source files recorded thus far.

+

Fields§

§used_address_space: u32

The address space below this value is currently used by the files in the source map.

+
§source_files: Vec<Rc<SourceFile>>

All the source files recorded thus far.

The list is append-only with mappings from the start byte position for fast lookup from a Span to its SourceFile.

-

Implementations§

source§

impl SourceMapInner

source

fn try_allocate_address_space(&mut self, size: u32) -> Option<BytePos>

Attempt reserving address space for size number of bytes.

-

Trait Implementations§

source§

impl Default for SourceMapInner

source§

fn default() -> SourceMapInner

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Implementations§

source§

impl SourceMapInner

source

fn try_allocate_address_space(&mut self, size: u32) -> Option<BytePos>

Attempt reserving address space for size number of bytes.

+

Trait Implementations§

source§

impl Default for SourceMapInner

source§

fn default() -> SourceMapInner

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_span/source_map/struct.SpanLocation.html b/leo_span/source_map/struct.SpanLocation.html index a8dac88d16..252e9ce6cd 100644 --- a/leo_span/source_map/struct.SpanLocation.html +++ b/leo_span/source_map/struct.SpanLocation.html @@ -1,19 +1,19 @@ -SpanLocation in leo_span::source_map - Rust
pub struct SpanLocation {
-    pub source_file: Rc<SourceFile>,
-    pub line_start: usize,
-    pub line_stop: usize,
-    pub col_start: usize,
-    pub col_stop: usize,
+SpanLocation in leo_span::source_map - Rust
pub struct SpanLocation {
+    pub source_file: Rc<SourceFile>,
+    pub line_start: usize,
+    pub line_stop: usize,
+    pub col_start: usize,
+    pub col_stop: usize,
 }
Expand description

Detailed information on a Span.

-

Fields§

§source_file: Rc<SourceFile>§line_start: usize§line_stop: usize§col_start: usize§col_stop: usize

Implementations§

source§

impl SpanLocation

source

pub fn dummy() -> Self

Returns a dummy location.

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Fields§

§source_file: Rc<SourceFile>§line_start: usize§line_stop: usize§col_start: usize§col_stop: usize

Implementations§

source§

impl SpanLocation

source

pub fn dummy() -> Self

Returns a dummy location.

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_span/span/index.html b/leo_span/span/index.html index 48e188dee0..08b527167e 100644 --- a/leo_span/span/index.html +++ b/leo_span/span/index.html @@ -1,4 +1,4 @@ -leo_span::span - Rust

Module leo_span::span

source ·
Expand description

Defines the Span type used to track where code comes from.

+leo_span::span - Rust

Module leo_span::span

source ·
Expand description

Defines the Span type used to track where code comes from.

Macros

  • impl_pos 🔒
    Generate one-component tuple structs that implement the Pos trait.

Structs

  • A byte offset.
  • A character offset.
  • The span type which tracks where formatted errors originate from in a Leo file. This is used in many spots throughout the rest of the Leo crates.

Traits

  • Offsets (i.e. positions), in some units (e.g. bytes or characters), with conversions between unsigned integers.
\ No newline at end of file diff --git a/leo_span/span/macro.impl_pos.html b/leo_span/span/macro.impl_pos.html index 7166ee508d..1ec83d4c87 100644 --- a/leo_span/span/macro.impl_pos.html +++ b/leo_span/span/macro.impl_pos.html @@ -1,4 +1,4 @@ -impl_pos in leo_span::span - Rust

Macro leo_span::span::impl_pos

source ·
macro_rules! impl_pos {
+impl_pos in leo_span::span - Rust

Macro leo_span::span::impl_pos

source ·
macro_rules! impl_pos {
     (
         $(
             $(#[$attr:meta])*
diff --git a/leo_span/span/struct.BytePos.html b/leo_span/span/struct.BytePos.html
index 1f4f58bbf8..b05d8e18cc 100644
--- a/leo_span/span/struct.BytePos.html
+++ b/leo_span/span/struct.BytePos.html
@@ -1,27 +1,27 @@
-BytePos in leo_span::span - Rust

Struct leo_span::span::BytePos

source ·
pub struct BytePos(pub u32);
Expand description

A byte offset.

-

Tuple Fields§

§0: u32

Trait Implementations§

source§

impl Add<BytePos> for BytePos

§

type Output = BytePos

The resulting type after applying the + operator.
source§

fn add(self, rhs: BytePos) -> BytePos

Performs the + operation. Read more
source§

impl Clone for BytePos

source§

fn clone(&self) -> BytePos

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BytePos

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BytePos

source§

fn default() -> BytePos

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for BytePos

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for BytePos

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for BytePos

source§

fn cmp(&self, other: &BytePos) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<BytePos> for BytePos

source§

fn eq(&self, other: &BytePos) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<BytePos> for BytePos

source§

fn partial_cmp(&self, other: &BytePos) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Pos for BytePos

source§

impl Serialize for BytePos

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub<BytePos> for BytePos

§

type Output = BytePos

The resulting type after applying the - operator.
source§

fn sub(self, rhs: BytePos) -> BytePos

Performs the - operation. Read more
source§

impl Copy for BytePos

source§

impl Eq for BytePos

source§

impl StructuralEq for BytePos

source§

impl StructuralPartialEq for BytePos

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+BytePos in leo_span::span - Rust

Struct leo_span::span::BytePos

source ·
pub struct BytePos(pub u32);
Expand description

A byte offset.

+

Tuple Fields§

§0: u32

Trait Implementations§

source§

impl Add for BytePos

§

type Output = BytePos

The resulting type after applying the + operator.
source§

fn add(self, rhs: BytePos) -> BytePos

Performs the + operation. Read more
source§

impl Clone for BytePos

source§

fn clone(&self) -> BytePos

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BytePos

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BytePos

source§

fn default() -> BytePos

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for BytePos

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for BytePos

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for BytePos

source§

fn cmp(&self, other: &BytePos) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for BytePos

source§

fn eq(&self, other: &BytePos) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for BytePos

source§

fn partial_cmp(&self, other: &BytePos) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Pos for BytePos

source§

impl Serialize for BytePos

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Sub for BytePos

§

type Output = BytePos

The resulting type after applying the - operator.
source§

fn sub(self, rhs: BytePos) -> BytePos

Performs the - operation. Read more
source§

impl Copy for BytePos

source§

impl Eq for BytePos

source§

impl StructuralEq for BytePos

source§

impl StructuralPartialEq for BytePos

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_span/span/struct.CharPos.html b/leo_span/span/struct.CharPos.html index dc83804730..899c515b65 100644 --- a/leo_span/span/struct.CharPos.html +++ b/leo_span/span/struct.CharPos.html @@ -1,25 +1,25 @@ -CharPos in leo_span::span - Rust

Struct leo_span::span::CharPos

source ·
pub struct CharPos(pub usize);
Expand description

A character offset.

+CharPos in leo_span::span - Rust

Struct leo_span::span::CharPos

source ·
pub struct CharPos(pub usize);
Expand description

A character offset.

Because of multibyte UTF-8 characters, a byte offset is not equivalent to a character offset. The [SourceMap] will convert BytePos values to CharPos values as necessary.

-

Tuple Fields§

§0: usize

Trait Implementations§

source§

impl Add<CharPos> for CharPos

§

type Output = CharPos

The resulting type after applying the + operator.
source§

fn add(self, rhs: CharPos) -> CharPos

Performs the + operation. Read more
source§

impl Clone for CharPos

source§

fn clone(&self) -> CharPos

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CharPos

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Ord for CharPos

source§

fn cmp(&self, other: &CharPos) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<CharPos> for CharPos

source§

fn eq(&self, other: &CharPos) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CharPos> for CharPos

source§

fn partial_cmp(&self, other: &CharPos) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Pos for CharPos

source§

impl Sub<CharPos> for CharPos

§

type Output = CharPos

The resulting type after applying the - operator.
source§

fn sub(self, rhs: CharPos) -> CharPos

Performs the - operation. Read more
source§

impl Copy for CharPos

source§

impl Eq for CharPos

source§

impl StructuralEq for CharPos

source§

impl StructuralPartialEq for CharPos

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Tuple Fields§

§0: usize

Trait Implementations§

source§

impl Add for CharPos

§

type Output = CharPos

The resulting type after applying the + operator.
source§

fn add(self, rhs: CharPos) -> CharPos

Performs the + operation. Read more
source§

impl Clone for CharPos

source§

fn clone(&self) -> CharPos

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CharPos

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Ord for CharPos

source§

fn cmp(&self, other: &CharPos) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for CharPos

source§

fn eq(&self, other: &CharPos) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for CharPos

source§

fn partial_cmp(&self, other: &CharPos) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Pos for CharPos

source§

impl Sub for CharPos

§

type Output = CharPos

The resulting type after applying the - operator.
source§

fn sub(self, rhs: CharPos) -> CharPos

Performs the - operation. Read more
source§

impl Copy for CharPos

source§

impl Eq for CharPos

source§

impl StructuralEq for CharPos

source§

impl StructuralPartialEq for CharPos

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_span/span/struct.Span.html b/leo_span/span/struct.Span.html index 4b6bf71c2e..1c37429d8b 100644 --- a/leo_span/span/struct.Span.html +++ b/leo_span/span/struct.Span.html @@ -1,4 +1,4 @@ -Span in leo_span::span - Rust

Struct leo_span::span::Span

source ·
pub struct Span {
+Span in leo_span::span - Rust

Struct leo_span::span::Span

source ·
pub struct Span {
     pub lo: BytePos,
     pub hi: BytePos,
 }
Expand description

The span type which tracks where formatted errors originate from in a Leo file. @@ -9,29 +9,29 @@

Implementations§

source§

impl Span

source

pub fn new(start: BytePos, end: BytePos) -> Self

Generate a new span from the starting and ending positions.

source

pub const fn dummy() -> Self

Generates a dummy span with all defaults. Should only be used in temporary situations.

-
source

pub fn is_dummy(&self) -> bool

Is the span a dummy?

-

Trait Implementations§

source§

impl Add<&Span> for &Span

source§

fn add(self, other: &Span) -> Span

Add two spans (by reference) together.

-
§

type Output = Span

The resulting type after applying the + operator.
source§

impl Add<Span> for Span

source§

fn add(self, other: Self) -> Self

Add two spans together. +

source

pub fn is_dummy(&self) -> bool

Is the span a dummy?

+

Trait Implementations§

source§

impl Add for &Span

source§

fn add(self, other: &Span) -> Span

Add two spans (by reference) together.

+
§

type Output = Span

The resulting type after applying the + operator.
source§

impl Add for Span

source§

fn add(self, other: Self) -> Self

Add two spans together. The resulting span is the smallest span that includes both.

-
§

type Output = Span

The resulting type after applying the + operator.
source§

impl Clone for Span

source§

fn clone(&self) -> Span

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Span

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Span

source§

fn default() -> Span

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Span

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Span

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for Span

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<Span> for Span

source§

fn eq(&self, other: &Span) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Span

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Span

source§

impl Eq for Span

source§

impl StructuralEq for Span

source§

impl StructuralPartialEq for Span

Auto Trait Implementations§

§

impl RefUnwindSafe for Span

§

impl Send for Span

§

impl Sync for Span

§

impl Unpin for Span

§

impl UnwindSafe for Span

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+
§

type Output = Span

The resulting type after applying the + operator.
source§

impl Clone for Span

source§

fn clone(&self) -> Span

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Span

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Span

source§

fn default() -> Span

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Span

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Span

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for Span

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Span

source§

fn eq(&self, other: &Span) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Span

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Span

source§

impl Eq for Span

source§

impl StructuralEq for Span

source§

impl StructuralPartialEq for Span

Auto Trait Implementations§

§

impl RefUnwindSafe for Span

§

impl Send for Span

§

impl Sync for Span

§

impl Unpin for Span

§

impl UnwindSafe for Span

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_span/span/trait.Pos.html b/leo_span/span/trait.Pos.html index 2174c53dcb..20a84b4e44 100644 --- a/leo_span/span/trait.Pos.html +++ b/leo_span/span/trait.Pos.html @@ -1,9 +1,9 @@ -Pos in leo_span::span - Rust

Trait leo_span::span::Pos

source ·
pub trait Pos {
+Pos in leo_span::span - Rust

Trait leo_span::span::Pos

source ·
pub trait Pos {
     // Required methods
-    fn from_usize(n: usize) -> Self;
-    fn to_usize(&self) -> usize;
-    fn from_u32(n: u32) -> Self;
-    fn to_u32(&self) -> u32;
+    fn from_usize(n: usize) -> Self;
+    fn to_usize(&self) -> usize;
+    fn from_u32(n: u32) -> Self;
+    fn to_u32(&self) -> u32;
 }
Expand description

Offsets (i.e. positions), in some units (e.g. bytes or characters), with conversions between unsigned integers.

-

Required Methods§

source

fn from_usize(n: usize) -> Self

source

fn to_usize(&self) -> usize

source

fn from_u32(n: u32) -> Self

source

fn to_u32(&self) -> u32

Implementors§

\ No newline at end of file +

Required Methods§

source

fn from_usize(n: usize) -> Self

source

fn to_usize(&self) -> usize

source

fn from_u32(n: u32) -> Self

source

fn to_u32(&self) -> u32

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/leo_span/span_json/fn.deserialize.html b/leo_span/span_json/fn.deserialize.html index 710518614e..afb3795d5f 100644 --- a/leo_span/span_json/fn.deserialize.html +++ b/leo_span/span_json/fn.deserialize.html @@ -1,4 +1,4 @@ -deserialize in leo_span::span_json - Rust
pub fn deserialize<'de, D: Deserializer<'de>>(
+deserialize in leo_span::span_json - Rust
pub fn deserialize<'de, D: Deserializer<'de>>(
     deserializer: D
-) -> Result<Span, D::Error>
Expand description

Custom deserialization to enable removing spans from enums.

+) -> Result<Span, D::Error>
Expand description

Custom deserialization to enable removing spans from enums.

\ No newline at end of file diff --git a/leo_span/span_json/fn.serialize.html b/leo_span/span_json/fn.serialize.html index ec4d3af2b5..89186908c8 100644 --- a/leo_span/span_json/fn.serialize.html +++ b/leo_span/span_json/fn.serialize.html @@ -1,7 +1,7 @@ -serialize in leo_span::span_json - Rust

Function leo_span::span_json::serialize

source ·
pub fn serialize<S: Serializer>(
+serialize in leo_span::span_json - Rust

Function leo_span::span_json::serialize

source ·
pub fn serialize<S: Serializer>(
     span: &Span,
     serializer: S
-) -> Result<S::Ok, S::Error>
Expand description

The AST contains a few tuple-like enum variants that contain spans. +) -> Result<S::Ok, S::Error>

Expand description

The AST contains a few tuple-like enum variants that contain spans. #[derive(Serialize, Deserialize)] outputs these fields as anonmyous mappings, which makes them difficult to remove from the JSON AST. This function provides a custom serialization that maps the keyword diff --git a/leo_span/span_json/index.html b/leo_span/span_json/index.html index eef4ca8988..751adca7b2 100644 --- a/leo_span/span_json/index.html +++ b/leo_span/span_json/index.html @@ -1,4 +1,4 @@ -leo_span::span_json - Rust

Module leo_span::span_json

source ·
Expand description

Provides custom serialize/deserialize implementations for Span.

+leo_span::span_json - Rust

Module leo_span::span_json

source ·
Expand description

Provides custom serialize/deserialize implementations for Span.

Structs

  • This visitor is used by the deserializer to unwrap mappings and extract span information.

Functions

source§

fn visit_bytes<E>(self, v: &[u8]) -> Result<Self::Value, E>where E: Error,

The input contains a byte array. The lifetime of the byte array is -ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_borrowed_bytes<E>(self, v: &'de [u8]) -> Result<Self::Value, E>where +ephemeral and it may be destroyed after this method returns. Read more

source§

fn visit_borrowed_bytes<E>(self, v: &'de [u8]) -> Result<Self::Value, E>where E: Error,

The input contains a byte array that lives at least as long as the -Deserializer. Read more
source§

fn visit_byte_buf<E>(self, v: Vec<u8, Global>) -> Result<Self::Value, E>where +Deserializer. Read more

source§

fn visit_byte_buf<E>(self, v: Vec<u8>) -> Result<Self::Value, E>where E: Error,

The input contains a byte array and ownership of the byte array is being -given to the Visitor. Read more
source§

fn visit_none<E>(self) -> Result<Self::Value, E>where +given to the Visitor. Read more

source§

fn visit_none<E>(self) -> Result<Self::Value, E>where E: Error,

The input contains an optional that is absent. Read more
source§

fn visit_some<D>( self, deserializer: D -) -> Result<Self::Value, <D as Deserializer<'de>>::Error>where - D: Deserializer<'de>,

The input contains an optional that is present. Read more
source§

fn visit_unit<E>(self) -> Result<Self::Value, E>where +) -> Result<Self::Value, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

The input contains an optional that is present. Read more
source§

fn visit_unit<E>(self) -> Result<Self::Value, E>where E: Error,

The input contains a unit (). Read more
source§

fn visit_newtype_struct<D>( self, deserializer: D -) -> Result<Self::Value, <D as Deserializer<'de>>::Error>where +) -> Result<Self::Value, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

The input contains a newtype struct. Read more
source§

fn visit_seq<A>( self, seq: A -) -> Result<Self::Value, <A as SeqAccess<'de>>::Error>where +) -> Result<Self::Value, <A as SeqAccess<'de>>::Error>where A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_enum<A>( self, data: A -) -> Result<Self::Value, <A as EnumAccess<'de>>::Error>where - A: EnumAccess<'de>,

The input contains an enum. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<'de, T> Expected for Twhere - T: Visitor<'de>,

source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>

Format an explanation of what data was being expected. Same signature as -the Display and Debug traits.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+) -> Result<Self::Value, <A as EnumAccess<'de>>::Error>where + A: EnumAccess<'de>,
The input contains an enum. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<'de, T> Expected for Twhere + T: Visitor<'de>,

source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>

Format an explanation of what data was being expected. Same signature as +the Display and Debug traits.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_span/symbol/constant.PRE_DEFINED.html b/leo_span/symbol/constant.PRE_DEFINED.html index 0b26fcc05a..268913976d 100644 --- a/leo_span/symbol/constant.PRE_DEFINED.html +++ b/leo_span/symbol/constant.PRE_DEFINED.html @@ -1 +1 @@ -PRE_DEFINED in leo_span::symbol - Rust

Constant leo_span::symbol::PRE_DEFINED

source ·
const PRE_DEFINED: &[&str];
\ No newline at end of file +PRE_DEFINED in leo_span::symbol - Rust

Constant leo_span::symbol::PRE_DEFINED

source ·
const PRE_DEFINED: &[&str];
\ No newline at end of file diff --git a/leo_span/symbol/enum.InternedStr.html b/leo_span/symbol/enum.InternedStr.html index 2e38eb8362..20bd64cb74 100644 --- a/leo_span/symbol/enum.InternedStr.html +++ b/leo_span/symbol/enum.InternedStr.html @@ -1,13 +1,13 @@ -InternedStr in leo_span::symbol - Rust
enum InternedStr {
-    Static(&'static str),
-    Owned(Box<str>),
+InternedStr in leo_span::symbol - Rust
enum InternedStr {
+    Static(&'static str),
+    Owned(Box<str>),
 }
Expand description

An interned string, either prefilled “at compile time” (Static), or created at runtime (Owned).

-

Variants§

§

Static(&'static str)

String is stored “at compile time”, i.e. prefilled.

-
§

Owned(Box<str>)

String is constructed and stored during runtime.

-

Methods from Deref<Target = str>§

1.0.0 · source

pub fn len(&self) -> usize

Returns the length of self.

-

This length is in bytes, not chars or graphemes. In other words, +

Variants§

§

Static(&'static str)

String is stored “at compile time”, i.e. prefilled.

+
§

Owned(Box<str>)

String is constructed and stored during runtime.

+

Methods from Deref<Target = str>§

1.0.0 · source

pub fn len(&self) -> usize

Returns the length of self.

+

This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

Examples
let len = "foo".len();
@@ -15,14 +15,14 @@ 
Examples
assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
-
1.0.0 · source

pub fn is_empty(&self) -> bool

Returns true if self has a length of zero bytes.

+
1.0.0 · source

pub fn is_empty(&self) -> bool

Returns true if self has a length of zero bytes.

Examples
let s = "";
 assert!(s.is_empty());
 
 let s = "not empty";
 assert!(!s.is_empty());
-
1.9.0 · source

pub fn is_char_boundary(&self, index: usize) -> bool

Checks that index-th byte is the first byte in a UTF-8 code point +

1.9.0 · source

pub fn is_char_boundary(&self, index: usize) -> bool

Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

The start and end of the string (when index == self.len()) are considered to be boundaries.

@@ -39,7 +39,7 @@
Examples
// third byte of `老` assert!(!s.is_char_boundary(8));
-
source

pub fn floor_char_boundary(&self, index: usize) -> usize

🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not exceeding index where is_char_boundary(x) is true.

+
source

pub fn floor_char_boundary(&self, index: usize) -> usize

🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not exceeding index where is_char_boundary(x) is true.

This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -54,9 +54,9 @@

Examples
let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
-
source

pub fn ceil_char_boundary(&self, index: usize) -> usize

🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not below index where is_char_boundary(x) is true.

+
source

pub fn ceil_char_boundary(&self, index: usize) -> usize

🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not below index where is_char_boundary(x) is true.

If index is greater than the length of the string, this returns the length of the string.

-

This method is the natural complement to floor_char_boundary. See that method +

This method is the natural complement to floor_char_boundary. See that method for more details.

Examples
#![feature(round_char_boundary)]
@@ -67,24 +67,24 @@ 
Examples
let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
-
1.0.0 · source

pub fn as_bytes(&self) -> &[u8]

Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

+
1.0.0 · source

pub fn as_bytes(&self) -> &[u8]

Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

Examples
let bytes = "bors".as_bytes();
 assert_eq!(b"bors", bytes);
-
1.0.0 · source

pub fn as_ptr(&self) -> *const u8

Converts a string slice to a raw pointer.

+
1.0.0 · source

pub fn as_ptr(&self) -> *const u8

Converts a string slice to a raw pointer.

As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

+If you need to mutate the contents of the string slice, use as_mut_ptr.

Examples
let s = "Hello";
 let ptr = s.as_ptr();
-
1.20.0 · source

pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

Returns a subslice of str.

+
1.20.0 · source

pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

Returns a subslice of str.

This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

+None whenever equivalent indexing operation would panic.

Examples
let v = String::from("🗻∈🌏");
 
@@ -96,8 +96,8 @@ 
Examples
// out of bounds assert!(v.get(..42).is_none());
-
1.20.0 · source

pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

Returns an unchecked subslice of str.

+
1.20.0 · source

pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

Returns an unchecked subslice of str.

This is the unchecked alternative to indexing the str.

Safety

Callers of this function are responsible that these preconditions are @@ -116,14 +116,14 @@

Examples
assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
-
1.0.0 · source

pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

Creates a string slice from another string slice, bypassing safety +

1.0.0 · source

pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

Creates a string slice from another string slice, bypassing safety checks.

This is generally not recommended, use with caution! For a safe -alternative see str and Index.

+alternative see str and Index.

This new slice goes from begin to end, including begin but excluding end.

To get a mutable string slice instead, see the -slice_mut_unchecked method.

+slice_mut_unchecked method.

Safety

Callers of this function are responsible that three preconditions are satisfied:

@@ -144,12 +144,12 @@
Examples
unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
-
1.4.0 · source

pub fn split_at(&self, mid: usize) -> (&str, &str)

Divide one string slice into two at an index.

+
1.4.0 · source

pub fn split_at(&self, mid: usize) -> (&str, &str)

Divide one string slice into two at an index.

The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

-

To get mutable string slices instead, see the split_at_mut +

To get mutable string slices instead, see the split_at_mut method.

Panics

Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -161,10 +161,10 @@

Examples
assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
-
1.0.0 · source

pub fn chars(&self) -> Chars<'_>

Returns an iterator over the chars of a string slice.

+
1.0.0 · source

pub fn chars(&self) -> Chars<'_>

Returns an iterator over the chars of a string slice.

As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

-

It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

+

It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

@@ -187,7 +187,7 @@
Examples
assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
-

Remember, chars might not match your intuition about characters:

+

Remember, chars might not match your intuition about characters:

let y = "y̆";
 
@@ -197,12 +197,12 @@ 
Examples
assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
-
1.0.0 · source

pub fn char_indices(&self) -> CharIndices<'_>

Returns an iterator over the chars of a string slice, and their +

1.0.0 · source

pub fn char_indices(&self) -> CharIndices<'_>

Returns an iterator over the chars of a string slice, and their positions.

As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

-

The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

+

The iterator yields tuples. The position is first, the char is second.

Examples

Basic usage:

@@ -223,7 +223,7 @@
Examples
assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
-

Remember, chars might not match your intuition about characters:

+

Remember, chars might not match your intuition about characters:

let yes = "y̆es";
 
@@ -232,12 +232,12 @@ 
Examples
assert_eq!(Some((0, 'y')), char_indices.next()); // not (0, 'y̆') assert_eq!(Some((1, '\u{0306}')), char_indices.next()); -// note the 3 here - the last character took up two bytes +// note the 3 here - the previous character took up two bytes assert_eq!(Some((3, 'e')), char_indices.next()); assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
-
1.0.0 · source

pub fn bytes(&self) -> Bytes<'_>

An iterator over the bytes of a string slice.

+
1.0.0 · source

pub fn bytes(&self) -> Bytes<'_>

An iterator over the bytes of a string slice.

As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

Examples
@@ -249,12 +249,12 @@
Examples
assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
-
1.1.0 · source

pub fn split_whitespace(&self) -> SplitWhitespace<'_>

Splits a string slice by whitespace.

+
1.1.0 · source

pub fn split_whitespace(&self) -> SplitWhitespace<'_>

Splits a string slice by whitespace.

The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

+instead, use split_ascii_whitespace.

Examples

Basic usage:

@@ -279,10 +279,10 @@
Examples
assert_eq!("".split_whitespace().next(), None);
 assert_eq!("   ".split_whitespace().next(), None);
-
1.34.0 · source

pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

Splits a string slice by ASCII whitespace.

+
1.34.0 · source

pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

Splits a string slice by ASCII whitespace.

The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

-

To split by Unicode Whitespace instead, use split_whitespace.

+

To split by Unicode Whitespace instead, use split_whitespace.

Examples

Basic usage:

@@ -307,7 +307,7 @@
Examples
assert_eq!("".split_ascii_whitespace().next(), None);
 assert_eq!("   ".split_ascii_whitespace().next(), None);
-
1.0.0 · source

pub fn lines(&self) -> Lines<'_>

An iterator over the lines of a string, as string slices.

+
1.0.0 · source

pub fn lines(&self) -> Lines<'_>

An iterator over the lines of a string, as string slices.

Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

Line terminators are not included in the lines returned by the iterator.

@@ -341,8 +341,8 @@
Examples
assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
-
1.0.0 · source

pub fn lines_any(&self) -> LinesAny<'_>

👎Deprecated since 1.4.0: use lines() instead now

An iterator over the lines of a string.

-
1.8.0 · source

pub fn encode_utf16(&self) -> EncodeUtf16<'_>

Returns an iterator of u16 over the string encoded as UTF-16.

+
1.0.0 · source

pub fn lines_any(&self) -> LinesAny<'_>

👎Deprecated since 1.4.0: use lines() instead now

An iterator over the lines of a string.

+
1.8.0 · source

pub fn encode_utf16(&self) -> EncodeUtf16<'_>

Returns an iterator of u16 over the string encoded as UTF-16.

Examples
let text = "Zażółć gęślą jaźń";
 
@@ -350,45 +350,45 @@ 
Examples
let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
-
1.0.0 · source

pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

Returns true if the given pattern matches a sub-slice of +

1.0.0 · source

pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

Returns true if the given pattern matches a sub-slice of this string slice.

Returns false if it does not.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Examples
let bananas = "bananas";
 
 assert!(bananas.contains("nana"));
 assert!(!bananas.contains("apples"));
-
1.0.0 · source

pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

Returns true if the given pattern matches a prefix of this +

1.0.0 · source

pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

Returns true if the given pattern matches a prefix of this string slice.

Returns false if it does not.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Examples
let bananas = "bananas";
 
 assert!(bananas.starts_with("bana"));
 assert!(!bananas.starts_with("nana"));
-
1.0.0 · source

pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

Returns true if the given pattern matches a suffix of this +

1.0.0 · source

pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

Returns true if the given pattern matches a suffix of this string slice.

Returns false if it does not.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Examples
let bananas = "bananas";
 
 assert!(bananas.ends_with("anas"));
 assert!(!bananas.ends_with("nana"));
-
1.0.0 · source

pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

Returns the byte index of the first character of this string slice that +

1.0.0 · source

pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

Returns the byte index of the first character of this string slice that matches the pattern.

-

Returns None if the pattern doesn’t match.

-

The pattern can be a &str, char, a slice of chars, or a +

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Examples

Simple patterns:

@@ -412,12 +412,12 @@
Examples
let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
-
1.0.0 · source

pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

Returns the byte index for the first character of the last match of the pattern in +

1.0.0 · source

pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

Returns the byte index for the first character of the last match of the pattern in this string slice.

-

Returns None if the pattern doesn’t match.

-

The pattern can be a &str, char, a slice of chars, or a +

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Examples

Simple patterns:

@@ -439,17 +439,17 @@
Examples
let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
-
1.0.0 · source

pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

An iterator over substrings of this string slice, separated by +

1.0.0 · source

pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

An iterator over substrings of this string slice, separated by characters matched by a pattern.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Iterator behavior
-

The returned iterator will be a DoubleEndedIterator if the pattern +

The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

+elements. This is true for, e.g., char, but not for &str.

If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

+from a forward search, the rsplit method can be used.

Examples

Simple patterns:

@@ -512,13 +512,13 @@
Examples

It does not give you:

assert_eq!(d, &["a", "b", "c"]);
-

Use split_whitespace for this behavior.

-
1.51.0 · source

pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

An iterator over substrings of this string slice, separated by +

Use split_whitespace for this behavior.

+
1.51.0 · source

pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Examples
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
@@ -531,17 +531,17 @@ 
Examples
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
     .split_inclusive('\n').collect();
 assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
-
1.0.0 · source

pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

An iterator over substrings of the given string slice, separated by +

1.0.0 · source

pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Iterator behavior

The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

-

For iterating from the front, the split method can be used.

+

For iterating from the front, the split method can be used.

Examples

Simple patterns:

@@ -560,21 +560,21 @@
Examples
let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
 assert_eq!(v, ["ghi", "def", "abc"]);
-
1.0.0 · source

pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

An iterator over substrings of the given string slice, separated by +

1.0.0 · source

pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

An iterator over substrings of the given string slice, separated by characters matched by a pattern.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

-

Equivalent to split, except that the trailing substring +

Equivalent to split, except that the trailing substring is skipped if empty.

This method can be used for string data that is terminated, rather than separated by a pattern.

Iterator behavior
-

The returned iterator will be a DoubleEndedIterator if the pattern +

The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

+elements. This is true for, e.g., char, but not for &str.

If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

+from a forward search, the rsplit_terminator method can be used.

Examples
let v: Vec<&str> = "A.B.".split_terminator('.').collect();
 assert_eq!(v, ["A", "B"]);
@@ -584,13 +584,13 @@ 
Examples
let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["A", "B", "C", "D"]);
-
1.0.0 · source

pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

An iterator over substrings of self, separated by characters +

1.0.0 · source

pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

-

Equivalent to split, except that the trailing substring is +

Equivalent to split, except that the trailing substring is skipped if empty.

This method can be used for string data that is terminated, rather than separated by a pattern.

@@ -598,7 +598,7 @@
Iterator behaviorThe returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

-

For iterating from the front, the split_terminator method can be +

For iterating from the front, the split_terminator method can be used.

Examples
let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
@@ -609,17 +609,17 @@ 
Examples
let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
-
1.0.0 · source

pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

An iterator over substrings of the given string slice, separated by a +

1.0.0 · source

pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Iterator behavior

The returned iterator will not be double ended, because it is not efficient to support.

-

If the pattern allows a reverse search, the rsplitn method can be +

If the pattern allows a reverse search, the rsplitn method can be used.

Examples

Simple patterns:

@@ -639,19 +639,19 @@
Examples
let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
 assert_eq!(v, ["abc", "defXghi"]);
-
1.0.0 · source

pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

An iterator over substrings of this string slice, separated by a +

1.0.0 · source

pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Iterator behavior

The returned iterator will not be double ended, because it is not efficient to support.

-

For splitting from the front, the splitn method can be used.

+

For splitting from the front, the splitn method can be used.

Examples

Simple patterns:

@@ -667,69 +667,69 @@
Examples
let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
 assert_eq!(v, ["ghi", "abc1def"]);
-
1.52.0 · source

pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

Splits the string on the first occurrence of the specified delimiter and +

1.52.0 · source

pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

Examples
assert_eq!("cfg".split_once('='), None);
 assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
 assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
 assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
-
1.52.0 · source

pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

Splits the string on the last occurrence of the specified delimiter and +

1.52.0 · source

pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

Examples
assert_eq!("cfg".rsplit_once('='), None);
 assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
 assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
-
1.2.0 · source

pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

An iterator over the disjoint matches of a pattern within the given string +

1.2.0 · source

pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

An iterator over the disjoint matches of a pattern within the given string slice.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Iterator behavior
-

The returned iterator will be a DoubleEndedIterator if the pattern +

The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

+elements. This is true for, e.g., char, but not for &str.

If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

+from a forward search, the rmatches method can be used.

Examples
let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
 assert_eq!(v, ["abc", "abc", "abc"]);
 
 let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
 assert_eq!(v, ["1", "2", "3"]);
-
1.2.0 · source

pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

An iterator over the disjoint matches of a pattern within this string slice, +

1.2.0 · source

pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Iterator behavior

The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

-

For iterating from the front, the matches method can be used.

+

For iterating from the front, the matches method can be used.

Examples
let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
 assert_eq!(v, ["abc", "abc", "abc"]);
 
 let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
 assert_eq!(v, ["3", "2", "1"]);
-
1.5.0 · source

pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

An iterator over the disjoint matches of a pattern within this string +

1.5.0 · source

pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Iterator behavior
-

The returned iterator will be a DoubleEndedIterator if the pattern +

The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

+elements. This is true for, e.g., char, but not for &str.

If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

+from a forward search, the rmatch_indices method can be used.

Examples
let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
 assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
@@ -739,19 +739,19 @@ 
Examples
let v: Vec<_> = "ababa".match_indices("aba").collect(); assert_eq!(v, [(0, "aba")]); // only the first `aba`
-
1.5.0 · source

pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

An iterator over the disjoint matches of a pattern within self, +

1.5.0 · source

pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Iterator behavior

The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

-

For iterating from the front, the match_indices method can be used.

+

For iterating from the front, the match_indices method can be used.

Examples
let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
 assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
@@ -761,14 +761,14 @@ 
Examples
let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
-
1.0.0 · source

pub fn trim(&self) -> &str

Returns a string slice with leading and trailing whitespace removed.

+
1.0.0 · source

pub fn trim(&self) -> &str

Returns a string slice with leading and trailing whitespace removed.

‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

Examples
let s = "\n Hello\tworld\t\n";
 
 assert_eq!("Hello\tworld", s.trim());
-
1.30.0 · source

pub fn trim_start(&self) -> &str

Returns a string slice with leading whitespace removed.

+
1.30.0 · source

pub fn trim_start(&self) -> &str

Returns a string slice with leading whitespace removed.

‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

Text directionality
@@ -788,7 +788,7 @@
Examples
let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
-
1.30.0 · source

pub fn trim_end(&self) -> &str

Returns a string slice with trailing whitespace removed.

+
1.30.0 · source

pub fn trim_end(&self) -> &str

Returns a string slice with trailing whitespace removed.

‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

Text directionality
@@ -808,7 +808,7 @@
Examples
let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
-
1.0.0 · source

pub fn trim_left(&self) -> &str

👎Deprecated since 1.33.0: superseded by trim_start

Returns a string slice with leading whitespace removed.

+
1.0.0 · source

pub fn trim_left(&self) -> &str

👎Deprecated since 1.33.0: superseded by trim_start

Returns a string slice with leading whitespace removed.

‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

Text directionality
@@ -829,7 +829,7 @@
Examples
let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
-
1.0.0 · source

pub fn trim_right(&self) -> &str

👎Deprecated since 1.33.0: superseded by trim_end

Returns a string slice with trailing whitespace removed.

+
1.0.0 · source

pub fn trim_right(&self) -> &str

👎Deprecated since 1.33.0: superseded by trim_end

Returns a string slice with trailing whitespace removed.

‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

Text directionality
@@ -850,11 +850,11 @@
Examples
let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
-
1.0.0 · source

pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

Returns a string slice with all prefixes and suffixes that match a +

1.0.0 · source

pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

-

The pattern can be a char, a slice of chars, or a function +

The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

Examples

Simple patterns:

@@ -867,10 +867,10 @@
Examples

A more complex pattern, using a closure:

assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
-
1.30.0 · source

pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

Returns a string slice with all prefixes that match a pattern +

1.30.0 · source

pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

Returns a string slice with all prefixes that match a pattern repeatedly removed.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Text directionality

A string is a sequence of bytes. start in this context means the first @@ -883,34 +883,34 @@

Examples
let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
-
1.45.0 · source

pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

Returns a string slice with the prefix removed.

+
1.45.0 · source

pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

Returns a string slice with the prefix removed.

If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

If the string does not start with prefix, returns None.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Examples
assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
 assert_eq!("foo:bar".strip_prefix("bar"), None);
 assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
-
1.45.0 · source

pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

Returns a string slice with the suffix removed.

+
1.45.0 · source

pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

Returns a string slice with the suffix removed.

If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

If the string does not end with suffix, returns None.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Examples
assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
 assert_eq!("bar:foo".strip_suffix("bar"), None);
 assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
-
1.30.0 · source

pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

Returns a string slice with all suffixes that match a pattern +

1.30.0 · source

pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

Returns a string slice with all suffixes that match a pattern repeatedly removed.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Text directionality

A string is a sequence of bytes. end in this context means the last @@ -928,10 +928,10 @@

Examples

A more complex pattern, using a closure:

assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
-
1.0.0 · source

pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

👎Deprecated since 1.33.0: superseded by trim_start_matches

Returns a string slice with all prefixes that match a pattern +

1.0.0 · source

pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

👎Deprecated since 1.33.0: superseded by trim_start_matches

Returns a string slice with all prefixes that match a pattern repeatedly removed.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Text directionality

A string is a sequence of bytes. ‘Left’ in this context means the first @@ -944,11 +944,11 @@

Examples
let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
-
1.0.0 · source

pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

👎Deprecated since 1.33.0: superseded by trim_end_matches

Returns a string slice with all suffixes that match a pattern +

1.0.0 · source

pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

👎Deprecated since 1.33.0: superseded by trim_end_matches

Returns a string slice with all suffixes that match a pattern repeatedly removed.

-

The pattern can be a &str, char, a slice of chars, or a +

The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

Text directionality

A string is a sequence of bytes. ‘Right’ in this context means the last @@ -966,16 +966,16 @@

Examples

A more complex pattern, using a closure:

assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
-
1.0.0 · source

pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

Parses this string slice into another type.

+
1.0.0 · source

pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

Parses this string slice into another type.

Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

-

parse can parse into any type that implements the FromStr trait.

+

parse can parse into any type that implements the FromStr trait.

Errors
-

Will return Err if it’s not possible to parse this string slice into +

Will return Err if it’s not possible to parse this string slice into the desired type.

Examples

Basic usage

@@ -993,23 +993,23 @@
Examples
let nope = "j".parse::<u32>();
 
 assert!(nope.is_err());
-
1.23.0 · source

pub fn is_ascii(&self) -> bool

Checks if all characters in this string are within the ASCII range.

+
1.23.0 · source

pub fn is_ascii(&self) -> bool

Checks if all characters in this string are within the ASCII range.

Examples
let ascii = "hello!\n";
 let non_ascii = "Grüße, Jürgen ❤";
 
 assert!(ascii.is_ascii());
 assert!(!non_ascii.is_ascii());
-
source

pub fn as_ascii(&self) -> Option<&[AsciiChar]>

🔬This is a nightly-only experimental API. (ascii_char)

If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

-
1.23.0 · source

pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

Checks that two strings are an ASCII case-insensitive match.

+
source

pub fn as_ascii(&self) -> Option<&[AsciiChar]>

🔬This is a nightly-only experimental API. (ascii_char)

If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

+
1.23.0 · source

pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

Checks that two strings are an ASCII case-insensitive match.

Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

Examples
assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
 assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
 assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
-
1.34.0 · source

pub fn escape_debug(&self) -> EscapeDebug<'_>

Return an iterator that escapes each char in self with char::escape_debug.

+
1.34.0 · source

pub fn escape_debug(&self) -> EscapeDebug<'_>

Return an iterator that escapes each char in self with char::escape_debug.

Note: only extended grapheme codepoints that begin the string will be escaped.

Examples
@@ -1028,7 +1028,7 @@
Examples

Using to_string:

assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
-
1.34.0 · source

pub fn escape_default(&self) -> EscapeDefault<'_>

Return an iterator that escapes each char in self with char::escape_default.

+
1.34.0 · source

pub fn escape_default(&self) -> EscapeDefault<'_>

Return an iterator that escapes each char in self with char::escape_default.

Examples

As an iterator:

@@ -1045,7 +1045,7 @@
Examples

Using to_string:

assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
-
1.34.0 · source

pub fn escape_unicode(&self) -> EscapeUnicode<'_>

Return an iterator that escapes each char in self with char::escape_unicode.

+
1.34.0 · source

pub fn escape_unicode(&self) -> EscapeUnicode<'_>

Return an iterator that escapes each char in self with char::escape_unicode.

Examples

As an iterator:

@@ -1062,9 +1062,9 @@
Examples

Using to_string:

assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
-
1.0.0 · source

pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

Replaces all matches of a pattern with another string.

-

replace creates a new String, and copies the data from this string slice into it. +

1.0.0 · source

pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

Replaces all matches of a pattern with another string.

+

replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

Examples
@@ -1074,13 +1074,13 @@
Examples
assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
-

When the pattern doesn’t match, it returns this string slice as String:

+

When the pattern doesn’t match, it returns this string slice as String:

let s = "this is old";
 assert_eq!(s, s.replace("cookie monster", "little lamb"));
-
1.16.0 · source

pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

Replaces first N matches of a pattern with another string.

-

replacen creates a new String, and copies the data from this string slice into it. +

1.16.0 · source

pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

Replaces first N matches of a pattern with another string.

+

replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

Examples
@@ -1090,15 +1090,15 @@
Examples
assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
-

When the pattern doesn’t match, it returns this string slice as String:

+

When the pattern doesn’t match, it returns this string slice as String:

let s = "this is old";
 assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
-
1.2.0 · source

pub fn to_lowercase(&self) -> String

Returns the lowercase equivalent of this string slice, as a new String.

+
1.2.0 · source

pub fn to_lowercase(&self) -> String

Returns the lowercase equivalent of this string slice, as a new String.

‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

Examples

Basic usage:

@@ -1121,11 +1121,11 @@
Examples
let new_year = "农历新年";
 
 assert_eq!(new_year, new_year.to_lowercase());
-
1.2.0 · source

pub fn to_uppercase(&self) -> String

Returns the uppercase equivalent of this string slice, as a new String.

+
1.2.0 · source

pub fn to_uppercase(&self) -> String

Returns the uppercase equivalent of this string slice, as a new String.

‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

Examples

Basic usage:

@@ -1143,7 +1143,7 @@
Examples
let s = "tschüß";
 
 assert_eq!("TSCHÜSS", s.to_uppercase());
-
1.16.0 · source

pub fn repeat(&self, n: usize) -> String

Creates a new String by repeating a string n times.

+
1.16.0 · source

pub fn repeat(&self, n: usize) -> String

Creates a new String by repeating a string n times.

Panics

This function will panic if the capacity would overflow.

Examples
@@ -1154,42 +1154,42 @@
Examples
// this will panic at runtime
 let huge = "0123456789abcdef".repeat(usize::MAX);
-
1.23.0 · source

pub fn to_ascii_uppercase(&self) -> String

Returns a copy of this string where each character is mapped to its +

1.23.0 · source

pub fn to_ascii_uppercase(&self) -> String

Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

-

To uppercase the value in-place, use make_ascii_uppercase.

+

To uppercase the value in-place, use make_ascii_uppercase.

To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

Examples
let s = "Grüße, Jürgen ❤";
 
 assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
-
1.23.0 · source

pub fn to_ascii_lowercase(&self) -> String

Returns a copy of this string where each character is mapped to its +

1.23.0 · source

pub fn to_ascii_lowercase(&self) -> String

Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

-

To lowercase the value in-place, use make_ascii_lowercase.

+

To lowercase the value in-place, use make_ascii_lowercase.

To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

Examples
let s = "Grüße, Jürgen ❤";
 
 assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
-

Trait Implementations§

source§

impl Borrow<str> for InternedStr

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Deref for InternedStr

§

type Target = str

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Hash for InternedStr

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<InternedStr> for InternedStr

source§

fn eq(&self, other: &InternedStr) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Eq for InternedStr

source§

impl StructuralEq for InternedStr

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Borrow<str> for InternedStr

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Deref for InternedStr

§

type Target = str

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Hash for InternedStr

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for InternedStr

source§

fn eq(&self, other: &InternedStr) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Eq for InternedStr

source§

impl StructuralEq for InternedStr

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_span/symbol/fn.create_session_if_not_set_then.html b/leo_span/symbol/fn.create_session_if_not_set_then.html index d65e75ef5b..65a2eb74e2 100644 --- a/leo_span/symbol/fn.create_session_if_not_set_then.html +++ b/leo_span/symbol/fn.create_session_if_not_set_then.html @@ -1,4 +1,4 @@ -create_session_if_not_set_then in leo_span::symbol - Rust
pub fn create_session_if_not_set_then<R>(
-    f: impl FnOnce(&SessionGlobals) -> R
+create_session_if_not_set_then in leo_span::symbol - Rust
pub fn create_session_if_not_set_then<R>(
+    f: impl FnOnce(&SessionGlobals) -> R
 ) -> R
Expand description

Creates the session globals and then runs the closure f.

\ No newline at end of file diff --git a/leo_span/symbol/fn.with_session_globals.html b/leo_span/symbol/fn.with_session_globals.html index 316f0516de..eb88030767 100644 --- a/leo_span/symbol/fn.with_session_globals.html +++ b/leo_span/symbol/fn.with_session_globals.html @@ -1,2 +1,2 @@ -with_session_globals in leo_span::symbol - Rust
pub fn with_session_globals<R>(f: impl FnOnce(&SessionGlobals) -> R) -> R
Expand description

Gives access to read or modify the session globals in f.

+with_session_globals in leo_span::symbol - Rust
pub fn with_session_globals<R>(f: impl FnOnce(&SessionGlobals) -> R) -> R
Expand description

Gives access to read or modify the session globals in f.

\ No newline at end of file diff --git a/leo_span/symbol/index.html b/leo_span/symbol/index.html index e51b355141..fef1838a93 100644 --- a/leo_span/symbol/index.html +++ b/leo_span/symbol/index.html @@ -1,4 +1,4 @@ -leo_span::symbol - Rust

Module leo_span::symbol

source ·

Modules

Macros

source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_span/symbol/struct.Interner.html b/leo_span/symbol/struct.Interner.html index b0f7f0af7e..902d5a9f9d 100644 --- a/leo_span/symbol/struct.Interner.html +++ b/leo_span/symbol/struct.Interner.html @@ -1,18 +1,18 @@ -Interner in leo_span::symbol - Rust

Struct leo_span::symbol::Interner

source ·
struct Interner {
-    inner: RefCell<InnerInterner>,
+Interner in leo_span::symbol - Rust

Struct leo_span::symbol::Interner

source ·
struct Interner {
+    inner: RefCell<InnerInterner>,
 }
Expand description

A symbol-to-string interner.

-

Fields§

§inner: RefCell<InnerInterner>

Implementations§

source§

impl Interner

source

fn prefilled() -> Self

Returns an interner prefilled with commonly used strings in Leo.

-
source

fn prefill(init: &[&'static str]) -> Self

Returns an interner prefilled with init.

-
source

fn intern(&self, string: &str) -> Symbol

Interns string, returning a Symbol corresponding to it.

-
source

fn get<R>(&self, symbol: Symbol, with: impl FnOnce(&str) -> R) -> R

Returns the corresponding string for the given symbol.

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Fields§

§inner: RefCell<InnerInterner>

Implementations§

source§

impl Interner

source

fn prefilled() -> Self

Returns an interner prefilled with commonly used strings in Leo.

+
source

fn prefill(init: &[&'static str]) -> Self

Returns an interner prefilled with init.

+
source

fn intern(&self, string: &str) -> Symbol

Interns string, returning a Symbol corresponding to it.

+
source

fn get<R>(&self, symbol: Symbol, with: impl FnOnce(&str) -> R) -> R

Returns the corresponding string for the given symbol.

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_span/symbol/struct.SessionGlobals.html b/leo_span/symbol/struct.SessionGlobals.html index 47584d8600..271f3d56f3 100644 --- a/leo_span/symbol/struct.SessionGlobals.html +++ b/leo_span/symbol/struct.SessionGlobals.html @@ -1,17 +1,17 @@ -SessionGlobals in leo_span::symbol - Rust
pub struct SessionGlobals {
+SessionGlobals in leo_span::symbol - Rust
pub struct SessionGlobals {
     symbol_interner: Interner,
     pub source_map: SourceMap,
 }
Expand description

All the globals for a compiler sessions.

Fields§

§symbol_interner: Interner

The interner for Symbols used in the compiler.

§source_map: SourceMap

The source map used in the compiler.

-

Trait Implementations§

source§

impl Default for SessionGlobals

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Default for SessionGlobals

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_span/symbol/struct.Symbol.html b/leo_span/symbol/struct.Symbol.html index a11c88f158..b32c61092e 100644 --- a/leo_span/symbol/struct.Symbol.html +++ b/leo_span/symbol/struct.Symbol.html @@ -1,39 +1,39 @@ -Symbol in leo_span::symbol - Rust

Struct leo_span::symbol::Symbol

source ·
pub struct Symbol(NonZeroU32);
Expand description

An interned string.

+Symbol in leo_span::symbol - Rust

Struct leo_span::symbol::Symbol

source ·
pub struct Symbol(NonZeroU32);
Expand description

An interned string.

Represented as an index internally, with all operations based on that. A Symbol reserves the value 0, so that Option<Symbol> only takes up 4 bytes.

-

Tuple Fields§

§0: NonZeroU32

Implementations§

source§

impl Symbol

source

pub const fn new(index: u32) -> Self

Returns the corresponding Symbol for the given index.

-
source

pub fn intern(string: &str) -> Self

Maps a string to its interned representation.

-
source

pub fn as_str<R>(self, s: &SessionGlobals, with: impl FnOnce(&str) -> R) -> R

Convert to effectively a &'static str given the SessionGlobals.

-
source

pub const fn as_u32(self) -> u32

Converts this symbol to the raw index.

+

Tuple Fields§

§0: NonZeroU32

Implementations§

source§

impl Symbol

source

pub const fn new(index: u32) -> Self

Returns the corresponding Symbol for the given index.

+
source

pub fn intern(string: &str) -> Self

Maps a string to its interned representation.

+
source

pub fn as_str<R>(self, s: &SessionGlobals, with: impl FnOnce(&str) -> R) -> R

Convert to effectively a &'static str given the SessionGlobals.

+
source

pub const fn as_u32(self) -> u32

Converts this symbol to the raw index.

source

fn serde_to_symbol<'de, D: Deserializer<'de>>( de: D -) -> Result<NonZeroU32, D::Error>

source

fn serde_from_symbol<S: Serializer>( - index: &NonZeroU32, +) -> Result<NonZeroU32, D::Error>

source

fn serde_from_symbol<S: Serializer>( + index: &NonZeroU32, ser: S -) -> Result<S::Ok, S::Error>

Trait Implementations§

source§

impl Clone for Symbol

source§

fn clone(&self) -> Symbol

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Symbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Symbol

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Symbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for Symbol

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for Symbol

source§

fn cmp(&self, other: &Symbol) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<Symbol> for Symbol

source§

fn eq(&self, other: &Symbol) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Symbol> for Symbol

source§

fn partial_cmp(&self, other: &Symbol) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for Symbol

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Symbol

source§

impl Eq for Symbol

source§

impl StructuralEq for Symbol

source§

impl StructuralPartialEq for Symbol

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+) -> Result<S::Ok, S::Error>

Trait Implementations§

source§

impl Clone for Symbol

source§

fn clone(&self) -> Symbol

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Symbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Symbol

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Symbol

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for Symbol

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for Symbol

source§

fn cmp(&self, other: &Symbol) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for Symbol

source§

fn eq(&self, other: &Symbol) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for Symbol

source§

fn partial_cmp(&self, other: &Symbol) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for Symbol

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Symbol

source§

impl Eq for Symbol

source§

impl StructuralEq for Symbol

source§

impl StructuralPartialEq for Symbol

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.As.html b/leo_span/symbol/sym/constant.As.html index 555a818aa9..cc671a6e83 100644 --- a/leo_span/symbol/sym/constant.As.html +++ b/leo_span/symbol/sym/constant.As.html @@ -1 +1 @@ -As in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::As

source ·
pub const As: Symbol;
\ No newline at end of file +As in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::As

source ·
pub const As: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.BHP1024.html b/leo_span/symbol/sym/constant.BHP1024.html index 99867e32b9..4aefec9c2b 100644 --- a/leo_span/symbol/sym/constant.BHP1024.html +++ b/leo_span/symbol/sym/constant.BHP1024.html @@ -1 +1 @@ -BHP1024 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::BHP1024

source ·
pub const BHP1024: Symbol;
\ No newline at end of file +BHP1024 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::BHP1024

source ·
pub const BHP1024: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.BHP256.html b/leo_span/symbol/sym/constant.BHP256.html index 92cc1fa6b9..222270f729 100644 --- a/leo_span/symbol/sym/constant.BHP256.html +++ b/leo_span/symbol/sym/constant.BHP256.html @@ -1 +1 @@ -BHP256 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::BHP256

source ·
pub const BHP256: Symbol;
\ No newline at end of file +BHP256 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::BHP256

source ·
pub const BHP256: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.BHP512.html b/leo_span/symbol/sym/constant.BHP512.html index 6c0fbde520..5e9a40840b 100644 --- a/leo_span/symbol/sym/constant.BHP512.html +++ b/leo_span/symbol/sym/constant.BHP512.html @@ -1 +1 @@ -BHP512 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::BHP512

source ·
pub const BHP512: Symbol;
\ No newline at end of file +BHP512 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::BHP512

source ·
pub const BHP512: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.BHP768.html b/leo_span/symbol/sym/constant.BHP768.html index e49aa823e9..d80475b3e9 100644 --- a/leo_span/symbol/sym/constant.BHP768.html +++ b/leo_span/symbol/sym/constant.BHP768.html @@ -1 +1 @@ -BHP768 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::BHP768

source ·
pub const BHP768: Symbol;
\ No newline at end of file +BHP768 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::BHP768

source ·
pub const BHP768: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.ChaCha.html b/leo_span/symbol/sym/constant.ChaCha.html index 38a68d0365..385df4ab3c 100644 --- a/leo_span/symbol/sym/constant.ChaCha.html +++ b/leo_span/symbol/sym/constant.ChaCha.html @@ -1 +1 @@ -ChaCha in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::ChaCha

source ·
pub const ChaCha: Symbol;
\ No newline at end of file +ChaCha in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::ChaCha

source ·
pub const ChaCha: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Const.html b/leo_span/symbol/sym/constant.Const.html index 936e5023ab..79329e88d8 100644 --- a/leo_span/symbol/sym/constant.Const.html +++ b/leo_span/symbol/sym/constant.Const.html @@ -1 +1 @@ -Const in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Const

source ·
pub const Const: Symbol;
\ No newline at end of file +Const in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Const

source ·
pub const Const: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Else.html b/leo_span/symbol/sym/constant.Else.html index 899fe91277..478dff601a 100644 --- a/leo_span/symbol/sym/constant.Else.html +++ b/leo_span/symbol/sym/constant.Else.html @@ -1 +1 @@ -Else in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Else

source ·
pub const Else: Symbol;
\ No newline at end of file +Else in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Else

source ·
pub const Else: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.False.html b/leo_span/symbol/sym/constant.False.html index dac7a15315..55555c16ee 100644 --- a/leo_span/symbol/sym/constant.False.html +++ b/leo_span/symbol/sym/constant.False.html @@ -1 +1 @@ -False in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::False

source ·
pub const False: Symbol;
\ No newline at end of file +False in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::False

source ·
pub const False: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.For.html b/leo_span/symbol/sym/constant.For.html index db00a0e2a6..1f1a7c1f81 100644 --- a/leo_span/symbol/sym/constant.For.html +++ b/leo_span/symbol/sym/constant.For.html @@ -1 +1 @@ -For in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::For

source ·
pub const For: Symbol;
\ No newline at end of file +For in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::For

source ·
pub const For: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.GEN.html b/leo_span/symbol/sym/constant.GEN.html index 7667314129..3c2c91e453 100644 --- a/leo_span/symbol/sym/constant.GEN.html +++ b/leo_span/symbol/sym/constant.GEN.html @@ -1 +1 @@ -GEN in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::GEN

source ·
pub const GEN: Symbol;
\ No newline at end of file +GEN in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::GEN

source ·
pub const GEN: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.If.html b/leo_span/symbol/sym/constant.If.html index a979cd8f0c..a3b4aba812 100644 --- a/leo_span/symbol/sym/constant.If.html +++ b/leo_span/symbol/sym/constant.If.html @@ -1 +1 @@ -If in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::If

source ·
pub const If: Symbol;
\ No newline at end of file +If in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::If

source ·
pub const If: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.In.html b/leo_span/symbol/sym/constant.In.html index f3da5aae44..ead77cd1c0 100644 --- a/leo_span/symbol/sym/constant.In.html +++ b/leo_span/symbol/sym/constant.In.html @@ -1 +1 @@ -In in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::In

source ·
pub const In: Symbol;
\ No newline at end of file +In in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::In

source ·
pub const In: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Keccak256.html b/leo_span/symbol/sym/constant.Keccak256.html index dddc17b1f2..d51d9525c1 100644 --- a/leo_span/symbol/sym/constant.Keccak256.html +++ b/leo_span/symbol/sym/constant.Keccak256.html @@ -1 +1 @@ -Keccak256 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Keccak256

source ·
pub const Keccak256: Symbol;
\ No newline at end of file +Keccak256 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Keccak256

source ·
pub const Keccak256: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Keccak384.html b/leo_span/symbol/sym/constant.Keccak384.html index 77bedada98..918023ca09 100644 --- a/leo_span/symbol/sym/constant.Keccak384.html +++ b/leo_span/symbol/sym/constant.Keccak384.html @@ -1 +1 @@ -Keccak384 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Keccak384

source ·
pub const Keccak384: Symbol;
\ No newline at end of file +Keccak384 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Keccak384

source ·
pub const Keccak384: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Keccak512.html b/leo_span/symbol/sym/constant.Keccak512.html index 880f347cb9..0fe78c1e45 100644 --- a/leo_span/symbol/sym/constant.Keccak512.html +++ b/leo_span/symbol/sym/constant.Keccak512.html @@ -1 +1 @@ -Keccak512 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Keccak512

source ·
pub const Keccak512: Symbol;
\ No newline at end of file +Keccak512 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Keccak512

source ·
pub const Keccak512: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Let.html b/leo_span/symbol/sym/constant.Let.html index 374c70ff1b..93f8ed52b8 100644 --- a/leo_span/symbol/sym/constant.Let.html +++ b/leo_span/symbol/sym/constant.Let.html @@ -1 +1 @@ -Let in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Let

source ·
pub const Let: Symbol;
\ No newline at end of file +Let in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Let

source ·
pub const Let: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Mapping.html b/leo_span/symbol/sym/constant.Mapping.html index 5470768c7e..2794f943a8 100644 --- a/leo_span/symbol/sym/constant.Mapping.html +++ b/leo_span/symbol/sym/constant.Mapping.html @@ -1 +1 @@ -Mapping in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Mapping

source ·
pub const Mapping: Symbol;
\ No newline at end of file +Mapping in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Mapping

source ·
pub const Mapping: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Mod.html b/leo_span/symbol/sym/constant.Mod.html index 970c991f1f..2553721e7d 100644 --- a/leo_span/symbol/sym/constant.Mod.html +++ b/leo_span/symbol/sym/constant.Mod.html @@ -1 +1 @@ -Mod in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Mod

source ·
pub const Mod: Symbol;
\ No newline at end of file +Mod in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Mod

source ·
pub const Mod: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Mut.html b/leo_span/symbol/sym/constant.Mut.html index fad992bba9..8243815b29 100644 --- a/leo_span/symbol/sym/constant.Mut.html +++ b/leo_span/symbol/sym/constant.Mut.html @@ -1 +1 @@ -Mut in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Mut

source ·
pub const Mut: Symbol;
\ No newline at end of file +Mut in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Mut

source ·
pub const Mut: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Pedersen128.html b/leo_span/symbol/sym/constant.Pedersen128.html index b2ba074661..b36041d839 100644 --- a/leo_span/symbol/sym/constant.Pedersen128.html +++ b/leo_span/symbol/sym/constant.Pedersen128.html @@ -1 +1 @@ -Pedersen128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Pedersen128

source ·
pub const Pedersen128: Symbol;
\ No newline at end of file +Pedersen128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Pedersen128

source ·
pub const Pedersen128: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Pedersen64.html b/leo_span/symbol/sym/constant.Pedersen64.html index a3e6c1f69c..0b6e4df770 100644 --- a/leo_span/symbol/sym/constant.Pedersen64.html +++ b/leo_span/symbol/sym/constant.Pedersen64.html @@ -1 +1 @@ -Pedersen64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Pedersen64

source ·
pub const Pedersen64: Symbol;
\ No newline at end of file +Pedersen64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Pedersen64

source ·
pub const Pedersen64: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Poseidon2.html b/leo_span/symbol/sym/constant.Poseidon2.html index 5268e41058..6f093359e9 100644 --- a/leo_span/symbol/sym/constant.Poseidon2.html +++ b/leo_span/symbol/sym/constant.Poseidon2.html @@ -1 +1 @@ -Poseidon2 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Poseidon2

source ·
pub const Poseidon2: Symbol;
\ No newline at end of file +Poseidon2 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Poseidon2

source ·
pub const Poseidon2: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Poseidon4.html b/leo_span/symbol/sym/constant.Poseidon4.html index b79ba4b767..0b404e2bb6 100644 --- a/leo_span/symbol/sym/constant.Poseidon4.html +++ b/leo_span/symbol/sym/constant.Poseidon4.html @@ -1 +1 @@ -Poseidon4 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Poseidon4

source ·
pub const Poseidon4: Symbol;
\ No newline at end of file +Poseidon4 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Poseidon4

source ·
pub const Poseidon4: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Poseidon8.html b/leo_span/symbol/sym/constant.Poseidon8.html index 90994d960c..871d7c505f 100644 --- a/leo_span/symbol/sym/constant.Poseidon8.html +++ b/leo_span/symbol/sym/constant.Poseidon8.html @@ -1 +1 @@ -Poseidon8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Poseidon8

source ·
pub const Poseidon8: Symbol;
\ No newline at end of file +Poseidon8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Poseidon8

source ·
pub const Poseidon8: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Return.html b/leo_span/symbol/sym/constant.Return.html index 6a5a5c6d3a..141cbe69ec 100644 --- a/leo_span/symbol/sym/constant.Return.html +++ b/leo_span/symbol/sym/constant.Return.html @@ -1 +1 @@ -Return in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Return

source ·
pub const Return: Symbol;
\ No newline at end of file +Return in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Return

source ·
pub const Return: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.SHA3_256.html b/leo_span/symbol/sym/constant.SHA3_256.html index 7eda4f23a7..d85b447f18 100644 --- a/leo_span/symbol/sym/constant.SHA3_256.html +++ b/leo_span/symbol/sym/constant.SHA3_256.html @@ -1 +1 @@ -SHA3_256 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::SHA3_256

source ·
pub const SHA3_256: Symbol;
\ No newline at end of file +SHA3_256 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::SHA3_256

source ·
pub const SHA3_256: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.SHA3_384.html b/leo_span/symbol/sym/constant.SHA3_384.html index 04383b262e..e7291485bf 100644 --- a/leo_span/symbol/sym/constant.SHA3_384.html +++ b/leo_span/symbol/sym/constant.SHA3_384.html @@ -1 +1 @@ -SHA3_384 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::SHA3_384

source ·
pub const SHA3_384: Symbol;
\ No newline at end of file +SHA3_384 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::SHA3_384

source ·
pub const SHA3_384: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.SHA3_512.html b/leo_span/symbol/sym/constant.SHA3_512.html index 8982d2ddb5..bc889b8d5a 100644 --- a/leo_span/symbol/sym/constant.SHA3_512.html +++ b/leo_span/symbol/sym/constant.SHA3_512.html @@ -1 +1 @@ -SHA3_512 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::SHA3_512

source ·
pub const SHA3_512: Symbol;
\ No newline at end of file +SHA3_512 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::SHA3_512

source ·
pub const SHA3_512: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.SelfLower.html b/leo_span/symbol/sym/constant.SelfLower.html index 26816e289a..1e4d00aa97 100644 --- a/leo_span/symbol/sym/constant.SelfLower.html +++ b/leo_span/symbol/sym/constant.SelfLower.html @@ -1 +1 @@ -SelfLower in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::SelfLower

source ·
pub const SelfLower: Symbol;
\ No newline at end of file +SelfLower in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::SelfLower

source ·
pub const SelfLower: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.SelfUpper.html b/leo_span/symbol/sym/constant.SelfUpper.html index 5939c58df6..0a7fe7e4c1 100644 --- a/leo_span/symbol/sym/constant.SelfUpper.html +++ b/leo_span/symbol/sym/constant.SelfUpper.html @@ -1 +1 @@ -SelfUpper in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::SelfUpper

source ·
pub const SelfUpper: Symbol;
\ No newline at end of file +SelfUpper in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::SelfUpper

source ·
pub const SelfUpper: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Star.html b/leo_span/symbol/sym/constant.Star.html index 7075bbf32f..3f797876c6 100644 --- a/leo_span/symbol/sym/constant.Star.html +++ b/leo_span/symbol/sym/constant.Star.html @@ -1 +1 @@ -Star in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Star

source ·
pub const Star: Symbol;
\ No newline at end of file +Star in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Star

source ·
pub const Star: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Struct.html b/leo_span/symbol/sym/constant.Struct.html index 3d2e80d594..61f25623b1 100644 --- a/leo_span/symbol/sym/constant.Struct.html +++ b/leo_span/symbol/sym/constant.Struct.html @@ -1 +1 @@ -Struct in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Struct

source ·
pub const Struct: Symbol;
\ No newline at end of file +Struct in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Struct

source ·
pub const Struct: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.True.html b/leo_span/symbol/sym/constant.True.html index 4b5ebf42eb..0fc6c82c36 100644 --- a/leo_span/symbol/sym/constant.True.html +++ b/leo_span/symbol/sym/constant.True.html @@ -1 +1 @@ -True in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::True

source ·
pub const True: Symbol;
\ No newline at end of file +True in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::True

source ·
pub const True: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.Type.html b/leo_span/symbol/sym/constant.Type.html index db998f36e4..8fd3d8c8cf 100644 --- a/leo_span/symbol/sym/constant.Type.html +++ b/leo_span/symbol/sym/constant.Type.html @@ -1 +1 @@ -Type in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Type

source ·
pub const Type: Symbol;
\ No newline at end of file +Type in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::Type

source ·
pub const Type: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant._nonce.html b/leo_span/symbol/sym/constant._nonce.html index fe1eec8e5e..a251ba03b4 100644 --- a/leo_span/symbol/sym/constant._nonce.html +++ b/leo_span/symbol/sym/constant._nonce.html @@ -1 +1 @@ -_nonce in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::_nonce

source ·
pub const _nonce: Symbol;
\ No newline at end of file +_nonce in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::_nonce

source ·
pub const _nonce: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.abs.html b/leo_span/symbol/sym/constant.abs.html index 84435253cd..ad944756de 100644 --- a/leo_span/symbol/sym/constant.abs.html +++ b/leo_span/symbol/sym/constant.abs.html @@ -1 +1 @@ -abs in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::abs

source ·
pub const abs: Symbol;
\ No newline at end of file +abs in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::abs

source ·
pub const abs: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.abs_wrapped.html b/leo_span/symbol/sym/constant.abs_wrapped.html index 80f07f194d..53738884cb 100644 --- a/leo_span/symbol/sym/constant.abs_wrapped.html +++ b/leo_span/symbol/sym/constant.abs_wrapped.html @@ -1 +1 @@ -abs_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::abs_wrapped

source ·
pub const abs_wrapped: Symbol;
\ No newline at end of file +abs_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::abs_wrapped

source ·
pub const abs_wrapped: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.add.html b/leo_span/symbol/sym/constant.add.html index fc8f61849b..6975a5fba1 100644 --- a/leo_span/symbol/sym/constant.add.html +++ b/leo_span/symbol/sym/constant.add.html @@ -1 +1 @@ -add in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::add

source ·
pub const add: Symbol;
\ No newline at end of file +add in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::add

source ·
pub const add: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.add_wrapped.html b/leo_span/symbol/sym/constant.add_wrapped.html index 49ec1fdbc2..223b397aaf 100644 --- a/leo_span/symbol/sym/constant.add_wrapped.html +++ b/leo_span/symbol/sym/constant.add_wrapped.html @@ -1 +1 @@ -add_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::add_wrapped

source ·
pub const add_wrapped: Symbol;
\ No newline at end of file +add_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::add_wrapped

source ·
pub const add_wrapped: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.address.html b/leo_span/symbol/sym/constant.address.html index f64cc73a1d..2f669cdf51 100644 --- a/leo_span/symbol/sym/constant.address.html +++ b/leo_span/symbol/sym/constant.address.html @@ -1 +1 @@ -address in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::address

source ·
pub const address: Symbol;
\ No newline at end of file +address in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::address

source ·
pub const address: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.aleo.html b/leo_span/symbol/sym/constant.aleo.html index 51f05dd591..c23becaada 100644 --- a/leo_span/symbol/sym/constant.aleo.html +++ b/leo_span/symbol/sym/constant.aleo.html @@ -1 +1 @@ -aleo in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::aleo

source ·
pub const aleo: Symbol;
\ No newline at end of file +aleo in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::aleo

source ·
pub const aleo: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.and.html b/leo_span/symbol/sym/constant.and.html index dc71b0effe..6c484b58c5 100644 --- a/leo_span/symbol/sym/constant.and.html +++ b/leo_span/symbol/sym/constant.and.html @@ -1 +1 @@ -and in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::and

source ·
pub const and: Symbol;
\ No newline at end of file +and in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::and

source ·
pub const and: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.assert.html b/leo_span/symbol/sym/constant.assert.html index afe03f5623..a155231caa 100644 --- a/leo_span/symbol/sym/constant.assert.html +++ b/leo_span/symbol/sym/constant.assert.html @@ -1 +1 @@ -assert in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::assert

source ·
pub const assert: Symbol;
\ No newline at end of file +assert in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::assert

source ·
pub const assert: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.assert_eq.html b/leo_span/symbol/sym/constant.assert_eq.html index 957f87df1c..a203ec9e58 100644 --- a/leo_span/symbol/sym/constant.assert_eq.html +++ b/leo_span/symbol/sym/constant.assert_eq.html @@ -1 +1 @@ -assert_eq in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::assert_eq

source ·
pub const assert_eq: Symbol;
\ No newline at end of file +assert_eq in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::assert_eq

source ·
pub const assert_eq: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.assert_neq.html b/leo_span/symbol/sym/constant.assert_neq.html index 386c7b7ca4..99c75cb17f 100644 --- a/leo_span/symbol/sym/constant.assert_neq.html +++ b/leo_span/symbol/sym/constant.assert_neq.html @@ -1 +1 @@ -assert_neq in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::assert_neq

source ·
pub const assert_neq: Symbol;
\ No newline at end of file +assert_neq in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::assert_neq

source ·
pub const assert_neq: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.block.html b/leo_span/symbol/sym/constant.block.html index 0f83c44215..2ea07722f6 100644 --- a/leo_span/symbol/sym/constant.block.html +++ b/leo_span/symbol/sym/constant.block.html @@ -1 +1 @@ -block in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::block

source ·
pub const block: Symbol;
\ No newline at end of file +block in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::block

source ·
pub const block: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.bool.html b/leo_span/symbol/sym/constant.bool.html index 457f54251c..b6f017e0e8 100644 --- a/leo_span/symbol/sym/constant.bool.html +++ b/leo_span/symbol/sym/constant.bool.html @@ -1 +1 @@ -bool in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::bool

source ·
pub const bool: Symbol;
\ No newline at end of file +bool in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::bool

source ·
pub const bool: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.caller.html b/leo_span/symbol/sym/constant.caller.html index 13efd0d75a..91b73b3db4 100644 --- a/leo_span/symbol/sym/constant.caller.html +++ b/leo_span/symbol/sym/constant.caller.html @@ -1 +1 @@ -caller in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::caller

source ·
pub const caller: Symbol;
\ No newline at end of file +caller in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::caller

source ·
pub const caller: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.commit_to_address.html b/leo_span/symbol/sym/constant.commit_to_address.html index 29307019c9..054c389515 100644 --- a/leo_span/symbol/sym/constant.commit_to_address.html +++ b/leo_span/symbol/sym/constant.commit_to_address.html @@ -1 +1 @@ -commit_to_address in leo_span::symbol::sym - Rust
pub const commit_to_address: Symbol;
\ No newline at end of file +commit_to_address in leo_span::symbol::sym - Rust
pub const commit_to_address: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.commit_to_field.html b/leo_span/symbol/sym/constant.commit_to_field.html index 0afd09e8cd..40a9cd51bd 100644 --- a/leo_span/symbol/sym/constant.commit_to_field.html +++ b/leo_span/symbol/sym/constant.commit_to_field.html @@ -1 +1 @@ -commit_to_field in leo_span::symbol::sym - Rust
pub const commit_to_field: Symbol;
\ No newline at end of file +commit_to_field in leo_span::symbol::sym - Rust
pub const commit_to_field: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.commit_to_group.html b/leo_span/symbol/sym/constant.commit_to_group.html index e3c950597b..601e19cd98 100644 --- a/leo_span/symbol/sym/constant.commit_to_group.html +++ b/leo_span/symbol/sym/constant.commit_to_group.html @@ -1 +1 @@ -commit_to_group in leo_span::symbol::sym - Rust
pub const commit_to_group: Symbol;
\ No newline at end of file +commit_to_group in leo_span::symbol::sym - Rust
pub const commit_to_group: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.console.html b/leo_span/symbol/sym/constant.console.html index 0de74003ef..110bb0a1bc 100644 --- a/leo_span/symbol/sym/constant.console.html +++ b/leo_span/symbol/sym/constant.console.html @@ -1 +1 @@ -console in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::console

source ·
pub const console: Symbol;
\ No newline at end of file +console in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::console

source ·
pub const console: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.constant.html b/leo_span/symbol/sym/constant.constant.html index 698790903c..13f8bed869 100644 --- a/leo_span/symbol/sym/constant.constant.html +++ b/leo_span/symbol/sym/constant.constant.html @@ -1 +1 @@ -constant in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::constant

source ·
pub const constant: Symbol;
\ No newline at end of file +constant in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::constant

source ·
pub const constant: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.contains.html b/leo_span/symbol/sym/constant.contains.html index 2669d2b2f2..4792a56e65 100644 --- a/leo_span/symbol/sym/constant.contains.html +++ b/leo_span/symbol/sym/constant.contains.html @@ -1 +1 @@ -contains in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::contains

source ·
pub const contains: Symbol;
\ No newline at end of file +contains in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::contains

source ·
pub const contains: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.decrement.html b/leo_span/symbol/sym/constant.decrement.html index ec11e9f056..357d750160 100644 --- a/leo_span/symbol/sym/constant.decrement.html +++ b/leo_span/symbol/sym/constant.decrement.html @@ -1 +1 @@ -decrement in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::decrement

source ·
pub const decrement: Symbol;
\ No newline at end of file +decrement in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::decrement

source ·
pub const decrement: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.div.html b/leo_span/symbol/sym/constant.div.html index 23c2504d09..f3db005673 100644 --- a/leo_span/symbol/sym/constant.div.html +++ b/leo_span/symbol/sym/constant.div.html @@ -1 +1 @@ -div in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::div

source ·
pub const div: Symbol;
\ No newline at end of file +div in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::div

source ·
pub const div: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.div_wrapped.html b/leo_span/symbol/sym/constant.div_wrapped.html index 0a6f7cbef4..a03b2933f8 100644 --- a/leo_span/symbol/sym/constant.div_wrapped.html +++ b/leo_span/symbol/sym/constant.div_wrapped.html @@ -1 +1 @@ -div_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::div_wrapped

source ·
pub const div_wrapped: Symbol;
\ No newline at end of file +div_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::div_wrapped

source ·
pub const div_wrapped: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.double.html b/leo_span/symbol/sym/constant.double.html index f4c8187fe0..9ed6953cf4 100644 --- a/leo_span/symbol/sym/constant.double.html +++ b/leo_span/symbol/sym/constant.double.html @@ -1 +1 @@ -double in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::double

source ·
pub const double: Symbol;
\ No newline at end of file +double in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::double

source ·
pub const double: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.eq.html b/leo_span/symbol/sym/constant.eq.html index f368195dea..d0677671a4 100644 --- a/leo_span/symbol/sym/constant.eq.html +++ b/leo_span/symbol/sym/constant.eq.html @@ -1 +1 @@ -eq in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::eq

source ·
pub const eq: Symbol;
\ No newline at end of file +eq in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::eq

source ·
pub const eq: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.field.html b/leo_span/symbol/sym/constant.field.html index 7ed73181cd..f11926dd2d 100644 --- a/leo_span/symbol/sym/constant.field.html +++ b/leo_span/symbol/sym/constant.field.html @@ -1 +1 @@ -field in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::field

source ·
pub const field: Symbol;
\ No newline at end of file +field in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::field

source ·
pub const field: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.finalize.html b/leo_span/symbol/sym/constant.finalize.html index 426bca6982..14288435ce 100644 --- a/leo_span/symbol/sym/constant.finalize.html +++ b/leo_span/symbol/sym/constant.finalize.html @@ -1 +1 @@ -finalize in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::finalize

source ·
pub const finalize: Symbol;
\ No newline at end of file +finalize in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::finalize

source ·
pub const finalize: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.function.html b/leo_span/symbol/sym/constant.function.html index caa1a185d3..4c22c3af0d 100644 --- a/leo_span/symbol/sym/constant.function.html +++ b/leo_span/symbol/sym/constant.function.html @@ -1 +1 @@ -function in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::function

source ·
pub const function: Symbol;
\ No newline at end of file +function in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::function

source ·
pub const function: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.get.html b/leo_span/symbol/sym/constant.get.html index 7ab4df86cc..d5cb6fd7b6 100644 --- a/leo_span/symbol/sym/constant.get.html +++ b/leo_span/symbol/sym/constant.get.html @@ -1 +1 @@ -get in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::get

source ·
pub const get: Symbol;
\ No newline at end of file +get in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::get

source ·
pub const get: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.get_or_use.html b/leo_span/symbol/sym/constant.get_or_use.html index b59c4e636a..c3018c48f5 100644 --- a/leo_span/symbol/sym/constant.get_or_use.html +++ b/leo_span/symbol/sym/constant.get_or_use.html @@ -1 +1 @@ -get_or_use in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::get_or_use

source ·
pub const get_or_use: Symbol;
\ No newline at end of file +get_or_use in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::get_or_use

source ·
pub const get_or_use: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.group.html b/leo_span/symbol/sym/constant.group.html index 535efbfe50..9360bb5664 100644 --- a/leo_span/symbol/sym/constant.group.html +++ b/leo_span/symbol/sym/constant.group.html @@ -1 +1 @@ -group in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::group

source ·
pub const group: Symbol;
\ No newline at end of file +group in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::group

source ·
pub const group: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.gt.html b/leo_span/symbol/sym/constant.gt.html index de149bac5f..92b197ce3c 100644 --- a/leo_span/symbol/sym/constant.gt.html +++ b/leo_span/symbol/sym/constant.gt.html @@ -1 +1 @@ -gt in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::gt

source ·
pub const gt: Symbol;
\ No newline at end of file +gt in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::gt

source ·
pub const gt: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.gte.html b/leo_span/symbol/sym/constant.gte.html index dd25634494..9dc4dfcf81 100644 --- a/leo_span/symbol/sym/constant.gte.html +++ b/leo_span/symbol/sym/constant.gte.html @@ -1 +1 @@ -gte in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::gte

source ·
pub const gte: Symbol;
\ No newline at end of file +gte in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::gte

source ·
pub const gte: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_address.html b/leo_span/symbol/sym/constant.hash_to_address.html index 2c390586d1..b4f6c81b93 100644 --- a/leo_span/symbol/sym/constant.hash_to_address.html +++ b/leo_span/symbol/sym/constant.hash_to_address.html @@ -1 +1 @@ -hash_to_address in leo_span::symbol::sym - Rust
pub const hash_to_address: Symbol;
\ No newline at end of file +hash_to_address in leo_span::symbol::sym - Rust
pub const hash_to_address: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_field.html b/leo_span/symbol/sym/constant.hash_to_field.html index 40b76ad15c..e083990b4e 100644 --- a/leo_span/symbol/sym/constant.hash_to_field.html +++ b/leo_span/symbol/sym/constant.hash_to_field.html @@ -1 +1 @@ -hash_to_field in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_field

source ·
pub const hash_to_field: Symbol;
\ No newline at end of file +hash_to_field in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_field

source ·
pub const hash_to_field: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_group.html b/leo_span/symbol/sym/constant.hash_to_group.html index c91019f4af..cb8a3b4b0f 100644 --- a/leo_span/symbol/sym/constant.hash_to_group.html +++ b/leo_span/symbol/sym/constant.hash_to_group.html @@ -1 +1 @@ -hash_to_group in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_group

source ·
pub const hash_to_group: Symbol;
\ No newline at end of file +hash_to_group in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_group

source ·
pub const hash_to_group: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_i128.html b/leo_span/symbol/sym/constant.hash_to_i128.html index e365a1cea1..cf5319f113 100644 --- a/leo_span/symbol/sym/constant.hash_to_i128.html +++ b/leo_span/symbol/sym/constant.hash_to_i128.html @@ -1 +1 @@ -hash_to_i128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_i128

source ·
pub const hash_to_i128: Symbol;
\ No newline at end of file +hash_to_i128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_i128

source ·
pub const hash_to_i128: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_i16.html b/leo_span/symbol/sym/constant.hash_to_i16.html index ef71b11852..0e81d7f218 100644 --- a/leo_span/symbol/sym/constant.hash_to_i16.html +++ b/leo_span/symbol/sym/constant.hash_to_i16.html @@ -1 +1 @@ -hash_to_i16 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_i16

source ·
pub const hash_to_i16: Symbol;
\ No newline at end of file +hash_to_i16 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_i16

source ·
pub const hash_to_i16: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_i32.html b/leo_span/symbol/sym/constant.hash_to_i32.html index ee189f06aa..5987727ed0 100644 --- a/leo_span/symbol/sym/constant.hash_to_i32.html +++ b/leo_span/symbol/sym/constant.hash_to_i32.html @@ -1 +1 @@ -hash_to_i32 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_i32

source ·
pub const hash_to_i32: Symbol;
\ No newline at end of file +hash_to_i32 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_i32

source ·
pub const hash_to_i32: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_i64.html b/leo_span/symbol/sym/constant.hash_to_i64.html index 57c056c143..c0ca170495 100644 --- a/leo_span/symbol/sym/constant.hash_to_i64.html +++ b/leo_span/symbol/sym/constant.hash_to_i64.html @@ -1 +1 @@ -hash_to_i64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_i64

source ·
pub const hash_to_i64: Symbol;
\ No newline at end of file +hash_to_i64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_i64

source ·
pub const hash_to_i64: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_i8.html b/leo_span/symbol/sym/constant.hash_to_i8.html index 0191de4629..a6c650bf82 100644 --- a/leo_span/symbol/sym/constant.hash_to_i8.html +++ b/leo_span/symbol/sym/constant.hash_to_i8.html @@ -1 +1 @@ -hash_to_i8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_i8

source ·
pub const hash_to_i8: Symbol;
\ No newline at end of file +hash_to_i8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_i8

source ·
pub const hash_to_i8: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_scalar.html b/leo_span/symbol/sym/constant.hash_to_scalar.html index 43814359bc..d20691e5e7 100644 --- a/leo_span/symbol/sym/constant.hash_to_scalar.html +++ b/leo_span/symbol/sym/constant.hash_to_scalar.html @@ -1 +1 @@ -hash_to_scalar in leo_span::symbol::sym - Rust
pub const hash_to_scalar: Symbol;
\ No newline at end of file +hash_to_scalar in leo_span::symbol::sym - Rust
pub const hash_to_scalar: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_u128.html b/leo_span/symbol/sym/constant.hash_to_u128.html index eb21973561..ae0789a9f2 100644 --- a/leo_span/symbol/sym/constant.hash_to_u128.html +++ b/leo_span/symbol/sym/constant.hash_to_u128.html @@ -1 +1 @@ -hash_to_u128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_u128

source ·
pub const hash_to_u128: Symbol;
\ No newline at end of file +hash_to_u128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_u128

source ·
pub const hash_to_u128: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_u16.html b/leo_span/symbol/sym/constant.hash_to_u16.html index 740b6fed9e..987fee6114 100644 --- a/leo_span/symbol/sym/constant.hash_to_u16.html +++ b/leo_span/symbol/sym/constant.hash_to_u16.html @@ -1 +1 @@ -hash_to_u16 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_u16

source ·
pub const hash_to_u16: Symbol;
\ No newline at end of file +hash_to_u16 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_u16

source ·
pub const hash_to_u16: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_u32.html b/leo_span/symbol/sym/constant.hash_to_u32.html index 3e7721f2ea..8fcf988a71 100644 --- a/leo_span/symbol/sym/constant.hash_to_u32.html +++ b/leo_span/symbol/sym/constant.hash_to_u32.html @@ -1 +1 @@ -hash_to_u32 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_u32

source ·
pub const hash_to_u32: Symbol;
\ No newline at end of file +hash_to_u32 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_u32

source ·
pub const hash_to_u32: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_u64.html b/leo_span/symbol/sym/constant.hash_to_u64.html index b7265cf25a..474e8da01b 100644 --- a/leo_span/symbol/sym/constant.hash_to_u64.html +++ b/leo_span/symbol/sym/constant.hash_to_u64.html @@ -1 +1 @@ -hash_to_u64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_u64

source ·
pub const hash_to_u64: Symbol;
\ No newline at end of file +hash_to_u64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_u64

source ·
pub const hash_to_u64: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.hash_to_u8.html b/leo_span/symbol/sym/constant.hash_to_u8.html index 39b37ecd66..6ed2e765f8 100644 --- a/leo_span/symbol/sym/constant.hash_to_u8.html +++ b/leo_span/symbol/sym/constant.hash_to_u8.html @@ -1 +1 @@ -hash_to_u8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_u8

source ·
pub const hash_to_u8: Symbol;
\ No newline at end of file +hash_to_u8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::hash_to_u8

source ·
pub const hash_to_u8: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.height.html b/leo_span/symbol/sym/constant.height.html index 3c26441fa2..289186755b 100644 --- a/leo_span/symbol/sym/constant.height.html +++ b/leo_span/symbol/sym/constant.height.html @@ -1 +1 @@ -height in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::height

source ·
pub const height: Symbol;
\ No newline at end of file +height in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::height

source ·
pub const height: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.i128.html b/leo_span/symbol/sym/constant.i128.html index fc4d7cd198..2e5b8c51d7 100644 --- a/leo_span/symbol/sym/constant.i128.html +++ b/leo_span/symbol/sym/constant.i128.html @@ -1 +1 @@ -i128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::i128

source ·
pub const i128: Symbol;
\ No newline at end of file +i128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::i128

source ·
pub const i128: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.i16.html b/leo_span/symbol/sym/constant.i16.html index 0e7a49ccb8..f16acb238c 100644 --- a/leo_span/symbol/sym/constant.i16.html +++ b/leo_span/symbol/sym/constant.i16.html @@ -1 +1 @@ -i16 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::i16

source ·
pub const i16: Symbol;
\ No newline at end of file +i16 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::i16

source ·
pub const i16: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.i32.html b/leo_span/symbol/sym/constant.i32.html index 705a3175a6..0059398bd4 100644 --- a/leo_span/symbol/sym/constant.i32.html +++ b/leo_span/symbol/sym/constant.i32.html @@ -1 +1 @@ -i32 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::i32

source ·
pub const i32: Symbol;
\ No newline at end of file +i32 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::i32

source ·
pub const i32: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.i64.html b/leo_span/symbol/sym/constant.i64.html index 0de3364165..024a2803d3 100644 --- a/leo_span/symbol/sym/constant.i64.html +++ b/leo_span/symbol/sym/constant.i64.html @@ -1 +1 @@ -i64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::i64

source ·
pub const i64: Symbol;
\ No newline at end of file +i64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::i64

source ·
pub const i64: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.i8.html b/leo_span/symbol/sym/constant.i8.html index 5ab4f53e75..a96a2c4bcb 100644 --- a/leo_span/symbol/sym/constant.i8.html +++ b/leo_span/symbol/sym/constant.i8.html @@ -1 +1 @@ -i8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::i8

source ·
pub const i8: Symbol;
\ No newline at end of file +i8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::i8

source ·
pub const i8: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.import.html b/leo_span/symbol/sym/constant.import.html index 38a3e30826..31d1c1241c 100644 --- a/leo_span/symbol/sym/constant.import.html +++ b/leo_span/symbol/sym/constant.import.html @@ -1 +1 @@ -import in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::import

source ·
pub const import: Symbol;
\ No newline at end of file +import in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::import

source ·
pub const import: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.increment.html b/leo_span/symbol/sym/constant.increment.html index 1b35c5f7f8..5f3e4f406f 100644 --- a/leo_span/symbol/sym/constant.increment.html +++ b/leo_span/symbol/sym/constant.increment.html @@ -1 +1 @@ -increment in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::increment

source ·
pub const increment: Symbol;
\ No newline at end of file +increment in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::increment

source ·
pub const increment: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.inline.html b/leo_span/symbol/sym/constant.inline.html index e8ba36bc11..349e28da17 100644 --- a/leo_span/symbol/sym/constant.inline.html +++ b/leo_span/symbol/sym/constant.inline.html @@ -1 +1 @@ -inline in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::inline

source ·
pub const inline: Symbol;
\ No newline at end of file +inline in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::inline

source ·
pub const inline: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.input.html b/leo_span/symbol/sym/constant.input.html index 85fae5b1e6..56eb4f8c6a 100644 --- a/leo_span/symbol/sym/constant.input.html +++ b/leo_span/symbol/sym/constant.input.html @@ -1 +1 @@ -input in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::input

source ·
pub const input: Symbol;
\ No newline at end of file +input in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::input

source ·
pub const input: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.inv.html b/leo_span/symbol/sym/constant.inv.html index 450076cf46..bd823a3619 100644 --- a/leo_span/symbol/sym/constant.inv.html +++ b/leo_span/symbol/sym/constant.inv.html @@ -1 +1 @@ -inv in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::inv

source ·
pub const inv: Symbol;
\ No newline at end of file +inv in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::inv

source ·
pub const inv: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.leo.html b/leo_span/symbol/sym/constant.leo.html index b00ef6bf12..62b7b27351 100644 --- a/leo_span/symbol/sym/constant.leo.html +++ b/leo_span/symbol/sym/constant.leo.html @@ -1 +1 @@ -leo in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::leo

source ·
pub const leo: Symbol;
\ No newline at end of file +leo in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::leo

source ·
pub const leo: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.lt.html b/leo_span/symbol/sym/constant.lt.html index 12c0223088..5e2249718a 100644 --- a/leo_span/symbol/sym/constant.lt.html +++ b/leo_span/symbol/sym/constant.lt.html @@ -1 +1 @@ -lt in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::lt

source ·
pub const lt: Symbol;
\ No newline at end of file +lt in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::lt

source ·
pub const lt: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.lte.html b/leo_span/symbol/sym/constant.lte.html index 1443e52fee..1a6bd98deb 100644 --- a/leo_span/symbol/sym/constant.lte.html +++ b/leo_span/symbol/sym/constant.lte.html @@ -1 +1 @@ -lte in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::lte

source ·
pub const lte: Symbol;
\ No newline at end of file +lte in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::lte

source ·
pub const lte: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.main.html b/leo_span/symbol/sym/constant.main.html index 22fc6704b6..ce9cb18808 100644 --- a/leo_span/symbol/sym/constant.main.html +++ b/leo_span/symbol/sym/constant.main.html @@ -1 +1 @@ -main in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::main

source ·
pub const main: Symbol;
\ No newline at end of file +main in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::main

source ·
pub const main: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.mapping.html b/leo_span/symbol/sym/constant.mapping.html index 2c22e026ce..8bcd59d661 100644 --- a/leo_span/symbol/sym/constant.mapping.html +++ b/leo_span/symbol/sym/constant.mapping.html @@ -1 +1 @@ -mapping in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::mapping

source ·
pub const mapping: Symbol;
\ No newline at end of file +mapping in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::mapping

source ·
pub const mapping: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.mul.html b/leo_span/symbol/sym/constant.mul.html index 9dde29d363..474c3db913 100644 --- a/leo_span/symbol/sym/constant.mul.html +++ b/leo_span/symbol/sym/constant.mul.html @@ -1 +1 @@ -mul in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::mul

source ·
pub const mul: Symbol;
\ No newline at end of file +mul in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::mul

source ·
pub const mul: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.mul_wrapped.html b/leo_span/symbol/sym/constant.mul_wrapped.html index 832fc2e3bb..22d3aaa404 100644 --- a/leo_span/symbol/sym/constant.mul_wrapped.html +++ b/leo_span/symbol/sym/constant.mul_wrapped.html @@ -1 +1 @@ -mul_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::mul_wrapped

source ·
pub const mul_wrapped: Symbol;
\ No newline at end of file +mul_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::mul_wrapped

source ·
pub const mul_wrapped: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.nand.html b/leo_span/symbol/sym/constant.nand.html index c5f1bbe76e..922a125254 100644 --- a/leo_span/symbol/sym/constant.nand.html +++ b/leo_span/symbol/sym/constant.nand.html @@ -1 +1 @@ -nand in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::nand

source ·
pub const nand: Symbol;
\ No newline at end of file +nand in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::nand

source ·
pub const nand: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.neg.html b/leo_span/symbol/sym/constant.neg.html index 303173db57..f7086e4fe4 100644 --- a/leo_span/symbol/sym/constant.neg.html +++ b/leo_span/symbol/sym/constant.neg.html @@ -1 +1 @@ -neg in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::neg

source ·
pub const neg: Symbol;
\ No newline at end of file +neg in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::neg

source ·
pub const neg: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.neq.html b/leo_span/symbol/sym/constant.neq.html index eae5bfec6e..9f12f44385 100644 --- a/leo_span/symbol/sym/constant.neq.html +++ b/leo_span/symbol/sym/constant.neq.html @@ -1 +1 @@ -neq in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::neq

source ·
pub const neq: Symbol;
\ No newline at end of file +neq in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::neq

source ·
pub const neq: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.nor.html b/leo_span/symbol/sym/constant.nor.html index 9ae6dd6cec..f441d2fa5d 100644 --- a/leo_span/symbol/sym/constant.nor.html +++ b/leo_span/symbol/sym/constant.nor.html @@ -1 +1 @@ -nor in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::nor

source ·
pub const nor: Symbol;
\ No newline at end of file +nor in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::nor

source ·
pub const nor: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.not.html b/leo_span/symbol/sym/constant.not.html index 0ace2b0de7..c8e1850d5c 100644 --- a/leo_span/symbol/sym/constant.not.html +++ b/leo_span/symbol/sym/constant.not.html @@ -1 +1 @@ -not in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::not

source ·
pub const not: Symbol;
\ No newline at end of file +not in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::not

source ·
pub const not: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.or.html b/leo_span/symbol/sym/constant.or.html index 3414dce7ac..cfc655ff6d 100644 --- a/leo_span/symbol/sym/constant.or.html +++ b/leo_span/symbol/sym/constant.or.html @@ -1 +1 @@ -or in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::or

source ·
pub const or: Symbol;
\ No newline at end of file +or in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::or

source ·
pub const or: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.owner.html b/leo_span/symbol/sym/constant.owner.html index 22cee4f7c2..f08e681d05 100644 --- a/leo_span/symbol/sym/constant.owner.html +++ b/leo_span/symbol/sym/constant.owner.html @@ -1 +1 @@ -owner in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::owner

source ·
pub const owner: Symbol;
\ No newline at end of file +owner in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::owner

source ·
pub const owner: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.pow.html b/leo_span/symbol/sym/constant.pow.html index 63b57d5b30..bbbfa106f0 100644 --- a/leo_span/symbol/sym/constant.pow.html +++ b/leo_span/symbol/sym/constant.pow.html @@ -1 +1 @@ -pow in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::pow

source ·
pub const pow: Symbol;
\ No newline at end of file +pow in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::pow

source ·
pub const pow: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.pow_wrapped.html b/leo_span/symbol/sym/constant.pow_wrapped.html index bd46ee0025..5f54b21193 100644 --- a/leo_span/symbol/sym/constant.pow_wrapped.html +++ b/leo_span/symbol/sym/constant.pow_wrapped.html @@ -1 +1 @@ -pow_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::pow_wrapped

source ·
pub const pow_wrapped: Symbol;
\ No newline at end of file +pow_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::pow_wrapped

source ·
pub const pow_wrapped: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.private.html b/leo_span/symbol/sym/constant.private.html index b7fba29a9a..3cdc44f5dc 100644 --- a/leo_span/symbol/sym/constant.private.html +++ b/leo_span/symbol/sym/constant.private.html @@ -1 +1 @@ -private in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::private

source ·
pub const private: Symbol;
\ No newline at end of file +private in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::private

source ·
pub const private: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.program.html b/leo_span/symbol/sym/constant.program.html index 858fece132..2102e7605d 100644 --- a/leo_span/symbol/sym/constant.program.html +++ b/leo_span/symbol/sym/constant.program.html @@ -1 +1 @@ -program in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::program

source ·
pub const program: Symbol;
\ No newline at end of file +program in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::program

source ·
pub const program: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.public.html b/leo_span/symbol/sym/constant.public.html index 5c0efb1142..676a47b95b 100644 --- a/leo_span/symbol/sym/constant.public.html +++ b/leo_span/symbol/sym/constant.public.html @@ -1 +1 @@ -public in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::public

source ·
pub const public: Symbol;
\ No newline at end of file +public in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::public

source ·
pub const public: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_address.html b/leo_span/symbol/sym/constant.rand_address.html index 94c203f313..7d8a1b803d 100644 --- a/leo_span/symbol/sym/constant.rand_address.html +++ b/leo_span/symbol/sym/constant.rand_address.html @@ -1 +1 @@ -rand_address in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_address

source ·
pub const rand_address: Symbol;
\ No newline at end of file +rand_address in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_address

source ·
pub const rand_address: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_bool.html b/leo_span/symbol/sym/constant.rand_bool.html index 3de73eda05..9a974cc07e 100644 --- a/leo_span/symbol/sym/constant.rand_bool.html +++ b/leo_span/symbol/sym/constant.rand_bool.html @@ -1 +1 @@ -rand_bool in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_bool

source ·
pub const rand_bool: Symbol;
\ No newline at end of file +rand_bool in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_bool

source ·
pub const rand_bool: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_field.html b/leo_span/symbol/sym/constant.rand_field.html index a59cb3304f..3dc0274210 100644 --- a/leo_span/symbol/sym/constant.rand_field.html +++ b/leo_span/symbol/sym/constant.rand_field.html @@ -1 +1 @@ -rand_field in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_field

source ·
pub const rand_field: Symbol;
\ No newline at end of file +rand_field in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_field

source ·
pub const rand_field: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_group.html b/leo_span/symbol/sym/constant.rand_group.html index 57f601615e..7c700caf2c 100644 --- a/leo_span/symbol/sym/constant.rand_group.html +++ b/leo_span/symbol/sym/constant.rand_group.html @@ -1 +1 @@ -rand_group in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_group

source ·
pub const rand_group: Symbol;
\ No newline at end of file +rand_group in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_group

source ·
pub const rand_group: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_i128.html b/leo_span/symbol/sym/constant.rand_i128.html index 81a6a3295f..a2a3c6b782 100644 --- a/leo_span/symbol/sym/constant.rand_i128.html +++ b/leo_span/symbol/sym/constant.rand_i128.html @@ -1 +1 @@ -rand_i128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_i128

source ·
pub const rand_i128: Symbol;
\ No newline at end of file +rand_i128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_i128

source ·
pub const rand_i128: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_i16.html b/leo_span/symbol/sym/constant.rand_i16.html index a0aa149f4e..c80a884a12 100644 --- a/leo_span/symbol/sym/constant.rand_i16.html +++ b/leo_span/symbol/sym/constant.rand_i16.html @@ -1 +1 @@ -rand_i16 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_i16

source ·
pub const rand_i16: Symbol;
\ No newline at end of file +rand_i16 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_i16

source ·
pub const rand_i16: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_i32.html b/leo_span/symbol/sym/constant.rand_i32.html index f01fa8d914..e534e9a7e3 100644 --- a/leo_span/symbol/sym/constant.rand_i32.html +++ b/leo_span/symbol/sym/constant.rand_i32.html @@ -1 +1 @@ -rand_i32 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_i32

source ·
pub const rand_i32: Symbol;
\ No newline at end of file +rand_i32 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_i32

source ·
pub const rand_i32: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_i64.html b/leo_span/symbol/sym/constant.rand_i64.html index be7e9d221b..42752506f8 100644 --- a/leo_span/symbol/sym/constant.rand_i64.html +++ b/leo_span/symbol/sym/constant.rand_i64.html @@ -1 +1 @@ -rand_i64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_i64

source ·
pub const rand_i64: Symbol;
\ No newline at end of file +rand_i64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_i64

source ·
pub const rand_i64: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_i8.html b/leo_span/symbol/sym/constant.rand_i8.html index 290dfafb7a..d79d88fd6c 100644 --- a/leo_span/symbol/sym/constant.rand_i8.html +++ b/leo_span/symbol/sym/constant.rand_i8.html @@ -1 +1 @@ -rand_i8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_i8

source ·
pub const rand_i8: Symbol;
\ No newline at end of file +rand_i8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_i8

source ·
pub const rand_i8: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_scalar.html b/leo_span/symbol/sym/constant.rand_scalar.html index 5945f4c793..37c827e4e3 100644 --- a/leo_span/symbol/sym/constant.rand_scalar.html +++ b/leo_span/symbol/sym/constant.rand_scalar.html @@ -1 +1 @@ -rand_scalar in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_scalar

source ·
pub const rand_scalar: Symbol;
\ No newline at end of file +rand_scalar in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_scalar

source ·
pub const rand_scalar: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_u128.html b/leo_span/symbol/sym/constant.rand_u128.html index dfd08f6c9c..3ea4b94eac 100644 --- a/leo_span/symbol/sym/constant.rand_u128.html +++ b/leo_span/symbol/sym/constant.rand_u128.html @@ -1 +1 @@ -rand_u128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_u128

source ·
pub const rand_u128: Symbol;
\ No newline at end of file +rand_u128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_u128

source ·
pub const rand_u128: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_u16.html b/leo_span/symbol/sym/constant.rand_u16.html index 973a25e6ef..2612b3ac3d 100644 --- a/leo_span/symbol/sym/constant.rand_u16.html +++ b/leo_span/symbol/sym/constant.rand_u16.html @@ -1 +1 @@ -rand_u16 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_u16

source ·
pub const rand_u16: Symbol;
\ No newline at end of file +rand_u16 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_u16

source ·
pub const rand_u16: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_u32.html b/leo_span/symbol/sym/constant.rand_u32.html index a32a633ac1..94136b73db 100644 --- a/leo_span/symbol/sym/constant.rand_u32.html +++ b/leo_span/symbol/sym/constant.rand_u32.html @@ -1 +1 @@ -rand_u32 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_u32

source ·
pub const rand_u32: Symbol;
\ No newline at end of file +rand_u32 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_u32

source ·
pub const rand_u32: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_u64.html b/leo_span/symbol/sym/constant.rand_u64.html index ef8b3d4d21..206ecd91ff 100644 --- a/leo_span/symbol/sym/constant.rand_u64.html +++ b/leo_span/symbol/sym/constant.rand_u64.html @@ -1 +1 @@ -rand_u64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_u64

source ·
pub const rand_u64: Symbol;
\ No newline at end of file +rand_u64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_u64

source ·
pub const rand_u64: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rand_u8.html b/leo_span/symbol/sym/constant.rand_u8.html index 517ba1bfbb..b66348b3d1 100644 --- a/leo_span/symbol/sym/constant.rand_u8.html +++ b/leo_span/symbol/sym/constant.rand_u8.html @@ -1 +1 @@ -rand_u8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_u8

source ·
pub const rand_u8: Symbol;
\ No newline at end of file +rand_u8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rand_u8

source ·
pub const rand_u8: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.record.html b/leo_span/symbol/sym/constant.record.html index 7bc1f781f4..45214ad1a7 100644 --- a/leo_span/symbol/sym/constant.record.html +++ b/leo_span/symbol/sym/constant.record.html @@ -1 +1 @@ -record in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::record

source ·
pub const record: Symbol;
\ No newline at end of file +record in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::record

source ·
pub const record: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rem.html b/leo_span/symbol/sym/constant.rem.html index 85474cb143..7bf5b6fc29 100644 --- a/leo_span/symbol/sym/constant.rem.html +++ b/leo_span/symbol/sym/constant.rem.html @@ -1 +1 @@ -rem in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rem

source ·
pub const rem: Symbol;
\ No newline at end of file +rem in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rem

source ·
pub const rem: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.rem_wrapped.html b/leo_span/symbol/sym/constant.rem_wrapped.html index 980dd56aaa..e29439120a 100644 --- a/leo_span/symbol/sym/constant.rem_wrapped.html +++ b/leo_span/symbol/sym/constant.rem_wrapped.html @@ -1 +1 @@ -rem_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rem_wrapped

source ·
pub const rem_wrapped: Symbol;
\ No newline at end of file +rem_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::rem_wrapped

source ·
pub const rem_wrapped: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.remove.html b/leo_span/symbol/sym/constant.remove.html index 56bb9b4665..bddd81d47b 100644 --- a/leo_span/symbol/sym/constant.remove.html +++ b/leo_span/symbol/sym/constant.remove.html @@ -1 +1 @@ -remove in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::remove

source ·
pub const remove: Symbol;
\ No newline at end of file +remove in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::remove

source ·
pub const remove: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.scalar.html b/leo_span/symbol/sym/constant.scalar.html index cfe1b5c75d..b514cf86cf 100644 --- a/leo_span/symbol/sym/constant.scalar.html +++ b/leo_span/symbol/sym/constant.scalar.html @@ -1 +1 @@ -scalar in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::scalar

source ·
pub const scalar: Symbol;
\ No newline at end of file +scalar in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::scalar

source ·
pub const scalar: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.set.html b/leo_span/symbol/sym/constant.set.html index 1966fb6e27..b952b33605 100644 --- a/leo_span/symbol/sym/constant.set.html +++ b/leo_span/symbol/sym/constant.set.html @@ -1 +1 @@ -set in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::set

source ·
pub const set: Symbol;
\ No newline at end of file +set in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::set

source ·
pub const set: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.shl.html b/leo_span/symbol/sym/constant.shl.html index a5de280518..2fd18109f2 100644 --- a/leo_span/symbol/sym/constant.shl.html +++ b/leo_span/symbol/sym/constant.shl.html @@ -1 +1 @@ -shl in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::shl

source ·
pub const shl: Symbol;
\ No newline at end of file +shl in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::shl

source ·
pub const shl: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.shl_wrapped.html b/leo_span/symbol/sym/constant.shl_wrapped.html index c267ae7fed..d0d007c670 100644 --- a/leo_span/symbol/sym/constant.shl_wrapped.html +++ b/leo_span/symbol/sym/constant.shl_wrapped.html @@ -1 +1 @@ -shl_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::shl_wrapped

source ·
pub const shl_wrapped: Symbol;
\ No newline at end of file +shl_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::shl_wrapped

source ·
pub const shl_wrapped: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.shr.html b/leo_span/symbol/sym/constant.shr.html index 5ca65a234f..85191fc169 100644 --- a/leo_span/symbol/sym/constant.shr.html +++ b/leo_span/symbol/sym/constant.shr.html @@ -1 +1 @@ -shr in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::shr

source ·
pub const shr: Symbol;
\ No newline at end of file +shr in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::shr

source ·
pub const shr: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.shr_wrapped.html b/leo_span/symbol/sym/constant.shr_wrapped.html index d2826b420a..fde63b55c4 100644 --- a/leo_span/symbol/sym/constant.shr_wrapped.html +++ b/leo_span/symbol/sym/constant.shr_wrapped.html @@ -1 +1 @@ -shr_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::shr_wrapped

source ·
pub const shr_wrapped: Symbol;
\ No newline at end of file +shr_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::shr_wrapped

source ·
pub const shr_wrapped: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.signature.html b/leo_span/symbol/sym/constant.signature.html index 6f300ef1d5..2364bd320a 100644 --- a/leo_span/symbol/sym/constant.signature.html +++ b/leo_span/symbol/sym/constant.signature.html @@ -1 +1 @@ -signature in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::signature

source ·
pub const signature: Symbol;
\ No newline at end of file +signature in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::signature

source ·
pub const signature: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.signer.html b/leo_span/symbol/sym/constant.signer.html index 2eacbe505c..8ce93cc2ce 100644 --- a/leo_span/symbol/sym/constant.signer.html +++ b/leo_span/symbol/sym/constant.signer.html @@ -1 +1 @@ -signer in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::signer

source ·
pub const signer: Symbol;
\ No newline at end of file +signer in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::signer

source ·
pub const signer: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.square.html b/leo_span/symbol/sym/constant.square.html index 0af78cd714..76ac5fc99b 100644 --- a/leo_span/symbol/sym/constant.square.html +++ b/leo_span/symbol/sym/constant.square.html @@ -1 +1 @@ -square in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::square

source ·
pub const square: Symbol;
\ No newline at end of file +square in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::square

source ·
pub const square: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.square_root.html b/leo_span/symbol/sym/constant.square_root.html index 555407acf3..4a7c64f0d7 100644 --- a/leo_span/symbol/sym/constant.square_root.html +++ b/leo_span/symbol/sym/constant.square_root.html @@ -1 +1 @@ -square_root in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::square_root

source ·
pub const square_root: Symbol;
\ No newline at end of file +square_root in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::square_root

source ·
pub const square_root: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.string.html b/leo_span/symbol/sym/constant.string.html index ff5282f525..0c82f0186c 100644 --- a/leo_span/symbol/sym/constant.string.html +++ b/leo_span/symbol/sym/constant.string.html @@ -1 +1 @@ -string in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::string

source ·
pub const string: Symbol;
\ No newline at end of file +string in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::string

source ·
pub const string: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.sub.html b/leo_span/symbol/sym/constant.sub.html index 2b07957014..ffc15b28c6 100644 --- a/leo_span/symbol/sym/constant.sub.html +++ b/leo_span/symbol/sym/constant.sub.html @@ -1 +1 @@ -sub in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::sub

source ·
pub const sub: Symbol;
\ No newline at end of file +sub in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::sub

source ·
pub const sub: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.sub_wrapped.html b/leo_span/symbol/sym/constant.sub_wrapped.html index 16878d7403..8051df81e5 100644 --- a/leo_span/symbol/sym/constant.sub_wrapped.html +++ b/leo_span/symbol/sym/constant.sub_wrapped.html @@ -1 +1 @@ -sub_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::sub_wrapped

source ·
pub const sub_wrapped: Symbol;
\ No newline at end of file +sub_wrapped in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::sub_wrapped

source ·
pub const sub_wrapped: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.then.html b/leo_span/symbol/sym/constant.then.html index 9dff7bc3df..0460defa26 100644 --- a/leo_span/symbol/sym/constant.then.html +++ b/leo_span/symbol/sym/constant.then.html @@ -1 +1 @@ -then in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::then

source ·
pub const then: Symbol;
\ No newline at end of file +then in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::then

source ·
pub const then: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.to_x_coordinate.html b/leo_span/symbol/sym/constant.to_x_coordinate.html index 72d8bc73fa..965cc3f4b2 100644 --- a/leo_span/symbol/sym/constant.to_x_coordinate.html +++ b/leo_span/symbol/sym/constant.to_x_coordinate.html @@ -1 +1 @@ -to_x_coordinate in leo_span::symbol::sym - Rust
pub const to_x_coordinate: Symbol;
\ No newline at end of file +to_x_coordinate in leo_span::symbol::sym - Rust
pub const to_x_coordinate: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.to_y_coordinate.html b/leo_span/symbol/sym/constant.to_y_coordinate.html index d2def0bbbe..405921f018 100644 --- a/leo_span/symbol/sym/constant.to_y_coordinate.html +++ b/leo_span/symbol/sym/constant.to_y_coordinate.html @@ -1 +1 @@ -to_y_coordinate in leo_span::symbol::sym - Rust
pub const to_y_coordinate: Symbol;
\ No newline at end of file +to_y_coordinate in leo_span::symbol::sym - Rust
pub const to_y_coordinate: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.transition.html b/leo_span/symbol/sym/constant.transition.html index b76a63a7f5..f34ec8689f 100644 --- a/leo_span/symbol/sym/constant.transition.html +++ b/leo_span/symbol/sym/constant.transition.html @@ -1 +1 @@ -transition in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::transition

source ·
pub const transition: Symbol;
\ No newline at end of file +transition in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::transition

source ·
pub const transition: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.u128.html b/leo_span/symbol/sym/constant.u128.html index fb6700fbf5..7f2157876d 100644 --- a/leo_span/symbol/sym/constant.u128.html +++ b/leo_span/symbol/sym/constant.u128.html @@ -1 +1 @@ -u128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::u128

source ·
pub const u128: Symbol;
\ No newline at end of file +u128 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::u128

source ·
pub const u128: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.u16.html b/leo_span/symbol/sym/constant.u16.html index 4af95c6dd8..6e8104bb5c 100644 --- a/leo_span/symbol/sym/constant.u16.html +++ b/leo_span/symbol/sym/constant.u16.html @@ -1 +1 @@ -u16 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::u16

source ·
pub const u16: Symbol;
\ No newline at end of file +u16 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::u16

source ·
pub const u16: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.u32.html b/leo_span/symbol/sym/constant.u32.html index 9ecbf1b1e0..691a4f214d 100644 --- a/leo_span/symbol/sym/constant.u32.html +++ b/leo_span/symbol/sym/constant.u32.html @@ -1 +1 @@ -u32 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::u32

source ·
pub const u32: Symbol;
\ No newline at end of file +u32 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::u32

source ·
pub const u32: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.u64.html b/leo_span/symbol/sym/constant.u64.html index d1e14a0096..eac9dda25a 100644 --- a/leo_span/symbol/sym/constant.u64.html +++ b/leo_span/symbol/sym/constant.u64.html @@ -1 +1 @@ -u64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::u64

source ·
pub const u64: Symbol;
\ No newline at end of file +u64 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::u64

source ·
pub const u64: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.u8.html b/leo_span/symbol/sym/constant.u8.html index bddca2209a..71fc45336a 100644 --- a/leo_span/symbol/sym/constant.u8.html +++ b/leo_span/symbol/sym/constant.u8.html @@ -1 +1 @@ -u8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::u8

source ·
pub const u8: Symbol;
\ No newline at end of file +u8 in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::u8

source ·
pub const u8: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.verify.html b/leo_span/symbol/sym/constant.verify.html index 9dc1c10064..90eecea146 100644 --- a/leo_span/symbol/sym/constant.verify.html +++ b/leo_span/symbol/sym/constant.verify.html @@ -1 +1 @@ -verify in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::verify

source ·
pub const verify: Symbol;
\ No newline at end of file +verify in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::verify

source ·
pub const verify: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/constant.xor.html b/leo_span/symbol/sym/constant.xor.html index 882e466d82..498907fc8c 100644 --- a/leo_span/symbol/sym/constant.xor.html +++ b/leo_span/symbol/sym/constant.xor.html @@ -1 +1 @@ -xor in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::xor

source ·
pub const xor: Symbol;
\ No newline at end of file +xor in leo_span::symbol::sym - Rust

Constant leo_span::symbol::sym::xor

source ·
pub const xor: Symbol;
\ No newline at end of file diff --git a/leo_span/symbol/sym/index.html b/leo_span/symbol/sym/index.html index db1ab36882..93b47ed76c 100644 --- a/leo_span/symbol/sym/index.html +++ b/leo_span/symbol/sym/index.html @@ -1 +1 @@ -leo_span::symbol::sym - Rust
\ No newline at end of file +leo_span::symbol::sym - Rust
\ No newline at end of file diff --git a/leo_test_framework/all.html b/leo_test_framework/all.html index 5ee991e696..66cfedc71c 100644 --- a/leo_test_framework/all.html +++ b/leo_test_framework/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/leo_test_framework/error/enum.TestError.html b/leo_test_framework/error/enum.TestError.html index fa5e42f5d5..208a21f20c 100644 --- a/leo_test_framework/error/enum.TestError.html +++ b/leo_test_framework/error/enum.TestError.html @@ -1,41 +1,41 @@ -TestError in leo_test_framework::error - Rust
pub enum TestError {
+TestError in leo_test_framework::error - Rust
pub enum TestError {
     Panicked {
-        test: String,
-        index: usize,
-        error: String,
+        test: String,
+        index: usize,
+        error: String,
     },
     UnexpectedOutput {
-        test: String,
-        index: usize,
+        test: String,
+        index: usize,
         expected: Value,
         output: Value,
     },
     PassedAndShouldntHave {
-        test: String,
-        index: usize,
+        test: String,
+        index: usize,
     },
     FailedAndShouldntHave {
-        test: String,
-        index: usize,
-        error: String,
+        test: String,
+        index: usize,
+        error: String,
     },
     UnexpectedError {
-        test: String,
-        index: usize,
-        expected: String,
-        output: String,
+        test: String,
+        index: usize,
+        expected: String,
+        output: String,
     },
     MismatchedTestExpectationLength,
     MissingTestConfig,
-}

Variants§

§

Panicked

Fields

§test: String
§index: usize
§error: String
§

UnexpectedOutput

Fields

§test: String
§index: usize
§expected: Value
§output: Value
§

PassedAndShouldntHave

Fields

§test: String
§index: usize
§

FailedAndShouldntHave

Fields

§test: String
§index: usize
§error: String
§

UnexpectedError

Fields

§test: String
§index: usize
§expected: String
§output: String
§

MismatchedTestExpectationLength

§

MissingTestConfig

Trait Implementations§

source§

impl Debug for TestError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TestError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+}

Variants§

§

Panicked

Fields

§test: String
§index: usize
§error: String
§

UnexpectedOutput

Fields

§test: String
§index: usize
§expected: Value
§output: Value
§

PassedAndShouldntHave

Fields

§test: String
§index: usize
§

FailedAndShouldntHave

Fields

§test: String
§index: usize
§error: String
§

UnexpectedError

Fields

§test: String
§index: usize
§expected: String
§output: String
§

MismatchedTestExpectationLength

§

MissingTestConfig

Trait Implementations§

source§

impl Debug for TestError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TestError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_test_framework/error/fn.emit_errors.html b/leo_test_framework/error/fn.emit_errors.html index 5067cc691f..e77e727de2 100644 --- a/leo_test_framework/error/fn.emit_errors.html +++ b/leo_test_framework/error/fn.emit_errors.html @@ -1,7 +1,7 @@ -emit_errors in leo_test_framework::error - Rust
pub fn emit_errors(
-    test: &str,
-    output: &Result<Result<Value, String>, String>,
+emit_errors in leo_test_framework::error - Rust
pub fn emit_errors(
+    test: &str,
+    output: &Result<Result<Value, String>, String>,
     mode: &TestExpectationMode,
-    expected_output: Option<Value>,
-    test_index: usize
-) -> Option<TestError>
\ No newline at end of file + expected_output: Option<Value>, + test_index: usize +) -> Option<TestError>
\ No newline at end of file diff --git a/leo_test_framework/error/index.html b/leo_test_framework/error/index.html index f9f71b152d..3a33d1d5c5 100644 --- a/leo_test_framework/error/index.html +++ b/leo_test_framework/error/index.html @@ -1 +1 @@ -leo_test_framework::error - Rust
\ No newline at end of file +leo_test_framework::error - Rust
\ No newline at end of file diff --git a/leo_test_framework/error/struct.TestFailure.html b/leo_test_framework/error/struct.TestFailure.html index 38a78416d4..6fbaed2358 100644 --- a/leo_test_framework/error/struct.TestFailure.html +++ b/leo_test_framework/error/struct.TestFailure.html @@ -1,14 +1,14 @@ -TestFailure in leo_test_framework::error - Rust
pub struct TestFailure {
-    pub path: String,
-    pub errors: Vec<TestError>,
-}

Fields§

§path: String§errors: Vec<TestError>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+TestFailure in leo_test_framework::error - Rust
pub struct TestFailure {
+    pub path: String,
+    pub errors: Vec<TestError>,
+}

Fields§

§path: String§errors: Vec<TestError>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_test_framework/fetch/fn.find_tests.html b/leo_test_framework/fetch/fn.find_tests.html index 3883591806..ee3b984d4a 100644 --- a/leo_test_framework/fetch/fn.find_tests.html +++ b/leo_test_framework/fetch/fn.find_tests.html @@ -1 +1 @@ -find_tests in leo_test_framework::fetch - Rust
pub fn find_tests(path: &Path) -> impl Iterator<Item = (PathBuf, String)>
\ No newline at end of file +find_tests in leo_test_framework::fetch - Rust
pub fn find_tests(path: &Path) -> impl Iterator<Item = (PathBuf, String)>
\ No newline at end of file diff --git a/leo_test_framework/fetch/fn.split_tests_one_line.html b/leo_test_framework/fetch/fn.split_tests_one_line.html index eb2f46d22a..f8aafa5bca 100644 --- a/leo_test_framework/fetch/fn.split_tests_one_line.html +++ b/leo_test_framework/fetch/fn.split_tests_one_line.html @@ -1 +1 @@ -split_tests_one_line in leo_test_framework::fetch - Rust
pub fn split_tests_one_line(source: &str) -> Vec<&str>
\ No newline at end of file +split_tests_one_line in leo_test_framework::fetch - Rust
pub fn split_tests_one_line(source: &str) -> Vec<&str>
\ No newline at end of file diff --git a/leo_test_framework/fetch/fn.split_tests_two_line.html b/leo_test_framework/fetch/fn.split_tests_two_line.html index d4895fdcbb..c522253de8 100644 --- a/leo_test_framework/fetch/fn.split_tests_two_line.html +++ b/leo_test_framework/fetch/fn.split_tests_two_line.html @@ -1 +1 @@ -split_tests_two_line in leo_test_framework::fetch - Rust
pub fn split_tests_two_line(source: &str) -> Vec<String>
\ No newline at end of file +split_tests_two_line in leo_test_framework::fetch - Rust
pub fn split_tests_two_line(source: &str) -> Vec<String>
\ No newline at end of file diff --git a/leo_test_framework/fetch/index.html b/leo_test_framework/fetch/index.html index e265f1d4dd..3b205fa959 100644 --- a/leo_test_framework/fetch/index.html +++ b/leo_test_framework/fetch/index.html @@ -1 +1 @@ -leo_test_framework::fetch - Rust
\ No newline at end of file +leo_test_framework::fetch - Rust
\ No newline at end of file diff --git a/leo_test_framework/index.html b/leo_test_framework/index.html index 006242c7cc..a4398cf1ad 100644 --- a/leo_test_framework/index.html +++ b/leo_test_framework/index.html @@ -1,4 +1,5 @@ -leo_test_framework - Rust
Expand description

The test framework to run integration tests with Leo code text.

+leo_test_framework - Rust
Expand description

The test framework to run integration tests with Leo code text.

This module contains the run_tests() method which runs all integration tests in the root [tests/] directory.

To regenerate the tests after a syntax change or failing test, delete the [tests/expectations/] diff --git a/leo_test_framework/output/index.html b/leo_test_framework/output/index.html index 72a1813998..ff22bc2280 100644 --- a/leo_test_framework/output/index.html +++ b/leo_test_framework/output/index.html @@ -1 +1 @@ -leo_test_framework::output - Rust

\ No newline at end of file +leo_test_framework::output - Rust
\ No newline at end of file diff --git a/leo_test_framework/output/struct.TestExpectation.html b/leo_test_framework/output/struct.TestExpectation.html index c10faaf812..7d84f869dc 100644 --- a/leo_test_framework/output/struct.TestExpectation.html +++ b/leo_test_framework/output/struct.TestExpectation.html @@ -1,19 +1,19 @@ -TestExpectation in leo_test_framework::output - Rust
pub struct TestExpectation {
-    pub namespace: String,
+TestExpectation in leo_test_framework::output - Rust
pub struct TestExpectation {
+    pub namespace: String,
     pub expectation: TestExpectationMode,
-    pub outputs: Vec<Value>,
-}

Fields§

§namespace: String§expectation: TestExpectationMode§outputs: Vec<Value>

Trait Implementations§

source§

impl Clone for TestExpectation

source§

fn clone(&self) -> TestExpectation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'de> Deserialize<'de> for TestExpectation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TestExpectation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ pub outputs: Vec<Value>, +}

Fields§

§namespace: String§expectation: TestExpectationMode§outputs: Vec<Value>

Trait Implementations§

source§

impl Clone for TestExpectation

source§

fn clone(&self) -> TestExpectation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'de> Deserialize<'de> for TestExpectation

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TestExpectation

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_test_framework/runner/enum.ParseType.html b/leo_test_framework/runner/enum.ParseType.html index d4f3761e0b..7064df8d84 100644 --- a/leo_test_framework/runner/enum.ParseType.html +++ b/leo_test_framework/runner/enum.ParseType.html @@ -1,20 +1,20 @@ -ParseType in leo_test_framework::runner - Rust
pub enum ParseType {
+ParseType in leo_test_framework::runner - Rust
pub enum ParseType {
     Line,
     ContinuousLines,
     Whole,
-}

Variants§

§

Line

§

ContinuousLines

§

Whole

Trait Implementations§

source§

impl Clone for ParseType

source§

fn clone(&self) -> ParseType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParseType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ParseType> for ParseType

source§

fn eq(&self, other: &ParseType) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Copy for ParseType

source§

impl Eq for ParseType

source§

impl StructuralEq for ParseType

source§

impl StructuralPartialEq for ParseType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+}

Variants§

§

Line

§

ContinuousLines

§

Whole

Trait Implementations§

source§

impl Clone for ParseType

source§

fn clone(&self) -> ParseType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ParseType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for ParseType

source§

fn eq(&self, other: &ParseType) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Copy for ParseType

source§

impl Eq for ParseType

source§

impl StructuralEq for ParseType

source§

impl StructuralPartialEq for ParseType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_test_framework/runner/fn.get_benches.html b/leo_test_framework/runner/fn.get_benches.html index 2eb462cfa1..71a215d6fe 100644 --- a/leo_test_framework/runner/fn.get_benches.html +++ b/leo_test_framework/runner/fn.get_benches.html @@ -1,2 +1,2 @@ -get_benches in leo_test_framework::runner - Rust
pub fn get_benches() -> Vec<(String, String)>
Expand description

returns (name, content) for all benchmark samples

+get_benches in leo_test_framework::runner - Rust
pub fn get_benches() -> Vec<(String, String)>
Expand description

returns (name, content) for all benchmark samples

\ No newline at end of file diff --git a/leo_test_framework/runner/fn.is_env_var_set.html b/leo_test_framework/runner/fn.is_env_var_set.html index 11b6e85578..dff82bae03 100644 --- a/leo_test_framework/runner/fn.is_env_var_set.html +++ b/leo_test_framework/runner/fn.is_env_var_set.html @@ -1 +1 @@ -is_env_var_set in leo_test_framework::runner - Rust
fn is_env_var_set(var: &str) -> bool
\ No newline at end of file +is_env_var_set in leo_test_framework::runner - Rust
fn is_env_var_set(var: &str) -> bool
\ No newline at end of file diff --git a/leo_test_framework/runner/fn.run_tests.html b/leo_test_framework/runner/fn.run_tests.html index 9bf363b47b..84e85a3c96 100644 --- a/leo_test_framework/runner/fn.run_tests.html +++ b/leo_test_framework/runner/fn.run_tests.html @@ -1 +1 @@ -run_tests in leo_test_framework::runner - Rust
pub fn run_tests<T: Runner>(runner: &T, expectation_category: &str)
\ No newline at end of file +run_tests in leo_test_framework::runner - Rust
pub fn run_tests<T: Runner>(runner: &T, expectation_category: &str)
\ No newline at end of file diff --git a/leo_test_framework/runner/fn.set_hook.html b/leo_test_framework/runner/fn.set_hook.html index e4c9a975f2..41e86b709f 100644 --- a/leo_test_framework/runner/fn.set_hook.html +++ b/leo_test_framework/runner/fn.set_hook.html @@ -1 +1 @@ -set_hook in leo_test_framework::runner - Rust
fn set_hook() -> Arc<Mutex<Option<String>>>
\ No newline at end of file +set_hook in leo_test_framework::runner - Rust
fn set_hook() -> Arc<Mutex<Option<String>>>
\ No newline at end of file diff --git a/leo_test_framework/runner/fn.take_hook.html b/leo_test_framework/runner/fn.take_hook.html index 586a818b7d..d4d99e39ae 100644 --- a/leo_test_framework/runner/fn.take_hook.html +++ b/leo_test_framework/runner/fn.take_hook.html @@ -1,4 +1,4 @@ -take_hook in leo_test_framework::runner - Rust
fn take_hook(
-    output: Result<Result<Value, String>, Box<dyn Any + Send>>,
-    panic_buf: Arc<Mutex<Option<String>>>
-) -> Result<Result<Value, String>, String>
\ No newline at end of file +take_hook in leo_test_framework::runner - Rust
fn take_hook(
+    output: Result<Result<Value, String>, Box<dyn Any + Send>>,
+    panic_buf: Arc<Mutex<Option<String>>>
+) -> Result<Result<Value, String>, String>
\ No newline at end of file diff --git a/leo_test_framework/runner/index.html b/leo_test_framework/runner/index.html index beb44ebaa5..d2b0b4a733 100644 --- a/leo_test_framework/runner/index.html +++ b/leo_test_framework/runner/index.html @@ -1 +1 @@ -leo_test_framework::runner - Rust
\ No newline at end of file +leo_test_framework::runner - Rust
\ No newline at end of file diff --git a/leo_test_framework/runner/struct.Test.html b/leo_test_framework/runner/struct.Test.html index d1a63c626c..47eb426146 100644 --- a/leo_test_framework/runner/struct.Test.html +++ b/leo_test_framework/runner/struct.Test.html @@ -1,16 +1,16 @@ -Test in leo_test_framework::runner - Rust
pub struct Test {
-    pub name: String,
-    pub content: String,
-    pub path: PathBuf,
+Test in leo_test_framework::runner - Rust
pub struct Test {
+    pub name: String,
+    pub content: String,
+    pub path: PathBuf,
     pub config: TestConfig,
-}

Fields§

§name: String§content: String§path: PathBuf§config: TestConfig

Auto Trait Implementations§

§

impl RefUnwindSafe for Test

§

impl Send for Test

§

impl Sync for Test

§

impl Unpin for Test

§

impl UnwindSafe for Test

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+}

Fields§

§name: String§content: String§path: PathBuf§config: TestConfig

Auto Trait Implementations§

§

impl RefUnwindSafe for Test

§

impl Send for Test

§

impl Sync for Test

§

impl Unpin for Test

§

impl UnwindSafe for Test

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_test_framework/runner/struct.TestCases.html b/leo_test_framework/runner/struct.TestCases.html index 140e86949a..18a23a13cc 100644 --- a/leo_test_framework/runner/struct.TestCases.html +++ b/leo_test_framework/runner/struct.TestCases.html @@ -1,27 +1,27 @@ -TestCases in leo_test_framework::runner - Rust
pub struct TestCases {
-    tests: Vec<(PathBuf, String)>,
-    path_prefix: PathBuf,
-    expectation_category: String,
-    fail_categories: Vec<TestFailure>,
-}

Fields§

§tests: Vec<(PathBuf, String)>§path_prefix: PathBuf§expectation_category: String§fail_categories: Vec<TestFailure>

Implementations§

source§

impl TestCases

source

fn new( - expectation_category: &str, - additional_check: impl Fn(&TestConfig) -> bool -) -> (Self, Vec<TestConfig>)

source

fn load_tests( +TestCases in leo_test_framework::runner - Rust
pub struct TestCases {
+    tests: Vec<(PathBuf, String)>,
+    path_prefix: PathBuf,
+    expectation_category: String,
+    fail_categories: Vec<TestFailure>,
+}

Fields§

§tests: Vec<(PathBuf, String)>§path_prefix: PathBuf§expectation_category: String§fail_categories: Vec<TestFailure>

Implementations§

source§

impl TestCases

source

fn new( + expectation_category: &str, + additional_check: impl Fn(&TestConfig) -> bool +) -> (Self, Vec<TestConfig>)

source

fn load_tests( &mut self, - additional_check: impl Fn(&TestConfig) -> bool -) -> Vec<TestConfig>

source

pub(crate) fn process_tests<P, O>( + additional_check: impl Fn(&TestConfig) -> bool +) -> Vec<TestConfig>

source

pub(crate) fn process_tests<P, O>( &mut self, - configs: Vec<TestConfig>, + configs: Vec<TestConfig>, process: P -) -> Vec<O>where - P: FnMut(&mut Self, (&Path, &str, &str, TestConfig)) -> O,

source

fn load_expectations(&self, path: &Path) -> (PathBuf, Option<TestExpectation>)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+) -> Vec<O>where + P: FnMut(&mut Self, (&Path, &str, &str, TestConfig)) -> O,

source

fn load_expectations(&self, path: &Path) -> (PathBuf, Option<TestExpectation>)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/leo_test_framework/runner/trait.Namespace.html b/leo_test_framework/runner/trait.Namespace.html index 5b30e32b49..981f5d888b 100644 --- a/leo_test_framework/runner/trait.Namespace.html +++ b/leo_test_framework/runner/trait.Namespace.html @@ -1,5 +1,5 @@ -Namespace in leo_test_framework::runner - Rust
pub trait Namespace: UnwindSafe + RefUnwindSafe {
+Namespace in leo_test_framework::runner - Rust
pub trait Namespace: UnwindSafe + RefUnwindSafe {
     // Required methods
     fn parse_type(&self) -> ParseType;
-    fn run_test(&self, test: Test) -> Result<Value, String>;
-}

Required Methods§

source

fn parse_type(&self) -> ParseType

source

fn run_test(&self, test: Test) -> Result<Value, String>

Implementors§

\ No newline at end of file + fn run_test(&self, test: Test) -> Result<Value, String>; +}

Required Methods§

source

fn parse_type(&self) -> ParseType

source

fn run_test(&self, test: Test) -> Result<Value, String>

Implementors§

\ No newline at end of file diff --git a/leo_test_framework/runner/trait.Runner.html b/leo_test_framework/runner/trait.Runner.html index 6fa2ff31da..71e62f8585 100644 --- a/leo_test_framework/runner/trait.Runner.html +++ b/leo_test_framework/runner/trait.Runner.html @@ -1,4 +1,4 @@ -Runner in leo_test_framework::runner - Rust
pub trait Runner {
+Runner in leo_test_framework::runner - Rust
pub trait Runner {
     // Required method
-    fn resolve_namespace(&self, name: &str) -> Option<Box<dyn Namespace>>;
-}

Required Methods§

source

fn resolve_namespace(&self, name: &str) -> Option<Box<dyn Namespace>>

Implementors§

\ No newline at end of file + fn resolve_namespace(&self, name: &str) -> Option<Box<dyn Namespace>>; +}

Required Methods§

source

fn resolve_namespace(&self, name: &str) -> Option<Box<dyn Namespace>>

Implementors§

\ No newline at end of file diff --git a/leo_test_framework/test/enum.TestExpectationMode.html b/leo_test_framework/test/enum.TestExpectationMode.html index 55f5fbc576..55cf752922 100644 --- a/leo_test_framework/test/enum.TestExpectationMode.html +++ b/leo_test_framework/test/enum.TestExpectationMode.html @@ -1,26 +1,26 @@ -TestExpectationMode in leo_test_framework::test - Rust
pub enum TestExpectationMode {
+TestExpectationMode in leo_test_framework::test - Rust
pub enum TestExpectationMode {
     Pass,
     Fail,
     Skip,
 }

Variants§

§

Pass

The test should pass.

§

Fail

The test should fail.

§

Skip

The test should be skipped.

-

Trait Implementations§

source§

impl Clone for TestExpectationMode

source§

fn clone(&self) -> TestExpectationMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TestExpectationMode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TestExpectationMode

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TestExpectationMode> for TestExpectationMode

source§

fn eq(&self, other: &TestExpectationMode) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TestExpectationMode

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TestExpectationMode

source§

impl StructuralEq for TestExpectationMode

source§

impl StructuralPartialEq for TestExpectationMode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for TestExpectationMode

source§

fn clone(&self) -> TestExpectationMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TestExpectationMode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TestExpectationMode

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for TestExpectationMode

source§

fn eq(&self, other: &TestExpectationMode) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TestExpectationMode

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TestExpectationMode

source§

impl StructuralEq for TestExpectationMode

source§

impl StructuralPartialEq for TestExpectationMode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/leo_test_framework/test/fn.extract_test_config.html b/leo_test_framework/test/fn.extract_test_config.html index 715a5c7012..6287bca5d0 100644 --- a/leo_test_framework/test/fn.extract_test_config.html +++ b/leo_test_framework/test/fn.extract_test_config.html @@ -1 +1 @@ -extract_test_config in leo_test_framework::test - Rust
pub fn extract_test_config(source: &str) -> Option<TestConfig>
\ No newline at end of file +extract_test_config in leo_test_framework::test - Rust
pub fn extract_test_config(source: &str) -> Option<TestConfig>
\ No newline at end of file diff --git a/leo_test_framework/test/index.html b/leo_test_framework/test/index.html index 4aad8bbf89..6d12cd3d62 100644 --- a/leo_test_framework/test/index.html +++ b/leo_test_framework/test/index.html @@ -1 +1 @@ -leo_test_framework::test - Rust
\ No newline at end of file +leo_test_framework::test - Rust
\ No newline at end of file diff --git a/leo_test_framework/test/struct.TestConfig.html b/leo_test_framework/test/struct.TestConfig.html index fe658e4ae5..dab5fc163e 100644 --- a/leo_test_framework/test/struct.TestConfig.html +++ b/leo_test_framework/test/struct.TestConfig.html @@ -1,19 +1,19 @@ -TestConfig in leo_test_framework::test - Rust
pub struct TestConfig {
-    pub namespace: String,
+TestConfig in leo_test_framework::test - Rust
pub struct TestConfig {
+    pub namespace: String,
     pub expectation: TestExpectationMode,
-    pub extra: BTreeMap<String, Value>,
-}

Fields§

§namespace: String§expectation: TestExpectationMode§extra: BTreeMap<String, Value>

Trait Implementations§

source§

impl Clone for TestConfig

source§

fn clone(&self) -> TestConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TestConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TestConfig

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TestConfig

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ pub extra: BTreeMap<String, Value>, +}

Fields§

§namespace: String§expectation: TestExpectationMode§extra: BTreeMap<String, Value>

Trait Implementations§

source§

impl Clone for TestConfig

source§

fn clone(&self) -> TestConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TestConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TestConfig

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TestConfig

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/search-index.js b/search-index.js index d588ab0f84..098f9fb56f 100644 --- a/search-index.js +++ b/search-index.js @@ -1,16 +1,16 @@ var searchIndex = JSON.parse('{\ -"errcov":{"doc":"","t":"F","n":["main"],"q":[[0,"errcov"]],"d":[""],"i":[0],"f":[[[],1]],"c":[],"p":[[15,"tuple"]]},\ -"leo":{"doc":"","t":"FF","n":["main","set_panic_hook"],"q":[[0,"leo"]],"d":["",""],"i":[0,0],"f":[[[],1],[[],1]],"c":[],"p":[[15,"tuple"]]},\ -"leo_abnf":{"doc":"","t":"NNNDELLLLLLLLLLLLLLMLLMFLMFLMMLLLLLLLL","n":["Code","Definition","Free","Processor","Scope","append_str","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","enter_scope","fmt","fmt","from","from","grammar","into","into","line","main","new","out","parse_abnf_node","process","rules","scope","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id"],"q":[[0,"leo_abnf"],[38,"core::fmt"],[39,"core::fmt"],[40,"abnf::types"],[41,"alloc::vec"],[42,"abnf::types"],[43,"core::result"],[44,"core::any"]],"d":["","","","Transforms abnf file into Markdown.","Processor’s scope. Used when code block or definition …","Append new line into output, add newline character.","","","","","","","","","Enter new scope (definition or code block). Allows …","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","Recursively parse ABNF Node and fill sum vec with found …","Main function for this struct. Goes through each line and …","","","","","","","","","",""],"i":[4,4,4,0,0,1,4,1,4,1,4,1,4,1,1,4,1,4,1,1,4,1,1,0,1,1,0,1,1,1,4,1,4,1,4,1,4,1],"f":[0,0,0,0,0,[[1,2],3],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[4,4],[1,1],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[1,4],3],[[4,5],6],[[1,5],6],[-1,-1,[]],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[[],[[7,[3]]]],[[2,[9,[8]]],1],0,[[10,[9,[11]]],3],[1,3],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,13,[]],[-1,13,[]]],"c":[],"p":[[3,"Processor",0],[15,"str"],[15,"tuple"],[4,"Scope",0],[3,"Formatter",38],[6,"Result",38],[6,"Result",39],[3,"Rule",40],[3,"Vec",41],[4,"Node",40],[3,"String",42],[4,"Result",43],[3,"TypeId",44]]},\ -"leo_ast":{"doc":"The abstract syntax tree (ast) for a Leo program.","t":"DALLMLLLLALLLLLLLLLALLLLAALALLALFAAFOAALLLLLLLLAADDDDDMMAAAMMMMMMMMAMMMMMMMMMAMMDMLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLDMLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLDLLLLLLLLLLLLLLLLLMLMLMLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLMLAAAAAADLLLLLLLLLLLLLLLLLLMLLLMLLLLLMLLLLLFFIGKKKKDDLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLMDLLLLLLLLLLLLLLLLLLLLLLLLLLNNNENNNNNNDNNNDENNNNDNDNNNNNDENNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNDDNNNDNNNNDNDENDNAMAALLAALLMLLLLMMLLLLLAMMMLLLMLMMMMMMMMMMMMMMLLMAMMMMMMLLLLMMMMMMMMMMMAALLLLAMLAAENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLMLLLLLLLLLMLLLLLLMLLLLLNNNDENNNNNNNNNNNNNNNNNNNNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMMMLLLLLMLLLLLLLLLLDMLLLLLLLLLLLLLMLLLMLMLLLLLLMLLLLLDLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLMLDLLLLLLLLLLLLLLLLLMLLLLLLMLLLLLNNNNNENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLMMMLLLLMMLLLLLLLLMMLLLLLLLLLLLDLLLLMLLLLLLLLLLLLLMMMLLLLLLMLLLLLDLLLLLLLLMLLLLLLLLLMLLLLLLMLLLLLNNNNNNNNNNDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMMLLLLLMLLLLLLLLLDLLLLLLLLLLLLLLLLLMLLLLLLMLLLLLDAMMLLLLALLLLLLLLLAAMLLLLLMMLAMLALLAMMLLLLMLLLLLAMDLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLLNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLMMLLMMLLLLMLLLLLLDMLLLLLLLLLLLLLLLLLMMLMLLMMLLLLMLLLLLNDENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLLLLMLLLLLLLLMLLLLLLLLLMLLNENNNLLLLLLLLLLLLLLLLLLLLLLLLNDNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLMLLLLLLLLMLLLLLLLLLMLLNNNELLLLLLLLLLLLLLLLLLLLLLAAENNNNLLLLLLLLLLLLLLLLLLLLLLLLEDNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLMLLLLLLLLLMMGMAMAAAADLLLLLLLLLLLLLLLLLMMLMLLLMLMDDLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLLLLLLLLLLLLLNNNNENLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLMLLLLLLDLLLLMLLLLLLLLLMLMLLLLDLLLLLLLLLLLLLLLLLMMLLMLLLLMLLLLLMAAAIIIIQQQQQQQQIIIIKKKKKKKKKKKKLLKKKKKKKKKKLKKKKKKQIIILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLQIQIILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLMLLAAMLLLLLLDLLLLLLLLLLLLLLLLLLLMMLLLLLLDLLLLMLLLLLLLLLLLLMLLMMLMMLLLLLNNNNNNNNNNEAAALLLLAAAALLLLLLLLLLALLLLLLAALLLLLLLLLNNNDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLMLLLLLLLLLMDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLLMDLLLLLLLLLLLLLLLLLMLLLLLLMMLLLLLDLLLLMLLLLLLLLLLLLLMLLMLLLLMMLLLLLAANNNELLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLMLMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLMNEDNLLLLAMLLLLLLLLLLLLLMLLMLLLLMLLLLMLMNENLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLLDMLLLLLLLLLLLLLLLLLMMLLLLLLMMMMMLLLLMLMDLLLLLLLLLLLLLMMLLLLMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLMAMLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLMLLLLLMLLLLMLAAAAAADLLLLLLLLLLMLLLLLLLLLLLLMLLLLLLLENLLLLLLLLLLLLLLLLLLLLLNNNNNENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLMLLLLLLMDLLLLLLLLLMLLLLLLLLLLLLLLLLLLLNNNNNNNNNNNNNENLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNNNNNNNNNNNNNELLLLLLLLLLLLLLLLLLLLLLLLLLLOOLLLLLLLLLLLLLLLLLLLLLLLL","n":["Ast","access","as_ref","as_repr","ast","borrow","borrow_mut","clone","clone_into","common","default","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","expressions","fmt","from","from_json_file","from_json_string","functions","groups","init","input","into","into_repr","mapping","new","normalize_json_value","passes","program","remove_key_from_json","simple_node_impl","statement","struct","to_json_file","to_json_file_without_keys","to_json_string","to_json_value","to_owned","try_from","try_into","type_id","types","value","ArrayAccess","AssociatedConstant","AssociatedFunction","MemberAccess","TupleAccess","arguments","array","array_access","associated_constant_access","associated_function_access","id","id","id","id","id","index","index","inner","member_access","name","name","name","span","span","span","span","span","tuple","tuple_access","ty","ty","ArrayAccess","array","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","index","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","AssociatedConstant","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","ty","type_id","AssociatedFunction","arguments","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","ty","type_id","MemberAccess","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","inner","into","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","TupleAccess","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","index","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","tuple","type_id","identifier","imported_modules","node","node_builder","positive_number","static_string","Identifier","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","id","id","init","into","matches","name","new","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","deserialize","serialize","Node","NodeID","id","set_id","set_span","span","NodeBuilder","NodeBuilderInner","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","default","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","from","from","init","init","inner","into","into","new","new","next","next_id","next_id","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","NonNegativeNumber","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","hash","init","into","is_zero","serialize","string","string","to_owned","to_string","try_from","try_into","type_id","value","value","StaticString","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","new","serialize","to_owned","to_string","try_from","try_into","type_id","Abs","AbsWrapped","Access","AccessExpression","Add","AddWrapped","Address","And","Array","Array","ArrayExpression","AssociatedConstant","AssociatedFunction","Binary","BinaryExpression","BinaryOperation","BitwiseAnd","BitwiseOr","Boolean","Call","CallExpression","Cast","CastExpression","Div","DivWrapped","Double","Eq","Err","ErrExpression","Expression","Field","Group","Gt","Gte","Identifier","Integer","Inverse","Literal","Literal","Lt","Lte","Member","Mod","Mul","MulWrapped","Nand","Negate","Neq","Nor","Not","Or","Pow","PowWrapped","Rem","RemWrapped","Scalar","Shl","ShlWrapped","Shr","ShrWrapped","Square","SquareRoot","String","Struct","StructExpression","StructVariableInitializer","Sub","SubWrapped","Ternary","TernaryExpression","ToXCoordinate","ToYCoordinate","Tuple","Tuple","TupleExpression","Unary","UnaryExpression","UnaryOperation","Unit","UnitExpression","Xor","access","arguments","array","binary","borrow","borrow_mut","call","cast","clone","clone_into","condition","deref","deref_mut","deserialize","drop","elements","elements","eq","equivalent","equivalent","equivalent","equivalent","err","expression","expression","external","fmt","fmt","from","function","id","id","id","id","id","id","id","id","id","id","id","id","identifier","if_false","if_true","init","into","left","literal","members","name","op","op","receiver","right","serialize","set_id","set_span","span","span","span","span","span","span","span","span","span","span","span","span","struct_init","ternary","to_owned","to_string","try_from","try_into","tuple","type_","type_id","unary","unit","AccessExpression","Array","AssociatedConstant","AssociatedFunction","Member","Tuple","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","init","into","serialize","set_id","set_span","span","to_owned","to_string","try_from","try_into","type_id","ArrayExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","elements","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Add","AddWrapped","And","BinaryExpression","BinaryOperation","BitwiseAnd","BitwiseOr","Div","DivWrapped","Eq","Gt","Gte","Lt","Lte","Mod","Mul","MulWrapped","Nand","Neq","Nor","Or","Pow","PowWrapped","Rem","RemWrapped","Shl","ShlWrapped","Shr","ShrWrapped","Sub","SubWrapped","Xor","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from_symbol","id","id","init","init","into","into","left","op","right","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_id","type_id","CallExpression","arguments","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","external","fmt","fmt","from","function","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","CastExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","ErrExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Address","Boolean","Field","Group","Integer","Literal","Scalar","String","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from_value","id","init","into","serialize","set_id","set_span","span","to_owned","to_string","try_from","try_into","type_id","StructExpression","StructVariableInitializer","borrow","borrow","borrow_mut","borrow_mut","check_record","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","fmt","fmt","from","from","id","id","id","id","identifier","init","init","into","into","members","name","serialize","serialize","set_id","set_id","set_span","set_span","span","span","span","span","to_owned","to_owned","to_record_string","to_string","to_string","try_from","try_from","try_into","try_into","type_id","type_id","TernaryExpression","borrow","borrow_mut","clone","clone_into","condition","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","if_false","if_true","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","TupleExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","elements","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Abs","AbsWrapped","Double","Inverse","Negate","Not","Square","SquareRoot","ToXCoordinate","ToYCoordinate","UnaryExpression","UnaryOperation","as_str","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","from_symbol","id","id","init","init","into","into","op","receiver","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","UnitExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Function","annotation","annotations","block","borrow","borrow_mut","clone","clone_into","core_function","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","external","finalize","finalize","fmt","fmt","format","from","id","id","identifier","init","input","input","into","mode","name","new","output","output","output_type","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","variant","variant","Annotation","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","BHP1024CommitToAddress","BHP1024CommitToField","BHP1024CommitToGroup","BHP1024HashToAddress","BHP1024HashToField","BHP1024HashToGroup","BHP1024HashToI128","BHP1024HashToI16","BHP1024HashToI32","BHP1024HashToI64","BHP1024HashToI8","BHP1024HashToScalar","BHP1024HashToU128","BHP1024HashToU16","BHP1024HashToU32","BHP1024HashToU64","BHP1024HashToU8","BHP256CommitToAddress","BHP256CommitToField","BHP256CommitToGroup","BHP256HashToAddress","BHP256HashToField","BHP256HashToGroup","BHP256HashToI128","BHP256HashToI16","BHP256HashToI32","BHP256HashToI64","BHP256HashToI8","BHP256HashToScalar","BHP256HashToU128","BHP256HashToU16","BHP256HashToU32","BHP256HashToU64","BHP256HashToU8","BHP512CommitToAddress","BHP512CommitToField","BHP512CommitToGroup","BHP512HashToAddress","BHP512HashToField","BHP512HashToGroup","BHP512HashToI128","BHP512HashToI16","BHP512HashToI32","BHP512HashToI64","BHP512HashToI8","BHP512HashToScalar","BHP512HashToU128","BHP512HashToU16","BHP512HashToU32","BHP512HashToU64","BHP512HashToU8","BHP768CommitToAddress","BHP768CommitToField","BHP768CommitToGroup","BHP768HashToAddress","BHP768HashToField","BHP768HashToGroup","BHP768HashToI128","BHP768HashToI16","BHP768HashToI32","BHP768HashToI64","BHP768HashToI8","BHP768HashToScalar","BHP768HashToU128","BHP768HashToU16","BHP768HashToU32","BHP768HashToU64","BHP768HashToU8","ChaChaRandAddress","ChaChaRandBool","ChaChaRandField","ChaChaRandGroup","ChaChaRandI128","ChaChaRandI16","ChaChaRandI32","ChaChaRandI64","ChaChaRandI8","ChaChaRandScalar","ChaChaRandU128","ChaChaRandU16","ChaChaRandU32","ChaChaRandU64","ChaChaRandU8","CoreFunction","GroupToXCoordinate","GroupToYCoordinate","Keccak256HashToAddress","Keccak256HashToField","Keccak256HashToGroup","Keccak256HashToI128","Keccak256HashToI16","Keccak256HashToI32","Keccak256HashToI64","Keccak256HashToI8","Keccak256HashToScalar","Keccak256HashToU128","Keccak256HashToU16","Keccak256HashToU32","Keccak256HashToU64","Keccak256HashToU8","Keccak384HashToAddress","Keccak384HashToField","Keccak384HashToGroup","Keccak384HashToI128","Keccak384HashToI16","Keccak384HashToI32","Keccak384HashToI64","Keccak384HashToI8","Keccak384HashToScalar","Keccak384HashToU128","Keccak384HashToU16","Keccak384HashToU32","Keccak384HashToU64","Keccak384HashToU8","Keccak512HashToAddress","Keccak512HashToField","Keccak512HashToGroup","Keccak512HashToI128","Keccak512HashToI16","Keccak512HashToI32","Keccak512HashToI64","Keccak512HashToI8","Keccak512HashToScalar","Keccak512HashToU128","Keccak512HashToU16","Keccak512HashToU32","Keccak512HashToU64","Keccak512HashToU8","MappingContains","MappingGet","MappingGetOrUse","MappingRemove","MappingSet","Pedersen128CommitToAddress","Pedersen128CommitToField","Pedersen128CommitToGroup","Pedersen128HashToAddress","Pedersen128HashToField","Pedersen128HashToGroup","Pedersen128HashToI128","Pedersen128HashToI16","Pedersen128HashToI32","Pedersen128HashToI64","Pedersen128HashToI8","Pedersen128HashToScalar","Pedersen128HashToU128","Pedersen128HashToU16","Pedersen128HashToU32","Pedersen128HashToU64","Pedersen128HashToU8","Pedersen64CommitToAddress","Pedersen64CommitToField","Pedersen64CommitToGroup","Pedersen64HashToAddress","Pedersen64HashToField","Pedersen64HashToGroup","Pedersen64HashToI128","Pedersen64HashToI16","Pedersen64HashToI32","Pedersen64HashToI64","Pedersen64HashToI8","Pedersen64HashToScalar","Pedersen64HashToU128","Pedersen64HashToU16","Pedersen64HashToU32","Pedersen64HashToU64","Pedersen64HashToU8","Poseidon2HashToAddress","Poseidon2HashToField","Poseidon2HashToGroup","Poseidon2HashToI128","Poseidon2HashToI16","Poseidon2HashToI32","Poseidon2HashToI64","Poseidon2HashToI8","Poseidon2HashToScalar","Poseidon2HashToU128","Poseidon2HashToU16","Poseidon2HashToU32","Poseidon2HashToU64","Poseidon2HashToU8","Poseidon4HashToAddress","Poseidon4HashToField","Poseidon4HashToGroup","Poseidon4HashToI128","Poseidon4HashToI16","Poseidon4HashToI32","Poseidon4HashToI64","Poseidon4HashToI8","Poseidon4HashToScalar","Poseidon4HashToU128","Poseidon4HashToU16","Poseidon4HashToU32","Poseidon4HashToU64","Poseidon4HashToU8","Poseidon8HashToAddress","Poseidon8HashToField","Poseidon8HashToGroup","Poseidon8HashToI128","Poseidon8HashToI16","Poseidon8HashToI32","Poseidon8HashToI64","Poseidon8HashToI8","Poseidon8HashToScalar","Poseidon8HashToU128","Poseidon8HashToU16","Poseidon8HashToU32","Poseidon8HashToU64","Poseidon8HashToU8","SHA3_256HashToAddress","SHA3_256HashToField","SHA3_256HashToGroup","SHA3_256HashToI128","SHA3_256HashToI16","SHA3_256HashToI32","SHA3_256HashToI64","SHA3_256HashToI8","SHA3_256HashToScalar","SHA3_256HashToU128","SHA3_256HashToU16","SHA3_256HashToU32","SHA3_256HashToU64","SHA3_256HashToU8","SHA3_384HashToAddress","SHA3_384HashToField","SHA3_384HashToGroup","SHA3_384HashToI128","SHA3_384HashToI16","SHA3_384HashToI32","SHA3_384HashToI64","SHA3_384HashToI8","SHA3_384HashToScalar","SHA3_384HashToU128","SHA3_384HashToU16","SHA3_384HashToU32","SHA3_384HashToU64","SHA3_384HashToU8","SHA3_512HashToAddress","SHA3_512HashToField","SHA3_512HashToGroup","SHA3_512HashToI128","SHA3_512HashToI16","SHA3_512HashToI32","SHA3_512HashToI64","SHA3_512HashToI8","SHA3_512HashToScalar","SHA3_512HashToU128","SHA3_512HashToU16","SHA3_512HashToU32","SHA3_512HashToU64","SHA3_512HashToU8","SignatureVerify","borrow","borrow_mut","clone","clone_into","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","from","from_symbols","init","into","is_finalize_command","num_args","to_owned","try_from","try_into","type_id","External","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","program_name","record","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","Finalize","block","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","input","into","new","output","output_type","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","External","FunctionInput","Input","Internal","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","format","from","from","id","id","id","identifier","identifier","init","init","into","into","mode","mode","serialize","serialize","set_id","set_id","set_span","set_span","span","span","span","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_","type_","type_id","type_id","Constant","Mode","None","Private","Public","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","External","FunctionOutput","Internal","Output","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","id","id","id","init","init","into","into","mode","mode","serialize","serialize","set_id","set_id","set_span","set_span","span","span","span","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_","type_","type_id","type_id","Inline","Standard","Transition","Variant","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","init","into","serialize","to_owned","try_from","try_into","type_id","group_coordinate","group_literal","GroupCoordinate","Inferred","Number","SignHigh","SignLow","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","GroupLiteral","GroupTuple","Single","Tuple","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","id","id","init","init","into","into","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","x","y","Definitions","core","definition","hash_builder","input_ast","input_value","program_input","section","Definition","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","init","into","mode","name","serialize","span","to_owned","try_from","try_into","type_","type_id","value","InputAst","InputData","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","default","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","fmt","fmt","from","from","init","init","into","into","program_input","program_inputs","sections","serialize","serialize","to_json_file","to_json_file_without_keys","to_json_string","to_json_value","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","Address","Boolean","Field","Group","InputValue","Integer","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_from","try_into","type_id","ProgramInput","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","fmt","from","init","into","main","serialize","to_owned","try_from","try_from","try_into","type_id","Section","borrow","borrow_mut","clone","clone_into","definitions","deref","deref_mut","deserialize","drop","fmt","from","init","into","name","name","serialize","span","to_owned","try_from","try_into","type_id","Mapping","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","key_type","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","value_type","consumer","reconstructor","visitor","ExpressionConsumer","FunctionConsumer","ImportConsumer","MappingConsumer","Output","Output","Output","Output","Output","Output","Output","Output","ProgramConsumer","ProgramScopeConsumer","StatementConsumer","StructConsumer","consume_access","consume_array","consume_assert","consume_assign","consume_binary","consume_block","consume_call","consume_cast","consume_conditional","consume_console","consume_const","consume_definition","consume_err","consume_expression","consume_expression_statement","consume_function","consume_identifier","consume_import","consume_iteration","consume_literal","consume_mapping","consume_program","consume_program_scope","consume_return","consume_statement","consume_struct","consume_struct_init","consume_ternary","consume_tuple","consume_unary","consume_unit","AdditionalOutput","ExpressionReconstructor","ProgramReconstructor","StatementReconstructor","reconstruct_access","reconstruct_array","reconstruct_array_access","reconstruct_assert","reconstruct_assign","reconstruct_associated_constant","reconstruct_associated_function","reconstruct_binary","reconstruct_block","reconstruct_call","reconstruct_cast","reconstruct_conditional","reconstruct_console","reconstruct_const","reconstruct_definition","reconstruct_err","reconstruct_expression","reconstruct_expression_statement","reconstruct_function","reconstruct_identifier","reconstruct_import","reconstruct_iteration","reconstruct_literal","reconstruct_mapping","reconstruct_member_access","reconstruct_program","reconstruct_program_scope","reconstruct_return","reconstruct_statement","reconstruct_struct","reconstruct_struct_init","reconstruct_ternary","reconstruct_tuple","reconstruct_tuple_access","reconstruct_unary","reconstruct_unit","AdditionalInput","ExpressionVisitor","Output","ProgramVisitor","StatementVisitor","visit_access","visit_array","visit_assert","visit_assign","visit_binary","visit_block","visit_call","visit_cast","visit_conditional","visit_console","visit_const","visit_definition","visit_err","visit_expression","visit_expression_statement","visit_function","visit_identifier","visit_import","visit_iteration","visit_literal","visit_mapping","visit_program","visit_program_scope","visit_return","visit_statement","visit_struct","visit_struct_init","visit_ternary","visit_tuple","visit_unary","visit_unit","Program","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","imports","init","into","program_id","program_scope","program_scopes","serialize","to_owned","to_string","try_from","try_into","type_id","ProgramId","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","name","network","serialize","to_owned","to_string","try_from","try_into","type_id","ProgramScope","borrow","borrow_mut","clone","clone_into","consts","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","functions","init","into","mappings","program_id","serialize","span","structs","to_owned","to_string","try_from","try_into","type_id","Assert","Assign","Block","Conditional","Console","Const","Definition","Expression","Iteration","Return","Statement","assert","assign","block","borrow","borrow_mut","clone","clone_into","conditional","console","const_","definition","deref","deref_mut","deserialize","drop","dummy","eq","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","from","id","init","into","iteration","return_","serialize","set_id","set_span","span","to_owned","to_string","try_from","try_into","type_id","Assert","AssertEq","AssertNeq","AssertStatement","AssertVariant","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","id","id","init","init","into","into","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","variant","AssignStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","place","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","value","Block","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","statements","to_owned","to_string","try_from","try_into","type_id","ConditionalStatement","borrow","borrow_mut","clone","clone_into","condition","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","otherwise","serialize","set_id","set_span","span","span","then","to_owned","to_string","try_from","try_into","type_id","console_function","console_statement","Assert","AssertEq","AssertNeq","ConsoleFunction","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","ConsoleStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","function","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","ConstDeclaration","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","place","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","value","Const","DeclarationType","DefinitionStatement","Let","borrow","borrow_mut","clone","clone_into","declaration_type","declaration_type","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","place","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","value","Const","DeclarationType","Let","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","ExpressionStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","IterationStatement","block","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","inclusive","init","into","serialize","set_id","set_span","span","span","start","start_value","stop","stop_value","to_owned","to_string","try_from","try_into","type_","type_id","variable","ReturnStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","expression","finalize_arguments","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Struct","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","is_record","member","members","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Member","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","mode","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","array","core_constant","integer_type","mapping","tuple","type_","ArrayType","base_element_type","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","element_type","element_type","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","length","length","new","serialize","to_owned","to_string","try_from","try_into","type_id","CoreConstant","GroupGenerator","borrow","borrow_mut","clone","clone_into","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","from","from_symbols","init","into","to_owned","to_type","try_from","try_into","type_id","I128","I16","I32","I64","I8","IntegerType","U128","U16","U32","U64","U8","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","is_signed","serialize","symbol","to_owned","to_string","try_from","try_into","type_id","MappingType","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","key","serialize","to_owned","to_string","try_from","try_into","type_id","value","TupleType","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","elements","elements","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","length","new","serialize","to_owned","to_string","try_from","try_into","type_id","Address","Array","Boolean","Err","Field","Group","Identifier","Integer","Mapping","Scalar","Signature","String","Tuple","Type","Unit","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","eq_flat","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","hash","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","Address","Boolean","Field","Group","I128","I16","I32","I64","I8","Input","Scalar","String","Struct","U128","U16","U32","U64","U8","Value","abs","abs_wrapped","add","add_wrapped","as_ref","bitand","bitor","borrow","borrow_mut","clone","clone_into","deref","deref_mut","div","div_wrapped","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","ge","gt","implement_const_binary","implement_const_unary","init","into","is_supported_const_fold_type","le","lt","mul","mul_wrapped","neg","not","pow","pow_wrapped","shl","shl_wrapped","shr","shr_wrapped","sub","sub_wrapped","to_owned","to_string","try_from","try_from","try_into","type_id","xor"],"q":[[0,"leo_ast"],[49,"leo_ast::access"],[80,"leo_ast::access::array_access"],[113,"leo_ast::access::associated_constant_access"],[146,"leo_ast::access::associated_function_access"],[180,"leo_ast::access::member_access"],[213,"leo_ast::access::tuple_access"],[246,"leo_ast::common"],[252,"leo_ast::common::identifier"],[287,"leo_ast::common::imported_modules"],[289,"leo_ast::common::node"],[295,"leo_ast::common::node_builder"],[334,"leo_ast::common::positive_number"],[367,"leo_ast::common::static_string"],[394,"leo_ast::expressions"],[556,"leo_ast::expressions::access"],[590,"leo_ast::expressions::array"],[622,"leo_ast::expressions::binary"],[712,"leo_ast::expressions::call"],[746,"leo_ast::expressions::cast"],[779,"leo_ast::expressions::err"],[810,"leo_ast::expressions::literal"],[847,"leo_ast::expressions::struct_init"],[915,"leo_ast::expressions::ternary"],[949,"leo_ast::expressions::tuple"],[981,"leo_ast::expressions::unary"],[1049,"leo_ast::expressions::unit"],[1080,"leo_ast::functions"],[1130,"leo_ast::functions::annotation"],[1162,"leo_ast::functions::core_function"],[1436,"leo_ast::functions::external"],[1471,"leo_ast::functions::finalize"],[1508,"leo_ast::functions::input"],[1577,"leo_ast::functions::mode"],[1606,"leo_ast::functions::output"],[1672,"leo_ast::functions::variant"],[1698,"leo_ast::groups"],[1700,"leo_ast::groups::group_coordinate"],[1729,"leo_ast::groups::group_literal"],[1787,"leo_ast::input"],[1795,"leo_ast::input::definition"],[1823,"leo_ast::input::input_ast"],[1867,"leo_ast::input::input_value"],[1898,"leo_ast::input::program_input"],[1919,"leo_ast::input::section"],[1941,"leo_ast::mapping"],[1975,"leo_ast::passes"],[1978,"leo_ast::passes::consumer"],[2025,"leo_ast::passes::reconstructor"],[2065,"leo_ast::passes::visitor"],[2101,"leo_ast::program"],[2131,"leo_ast::program::program_id"],[2159,"leo_ast::program::program_scope"],[2190,"leo_ast::statement"],[2240,"leo_ast::statement::assert"],[2298,"leo_ast::statement::assign"],[2331,"leo_ast::statement::block"],[2363,"leo_ast::statement::conditional"],[2397,"leo_ast::statement::console"],[2399,"leo_ast::statement::console::console_function"],[2427,"leo_ast::statement::console::console_statement"],[2459,"leo_ast::statement::const_"],[2493,"leo_ast::statement::definition"],[2532,"leo_ast::statement::definition::declaration_type"],[2559,"leo_ast::statement::expression"],[2591,"leo_ast::statement::iteration"],[2630,"leo_ast::statement::return_"],[2663,"leo_ast::struct"],[2699,"leo_ast::struct::member"],[2734,"leo_ast::types"],[2740,"leo_ast::types::array"],[2772,"leo_ast::types::core_constant"],[2795,"leo_ast::types::integer_type"],[2833,"leo_ast::types::mapping"],[2861,"leo_ast::types::tuple"],[2891,"leo_ast::types::type_"],[2934,"leo_ast::value"],[3006,"core::fmt"],[3007,"core::fmt"],[3008,"leo_errors::errors"],[3009,"serde_json::value"],[3010,"alloc::string"],[3011,"core::result"],[3012,"core::any"],[3013,"serde::de"],[3014,"serde::ser"],[3015,"leo_span::span"],[3016,"core::hash"],[3017,"leo_span::symbol"],[3018,"alloc::vec"],[3019,"indexmap::map"],[3020,"core::option"]],"d":["The abstract syntax tree (AST) for a Leo program.","","","Returns a reference to the inner program AST …","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Deserializes the JSON string into a ast from a file.","Deserializes the JSON string into a ast.","","","","","Calls U::from(self).","","","Creates a new AST from a given program tree.","Helper function to normalize AST JSON into a form …","This module contains both a Reducer and Visitor design …","A Leo program consists of import statements and program …","Helper function to recursively filter keys from AST JSON","","","","Serializes the ast into a JSON file.","Serializes the ast into a JSON value and removes keys from …","Serializes the ast into a JSON string.","","","","","","","","An array access expression, e.g., foo[index].","An access expression to an struct constant., e.g. u8::MAX.","An access expression to an associated function in a …","A struct member access expression inner.name to some …","A tuple access expression, e.g., tuple.index.","The arguments passed to the function name.","An expression evaluating to some array type, e.g., …","","","","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The index to access in the array expression. E.g., 0 for …","The index to access in the tuple expression. E.g., 0 for …","The inner struct that is being accessed.","","The struct constant that is being accessed.","The static struct member function that is being accessed.","The name of the struct member to access.","The span for the entire expression foo[index].","The span for the entire expression Foo::bar().","The span for the entire expression Foo::bar().","The span covering all of inner.name.","The span for the entire expression tuple.index.","An expression evaluating to some tuple type, e.g., (5, 2).","","The inner struct type.","The inner struct type.","An array access expression, e.g., foo[index].","An expression evaluating to some array type, e.g., …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The index to access in the array expression. E.g., 0 for …","","Calls U::from(self).","","","","","The span for the entire expression foo[index].","","","","","","An access expression to an struct constant., e.g. u8::MAX.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The struct constant that is being accessed.","","","","","The span for the entire expression Foo::bar().","","","","","The inner struct type.","","An access expression to an associated function in a …","The arguments passed to the function name.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The static struct member function that is being accessed.","","","","","The span for the entire expression Foo::bar().","","","","","The inner struct type.","","A struct member access expression inner.name to some …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","The inner struct that is being accessed.","Calls U::from(self).","The name of the struct member to access.","","","","","The span covering all of inner.name.","","","","","","A tuple access expression, e.g., tuple.index.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The index to access in the tuple expression. E.g., 0 for …","","Calls U::from(self).","","","","","The span for the entire expression tuple.index.","","","","","An expression evaluating to some tuple type, e.g., (5, 2).","","","","","","","","An identifier in a program.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","The ID of the node.","","Calls U::from(self).","Check if the Identifier name matches the other name.","The symbol that the user wrote, e.g., foo.","Constructs a new identifier with name and id and a default …","","","","","A span locating where the identifier occurred in the …","","","","","","","","A node in the AST.","A node ID.","Returns the ID of the node.","Sets the ID of the node.","Sets the span of the node.","Returns the span of the node.","A counter that produces sequentially increasing NodeIDs.","Contains the actual data for Handler. Modeled this way to …","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The inner counter. RefCell is used here to avoid &mut all …","Calls U::from(self).","Calls U::from(self).","Returns a new NodeCounter with the given NodeID as the …","Returns a new NodeCounter with the given NodeID as the …","The next NodeID.","Returns the next NodeID and increments the internal state.","Returns the next NodeID and increments the internal state.","","","","","","","","","A number string guaranteed to be non-negative.","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Returns true if this number is zero.","","Returns the string representation of the non-negative …","The string representation of the non-negative number.","","","","","","Returns the numeric value of the non-negative number.","The numeric value of the non-negative number.","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","Absolute value checking for overflow, i.e. .abs().","Absolute value wrapping around at the boundary of the …","A struct access expression, e.g. Foo.bar.","An access expressions, extracting a smaller part out of a …","Addition, i.e. +, .add().","Wrapping addition, i.e. .add_wrapped().","An address literal, e.g., …","Logical AND, i.e. &&.","An array[index] expression.","An array expression, e.g., [true, false, true, false].","An array expression, e.g., [true, false, true, false].","Access to an associated variable of a struct e.g u8::MAX.","Access to an associated function of a struct e.g …","A binary expression, e.g., 42 + 24.","A binary expression left op right of two operands …","A binary operator.","Bitwise AND, i.e. &, .and().","Bitwise OR, i.e. |, .or().","A boolean literal, either true or false.","A call expression, e.g., my_fun(args).","A function call expression, e.g.foo(args) or Foo::bar(args)…","A cast expression, e.g., 42u32 as u8.","A cast expression, e.g. 42u8 as u16.","Division, i.e. /, .div().","Wrapping division, i.e. .div_wrapped().","Double operation, i.e. .double().","Equality relation, i.e. ==, .eq().","An expression of type “error”. Will result in a …","Represents a syntactically invalid expression.","Expression that evaluates to a value.","A field literal, e.g., 42field. A signed number followed …","A group literal, either product or affine. For example, …","Greater-than relation, i.e. >, .gt().","Greater-or-equal relation, i.e. >=, .gte().","An identifier.","An integer literal, e.g., 42.","Multiplicative inverse, i.e. .inv().","A literal.","A literal expression.","Lesser-than relation, i.e. <, .lt().","Lesser-or-equal relation, i.e. <=, .lte().","An expression accessing a field in a structure, e.g., …","Arithmetic modulo, i.e. .mod()","Multiplication, i.e. *, .mul().","Wrapping multiplication, i.e. .mul_wrapped().","Boolean NAND, i.e. .nand().","Negate operation, i.e. .neg().","In-equality relation, i.e. !=, .neq().","Boolean NOR, i.e. .nor().","Bitwise NOT, i.e. !, .not().","Logical OR, i.e. ||.","Exponentiation, i.e. ** in a ** b, .pow().","Wrapping exponentiation, i.e. .pow_wrapped().","Remainder, i.e. %, .rem().","Wrapping remainder, i.e. .rem_wrapped().","A scalar literal, e.g. 1scalar. An unsigned number …","Shift left operation, i.e. <<, .shl().","Wrapping shift left operation, i.e. .shl_wrapped().","Shift right operation, i.e. >>, .shr().","Wrapping shift right operation, i.e. .shr_wrapped().","Square operation, i.e. .square().","Square root operation, i.e. .sqrt().","A string literal, e.g., "foobar".","An expression constructing a struct like …","A struct initialization expression, e.g., …","An initializer for a single field / variable of a struct …","Subtraction, i.e. -, .sub().","Wrapped subtraction, i.e. .sub_wrapped().","A ternary conditional expression cond ? if_expr : else_expr…","A ternary conditional expression, that is, …","Converts a group element to its x-coordinate, i.e. …","Converts a group element to its y-coordinate, i.e. …","Access to a tuple field using its position, e.g., tuple.1.","A tuple expression e.g., (foo, 42, true).","A tuple expression, e.g., (foo, false, 42).","An unary expression.","An unary expression applying an operator to an inner …","A unary operator for a unary expression.","A unit expression e.g. ()","Represents a unit expression.","Bitwise XOR, i.e. .xor().","","Expressions for the arguments passed to the functions …","","","","","","","","","The condition determining which branch to pick.","","","","","The elements of the array.","The elements of the tuple. In the example above, it would …","","","","","","","The expression to be casted, e.g.42u8 in 42u8 as u16.","The expression to initialize the field with. When None, a …","The name of the external program call, e.g.bar in bar.leo.","","","Returns the argument unchanged.","An expression evaluating to a callable function, either a …","","The ID of the node.","The ID of the expression.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The name of the field / variable to be initialized.","The branch the expression evaluates to if condition …","The branch the expression evaluates to if condition …","","Calls U::from(self).","The left operand of the expression.","","Initializer expressions for each of the fields in the …","The name of the structure type to initialize.","The operand defining the meaning of the resulting binary …","The unary operator to apply to inner.","The inner expression op is applied to.","The right operand of the expression.","","","","","The span from [ to ].","The span from left to right.","Span of the entire call function(arguments).","Span of the entire cast 42u8 as u16.","The span of the node.","A span from name to }.","The span of the invalid expression.","The span from condition to if_false.","The span from ( to ).","The span covering op inner.","The span of the unit expression.","","","","","","","","The type to be casted to, e.g. u16 in 42u8 as u16.","","","","An access expressions, extracting a smaller part out of a …","An array[index] expression.","Access to an associated variable of a struct e.g u8::MAX.","Access to an associated function of a struct e.g …","An expression accessing a field in a structure, e.g., …","Access to a tuple field using its position, e.g., tuple.1.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","An array expression, e.g., [true, false, true, false].","","","","","","","","","The elements of the array.","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span from [ to ].","","","","","","Addition, i.e. +, .add().","Wrapping addition, i.e. .add_wrapped().","Logical AND, i.e. &&.","A binary expression left op right of two operands …","A binary operator.","Bitwise AND, i.e. &, .and().","Bitwise OR, i.e. |, .or().","Division, i.e. /, .div().","Wrapping division, i.e. .div_wrapped().","Equality relation, i.e. ==, .eq().","Greater-than relation, i.e. >, .gt().","Greater-or-equal relation, i.e. >=, .gte().","Lesser-than relation, i.e. <, .lt().","Lesser-or-equal relation, i.e. <=, .lte().","Arithmetic modulo, i.e. .mod()","Multiplication, i.e. *, .mul().","Wrapping multiplication, i.e. .mul_wrapped().","Boolean NAND, i.e. .nand().","In-equality relation, i.e. !=, .neq().","Boolean NOR, i.e. .nor().","Logical OR, i.e. ||.","Exponentiation, i.e. ** in a ** b, .pow().","Wrapping exponentiation, i.e. .pow_wrapped().","Remainder, i.e. %, .rem().","Wrapping remainder, i.e. .rem_wrapped().","Shift left operation, i.e. <<, .shl().","Wrapping shift left operation, i.e. .shl_wrapped().","Shift right operation, i.e. >>, .shr().","Wrapping shift right operation, i.e. .shr_wrapped().","Subtraction, i.e. -, .sub().","Wrapped subtraction, i.e. .sub_wrapped().","Bitwise XOR, i.e. .xor().","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns a BinaryOperation from the given Symbol. This is …","","The ID of the expression.","","","Calls U::from(self).","Calls U::from(self).","The left operand of the expression.","The operand defining the meaning of the resulting binary …","The right operand of the expression.","","","","","","The span from left to right.","","","","","","","","","","","A function call expression, e.g.foo(args) or Foo::bar(args)…","Expressions for the arguments passed to the functions …","","","","","","","","","","","","","","The name of the external program call, e.g.bar in bar.leo.","","","Returns the argument unchanged.","An expression evaluating to a callable function, either a …","","The ID of the node.","","Calls U::from(self).","","","","","Span of the entire call function(arguments).","","","","","","A cast expression, e.g. 42u8 as u16.","","","","","","","","","","","","","","The expression to be casted, e.g.42u8 in 42u8 as u16.","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","Span of the entire cast 42u8 as u16.","","","","","The type to be casted to, e.g. u16 in 42u8 as u16.","","Represents a syntactically invalid expression.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span of the invalid expression.","","","","","","An address literal, e.g., …","A boolean literal, either true or false.","A field literal, e.g., 42field. A signed number followed …","A group literal, either product or affine. For example, …","An integer literal, e.g., 42.","A literal.","A scalar literal, e.g. 1scalar. An unsigned number …","A string literal, e.g., "foobar".","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Calls U::from(self).","","","","","","","","","","A struct initialization expression, e.g., …","An initializer for a single field / variable of a struct …","","","","","Returns true if the record has all required fields and …","","","","","","","","","","","","","","","","","","","","","","","The expression to initialize the field with. When None, a …","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The ID of the node.","The ID of the node.","The name of the field / variable to be initialized.","","","Calls U::from(self).","Calls U::from(self).","Initializer expressions for each of the fields in the …","The name of the structure type to initialize.","","","","","","","","","The span of the node.","A span from name to }.","","","Returns the struct as a record interface with visibility.","","","","","","","","","A ternary conditional expression, that is, …","","","","","The condition determining which branch to pick.","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The branch the expression evaluates to if condition …","The branch the expression evaluates to if condition …","","Calls U::from(self).","","","","","The span from condition to if_false.","","","","","","A tuple expression, e.g., (foo, false, 42).","","","","","","","","","The elements of the tuple. In the example above, it would …","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span from ( to ).","","","","","","Absolute value checking for overflow, i.e. .abs().","Absolute value wrapping around at the boundary of the …","Double operation, i.e. .double().","Multiplicative inverse, i.e. .inv().","Negate operation, i.e. .neg().","Bitwise NOT, i.e. !, .not().","Square operation, i.e. .square().","Square root operation, i.e. .sqrt().","Converts a group element to its x-coordinate, i.e. …","Converts a group element to its y-coordinate, i.e. …","An unary expression applying an operator to an inner …","A unary operator for a unary expression.","Represents the opera.tor as a string.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns a UnaryOperation from the given Symbol.","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","The unary operator to apply to inner.","The inner expression op is applied to.","","","","","","The span covering op inner.","","","","","","","","","","Represents a unit expression.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span of the unit expression.","","","","","","A function definition.","","Annotations on the function.","The body of the function.","","","","","","","","","","","","","","","","","An optional finalize block","","","Private formatting method used for optimizing fmt::Debug …","Returns the argument unchanged.","","The ID of the node.","The function identifier, e.g., foo in …","","","The function’s input parameters.","Calls U::from(self).","","Returns function name.","Initialize a new function.","","The function’s output declarations.","The function’s output type.","","","","","The entire span of the function definition.","","","","","","","Is this function a transition, inlined, or a regular …","An annotation, e.g. @program.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name of the annotation.","","Calls U::from(self).","","","","","A span locating where the annotation occurred in the …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A core instruction that maps directly to an AVM bytecode …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns a CoreFunction from the given module and method …","","Calls U::from(self).","Returns whether or not this function is finalize command.","Returns the number of arguments required by the …","","","","","A function output from an external program with type …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name the parameter is accessible as in the function’…","","Calls U::from(self).","The name of the external program.","The name of the external record type.","","","","","The parameters span from any annotations to its type.","","","","","","","A finalize block.","The body of the function.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The finalize identifier.","","The finalize block’s input parameters.","Calls U::from(self).","Create a new finalize block.","The finalize blocks’s output declaration.","The finalize block’s output type.","","","","","The entire span of the finalize block.","","","","","","","A function parameter.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The ID of the node.","","The name the parameter is accessible as in the function’…","","","Calls U::from(self).","Calls U::from(self).","","The mode of the function parameter.","","","","","","","","","The parameters span from any annotations to its type.","","","","","","","","","","What’s the parameter’s type?","","","","The mode associated with a type.","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","A function output.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","","The mode of the function output.","","","","","","","","","The parameters span from any annotations to its type.","","","","","","","","","","The type of the function output.","","","","","","Functions are always one of three variants. A transition …","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","A coordinate in a affine group literal.","Recovery with an inferred value.","A number, e.g., 42.","A sign high recovery, i.e. +.","A sign low recovery, i.e., -.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","A group literal.","An affine group literal, e.g., (42, 24)group.","Product group literal, e.g., 42group.","An affine group literal with (x, y) coordinates.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","","","","","","The span from ( to ).","","","","","","","","","","The left component of the type, e.g., 42 in the case above.","The right component of the type, e.g., 24 in the case …","","","","","","","","","A single definition inside a section in a state or an …","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","A raw unprocessed input or state file data. Used for …","Input data which includes ProgramInput.","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","Returns all values of the input AST for execution with …","","","","Serializes the input into a JSON file.","Serializes the Input into a JSON value and removes keys …","Serializes the ast into a JSON string.","Serializes the Input into a JSON Value.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","Processed Program input.","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","A single section in an input or a state file. An example …","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","A mapping declaration, e.g …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name of the mapping.","","Calls U::from(self).","The type of the key.","","","","","The entire span of the mapping declaration.","","","","","","The type of the value.","This module contains a Consumer trait for the AST. …","This module contains a Reconstructor trait for the AST. It …","This module contains Visitor trait implementations for the …","A Consumer trait for expressions in the AST.","A Consumer trait for functions in the AST.","A Consumer trait for imported programs in the AST.","A Consumer trait for mappings in the AST.","","","","","","","","","A Consumer trait for the program represented by the AST.","A Consumer trait for program scopes in the AST.","A Consumer trait for statements in the AST.","A Consumer trait for structs in the AST.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A Reconstructor trait for expressions in the AST.","A Reconstructor trait for the program represented by the …","A Reconstructor trait for statements in the AST.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A Visitor trait for expressions in the AST.","","A Visitor trait for the program represented by the AST.","A Visitor trait for statements in the AST.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Stores the Leo program abstract syntax tree.","","","","","Constructs an empty program node.","","","","","","","","","","","","Returns the argument unchanged.","A map from import names to import definitions.","","Calls U::from(self).","","A Leo program scope consists of struct, function, and …","A map from program names to program scopes.","","","","","","","An identifier for a program that is eventually deployed to …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","The name of the program.","The network associated with the program.","","","","","","","Stores the Leo program scope abstract syntax tree.","","","","","A vector of const definitions","","","","","","","","","","","","Returns the argument unchanged.","A vector of function definitions.","","Calls U::from(self).","A vector of mapping definitions.","The program id of the program scope.","","The span associated with the program scope.","A vector of struct definitions.","","","","","","An assert statement.","An assignment statement.","A block statement.","An if statement.","A console logging statement.","A binding from identifier to constant value.","A binding or set of bindings / variables to declare.","An expression statement","A for statement.","A return statement return expr;.","Program statement that defines some action (or expression) …","","","","","","","","","","","","","","","","Returns a dummy statement made from an empty block {}.","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","","A assert(expr) variant, asserting that the expression …","A assert_eq(expr1, expr2) variant, asserting that the …","A assert_neq(expr1, expr2) variant, asserting that the …","An assert statement, assert(<expr>), assert_eq(<expr>) or …","A variant of an assert statement.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","","","","","","The span, excluding the semicolon.","","","","","","","","","","The variant of the assert statement.","An assignment statement, assignee = value. Note that there …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The place to assign to. Note that place can either be an …","","","","","The span, excluding the semicolon.","","","","","","The value to assign to the assignee.","A block { [stmt]* } consisting of a list of statements to …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span from { to }.","The list of statements to execute.","","","","","","An if condition block (else next)? statement.","","","","","The bool-typed condition deciding what to evaluate.","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The statement, if any, to evaluate when condition yields …","","","","","The span from if to next or to block.","The block to evaluate in case condition yields true.","","","","","","","","A console.assert(expr) call to invoke, asserting that the …","A console.assert_eq(expr1, expr2) call to invoke, …","A console.assert_neq(expr1, expr2) call to invoke, …","A console logging function to invoke.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","A console logging statement like console.log(...);.","","","","","","","","","","","","","","","","Returns the argument unchanged.","The logging function to run.","","The ID of the node.","","Calls U::from(self).","","","","","The span excluding the semicolon.","","","","","","A constant declaration statement.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The place to assign to. As opposed to DefinitionStatement, …","","","","","The span excluding the semicolon.","","","","","The type of the binding, if specified, or inferred …","","An initializer value for the binding.","This is a const binding.","The sort of bindings to introduce, either let or const.","A let or const declaration statement.","This is a let binding.","","","","","","What sort of declaration is this? let or const?.","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The bindings / variable names to declare.","","","","","The span excluding the semicolon.","","","","","The types of the bindings, if specified, or inferred …","","An initializer value for the bindings.","This is a const binding.","The sort of bindings to introduce, either let or const.","This is a let binding.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","An expression statement, foo(a);.","","","","","","","","","","","","","","The expression associated with the statement.","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span.","","","","","","A bounded for loop statement …","The block to run on each iteration.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","Whether stop is inclusive or not. Signified with = when …","","Calls U::from(self).","","","","","The span from for to block.","The start of the iteration.","The concrete value of start.","The end of the iteration, possibly inclusive.","The concrete value of stop.","","","","","The type of the iteration.","","The binding / variable to introduce in the body block.","A return statement return expression;.","","","","","","","","","","","","","","The expression to return to the function caller.","Arguments to the finalize block.","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span of return expression excluding the semicolon.","","","","","","A struct type definition, e.g., …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name of the type in the type system in this module.","","Calls U::from(self).","Was this a record Foo { ... }? If so, it wasn’t a struct.","","The fields, constant variables, and functions of this …","Returns the struct name as a Symbol.","","","","","The entire span of the struct definition.","","","","","","A member of a structured data type, e.g foobar: u8 or …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The identifier of the member.","","Calls U::from(self).","The mode of the member.","Returns the name of the struct member without span.","","","","","The span of the member.","","","","","The type of the member.","","","","","","","","An array type.","Returns the base element type of the array.","","","","","","","","","Returns the element type of the array.","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Returns the length of the array.","","Creates a new array type.","","","","","","","A core constant that maps directly to an AVM bytecode …","","","","","","","","","","","","","","Returns the argument unchanged.","Returns a CoreConstant from the given type and constant …","","Calls U::from(self).","","Returns the Type of the CoreConstant.","","","","","","","","","Explicit integer type.","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Is the integer type a signed one?","","Returns the symbol for the integer type.","","","","","","A mapping type of a key and value type.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","A type list of at least two types.","","","","","","","","","Returns the elements of the tuple type.","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Returns the length of the tuple type.","Creates a new tuple type.","","","","","","","The address type.","The array type.","The bool type.","Placeholder for a type that could not be resolved or was …","The field type.","The group type.","A reference to a built in type.","An integer type.","A mapping type.","The scalar type.","The signature type.","The string type.","A static tuple of at least one type.","Explicit type used for defining a variable or expression …","The unit type.","","","","","","","","","","Returns true if the self Type is equal to the other Type.","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","Converts a literal to a value.","","",""],"i":[0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,1,0,1,1,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,22,16,0,0,0,16,21,22,23,24,16,24,23,0,21,22,23,16,21,22,23,24,24,0,21,22,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,0,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,0,0,0,0,0,0,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,0,0,0,0,97,97,97,97,0,0,30,31,30,31,30,31,30,31,30,30,31,30,31,30,31,30,31,30,31,30,31,30,30,31,30,31,31,30,31,30,31,30,31,30,31,30,31,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,49,49,34,0,37,37,43,37,35,34,0,35,35,34,0,0,37,37,43,34,0,34,0,37,37,49,37,34,0,0,43,43,37,37,34,43,49,0,34,37,37,35,37,37,37,37,49,37,37,49,37,37,37,37,37,43,37,37,37,37,49,49,43,34,0,0,37,37,34,0,49,49,35,34,0,34,0,0,34,0,37,0,40,0,0,34,34,0,0,34,34,47,34,34,34,34,36,48,34,34,34,34,34,0,41,46,40,34,34,34,40,34,36,38,40,41,46,45,42,47,48,50,51,46,47,47,34,34,38,0,45,45,38,50,50,38,34,34,34,34,36,38,40,41,46,45,42,47,48,50,51,0,0,34,34,34,34,0,41,34,0,0,0,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,37,37,37,0,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,38,37,38,37,38,37,38,37,38,37,38,37,38,37,38,37,38,37,37,37,37,38,38,38,38,37,37,38,38,37,38,37,38,38,37,38,37,38,38,38,38,37,38,38,38,38,38,37,38,37,38,37,38,37,38,37,38,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,0,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,0,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,43,43,43,43,43,0,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,0,0,46,45,46,45,45,46,45,46,45,46,45,46,45,46,45,46,45,46,45,46,46,46,46,45,45,45,45,46,46,46,45,45,46,45,46,45,46,45,46,46,45,46,45,45,45,46,45,46,45,46,45,46,45,46,45,46,45,45,46,45,46,45,46,45,46,45,0,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,0,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,49,49,49,49,49,49,49,49,49,49,0,0,49,49,50,49,50,49,50,49,50,49,50,49,50,49,50,49,50,49,50,49,49,49,49,50,50,50,50,49,50,50,49,50,49,50,50,49,50,49,50,50,50,49,50,50,50,50,50,49,50,50,49,50,49,50,49,50,0,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,0,0,52,52,52,52,52,52,0,52,52,52,52,52,52,52,52,52,0,0,52,52,52,52,52,52,52,52,52,0,52,52,0,52,52,0,52,52,52,52,52,52,52,52,52,52,52,52,0,52,0,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,0,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,0,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,0,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,55,0,0,55,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,55,55,55,62,62,62,62,55,55,62,62,62,55,62,55,62,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,62,55,62,55,62,55,62,55,62,55,62,55,62,63,0,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,56,0,56,0,56,64,56,64,56,64,56,64,56,64,56,64,56,64,56,64,56,64,56,56,56,56,64,64,64,64,56,56,64,64,56,64,56,64,64,56,64,56,64,56,64,56,64,56,64,56,64,56,64,64,56,64,56,64,56,64,56,64,56,64,56,64,54,54,54,0,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,0,0,0,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,0,0,66,66,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,66,66,66,67,67,67,67,66,66,67,66,67,66,67,66,67,66,67,66,67,66,66,66,67,66,67,66,66,67,66,67,66,67,67,67,0,98,0,98,0,0,0,0,0,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,0,0,69,70,69,70,69,70,69,70,69,69,70,69,70,69,70,69,70,69,70,69,70,69,70,69,70,69,70,70,69,70,70,70,69,70,69,70,69,70,69,70,69,70,72,72,72,72,0,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,0,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,0,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,0,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,0,0,0,0,0,0,0,99,100,101,102,103,104,105,106,0,0,0,0,99,99,100,100,99,100,99,99,100,100,100,100,99,99,100,101,99,103,100,99,104,106,105,100,100,102,99,99,99,99,99,107,0,0,0,107,107,107,108,108,107,107,107,108,107,107,108,108,108,108,107,107,108,109,107,109,108,107,109,107,109,109,108,108,109,107,107,107,107,107,107,110,0,110,0,0,110,110,111,111,110,111,110,110,111,111,111,111,110,110,111,112,110,112,111,110,112,112,112,111,111,112,110,110,110,110,110,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,2,2,2,2,2,2,2,0,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,0,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,86,86,86,86,86,86,86,86,86,86,0,0,0,0,86,86,86,86,0,0,0,0,86,86,86,86,86,86,86,86,86,86,0,86,86,86,86,86,86,0,0,86,86,86,86,86,86,86,86,86,88,88,88,0,0,88,76,88,76,88,76,88,76,88,76,88,76,88,76,88,76,88,76,88,88,88,88,76,76,76,76,88,76,76,88,76,76,76,88,76,88,76,88,76,76,76,76,76,88,76,76,88,76,88,76,88,76,76,0,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,0,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,0,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,0,0,89,89,89,0,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,0,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,0,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,90,0,0,90,81,81,81,81,0,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,90,0,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,0,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,0,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,0,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,0,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,0,71,71,71,71,71,71,71,71,71,71,71,71,0,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,0,0,0,0,0,0,0,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,0,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,94,94,94,94,94,0,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,0,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,0,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,61,61,61,61,61,61,61,61,61,61,61,61,61,0,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,0,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,0,0,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44],"f":[0,0,[1,2],[1,2],0,[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[[-1,-2],3,[],[]],0,[[],1],[4,-1,[]],[4,-1,[]],[4,3],[[1,1],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[1,6],7],[-1,-1,[]],[8,[[9,[1]]]],[10,[[9,[1]]]],0,0,[[],4],0,[-1,-2,[],[]],[1,2],0,[2,1],[11,11],0,0,[[11,10],11],0,0,0,[[1,8,10],[[9,[3]]]],[[1,8,10,[12,[10]]],[[9,[3]]]],[1,[[9,[13]]]],[1,[[9,[11]]]],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[16,16],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[16]]],17],[4,3],[[16,16],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[16,6],7],[[16,6],7],[-1,-1,[]],[16,18],0,0,[[],4],[-1,-2,[],[]],[[16,-1],14,19],[[16,18],3],[[16,20],3],[16,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[21,21],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[21]]],17],[4,3],[[21,21],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[21,6],7],[[21,6],7],[-1,-1,[]],[21,18],0,[[],4],[-1,-2,[],[]],0,[[21,-1],14,19],[[21,18],3],[[21,20],3],[21,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[22,22],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[22]]],17],[4,3],[[22,22],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[22,6],7],[[22,6],7],[-1,-1,[]],[22,18],0,[[],4],[-1,-2,[],[]],0,[[22,-1],14,19],[[22,18],3],[[22,20],3],[22,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[23,23],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[23]]],17],[4,3],[[23,23],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[23,6],7],[[23,6],7],[-1,-1,[]],[23,18],0,[[],4],0,[-1,-2,[],[]],0,[[23,-1],14,19],[[23,18],3],[[23,20],3],[23,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[24,24],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[24]]],17],[4,3],[[24,24],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[24,6],7],[[24,6],7],[-1,-1,[]],[24,18],0,0,[[],4],[-1,-2,[],[]],[[24,-1],14,19],[[24,18],3],[[24,20],3],[24,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[25,25],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[9,[25]]],17],[4,3],[[25,25],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[25,6],7],[[25,6],7],[-1,-1,[]],[[25,-1],3,26],[25,18],0,[[],4],[-1,-2,[],[]],[[25,25],5],0,[[27,18],25],[[25,-1],9,19],[[25,18],3],[[25,20],3],[25,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,[[14,[[29,[[28,[27]],2]]]]],17],[[[29,[[28,[27]],2]],-1],14,19],0,0,[-1,18,[]],[[-1,18],3,[]],[[-1,20],3,[]],[-1,20,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[30,30],[31,31],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[],30],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,3],[4,3],[[30,6],7],[[31,6],7],[-1,-1,[]],[-1,-1,[]],[[],4],[[],4],0,[-1,-2,[],[]],[-1,-2,[],[]],[18,30],[18,31],0,[30,18],[31,18],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[32,32],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[32]]],17],[4,3],[[32,32],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[32,6],7],[[32,6],7],[13,32],[4,32],[-1,-1,[]],[[32,-1],3,26],[[],4],[-1,-2,[],[]],[32,5],[[32,-1],14,19],[32,10],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[32,4],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[33,33],[[-1,-2],3,[],[]],[[],33],[4,-1,[]],[4,-1,[]],[-1,[[14,[33]]],17],[4,3],[[33,33],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[33,6],7],[[33,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[13,33],[[33,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[34,34],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[34]]],17],[4,3],0,0,[[34,34],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,0,[[34,6],7],[[34,6],7],[-1,-1,[]],0,[34,18],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],4],[-1,-2,[],[]],0,0,0,0,0,0,0,0,[[34,-1],14,19],[[34,18],3],[[34,20],3],[34,20],0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,0,[-1,15,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[35,35],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[35]]],17],[4,3],[[35,35],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[35,6],7],[[35,6],7],[-1,-1,[]],[35,18],[[],4],[-1,-2,[],[]],[[35,-1],14,19],[[35,18],3],[[35,20],3],[35,20],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[36,36],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[36]]],17],[4,3],0,[[36,36],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[36,6],7],[[36,6],7],[-1,-1,[]],[36,18],0,[[],4],[-1,-2,[],[]],[[36,-1],14,19],[[36,18],3],[[36,20],3],[36,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[37,37],[38,38],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[37]]],17],[-1,[[14,[38]]],17],[4,3],[4,3],[[37,37],5],[[38,38],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[37,6],7],[[37,6],7],[[38,6],7],[[38,6],7],[-1,-1,[]],[-1,-1,[]],[27,[[39,[37]]]],[38,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[[37,-1],14,19],[[38,-1],14,19],[[38,18],3],[[38,20],3],[38,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[40,40],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[40]]],17],[4,3],[[40,40],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[40,6],7],[[40,6],7],[-1,-1,[]],0,[40,18],0,[[],4],[-1,-2,[],[]],[[40,-1],14,19],[[40,18],3],[[40,20],3],[40,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[41,41],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[41]]],17],[4,3],[[41,41],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[41,6],7],[[41,6],7],[-1,-1,[]],[41,18],0,[[],4],[-1,-2,[],[]],[[41,-1],14,19],[[41,18],3],[[41,20],3],[41,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[42,42],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[42]]],17],[4,3],[[42,42],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[42,6],7],[[42,6],7],[-1,-1,[]],[42,18],0,[[],4],[-1,-2,[],[]],[[42,-1],14,19],[[42,18],3],[[42,20],3],[42,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[43,43],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[43]]],17],[4,3],[[43,43],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[43,6],7],[[43,6],7],[-1,-1,[]],[[44,18],43],[43,18],[[],4],[-1,-2,[],[]],[[43,-1],14,19],[[43,18],3],[[43,20],3],[43,20],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[45,5],[46,46],[45,45],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[46]]],17],[-1,[[14,[45]]],17],[4,3],[4,3],[[46,46],5],[[45,45],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[46,6],7],[[46,6],7],[[45,6],7],[[45,6],7],[-1,-1,[]],[-1,-1,[]],[46,18],[45,18],0,0,0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[46,-1],14,19],[[45,-1],14,19],[[46,18],3],[[45,18],3],[[46,20],3],[[45,20],3],[46,20],[45,20],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[45,13],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[47,47],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[47]]],17],[4,3],[[47,47],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[47,6],7],[[47,6],7],[-1,-1,[]],[47,18],0,0,0,[[],4],[-1,-2,[],[]],[[47,-1],14,19],[[47,18],3],[[47,20],3],[47,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[48,48],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[48]]],17],[4,3],0,[[48,48],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[48,6],7],[[48,6],7],[-1,-1,[]],[48,18],0,[[],4],[-1,-2,[],[]],[[48,-1],14,19],[[48,18],3],[[48,20],3],[48,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,[49,10],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[49,49],[50,50],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[49]]],17],[-1,[[14,[50]]],17],[4,3],[4,3],[[49,49],5],[[50,50],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[49,6],7],[[50,6],7],[[50,6],7],[-1,-1,[]],[-1,-1,[]],[27,[[39,[49]]]],[50,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[49,-1],14,19],[[50,-1],14,19],[[50,18],3],[[50,20],3],[50,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[51,51],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[51]]],17],[4,3],[[51,51],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[51,6],7],[[51,6],7],[-1,-1,[]],[51,18],0,[[],4],[-1,-2,[],[]],[[51,-1],14,19],[[51,18],3],[[51,20],3],[51,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[52,52],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[52]]],17],[4,3],[[52,52],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,[[52,6],7],[[52,6],7],[[52,6],7],[-1,-1,[]],[52,18],0,0,[[],4],0,0,[-1,-2,[],[]],0,[52,27],[[[28,[53]],54,25,[28,[55]],[28,[56]],57,[39,[58]],20,18],52],0,0,0,[[52,-1],14,19],[[52,18],3],[[52,20],3],[52,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[53,53],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[53]]],17],[4,3],[[53,53],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[53,6],7],[[53,6],7],[-1,-1,[]],[53,18],0,0,[[],4],[-1,-2,[],[]],[[53,-1],14,19],[[53,18],3],[[53,20],3],[53,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[59,59],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,3],[[59,59],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[-1,-1,[]],[[27,27],[[39,[59]]]],[[],4],[-1,-2,[],[]],[59,5],[59,4],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[60,60],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[60]]],17],[4,3],[[60,60],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[60,6],7],[[60,6],7],[-1,-1,[]],[60,18],0,0,[[],4],[-1,-2,[],[]],0,0,[[60,-1],14,19],[[60,18],3],[[60,20],3],[60,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[60,61],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[58,58],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[58]]],17],[4,3],[[58,58],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[58,6],7],[[58,6],7],[-1,-1,[]],[58,18],0,0,[[],4],0,[-1,-2,[],[]],[[25,[28,[55]],[28,[56]],57,20,18],58],0,0,[[58,-1],14,19],[[58,18],3],[[58,20],3],[58,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[55,55],[62,62],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[55]]],17],[-1,[[14,[62]]],17],[4,3],[4,3],[[55,55],5],[[62,62],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[55,6],7],[[55,6],7],[[62,6],7],[[62,6],7],[[62,6],7],[-1,-1,[]],[-1,-1,[]],[55,4],[62,18],0,[55,25],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[55,63],0,[[55,-1],14,19],[[62,-1],14,19],[[55,4],3],[[62,18],3],[[55,20],3],[[62,20],3],[55,20],[62,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[55,61],0,[-1,15,[]],[-1,15,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[63,63],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[63]]],17],[4,3],[[63,63],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[63,6],7],[[63,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[63,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[56,56],[64,64],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[56]]],17],[-1,[[14,[64]]],17],[4,3],[4,3],[[56,56],5],[[64,64],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[56,6],7],[[56,6],7],[[64,6],7],[[64,6],7],[-1,-1,[]],[-1,-1,[]],[56,18],[64,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[56,63],0,[[56,-1],14,19],[[64,-1],14,19],[[56,18],3],[[64,18],3],[[56,20],3],[[64,20],3],[56,20],[64,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[56,61],0,[-1,15,[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[54,54],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[54]]],17],[4,3],[[54,54],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[54,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[54,-1],14,19],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[65,65],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[65]]],17],[4,3],[[65,65],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[65,6],7],[[65,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[65,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[66,66],[67,67],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[66]]],17],[-1,[[14,[67]]],17],[4,3],[4,3],[[66,66],5],[[67,67],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[66,6],7],[[66,6],7],[[67,6],7],[-1,-1,[]],[-1,-1,[]],[66,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[[66,-1],14,19],[[67,-1],14,19],[[66,18],3],[[66,20],3],[66,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[68,68],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[68]]],17],[4,3],[[68,68],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[68,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],0,0,[[68,-1],14,19],0,[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[69,69],[70,70],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[],69],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[69]]],17],[-1,[[14,[70]]],17],[4,3],[4,3],[[69,6],7],[[70,6],7],[-1,-1,[]],[-1,-1,[]],[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,[[70,10,[29,[27,71]]],[[28,[13]]]],0,[[69,-1],14,19],[[70,-1],14,19],[[70,8,10],[[9,[3]]]],[[70,8,10,[12,[10]]],[[9,[3]]]],[69,[[9,[13]]]],[70,[[9,[11]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[72,72],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[72]]],17],[4,3],[[72,72],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[72,6],7],[[72,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[72,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[[[3,[61,34]]],[[9,[72]]]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[73,73],[[-1,-2],3,[],[]],[[],73],[4,-1,[]],[4,-1,[]],[-1,[[14,[73]]],17],[4,3],[[73,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],0,[[73,-1],14,19],[-1,-2,[],[]],[70,[[9,[73]]]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[74,74],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[74]]],17],[4,3],[[74,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[74,13],0,[[74,-1],14,19],0,[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[75,75],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[75]]],17],[4,3],[[75,75],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[75,6],7],[[75,6],7],[-1,-1,[]],[75,18],0,0,[[],4],[-1,-2,[],[]],0,[[75,-1],14,19],[[75,18],3],[[75,20],3],[75,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,35],[],[]],[[-1,36],[],[]],[[-1,76],[],[]],[[-1,77],[],[]],[[-1,38],[],[]],[[-1,57],[],[]],[[-1,40],[],[]],[[-1,41],[],[]],[[-1,78],[],[]],[[-1,79],[],[]],[[-1,80],[],[]],[[-1,81],[],[]],[[-1,42],[],[]],[[-1,34],[],[]],[[-1,82],[],[]],[[-1,52],[],[]],[[-1,25],[],[]],[[-1,2],[],[]],[[-1,83],[],[]],[[-1,43],[],[]],[[-1,75],[],[]],[[-1,2],[],[]],[[-1,84],[],[]],[[-1,85],[],[]],[[-1,86],[],[]],[[-1,71],[],[]],[[-1,45],[],[]],[[-1,47],[],[]],[[-1,48],[],[]],[[-1,50],[],[]],[[-1,51],[],[]],0,0,0,0,[[-1,35],[[3,[34]]],[]],[[-1,36],[[3,[34]]],[]],[[-1,16],[[3,[34]]],[]],[[-1,76],[[3,[86]]],[]],[[-1,77],[[3,[86]]],[]],[[-1,21],[[3,[34]]],[]],[[-1,22],[[3,[34]]],[]],[[-1,38],[[3,[34]]],[]],[[-1,57],[[3,[57]]],[]],[[-1,40],[[3,[34]]],[]],[[-1,41],[[3,[34]]],[]],[[-1,78],[[3,[86]]],[]],[[-1,79],[[3,[86]]],[]],[[-1,80],[[3,[86]]],[]],[[-1,81],[[3,[86]]],[]],[[-1,42],[[3,[34]]],[]],[[-1,34],[[3,[34]]],[]],[[-1,82],[[3,[86]]],[]],[[-1,52],52,[]],[[-1,25],[[3,[34]]],[]],[[-1,2],2,[]],[[-1,83],[[3,[86]]],[]],[[-1,43],[[3,[34]]],[]],[[-1,75],75,[]],[[-1,23],[[3,[34]]],[]],[[-1,2],2,[]],[[-1,84],84,[]],[[-1,85],[[3,[86]]],[]],[[-1,86],[[3,[86]]],[]],[[-1,71],71,[]],[[-1,45],[[3,[34]]],[]],[[-1,47],[[3,[34]]],[]],[[-1,48],[[3,[34]]],[]],[[-1,24],[[3,[34]]],[]],[[-1,50],[[3,[34]]],[]],[[-1,51],[[3,[34]]],[]],0,0,0,0,0,[[-1,35],[],[]],[[-1,36],[],[]],[[-1,76],3,[]],[[-1,77],3,[]],[[-1,38],[],[]],[[-1,57],3,[]],[[-1,40],[],[]],[[-1,41],[],[]],[[-1,78],3,[]],[[-1,79],3,[]],[[-1,80],3,[]],[[-1,81],3,[]],[[-1,42],[],[]],[[-1,34],[],[]],[[-1,82],3,[]],[[-1,52],3,[]],[[-1,25],[],[]],[[-1,2],3,[]],[[-1,83],3,[]],[[-1,43],[],[]],[[-1,75],3,[]],[[-1,2],3,[]],[[-1,84],3,[]],[[-1,85],3,[]],[[-1,86],3,[]],[[-1,71],3,[]],[[-1,45],[],[]],[[-1,47],[],[]],[[-1,48],[],[]],[[-1,50],[],[]],[[-1,51],[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[2,2],[[-1,-2],3,[],[]],[[],2],[4,-1,[]],[4,-1,[]],[-1,[[14,[2]]],17],[4,3],[[2,2],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[2,6],7],[[2,6],7],[-1,-1,[]],0,[[],4],[-1,-2,[],[]],0,0,0,[[2,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[87,87],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[87]]],17],[4,3],[[87,87],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[87,6],7],[[87,6],7],[-1,-1,[]],[[87,-1],3,26],[[],4],[-1,-2,[],[]],0,0,[[87,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[84,84],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[84]]],17],[4,3],[[84,84],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[84,6],7],[[84,6],7],[-1,-1,[]],0,[[],4],[-1,-2,[],[]],0,0,[[84,-1],14,19],0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[86,86],[[-1,-2],3,[],[]],0,0,0,0,[4,-1,[]],[4,-1,[]],[-1,[[14,[86]]],17],[4,3],[[20,18],86],[[86,86],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[86,6],7],[[86,6],7],[-1,-1,[]],[86,18],[[],4],[-1,-2,[],[]],0,0,[[86,-1],14,19],[[86,18],3],[[86,20],3],[86,20],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[88,88],[76,76],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[88]]],17],[-1,[[14,[76]]],17],[4,3],[4,3],[[88,88],5],[[76,76],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[88,6],7],[[76,6],7],[[76,6],7],[-1,-1,[]],[-1,-1,[]],[76,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[[88,-1],14,19],[[76,-1],14,19],[[76,18],3],[[76,20],3],[76,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[77,77],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[77]]],17],[4,3],[[77,77],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[77,6],7],[[77,6],7],[-1,-1,[]],[77,18],0,[[],4],[-1,-2,[],[]],0,[[77,-1],14,19],[[77,18],3],[[77,20],3],[77,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[57,57],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[57]]],17],[4,3],[[57,57],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[57,6],7],[[57,6],7],[-1,-1,[]],[57,18],0,[[],4],[-1,-2,[],[]],[[57,-1],14,19],[[57,18],3],[[57,20],3],[57,20],0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[78,78],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[78]]],17],[4,3],[[78,78],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[78,6],7],[[78,6],7],[-1,-1,[]],[78,18],0,[[],4],[-1,-2,[],[]],0,[[78,-1],14,19],[[78,18],3],[[78,20],3],[78,20],0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[89,89],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[89]]],17],[4,3],[[89,89],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[89,6],7],[[89,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[89,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[79,79],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[79]]],17],[4,3],[[79,79],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[79,6],7],[[79,6],7],[-1,-1,[]],0,[79,18],0,[[],4],[-1,-2,[],[]],[[79,-1],14,19],[[79,18],3],[[79,20],3],[79,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[80,80],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[80]]],17],[4,3],[[80,80],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[80,6],7],[[80,6],7],[-1,-1,[]],[80,18],0,[[],4],[-1,-2,[],[]],0,[[80,-1],14,19],[[80,18],3],[[80,20],3],[80,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[81,81],[[-1,-2],3,[],[]],0,0,[4,-1,[]],[4,-1,[]],[-1,[[14,[81]]],17],[4,3],[[81,81],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[81,6],7],[[81,6],7],[-1,-1,[]],[81,18],0,[[],4],[-1,-2,[],[]],0,[[81,-1],14,19],[[81,18],3],[[81,20],3],[81,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[90,90],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[90]]],17],[4,3],[[90,90],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[90,6],7],[[90,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[90,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[82,82],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[82]]],17],[4,3],[[82,82],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[82,6],7],[[82,6],7],[-1,-1,[]],[82,18],0,[[],4],[-1,-2,[],[]],[[82,-1],14,19],[[82,18],3],[[82,20],3],[82,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[83,83],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[83]]],17],[4,3],[[83,83],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[83,6],7],[[83,6],7],[-1,-1,[]],[83,18],0,0,[[],4],[-1,-2,[],[]],[[83,-1],14,19],[[83,18],3],[[83,20],3],[83,20],0,0,0,0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[85,85],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[85]]],17],[4,3],[[85,85],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,[[85,6],7],[[85,6],7],[-1,-1,[]],[85,18],0,[[],4],[-1,-2,[],[]],[[85,-1],14,19],[[85,18],3],[[85,20],3],[85,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[71,71],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[71]]],17],[4,3],[[71,71],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[71,6],7],[[71,6],7],[-1,-1,[]],[71,18],0,0,[[],4],[-1,-2,[],[]],0,0,0,[71,27],[[71,-1],14,19],[[71,18],3],[[71,20],3],[71,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[91,91],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[91]]],17],[4,3],[[91,91],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[91,6],7],[[91,6],7],[-1,-1,[]],[91,18],0,0,[[],4],[-1,-2,[],[]],0,[91,27],[[91,-1],14,19],[[91,18],3],[[91,20],3],[91,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,0,0,0,[92,61],[-1,-2,[],[]],[-1,-2,[],[]],[92,92],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[92]]],17],[4,3],[92,61],0,[[92,92],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[92,6],7],[[92,6],7],[-1,-1,[]],[[92,-1],3,26],[[],4],[-1,-2,[],[]],[92,4],0,[[61,32],92],[[92,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[93,93],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,3],[[93,93],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[-1,-1,[]],[[27,27],[[39,[93]]]],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[93,61],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[94,94],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[94]]],17],[4,3],[[94,94],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[94,6],7],[[94,6],7],[-1,-1,[]],[[94,-1],3,26],[[],4],[-1,-2,[],[]],[94,5],[[94,-1],14,19],[94,27],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[95,95],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[95]]],17],[4,3],[[95,95],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[95,6],7],[[95,6],7],[-1,-1,[]],[[95,-1],3,26],[[],4],[-1,-2,[],[]],0,[[95,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[96,96],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[96]]],17],[4,3],[96,[[12,[61]]]],0,[[96,96],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[96,6],7],[[96,6],7],[-1,-1,[]],[[96,-1],3,26],[[],4],[-1,-2,[],[]],[96,4],[[[28,[61]]],96],[[96,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[61,61],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[61]]],17],[4,3],[[61,61],5],[[61,61],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[61,6],7],[[61,6],7],[-1,-1,[]],[44,61],[44,61],[[61,-1],3,26],[[],4],[-1,-2,[],[]],[[61,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[44,20],[[9,[44]]]],[[44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[44,44],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[-1,-2,[],[]],[-1,-2,[],[]],[44,44],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[4,3],[[44,44],5],[[44,44,20],[[9,[44]]]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[44,6],7],[[44,6],7],[-1,-1,[]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],0,0,[[],4],[-1,-2,[],[]],[44,5],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,20],[[9,[44]]]],[[44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[43,[[9,[44]]]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[[44,44,20],[[9,[44]]]]],"c":[],"p":[[3,"Ast",0],[3,"Program",2101],[15,"tuple"],[15,"usize"],[15,"bool"],[3,"Formatter",3006],[6,"Result",3006],[3,"PathBuf",3007],[6,"Result",3008],[15,"str"],[4,"Value",3009],[15,"slice"],[3,"String",3010],[4,"Result",3011],[3,"TypeId",3012],[3,"ArrayAccess",80],[8,"Deserializer",3013],[6,"NodeID",289],[8,"Serializer",3014],[3,"Span",3015],[3,"AssociatedConstant",113],[3,"AssociatedFunction",146],[3,"MemberAccess",180],[3,"TupleAccess",213],[3,"Identifier",252],[8,"Hasher",3016],[3,"Symbol",3017],[3,"Vec",3018],[3,"IndexMap",3019],[3,"NodeBuilder",295],[3,"NodeBuilderInner",295],[3,"NonNegativeNumber",334],[3,"StaticString",367],[4,"Expression",394],[4,"AccessExpression",556],[3,"ArrayExpression",590],[4,"BinaryOperation",622],[3,"BinaryExpression",622],[4,"Option",3020],[3,"CallExpression",712],[3,"CastExpression",746],[3,"ErrExpression",779],[4,"Literal",810],[4,"Value",2934],[3,"StructExpression",847],[3,"StructVariableInitializer",847],[3,"TernaryExpression",915],[3,"TupleExpression",949],[4,"UnaryOperation",981],[3,"UnaryExpression",981],[3,"UnitExpression",1049],[3,"Function",1080],[3,"Annotation",1130],[4,"Variant",1672],[4,"Input",1508],[4,"Output",1606],[3,"Block",2331],[3,"Finalize",1471],[4,"CoreFunction",1162],[3,"External",1436],[4,"Type",2891],[3,"FunctionInput",1508],[4,"Mode",1577],[3,"FunctionOutput",1606],[4,"GroupCoordinate",1700],[4,"GroupLiteral",1729],[3,"GroupTuple",1729],[3,"Definition",1795],[3,"InputData",1823],[3,"InputAst",1823],[3,"Struct",2663],[4,"InputValue",1867],[3,"ProgramInput",1898],[3,"Section",1919],[3,"Mapping",1941],[3,"AssertStatement",2240],[3,"AssignStatement",2298],[3,"ConditionalStatement",2363],[3,"ConsoleStatement",2427],[3,"ConstDeclaration",2459],[3,"DefinitionStatement",2493],[3,"ExpressionStatement",2559],[3,"IterationStatement",2591],[3,"ProgramScope",2159],[3,"ReturnStatement",2630],[4,"Statement",2190],[3,"ProgramId",2131],[4,"AssertVariant",2240],[4,"ConsoleFunction",2399],[4,"DeclarationType",2532],[3,"Member",2699],[3,"ArrayType",2740],[4,"CoreConstant",2772],[4,"IntegerType",2795],[3,"MappingType",2833],[3,"TupleType",2861],[8,"Node",289],[6,"Definitions",1787],[8,"ExpressionConsumer",1978],[8,"StatementConsumer",1978],[8,"FunctionConsumer",1978],[8,"StructConsumer",1978],[8,"ImportConsumer",1978],[8,"MappingConsumer",1978],[8,"ProgramScopeConsumer",1978],[8,"ProgramConsumer",1978],[8,"ExpressionReconstructor",2025],[8,"StatementReconstructor",2025],[8,"ProgramReconstructor",2025],[8,"ExpressionVisitor",2065],[8,"StatementVisitor",2065],[8,"ProgramVisitor",2065]]},\ -"leo_compiler":{"doc":"leo-compiler","t":"DDDDDDDLLMMMMLLLLLLMLLLLLLLAMMMLLLLLLLLLLMLLLLLLLLMLLLLLLLLLLMMLLLMMMMMLLLLLLLLLLLLLLMMLMAMMMLMLLMMMLLMMMLLLLLLLLLLLLLLLLLLLLLLMLLLMMMLLMLLLDDDDMMMLLLLLLLMLLLLLLLLLMMLMLLMMLMMMLLLMMMMLMLLLLLLMMLLLDDDMLLLLLLMLLLLLLMMLLLLLLLLLMLLLMLLLLLLMMMMLLLMMMLLLLLLLLLMLLLMMLLL","n":["Ast","BuildOptions","Compiler","CompilerOptions","InputAst","OutputOptions","SymbolTable","as_ref","as_repr","assigner","ast","ast","ast_spans_enabled","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","build","check_shadowing","clone","clone","clone","clone_into","clone_into","clone_into","compiler","compiler_options","dce_ast","dce_enabled","default","default","deref","deref","deref","deref_mut","deref_mut","deref_mut","deserialize","deserialize","destructured_ast","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","flattened_ast","fmt","fmt","fmt","from","from","from","from_json_file","from_json_file","from_json_string","from_json_string","functions","handler","init","init","init","initial_ast","initial_input_ast","initial_symbol_table","inlined_ast","input_ast","insert_block","insert_fn","insert_struct","insert_variable","into","into","into","into_repr","lookup_fn_scope","lookup_fn_symbol","lookup_scope_by_index","lookup_struct","lookup_variable","lookup_variable_mut","main_file_path","network","new","node_builder","options","output","output_directory","parent","program_inputs","program_name","remove_variable_from_current_scope","scope_index","scope_index","scopes","sections","serialize","serialize","ssa_ast","structs","symbol_table_spans_enabled","take_from_value","take_from_value","to_json_file","to_json_file","to_json_file","to_json_file_without_keys","to_json_file_without_keys","to_json_file_without_keys","to_json_string","to_json_string","to_json_value","to_json_value","to_json_value","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_checked_symbol_table","type_id","type_id","type_id","type_table","unrolled_ast","unrolled_symbol_table","variable_in_local_scope","variable_in_parent_scope","variables","vzip","vzip","vzip","Ast","Compiler","InputAst","SymbolTable","assigner","ast","ast","borrow","borrow_mut","checksum","clone","clone_into","code_generation_pass","compile","compiler_options","compiler_stages","dead_code_elimination_pass","deref","deref_mut","destructuring_pass","drop","flattening_pass","from","function_inlining_pass","functions","handler","init","input_ast","into","loop_unrolling_pass","main_file_path","network","new","node_builder","output_directory","parent","parse_input","parse_program","parse_program_from_string","program_name","scope_index","scopes","sections","static_single_assignment_pass","structs","symbol_table_pass","to_owned","try_from","try_into","type_checker_pass","type_id","type_table","variables","vzip","write_ast_to_json","write_symbol_table_to_json","BuildOptions","CompilerOptions","OutputOptions","ast_spans_enabled","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","build","clone","clone","clone","clone_into","clone_into","clone_into","dce_ast","dce_enabled","default","default","default","deref","deref","deref","deref_mut","deref_mut","deref_mut","destructured_ast","drop","drop","drop","flattened_ast","from","from","from","init","init","init","initial_ast","initial_input_ast","initial_symbol_table","inlined_ast","into","into","into","output","ssa_ast","symbol_table_spans_enabled","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_checked_symbol_table","type_id","type_id","type_id","unrolled_ast","unrolled_symbol_table","vzip","vzip","vzip"],"q":[[0,"leo_compiler"],[140,"leo_compiler::compiler"],[196,"leo_compiler::options"],[263,"leo_ast::program"],[264,"leo_span::symbol"],[265,"leo_span::span"],[266,"leo_errors::errors"],[267,"core::result"],[268,"serde::de"],[269,"core::fmt"],[270,"core::fmt"],[271,"leo_ast::functions"],[272,"leo_ast::struct"],[273,"leo_passes::common::symbol_table::variable_symbol"],[274,"core::cell"],[275,"core::option"],[276,"leo_passes::common::symbol_table::function_symbol"],[277,"std::collections::hash::map"],[278,"indexmap::map"],[279,"alloc::string"],[280,"alloc::alloc"],[281,"alloc::vec"],[282,"serde::ser"],[283,"serde_json::value"],[284,"core::any"],[285,"leo_errors::errors"],[286,"leo_passes::common::graph"],[287,"leo_span::source_map"]],"d":["The abstract syntax tree (AST) for a Leo program.","","The primary entry point of the Leo compiler.","","A raw unprocessed input or state file data. Used for …","","","","Returns a reference to the inner program AST …","The Assigner is used to construct (unique) assignment …","The AST for the program.","","Whether spans are enabled in the output ASTs.","","","","","","","Build options.","Recursively checks if the symbol table contains an entry …","","","","","","","The compiler for Leo programs.","Options configuring compilation.","If enabled writes the AST after dead code elimination.","Whether to enable dead code elimination.","","","","","","","","","","","If enabled writes the AST after destructuring.","","","","","","","","","If enabled writes the AST after flattening.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Deserializes the JSON string into a symbol table from a …","Deserializes the JSON string into a ast from a file.","Deserializes the JSON string into a symbol table.","Deserializes the JSON string into a ast.","Functions represents the name of each function mapped to …","The handler is used for error and warning emissions.","","","","If enabled writes the AST after parsing.","If enabled writes the input AST after parsing.","","If enabled writes the AST after inlining.","The input ast for the program if it exists.","Creates a new scope for the block and stores it in the …","Inserts a function into the symbol table.","Inserts a struct into the symbol table.","Inserts a variable into the symbol table.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Returns the scope associated with the function symbol, if …","Attempts to lookup a function in the symbol table.","Returns the scope associated with index, if it exists in …","Attempts to lookup a struct in the symbol table.","Attempts to lookup a variable in the symbol table.","Returns a mutable reference to the VariableSymbol if it …","The path to the main leo file.","The network name,","Creates a new AST from a given program tree.","The NodeCounter used to generate sequentially increasing …","","Output options.","The path to where the compiler outputs all generated files.","","Returns all values of the input AST for execution with …","The program name,","Removes a variable from the symbol table.","Returns the current scope index. Increments the scope …","","","","","","If enabled writes the AST after static single assignment.","Maps struct names to struct definitions. This field is …","","","","","Serializes the input into a JSON file.","Serializes the ast into a JSON file.","Serializes the symbol table into a JSON value and removes …","Serializes the Input into a JSON value and removes keys …","Serializes the ast into a JSON value and removes keys from …","Serializes the symbol table into a JSON string.","Serializes the ast into a JSON string.","Converts the symbol table into a JSON value","Serializes the Input into a JSON Value.","","","","","","","","","","","If enabled writes the symbol table after type checking.","","","","The type table.","If enabled writes the AST after loop unrolling.","If enabled writes the symbol table after loop unrolling.","Returns true if the variable exists in the local scope","Returns true if the variable exists in any parent scope","","","","","The abstract syntax tree (AST) for a Leo program.","The primary entry point of the Leo compiler.","A raw unprocessed input or state file data. Used for …","","The Assigner is used to construct (unique) assignment …","The AST for the program.","","","","Returns a SHA256 checksum of the program file.","","","Runs the code generation pass.","Returns a compiled Leo program.","Options configuring compilation.","Runs the compiler stages.","Runs the dead code elimination pass.","","","Runs the destructuring pass.","","Runs the flattening pass.","Returns the argument unchanged.","Runs the function inlining pass.","Functions represents the name of each function mapped to …","The handler is used for error and warning emissions.","","The input ast for the program if it exists.","Calls U::from(self).","Runs the loop unrolling pass.","The path to the main leo file.","The network name,","Returns a new Leo compiler.","The NodeCounter used to generate sequentially increasing …","The path to where the compiler outputs all generated files.","","Parses and stores the input file, constructs a syntax …","Parses and stores the main program file, constructs a …","Parses and stores a program file content from a string, …","The program name,","","","","Runs the static single assignment pass.","Maps struct names to struct definitions. This field is …","Runs the symbol table pass.","","","","Runs the type checker pass.","","The type table.","","","Writes the AST to a JSON file.","Writes the Symbol Table to a JSON file.","","","","Whether spans are enabled in the output ASTs.","","","","","","","Build options.","","","","","","","If enabled writes the AST after dead code elimination.","Whether to enable dead code elimination.","","","","","","","","","","If enabled writes the AST after destructuring.","","","","If enabled writes the AST after flattening.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","If enabled writes the AST after parsing.","If enabled writes the input AST after parsing.","","If enabled writes the AST after inlining.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Output options.","If enabled writes the AST after static single assignment.","","","","","","","","","","","If enabled writes the symbol table after type checking.","","","","If enabled writes the AST after loop unrolling.","If enabled writes the symbol table after loop unrolling.","","",""],"i":[0,0,0,0,0,0,0,1,1,32,32,1,40,3,9,1,3,9,1,37,3,3,9,1,3,9,1,0,32,40,39,3,1,3,9,1,3,9,1,3,9,40,3,9,1,1,1,1,1,1,40,3,9,1,3,9,1,3,1,3,1,3,32,3,9,1,40,40,40,40,32,3,3,3,3,3,9,1,1,3,3,3,3,3,3,32,32,1,32,0,37,32,3,9,32,3,3,3,3,9,3,9,40,3,40,3,9,3,9,1,3,9,1,3,1,3,9,1,3,9,1,3,9,1,3,9,1,40,3,9,1,32,40,40,3,3,3,3,9,1,0,0,0,0,32,32,1,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,3,32,32,32,32,32,32,32,32,32,32,3,32,32,32,32,3,3,9,32,3,32,32,32,32,32,32,32,3,32,32,32,0,0,0,40,37,39,40,37,39,40,37,37,39,40,37,39,40,40,39,37,39,40,37,39,40,37,39,40,40,37,39,40,40,37,39,40,37,39,40,40,40,40,40,37,39,40,37,40,40,37,39,40,37,39,40,37,39,40,40,37,39,40,40,40,37,39,40],"f":[0,0,0,0,0,0,0,[1,2],[1,2],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[3,4,5],[[8,[6,7]]]],[3,3],[9,9],[1,1],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],0,0,0,0,[[],3],[[],1],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[-1,[[8,[3]]],11],[-1,[[8,[9]]],11],0,[10,6],[10,6],[10,6],[[1,1],12],[[-1,-2],12,[],[]],[[-1,-2],12,[],[]],[[-1,-2],12,[],[]],[[-1,-2],12,[],[]],0,[[3,13],[[8,[6,14]]]],[[9,13],[[8,[6,14]]]],[[1,13],[[8,[6,14]]]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[15,[[8,[3,7]]]],[15,[[8,[1,7]]]],[16,[[8,[3,7]]]],[16,[[8,[1,7]]]],0,0,[[],10],[[],10],[[],10],0,0,0,0,0,[3,10],[[3,4,17],[[8,[6,7]]]],[[3,4,18],[[8,[6,7]]]],[[3,4,19],[[8,[6,7]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,2],[[3,4],[[21,[[20,[3]]]]]],[[3,4],[[21,[22]]]],[[3,10],[[21,[[20,[3]]]]]],[[3,4],[[21,[18]]]],[[3,4],[[21,[19]]]],[[3,4],[[21,[19]]]],0,0,[2,1],0,0,0,0,0,[[9,16,[24,[4,18,23]]],[[27,[25,26]]]],0,[[3,4],6],[3,10],0,0,0,[[3,-1],8,28],[[9,-1],8,28],0,0,0,[[29,16],[[8,[-1]]],[]],[[29,16],[[8,[-1]]],[]],[[3,15,16],[[8,[6,7]]]],[[9,15,16],[[8,[6,7]]]],[[1,15,16],[[8,[6,7]]]],[[3,15,16,[30,[16]]],[[8,[6,7]]]],[[9,15,16,[30,[16]]],[[8,[6,7]]]],[[1,15,16,[30,[16]]],[[8,[6,7]]]],[3,[[8,[25,7]]]],[1,[[8,[25,7]]]],[3,[[8,[29,7]]]],[9,[[8,[29,7]]]],[1,[[8,[29,7]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],0,[-1,31,[]],[-1,31,[]],[-1,31,[]],0,0,0,[[3,4],12],[[3,4],12],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[32,[[33,[25]]]],[32,32],[[-1,-2],6,[],[]],[[32,3,34,35],[[33,[25]]]],[32,[[33,[[6,[3,25]]]]]],0,[32,[[33,[[6,[3,34,35]]]]]],[32,[[33,[6]]]],[10,-1,[]],[10,-1,[]],[32,[[33,[6]]]],[10,6],[[32,3],[[33,[6]]]],[-1,-1,[]],[[32,35],[[33,[6]]]],0,0,[[],10],0,[-1,-2,[],[]],[[32,3],[[33,[3]]]],0,0,[[25,25,36,15,15,[21,[37]]],32],0,0,0,[[32,15],[[33,[6]]]],[32,[[33,[6]]]],[[32,16,38],[[33,[6]]]],0,0,0,0,[[32,3],[[33,[6]]]],0,[32,[[33,[3]]]],[-1,-2,[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[[32,3],[[33,[[6,[3,34,35]]]]]],[-1,31,[]],0,0,[-1,-2,[],[]],[[32,16],[[33,[6]]]],[[32,16,3],[[33,[6]]]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[37,37],[39,39],[40,40],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],0,0,[[],37],[[],39],[[],40],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],0,[10,6],[10,6],[10,6],0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[],10],[[],10],[[],10],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],0,[-1,31,[]],[-1,31,[]],[-1,31,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"Ast",0],[3,"Program",263],[3,"SymbolTable",0],[3,"Symbol",264],[3,"Span",265],[15,"tuple"],[4,"LeoError",266],[4,"Result",267],[3,"InputAst",0],[15,"usize"],[8,"Deserializer",268],[15,"bool"],[3,"Formatter",269],[3,"Error",269],[3,"PathBuf",270],[15,"str"],[3,"Function",271],[3,"Struct",272],[3,"VariableSymbol",273],[3,"RefCell",274],[4,"Option",275],[3,"FunctionSymbol",276],[3,"RandomState",277],[3,"IndexMap",278],[3,"String",279],[3,"Global",280],[3,"Vec",281],[8,"Serializer",282],[4,"Value",283],[15,"slice"],[3,"TypeId",284],[3,"Compiler",140],[6,"Result",266],[6,"StructGraph",285],[6,"CallGraph",285],[3,"Handler",286],[3,"CompilerOptions",196],[4,"FileName",287],[3,"BuildOptions",196],[3,"OutputOptions",196]]},\ -"leo_errors":{"doc":"leo-errors","t":"AOAAAAAADRMLLLLMMLLLMLLLLLLMLMLLLLLMLLDMLLLLLLLLLLLLLLLMLLLLLLILKKKKKKDDIGDDDGLLLLLLLLLLLLLLLKLLLLKLLLLMLMLLLLLLLLLLLLMLLLLLLKLLLLLMLLLLLLLLLLLLLLLLLLLLLMLLNNNNNNNNEENNNNNGNALLLLAALLLALLLLLLLLLLLLLLLLLALLAAALLLLLLLLALLAENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLFLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNELLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["common","create_messages","emitter","errors","backtraced","formatted","macros","traits","Backtraced","INDENT","backtrace","borrow","borrow_mut","clone","clone_into","code","code_identifier","default","description","eq","error","error_code","exit_code","fmt","fmt","from","hash","help","into","message","new_from_backtrace","to_owned","to_string","try_from","try_into","type_","type_id","warning_code","Formatted","backtrace","borrow","borrow_mut","clone","clone_into","default","description","eq","error_code","exit_code","fmt","fmt","from","hash","into","new_from_span","span","to_owned","to_string","try_from","try_into","type_id","warning_code","LeoMessageCode","code_identifier","code_mask","error_code","exit_code","is_error","message_type","warning_code","Buffer","BufferEmitter","Emitter","ErrBuffer","Handler","HandlerInner","StderrEmitter","WarningBuffer","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","default","default","emit_err","emit_err","emit_err","emit_err","emit_err","emit_warning","emit_warning","emit_warning","emit_warning","emit_warning","emitter","err_count","err_count","extend_if_error","extract_errs","extract_warnings","fatal_err","fmt","fmt","from","from","from","from","from","had_errors","inner","into","into","into","into","into","into_inner","last_emitted_err_code","last_emitted_err_code","last_emitted_err_code","last_emitted_err_code","last_entry","last_err","last_error_code","new","new","new_with_buf","push","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","warn_count","warning_count","with","Anyhow","AstError","CliError","CompilerError","Err","FlattenError","InputError","LastErrorCode","LeoError","LeoWarning","LoopUnrollerError","Ok","PackageError","ParserError","ParserWarning","Result","TypeCheckerError","ast","borrow","borrow","borrow_mut","borrow_mut","cli","compiler","error_code","error_code","exit_code","flattener","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","input","into","into","loop_unroller","package","parser","source","source","to_string","to_string","try_from","try_from","try_into","try_into","type_checker","type_id","type_id","ast_errors","AstError","Backtraced","Formatted","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","failed_to_convert_ast_to_json_string","failed_to_convert_ast_to_json_value","failed_to_convert_symbol_table_to_json_string","failed_to_convert_symbol_table_to_json_value","failed_to_create_ast_json_file","failed_to_create_symbol_table_json_file","failed_to_read_json_file","failed_to_read_json_string_to_ast","failed_to_read_json_string_to_symbol_table","failed_to_write_ast_to_json_file","failed_to_write_symbol_table_to_json_file","fmt","fmt","from","from","from","into","is_error","message_type","num_exit_codes","shadowed_function","shadowed_record","shadowed_struct","shadowed_variable","source","to_owned","to_string","try_from","try_into","type_id","warning_code","cli_errors","Backtraced","CliError","Formatted","borrow","borrow_mut","cli_io_error","clone","clone_into","code_mask","could_not_fetch_versions","error_code","exit_code","failed_to_enable_ansi_support","failed_to_execute_build","failed_to_execute_deploy","failed_to_execute_execute","failed_to_execute_new","failed_to_execute_node","failed_to_execute_run","failed_to_load_instructions","failed_to_parse_deploy","failed_to_parse_execute","failed_to_parse_new","failed_to_parse_node","failed_to_parse_run","failed_to_parse_seed","failed_to_write_file","fmt","fmt","from","from","from","into","is_error","message_type","needs_leo_build","num_exit_codes","old_release_version","self_update_build_error","self_update_error","source","to_owned","to_string","try_from","try_into","type_id","warning_code","compiler_errors","Backtraced","CompilerError","Formatted","borrow","borrow_mut","cannot_open_cwd","clone","clone_into","code_mask","error_code","exit_code","file_read_error","fmt","fmt","from","from","from","illegal_static_member_assignment","import_not_found","into","is_error","message_type","num_exit_codes","program_name_should_match_file_name","program_scope_name_does_not_match","source","to_owned","to_string","try_from","try_into","type_id","warning_code","flattener_errors","Backtraced","FlattenError","Formatted","binary_overflow","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","fmt","fmt","from","from","from","into","is_error","loop_has_neg_value","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","type_name","unary_overflow","warning_code","input_errors","Backtraced","Formatted","InputError","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","fmt","fmt","from","from","from","illegal_expression","into","is_error","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","unexpected_section","unexpected_type","warning_code","loop_unroller_errors","Backtraced","Formatted","LoopUnrollerError","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","fmt","fmt","from","from","from","into","is_error","loop_range_decreasing","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","variable_array_access","warning_code","package_errors","Backtraced","Formatted","PackageError","borrow","borrow_mut","clone","clone_into","code_mask","directory_not_found","empty_source_directory","error_code","exit_code","failed_to_create_aleo_file","failed_to_create_directory","failed_to_create_inputs_directory","failed_to_create_source_directory","failed_to_get_file_name","failed_to_get_input_file_entry","failed_to_get_input_file_type","failed_to_get_leo_file_entry","failed_to_get_leo_file_extension","failed_to_initialize_package","failed_to_open_aleo_file","failed_to_open_manifest","failed_to_read_checksum_file","failed_to_read_circuit_file","failed_to_read_file","failed_to_read_input_file","failed_to_read_inputs_directory","failed_to_read_snapshot_file","failed_to_remove_aleo_file","failed_to_remove_checksum_file","failed_to_remove_circuit_file","failed_to_remove_directory","failed_to_remove_snapshot_file","failed_to_set_cwd","failed_to_write_aleo_file","fmt","fmt","from","from","from","into","invalid_input_file_type","invalid_leo_file_extension","invalid_package_name","io_error_checksum_file","io_error_circuit_file","io_error_env_file","io_error_gitignore_file","io_error_input_file","io_error_main_file","is_error","message_type","num_exit_codes","source","source_directory_can_contain_only_one_file","to_owned","to_string","try_from","try_into","type_id","warning_code","parser_errors","parser_warnings","Backtraced","Formatted","ParserError","array_must_have_at_least_one_element","async_finalize_is_deprecated","borrow","borrow_mut","circuit_is_deprecated","clone","clone_into","code_mask","console_statements_are_not_yet_supported","could_not_lex","error_code","exit_code","finalize_statements_are_deprecated","fmt","fmt","from","from","from","implicit_values_not_allowed","inputs_multiple_variable_modes_specified","into","invalid_address_lit","invalid_associated_access","invalid_import_list","invalid_method_call","invalid_network","is_error","leo_imports_only","lexer_bidi_override","lexer_block_comment_does_not_close_before_eof","lexer_empty_block_comment","lexer_empty_input","lexer_expected_valid_escaped_char","lexer_hex_number_provided","lexer_string_not_closed","message_type","missing_program_scope","mixed_commas_and_semicolons","num_exit_codes","only_one_program_scope_is_allowed","source","space_in_annotation","spread_in_array_init","to_owned","to_string","try_from","try_into","tuple_index_must_be_whole_number","tuple_must_have_at_least_two_elements","type_id","unexpected","unexpected_eof","unexpected_ident","unexpected_statement","unexpected_str","unexpected_token","unexpected_whitespace","warning_code","Backtraced","Formatted","ParserWarning","borrow","borrow_mut","clone","clone_into","code_mask","const_parameter_or_input","deprecated","error_code","exit_code","fmt","fmt","from","from","from","into","is_error","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","warning_code","type_checker_error","Backtraced","Formatted","TypeCheckerError","array_element_cannot_be_record","array_element_cannot_be_tuple","array_empty","array_too_large","assign_unit_expression_to_variable","borrow","borrow_mut","can_only_call_inline_function","cannot_assign_to_const_input","cannot_assign_to_const_var","cannot_call_external_inline_function","cannot_have_constant_output_mode","cannot_invoke_call_to_local_transition_function","clone","clone_into","code_mask","compare_address","composite_data_type_cannot_contain_tuple","const_declaration_can_only_have_one_binding","const_declaration_must_be_literal_or_tuple_of_literals","core_type_name_conflict","could_not_determine_type","cyclic_function_dependency","cyclic_struct_dependency","duplicate_record_variable","duplicate_struct_member","error_code","exit_code","expected_one_type_of","expression_statement_must_be_function_call","finalize_block_must_not_be_empty","finalize_cannot_output_record","finalize_cannot_return_value","finalize_cannot_take_record_as_input","finalize_cannot_take_tuple_as_input","finalize_in_finalize","finalize_input_mode_must_be_public","finalize_name_mismatch","finalize_output_mode_must_be_public","finalize_statement_cannot_contain_tuples","finalize_without_finalize_block","fmt","fmt","from","from","from","function_cannot_output_record","function_cannot_take_tuple_as_input","function_has_no_return","imported_program_cannot_import_program","incorrect_num_args_to_call","incorrect_num_args_to_finalize","incorrect_num_struct_members","incorrect_num_tuple_elements","incorrect_tuple_length","into","invalid_assignment_target","invalid_associated_constant","invalid_block_access","invalid_core_constant","invalid_core_function","invalid_core_function_call","invalid_int_value","invalid_mapping_type","invalid_operation_inside_finalize","invalid_operation_outside_finalize","invalid_self_access","invalid_struct_variable","invalid_tuple","invalid_type","is_error","lhs_must_be_identifier_or_tuple","lhs_tuple_element_must_be_an_identifier","loop_body_contains_finalize","loop_body_contains_return","loop_bound_must_be_a_literal","loop_bound_must_be_literal_or_const","loop_bound_type_mismatch","loop_range_decreasing","message_type","missing_finalize","missing_return","missing_struct_member","nested_tuple_expression","nested_tuple_type","num_exit_codes","only_transition_functions_can_have_finalize","operation_must_be_in_finalize_block","record_var_wrong_type","regular_function_inputs_cannot_have_modes","required_record_variable","source","strings_are_not_supported","struct_cannot_have_member_mode","struct_or_record_cannot_contain_record","to_owned","to_string","too_many_mappings","too_many_transitions","transition_function_inputs_cannot_be_const","try_from","try_into","tuple_out_of_range","type_id","type_should_be","undefined_type","unit_expression_only_in_return_statements","unknown_annotation","unknown_sym","unreachable_code_after_return","warning_code"],"q":[[0,"leo_errors"],[4,"leo_errors::common"],[8,"leo_errors::common::backtraced"],[38,"leo_errors::common::formatted"],[62,"leo_errors::common::traits"],[70,"leo_errors::emitter"],[156,"leo_errors::errors"],[218,"leo_errors::errors::ast"],[219,"leo_errors::errors::ast::ast_errors"],[260,"leo_errors::errors::cli"],[261,"leo_errors::errors::cli::cli_errors"],[308,"leo_errors::errors::compiler"],[309,"leo_errors::errors::compiler::compiler_errors"],[341,"leo_errors::errors::flattener"],[342,"leo_errors::errors::flattener::flattener_errors"],[372,"leo_errors::errors::input"],[373,"leo_errors::errors::input::input_errors"],[402,"leo_errors::errors::loop_unroller"],[403,"leo_errors::errors::loop_unroller::loop_unroller_errors"],[431,"leo_errors::errors::package"],[432,"leo_errors::errors::package::package_errors"],[495,"leo_errors::errors::parser"],[497,"leo_errors::errors::parser::parser_errors"],[558,"leo_errors::errors::parser::parser_warnings"],[586,"leo_errors::errors::type_checker"],[587,"leo_errors::errors::type_checker::type_checker_error"],[701,"alloc::string"],[702,"core::fmt"],[703,"core::fmt"],[704,"core::option"],[705,"backtrace::capture"],[706,"alloc::string"],[707,"core::any"],[708,"leo_span::span"],[709,"core::convert"],[710,"core::fmt"],[711,"alloc::boxed"],[712,"core::ops::function"],[713,"anyhow"],[714,"core::error"],[715,"std::fs"]],"d":["Contains the common functionalities for defining errors..","A macro that given an enum, exit code mask, error code …","Contains traits and types for channels through which …","Contains the errors and warnings for the Leo lang.","This module contains a backtraced error and its methods.","This module contains a formatted error and its methods.","This module contains the macros for making errors easily.","This module contains traits for making errors easily.","Backtraced compiler ouput type undefined value x –> …","The indent for an error message.","The backtrace representing where the error occured in Leo.","","","","","The error exit code.","The error leading digits identifier.","","","","Is this Backtrace a warning or error?","Gets a unique error identifier.","Gets the backtraced error exit code.","","","Returns the argument unchanged.","","The error help message if it exists.","Calls U::from(self).","The error message.","Creates a backtraced error from a backtrace.","","","","","The characters representing the type of error.","","Gets a unique warning identifier.","Formatted compiler error type undefined value x –> …","The backtrace to track where the Leo error originated.","","","","","","","","Returns an error identifier.","Calls the backtraces error exit code.","","","Returns the argument unchanged.","","Calls U::from(self).","Creates a backtraced error from a span and a backtrace.","The formatted error span information.","","","","","","Returns an warning identifier.","MessageCode trait that all Errors should implement.","The LeoErrorCode which has a default code identifier of 037","Returns the messages’s exit code mask, as to avoid …","Returns the prefixed error identifier.","Returns the error’s exit code for the program.","Returns if the message is an error or warning.","Returns the message’s code type for the program.","Returns the prefixed warning identifier.","A buffer of Ts.","An Emitter that collects into a list.","Types that are sinks for compiler errors.","A buffer of LeoErrors.","A handler deals with errors and other compiler output.","Contains the actual data for Handler. Modelled this way to …","A trivial Emitter using the standard error.","A buffer of LeoWarnings.","","","","","","","","","","","","","","","","Emit the error err.","","Emit the error err.","Emit the error err.","","Emit the warning.","","Emit the error err.","Emit the error err.","","The sink through which errors will be emitted.","The number of errors thus far.","Number of errors emitted thus far.","Extend handler with error given res = Err(error).","Extracts all the errors collected in this emitter.","Extracts all the errors collected in this emitter.","Emits the error err. This will immediately abort …","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Did we have any errors thus far?","The inner handler. RefCell is used here to avoid &mut all …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Extract the underlying list of Ts.","Tracks last emitted error.","","Gets the last emitted error’s exit code.","","Last entry to the buffer.","Gets the last emitted error’s exit code if it exists. …","Exit code of the last emitted error.","Construct a Handler using the given emitter.","Returns a new buffered emitter.","Construct a Handler that will append to buf.","Push x to the buffer.","","","","","","","","","","","","","","","","","","Number of warnings emitted thus far.","The number of warnings thus far.","Runs logic provided a handler that collects all errors …","Anyhow errors.","Represents an AST Error in a Leo Error.","Represents an CLI Error in a Leo Error.","Represents an Compiler Error in a Leo Error.","Contains the error value","Represents a Flatten Error in a Leo Error.","Represents an Input Error in a Leo Error.","Purely for just exiting with the correct status code and …","The LeoError type that contains all sub error types. This …","The LeoWarning type that contains all sub error types. …","Represents a Loop Unroller Error in a Leo Error.","Contains the success value","Represents an Package Error in a Leo Error.","Represents an Parser Error in a Leo Error.","Represents an Parser Error in a Leo Error.","A global result type for all Leo crates, that defaults the …","Represents a Type Checker Error in a Leo Error.","Contains the AST error definitions.","","","","","Contains the CLI error definitions.","Contains the Compiler error definitions.","Implement error code for each type of Error.","Implement warning code for each type of Warning.","Implement exit code for each type of Error.","Contains the Flattener error definitions.","","","","","Returns the argument unchanged.","","","","","","","","","","","","Returns the argument unchanged.","Contains the Input error definitions.","Calls U::from(self).","Calls U::from(self).","","Contains the Package error definitions.","Contains the Parser error definitions.","","","","","","","","","Contains the Type Checker error definitions.","","","This module contains the AST error definitions.","AstError enum that represents all the errors for the …","","","","","","","","","","For when the AST fails to be represented as a JSON string.","For when the AST fails to be represented as a JSON value.","For when the symbol table fails to be represented as a …","For when the symbol table fails to be represented as a …","For when the AST fails to create the AST JSON file.","For when the symbol table fails to create the symbol table …","For when the a JSON files fails to be represented as an …","For when the a JSON string fails to be represented as an …","For when the a JSON string fails to be represented as an …","For when the AST fails to write the AST JSON file.","For when the symbol table fails to write the symbol table …","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","For when a user shadows a function.","For when a user shadows a record.","For when a user shadows a struct.","For when a user shadows a variable.","","","","","","","","This module contains the CLI error definitions.","","CliError enum that represents all the errors for the …","","","","For when the CLI experiences an IO error.","","","","For when the CLI could not fetch the versions.","","","For when the CLI fails to enable ansi support.","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","For when the CLI has an old release version.","For when the CLI fails to self update.","For when the CLI fails to self update.","","","","","","","","This module contains the Compiler error definitions.","","CompilerError enum that represents all the errors for the …","","","","","","","","","","For when the compiler can’t read a file from the …","","","","Returns the argument unchanged.","","For when a user tries to assign to a struct static member.","","Calls U::from(self).","","","","","","","","","","","","","This module contains the Flattener error definitions.","","CliError enum that represents all the errors for the …","","For when a constant operation would cause an overflow.","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","For when a loop uses a negative value.","","","","","","","","","Generates the type name of a value.","For when a constant operation would cause an overflow.","","This module contains the Input error definitions.","","","InputError enum that represents all the errors for the …","","","","","","","","","","","","Returns the argument unchanged.","For when the expression is not allowed in an input file.","Calls U::from(self).","","","","","","","","","","For when section name is not an allowed one.","For when declared variable type mismatches actual type.","","This module contains the Input error definitions.","","","LoopUnrollerError enum that represents all the errors for …","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","This module contains the Package error definitions.","","","PackageError enum that represents all the errors for the …","","","","","","For when opening a directory failed.","","","","","For when creating a directory failed.","For when creating the inputs directory failed.","For when creating the source directory failed.","","For when getting a input file entry failed.","For when getting the input file type failed.","For when getting a Leo file entry failed.","For when getting the source file extension failed.","For when the package failed to initalize.","","","For when reading the checksum file failed.","For when reading the struct file failed.","For when file could not be read.","For when reading the input file failed.","For when reading the input directory failed.","For when reading the snapshot file failed.","","For when removing the checksum file failed.","For when removing the struct file failed.","For when removing a directory failed.","For when removing the snapshot file failed.","","","","","","","Returns the argument unchanged.","Calls U::from(self).","For when getting the input file has an invalid file type.","For when the Leo file has an invalid extension.","For when the package has an invalid name.","For when the checksum file has an IO error.","For when the struct file has an IO error.","For when the environment file has an IO error.","For when the gitignore file has an IO error.","For when the input file has an IO error.","For when the main file has an IO error.","","","","","","","","","","","","This module contains the Parser error definitions.","This module contains the Parser warning definitions.","","","ParserError enum that represents all the errors for the …","","","","","","","","","","When the lexer could not lex some text.","","","","","","Returns the argument unchanged.","","","When the user tries to pass an implicit value.","For when a user specified more than one mode on a …","Calls U::from(self).","For when the parser encountered an invalid address literal.","","For when the parser encountered an empty import list.","Parsed an unknown method call on the type of an expression.","","","","For when the lexer encountered a bidi override character","When a block comment is not closed before end of file.","When a block comment is empty.","When more input was expected but not found.","When an integer is started with a leading zero.","When a hex number is provided.","When a string is not properly closed.","","","For when the parser encountered a mix of commas and …","","","","","For when the parser encountered an unexpected spread in an …","","","","","Enforce that tuple index must not have leading 0, or …","","","For when the parser encountered an unexpected list of …","For when the parser encountered an unexpected End of File.","For when the parser encountered an unexpected identifier.","For when the parser encountered an unexpected statement.","For when the parser encountered an unexpected string.","For when the parser encountered an unexpected token.","For when the parser encountered an unexpected whitespace.","","","","ParserWarning enum that represents all the warnings for …","","","","","","For when a user used const on a parameter or input instead …","For when a keyword is deprecated but could be used as a …","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","This module contains the Input error definitions.","","","InputError enum that represents all the errors for the …","","","","","","","","","For when the user tries to assign to a const input.","For when the user tries to assign to a const input.","","","","","","","","","","","For when a struct is created with the same name as a core …","For when the type checker cannot determine the type of an …","","","Attempted to define more that one record variable with the …","Attempted to define more that one struct member with the …","","","For when one of the following types was expected.","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","For when a function doesn’t have a return statement.","","For when the user tries calls a function with the …","","For when the user tries initialize a struct with the …","","","Calls U::from(self).","For when the parser encountered an invalid assignment …","A call to an invalid associated constant is made e.g., …","For when an invalid field of block is called.","For when an invalid core constant is called.","For when an invalid core function is used.","An invalid access call is made e.g., `SHA256::hash()","For when an integer is not in a valid range.","","","","","Attempted to access an invalid struct variable.","","","","","","","","","","","","","","","For when the user is missing a struct member during …","","","","","","","","","","","","","","","","","","","","","","For when the user tries to assign to a const input.","Attempted to access an invalid struct.","","","For when the user tries to return a unknown variable.","",""],"i":[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,0,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,22,23,19,20,18,22,23,19,20,18,18,18,19,20,18,34,22,23,19,18,34,22,23,19,18,23,19,23,19,18,18,19,20,20,22,23,19,20,18,19,19,22,23,19,20,18,20,34,22,23,18,20,19,22,19,18,19,20,18,20,22,23,19,20,18,22,23,19,20,18,22,23,19,20,18,23,19,19,21,21,21,21,51,21,21,21,0,0,21,51,21,21,25,0,21,0,21,25,21,25,0,0,21,25,21,0,21,21,25,25,21,21,21,21,21,21,21,21,21,21,21,25,25,0,21,25,0,0,0,21,25,21,25,21,25,21,25,0,21,25,0,0,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,0,44,0,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,0,43,0,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,0,45,0,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,0,45,45,0,41,41,0,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,0,40,40,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,0,37,37,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,0,0,42,42,0,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,46,46,0,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,0,36,36,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36],"f":[0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[[-1,-2],2,[],[]],0,0,[[],1],[1,3],[[1,1],4],0,[1,5],[1,6],[[1,7],8],[[1,7],8],[-1,-1,[]],[[1,-1],2,9],0,[-1,-2,[],[]],0,[[-1,[10,[5]],6,11,5,4,12],1,13],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],[1,5],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[16,16],[[-1,-2],2,[],[]],[[],16],[16,3],[[16,16],4],[16,5],[16,6],[[16,7],8],[[16,7],8],[-1,-1,[]],[[16,-1],2,9],[-1,-2,[],[]],[[-1,[10,[5]],6,11,5,4,17,12],16,13],0,[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[16,5],0,[[],11],[[],6],[-1,5,[]],[-1,6,[]],[[],4],[[],5],[-1,5,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[18,18],[[-1,-2],2,[],[]],[[],19],[[],[[20,[-1]]],[]],[[],18],[[-1,21],2,[]],[[22,21],2],[[23,21],2],[[19,-1],2,[[24,[21]]]],[[18,21],2],[[-1,25],2,[]],[[22,25],2],[[23,25],2],[[19,25],2],[[18,25],2],0,[19,26],0,[[19,[14,[-1,21]]],[[14,[-1,2]]],[]],[18,27],[18,28],[[19,21],29],[[[20,[-1]],7],8,30],[[[20,[-1]],7],8,31],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[19,4],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[20,[-1]]],[[32,[-1]]],[]],[-1,[[10,[6]]],[]],[22,[[10,[6]]]],[23,[[10,[6]]]],[18,[[10,[6]]]],[[[20,[-1]]],[[10,[-1]]],[]],[19,[[14,[2,[33,[21]]]]]],0,[[[33,[34]]],19],[[],18],[[],[[2,[19,18]]]],[[[20,[-1]],-1],2,[]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],[-1,15,[]],[-1,15,[]],[-1,15,[]],0,[19,26],[-1,[[14,[-2,27]]],35,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[21,5],[25,5],[21,6],0,[[21,7],8],[[21,7],8],[[25,7],8],[[25,7],8],[-1,-1,[]],[36,21],[37,21],[38,21],[39,21],[40,21],[41,21],[42,21],[43,21],[44,21],[45,21],[46,25],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[21,[[10,[47]]]],[25,[[10,[47]]]],[-1,5,[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[39,39],[[-1,-2],2,[],[]],[[],6],[39,5],[39,6],[-1,39,47],[-1,39,47],[-1,39,47],[-1,39,47],[[-1,-2],39,30,47],[[-1,-2],39,30,47],[[-1,-2],39,30,47],[-1,39,47],[-1,39,47],[[-1,-2],39,30,47],[[-1,-2],39,30,47],[[39,7],8],[[39,7],8],[16,39],[1,39],[-1,-1,[]],[-1,-2,[],[]],[[],4],[[],5],[[],6],[[-1,17],39,31],[[-1,17],39,31],[[-1,17],39,31],[[-1,17],39,31],[39,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[39,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,44,47],[44,44],[[-1,-2],2,[],[]],[[],6],[-1,44,47],[44,5],[44,6],[[],44],[-1,44,31],[-1,44,31],[-1,44,31],[-1,44,31],[-1,44,31],[-1,44,31],[-1,44,31],[-1,44,31],[-1,44,31],[-1,44,31],[-1,44,31],[-1,44,31],[-1,44,31],[-1,44,31],[[44,7],8],[[44,7],8],[-1,-1,[]],[1,44],[16,44],[-1,-2,[],[]],[[],4],[[],5],[[],44],[[],6],[[-1,-2],44,31,31],[-1,44,47],[-1,44,47],[44,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[44,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[-1,17],43,47],[43,43],[[-1,-2],2,[],[]],[[],6],[43,5],[43,6],[[-1,-2],43,30,47],[[43,7],8],[[43,7],8],[16,43],[-1,-1,[]],[1,43],[[-1,17],43,31],[[-1,17],43,31],[-1,-2,[],[]],[[],4],[[],5],[[],6],[[-1,-2,17],43,31,31],[[-1,-2,17],43,31,31],[43,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[43,5],0,0,0,0,[[-1,-2,-3,-4,17],45,31,31,31,31],[-1,-2,[],[]],[-1,-2,[],[]],[45,45],[[-1,-2],2,[],[]],[[],6],[45,5],[45,6],[[45,7],8],[[45,7],8],[1,45],[-1,-1,[]],[16,45],[-1,-2,[],[]],[[],4],[[-1,17],45,31],[[],5],[[],6],[45,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,3,[]],[[-1,-2,17],45,31,31],[45,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[41,41],[[-1,-2],2,[],[]],[[],6],[41,5],[41,6],[[41,7],8],[[41,7],8],[16,41],[1,41],[-1,-1,[]],[[-1,17],41,31],[-1,-2,[],[]],[[],4],[[],5],[[],6],[41,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[[[48,[-1]],-2,17],41,31,31],[[-1,-2,17],41,31,31],[41,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[40,40],[[-1,-2],2,[],[]],[[],6],[40,5],[40,6],[[40,7],8],[[40,7],8],[1,40],[16,40],[-1,-1,[]],[-1,-2,[],[]],[[],4],[17,40],[[],5],[[],6],[40,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[17,40],[40,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[37,37],[[-1,-2],2,[],[]],[[],6],[[-1,-2],37,31,31],[[],37],[37,5],[37,6],[-1,37,31],[[-1,-2],37,31,47],[-1,37,47],[-1,37,47],[[],37],[-1,37,47],[[-1,-2],37,30,47],[-1,37,47],[-1,37,30],[[-1,-2],37,31,30],[-1,37,31],[-1,37,31],[-1,37,30],[-1,37,30],[[-1,-2],37,31,47],[-1,37,30],[-1,37,47],[-1,37,30],[-1,37,31],[-1,37,30],[-1,37,30],[[-1,-2],37,31,47],[-1,37,30],[[-1,-2],37,31,47],[-1,37,31],[[37,7],8],[[37,7],8],[1,37],[16,37],[-1,-1,[]],[-1,-2,[],[]],[[-1,49],37,30],[[-1,-2],37,30,30],[-1,37,31],[-1,37,47],[-1,37,47],[-1,37,47],[-1,37,47],[-1,37,47],[-1,37,47],[[],4],[[],5],[[],6],[37,[[10,[47]]]],[[],37],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[37,5],0,0,0,0,0,[[-1,17],42,31],[17,42],[-1,-2,[],[]],[-1,-2,[],[]],[17,42],[42,42],[[-1,-2],2,[],[]],[[],6],[17,42],[-1,42,31],[42,5],[42,6],[17,42],[[42,7],8],[[42,7],8],[-1,-1,[]],[1,42],[16,42],[[-1,17],42,31],[17,42],[-1,-2,[],[]],[[-1,17],42,31],[[-1,17],42,31],[17,42],[[-1,-2,-3,17],42,31,31,31],[17,42],[[],4],[17,42],[[],42],[-1,42,31],[[],42],[[],42],[-1,42,31],[-1,42,31],[-1,42,31],[[],5],[17,42],[17,42],[[],6],[17,42],[42,[[10,[47]]]],[17,42],[17,42],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[[-1,17],42,31],[[-1,17],42,31],[-1,15,[]],[[-1,-2,17],42,31,31],[17,42],[[-1,[48,[-2]],17],42,31,31],[[-1,-2,17],42,31,31],[[-1,-2,17],42,31,31],[[-1,17],42,31],[[-1,-2,17],42,31,31],[42,5],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[46,46],[[-1,-2],2,[],[]],[[],6],[17,46],[[-1,-2,17],46,31,31],[46,5],[46,6],[[46,7],8],[[46,7],8],[-1,-1,[]],[1,46],[16,46],[-1,-2,[],[]],[[],4],[[],5],[[],6],[46,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[46,5],0,0,0,0,[17,36],[17,36],[17,36],[[-1,-2,17],36,31,31],[17,36],[-1,-2,[],[]],[-1,-2,[],[]],[17,36],[[-1,17],36,31],[[-1,17],36,31],[17,36],[17,36],[17,36],[36,36],[[-1,-2],2,[],[]],[[],6],[[-1,17],36,31],[[-1,17],36,31],[17,36],[17,36],[[-1,17],36,31],[[-1,17],36,31],[[[32,[-1]]],36,31],[[[32,[-1]]],36,31],[[-1,17],36,31],[[-1,17],36,31],[36,5],[36,6],[[-1,-2,17],36,31,31],[17,36],[17,36],[17,36],[17,36],[17,36],[17,36],[17,36],[17,36],[[-1,-2,17],36,31,31],[17,36],[17,36],[17,36],[[36,7],8],[[36,7],8],[16,36],[1,36],[-1,-1,[]],[17,36],[17,36],[[-1,17],36,31],[17,36],[[-1,-2,17],36,31,31],[[-1,-2,17],36,31,31],[[-1,-2,17],36,31,31],[[-1,-2,17],36,31,31],[[-1,-2,17],36,31,31],[-1,-2,[],[]],[17,36],[[-1,17],36,31],[17,36],[[-1,-2,17],36,31,31],[[-1,-2,17],36,31,31],[[-1,17],36,31],[[-1,-2,17],36,31,31],[[-1,-2,17],36,31,31],[[-1,17],36,31],[[-1,17],36,31],[17,36],[[-1,-2,17],36,31,31],[17,36],[[-1,17],36,31],[[],4],[17,36],[17,36],[17,36],[17,36],[17,36],[17,36],[17,36],[17,36],[[],5],[17,36],[17,36],[[-1,-2,17],36,31,31],[17,36],[17,36],[[],6],[17,36],[17,36],[[-1,-2,17],36,31,31],[17,36],[[-1,-2,17],36,31,31],[36,[[10,[47]]]],[17,36],[17,36],[[-1,-2,17],36,31,31],[-1,-2,[],[]],[-1,5,[]],[[-1,17],36,31],[[-1,17],36,31],[17,36],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[[-1,-2,17],36,31,31],[-1,15,[]],[[-1,-2,17],36,31,31],[[-1,17],36,31],[17,36],[[-1,17],36,31],[[-1,-2,17],36,31,31],[17,36],[36,5]],"c":[],"p":[[3,"Backtraced",8],[15,"tuple"],[15,"str"],[15,"bool"],[3,"String",701],[15,"i32"],[3,"Formatter",702],[6,"Result",702],[8,"Hasher",703],[4,"Option",704],[15,"i8"],[3,"Backtrace",705],[8,"ToString",701],[4,"Result",706],[3,"TypeId",707],[3,"Formatted",38],[3,"Span",708],[3,"BufferEmitter",70],[3,"Handler",70],[3,"Buffer",70],[4,"LeoError",156],[3,"StderrEmitter",70],[3,"HandlerInner",70],[8,"Into",709],[4,"LeoWarning",156],[15,"usize"],[6,"ErrBuffer",70],[6,"WarningBuffer",70],[15,"never"],[8,"Debug",702],[8,"Display",702],[3,"Vec",710],[3,"Box",711],[8,"Emitter",70],[8,"FnOnce",712],[4,"TypeCheckerError",587],[4,"PackageError",432],[3,"Error",713],[4,"AstError",219],[4,"LoopUnrollerError",403],[4,"InputError",373],[4,"ParserError",497],[4,"CompilerError",309],[4,"CliError",261],[4,"FlattenError",342],[4,"ParserWarning",558],[8,"Error",714],[15,"slice"],[3,"FileType",715],[8,"LeoMessageCode",62],[6,"Result",156]]},\ -"leo_lang":{"doc":"Table of Contents","t":"AEDDDDIGEDNQNDNQDRNNDAKAAAMAMMAMMMMMMMMMMMMMMMMMAAFAMMMAMMMAMMMKMMAFAAMMMMENNMMMMDMDNNDNENNNNNLLLLLLLLLLMLLMLLLLLLLLLLLLLLLFLLLLLMMFLLLLLLLLLLLLMMMMMMMMCCDCICCQCQCCAKLLLLAALLLLLLLLMMMMMMMMMMMMMMMAALLLLLLLLLLLAMKALLLLLLALLLENNLLLLLLLLLLLLLLLLLLFLLLLLLFMMMMDLLLLLLLFLLLLLLLLLLLMLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLLENNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLMLLLMLLLLLLMLLMLLLLLLLDLLLLLLLLLLLLLLLLLLMLLLLLLLDLLLLLLLMLLLLLLLLLMLLMLLLLLLLDLLLLLLLLLLLLLLLLLMLLMLLLLLLDMENNNDMMMMAAADLLLLLLLLLLLLLMLLLLLDHMLLLLLLLMMMMLLMLLLFLMLLLLLLLLLLLLSSSDLLLLLLLLLLLLLLLLDMMMMMMFMDMDMMMDMMD","n":["cli","Account","Build","BuildOptions","CLI","Clean","Command","CurrentNetwork","Example","Execute","Import","Input","Lottery","New","New","Output","Run","SNARKVM_COMMAND","TicTacToe","Token","Update","account","apply","build","clean","cli","command","commands","compiler_options","compiler_options","context","debug","enable_all_ast_snapshots","enable_ast_spans","enable_dce","enable_dce_ast_snapshot","enable_destructured_ast_snapshot","enable_flattened_ast_snapshot","enable_initial_ast_snapshot","enable_initial_input_ast_snapshot","enable_initial_symbol_table_snapshot","enable_inlined_ast_snapshot","enable_ssa_ast_snapshot","enable_symbol_table_spans","enable_type_checked_symbol_table_snapshot","enable_unrolled_ast_snapshot","enable_unrolled_symbol_table_snapshot","endpoint","example","execute","handle_error","helpers","inputs","inputs","list","logger","name","name","name","new","offline","options","path","prelude","quiet","quiet","run","run_with_args","update","updater","private_key","seed","write","write","Account","Import","New","private_key","seed","write","write","Build","options","Clean","Account","Build","CLI","Clean","Commands","Example","Execute","New","Run","Update","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","borrow","borrow_mut","borrow_mut","command","command","command","command_for_update","command_for_update","debug","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","from","from","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","group_id","handle_error","has_subcommand","init","init","into","into","path","quiet","run_with_args","try_from","try_from","try_into","try_into","type_id","type_id","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","vzip","vzip","command","command","command","command","command","command","command","command","Account","Build","BuildOptions","Clean","Command","Example","Execute","Input","New","Output","Run","Update","account","apply","augment_args","augment_args_for_update","borrow","borrow_mut","build","clean","clone","clone_into","command","command_for_update","default","deref","deref_mut","drop","enable_all_ast_snapshots","enable_ast_spans","enable_dce","enable_dce_ast_snapshot","enable_destructured_ast_snapshot","enable_flattened_ast_snapshot","enable_initial_ast_snapshot","enable_initial_input_ast_snapshot","enable_initial_symbol_table_snapshot","enable_inlined_ast_snapshot","enable_ssa_ast_snapshot","enable_symbol_table_spans","enable_type_checked_symbol_table_snapshot","enable_unrolled_ast_snapshot","enable_unrolled_symbol_table_snapshot","example","execute","execute","execute","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","log_span","log_span","new","offline","prelude","run","to_owned","try_execute","try_execute","try_from","try_into","type_id","update","update_from_arg_matches","update_from_arg_matches_mut","vzip","Account","Import","New","apply","augment_subcommands","augment_subcommands_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","has_subcommand","init","into","prelude","print_keys","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","write_to_env_file","private_key","seed","write","write","Build","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","compile_leo_file","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","log_span","options","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Clean","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","log_span","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Example","Lottery","TicTacToe","Token","apply","augment_subcommands","augment_subcommands_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","has_subcommand","init","input_file_string","into","main_file_string","name","prelude","readme_file_string","run_file_string","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Execute","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","compiler_options","deref","deref_mut","drop","endpoint","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","inputs","into","log_span","name","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","New","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","log_span","name","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Run","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","compiler_options","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","inputs","into","log_span","name","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Update","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","list","log_span","prelude","quiet","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Context","path","Example","Lottery","TicTacToe","Token","Execute","compiler_options","endpoint","inputs","name","context","logger","updater","Context","borrow","borrow_mut","clone","clone_into","deref","deref_mut","dir","drop","from","init","into","new","open_manifest","path","to_owned","try_from","try_into","type_id","vzip","Format","START","ansi","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","display_level","display_target","display_thread_id","display_thread_name","drop","fmt","format","format_event","from","init","init_logger","into","timer","to_owned","try_from","try_into","type_id","vzip","with_ansi","with_level","with_target","with_thread_ids","with_thread_names","with_timer","without_time","LEO_BIN_NAME","LEO_REPO_NAME","LEO_REPO_OWNER","Updater","borrow","borrow_mut","deref","deref_mut","drop","from","init","into","print_cli","show_available_releases","try_from","try_into","type_id","update_available","update_to_latest_release","vzip","Format","ansi","display_level","display_target","display_thread_id","display_thread_name","format","init_logger","timer","New","name","Run","compiler_options","inputs","name","Update","list","quiet","Updater"],"q":[[0,"leo_lang"],[1,"leo_lang::cli"],[70,"leo_lang::cli::Account"],[74,"leo_lang::cli::account"],[77,"leo_lang::cli::account::Account"],[81,"leo_lang::cli::build"],[83,"leo_lang::cli::clean"],[84,"leo_lang::cli::cli"],[144,"leo_lang::cli::cli::Commands"],[152,"leo_lang::cli::commands"],[222,"leo_lang::cli::commands::account"],[251,"leo_lang::cli::commands::account::Account"],[255,"leo_lang::cli::commands::build"],[283,"leo_lang::cli::commands::clean"],[309,"leo_lang::cli::commands::example"],[342,"leo_lang::cli::commands::execute"],[372,"leo_lang::cli::commands::new"],[399,"leo_lang::cli::commands::run"],[428,"leo_lang::cli::commands::update"],[456,"leo_lang::cli::context"],[458,"leo_lang::cli::example"],[462,"leo_lang::cli::execute"],[467,"leo_lang::cli::helpers"],[470,"leo_lang::cli::helpers::context"],[490,"leo_lang::cli::helpers::logger"],[525,"leo_lang::cli::helpers::updater"],[545,"leo_lang::cli::logger"],[554,"leo_lang::cli::new"],[556,"leo_lang::cli::run"],[560,"leo_lang::cli::update"],[563,"leo_lang::cli::updater"],[564,"leo_errors::errors"],[565,"core::marker"],[566,"clap_builder::builder::command"],[567,"core::fmt"],[568,"core::fmt"],[569,"clap_builder"],[570,"core::result"],[571,"clap_builder::util::id"],[572,"core::option"],[573,"core::any"],[574,"tracing::span"],[575,"snarkvm_console_network::testnet3"],[576,"snarkvm_console_account::private_key"],[577,"std::path"],[578,"std::path"],[579,"leo_errors::emitter"],[580,"leo_span::symbol"],[581,"leo_ast::struct"],[582,"indexmap::map"],[583,"alloc::string"],[584,"snarkvm::file::manifest"],[585,"core::clone"],[586,"tracing_subscriber::fmt::format"],[587,"tracing_subscriber::fmt::time"],[588,"core::fmt"],[589,"tracing_subscriber::fmt::format"],[590,"tracing_subscriber::fmt::time"],[591,"tracing_subscriber::registry"],[592,"tracing_subscriber::fmt::format"]],"d":["","Commands to manage Aleo accounts.","Compile and build program command.","Compiler Options wrapper for Build command. Also used by …","CLI Arguments entry point - includes global parameters and …","Clean outputs folder command","Base trait for the Leo CLI, see methods and their …","","The example programs that can be generated.","Build, Prove and Run Leo program with inputs","Derive an Aleo account from a private key.","If the current command requires running another command …","","Create new Leo project","Generates a new Aleo account","Defines the output of this command, which may be used as …","Build, Prove and Run Leo program with inputs","","","","Update Leo to the latest version","","Runs the main operation of this command. This function is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Lists all available versions of Leo","","","","","","","","","Runs the prelude and returns the Input of the current …","","Suppress outputs to terminal","","Run command with custom build arguments.","","","Private key plaintext","Seed the RNG with a numeric value.","Write the private key to the .env file.","Write the private key to the .env file.","Commands to manage Aleo accounts.","Derive an Aleo account from a private key.","Generates a new Aleo account","Private key plaintext","Seed the RNG with a numeric value.","Write the private key to the .env file.","Write the private key to the .env file.","Compile and build program command.","","Clean outputs folder command","","","CLI Arguments entry point - includes global parameters and …","","Leo compiler and package manager","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","","","Run command with custom build arguments.","","","","","","","","","","","","","","","","","","","","","","","Compiler Options wrapper for Build command. Also used by …","","Base trait for the Leo CLI, see methods and their …","","","If the current command requires running another command …","","Defines the output of this command, which may be used as …","","","","Runs the main operation of this command. This function is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A wrapper around the apply method. This function sets up …","A wrapper around the apply method. This function sets up …","","Returns the argument unchanged.","","","","","Calls U::from(self).","Adds a span to the logger via tracing::span. Because of …","Adds a span to the logger via tracing::span. Because of …","","","Runs the prelude and returns the Input of the current …","","","Executes command but empty the result. Comes in handy …","Executes command but empty the result. Comes in handy …","","","","","","","","Commands to manage Aleo accounts.","Derive an Aleo account from a private key.","Generates a new Aleo account","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","","Private key plaintext","Seed the RNG with a numeric value.","Write the private key to the .env file.","Write the private key to the .env file.","Compile and build program command.","","","","","","","","Compiles a Leo file in the src/ directory.","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","","Clean outputs folder command","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","The example programs that can be generated.","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","","","Build, Prove and Run Leo program with inputs","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","Create new Leo project","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","","Build, Prove and Run Leo program with inputs","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","Update Leo to the latest version","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","Lists all available versions of Leo","","","Suppress outputs to terminal","","","","","","","Project context, manifest, current directory etc All the …","Path at which the command is called, None when default","The example programs that can be generated.","","","","Build, Prove and Run Leo program with inputs","","","","","","","","Project context, manifest, current directory etc All the …","","","","","","","Returns the path to the Leo package.","","Returns the argument unchanged.","","Calls U::from(self).","","Returns the package name as a String. Opens the manifest …","Path at which the command is called, None when default","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Initialize logger with custom format and verbosity.","Calls U::from(self).","","","","","","","Enable ANSI terminal colors for formatted output.","Sets whether or not an event’s level is displayed.","Sets whether or not an event’s target is displayed.","Sets whether or not the thread ID of the current thread is …","Sets whether or not the name of the current thread is …","Use the given timer for log message timestamps.","Do not emit timestamps with log messages.","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","Display the CLI message, if the Leo configuration allows.","Show all available releases for leo.","","","","Check if there is an available update for leo and return …","Update leo to the latest release.","","","","","","","","","Initialize logger with custom format and verbosity.","","Create new Leo project","","Build, Prove and Run Leo program with inputs","","","","Update Leo to the latest version","Lists all available versions of Leo","Suppress outputs to terminal",""],"i":[0,0,0,0,0,0,0,0,0,0,21,53,33,0,21,53,0,0,33,33,0,0,53,0,0,0,4,0,35,37,0,4,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,35,0,0,0,0,35,37,38,0,35,36,37,0,19,24,4,53,4,38,0,0,0,0,54,55,55,54,0,21,21,54,55,55,54,0,24,0,10,10,0,10,0,10,10,10,10,10,4,4,10,10,4,10,4,10,4,10,4,4,10,4,4,10,4,10,4,10,4,10,4,10,4,10,4,10,4,0,10,4,10,4,10,4,4,0,4,10,4,10,4,10,4,10,4,10,4,10,56,57,58,59,60,61,62,63,0,0,0,0,0,0,0,53,0,53,0,0,0,53,19,19,19,19,0,0,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,0,0,53,53,19,19,19,19,19,19,19,53,53,0,19,53,0,19,53,53,19,19,19,0,19,19,19,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,21,21,21,21,21,21,0,54,55,55,54,0,24,24,24,24,24,24,24,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,0,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,0,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,0,1,0,33,33,33,0,35,35,35,35,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,64,64,64,0,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,0,40,40,40,40,40,40,0,40,0,36,0,37,37,37,0,38,38,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,3],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[[2,[-1]]],-1,[]],0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,3],0,0,0,[4,[[2,[5]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[6,6],[6,6],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],0,[[],6],[[],6],0,[7,-1,[]],[7,-1,[]],[7,-1,[]],[7,-1,[]],[7,5],[7,5],[[4,8],9],[[10,8],9],[-1,-1,[]],[-1,-1,[]],[11,[[13,[4,12]]]],[11,[[13,[10,12]]]],[11,[[13,[4,12]]]],[11,[[13,[10,12]]]],[[],[[15,[14]]]],[[[2,[-1]]],-1,[]],[16,17],[[],7],[[],7],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[4,[[2,[5]]]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[-1,18,[]],[[4,11],[[13,[5,12]]]],[[10,11],[[13,[5,12]]]],[[4,11],[[13,[5,12]]]],[[10,11],[[13,[5,12]]]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,3],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[19,19],[[-1,-2],5,[],[]],[[],6],[[],6],[[],19],[7,-1,[]],[7,-1,[]],[7,5],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,3],[[-1,1],2,3],[[19,8],9],[-1,-1,[]],[11,[[13,[19,12]]]],[11,[[13,[19,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],[-1,20,[]],[-1,20,[]],0,0,[[-1,1],2,3],0,[-1,-2,[],[]],[[-1,1],[[2,[5]]],3],[[-1,1],[[2,[5]]],3],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],0,[[19,11],[[13,[5,12]]]],[[19,11],[[13,[5,12]]]],[-1,-2,[],[]],0,0,0,[[21,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[21,8],9],[-1,-1,[]],[11,[[13,[21,12]]]],[11,[[13,[21,12]]]],[16,17],[[],7],[-1,-2,[],[]],[[21,1],2],[[[23,[22]]],[[2,[5]]]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[21,11],[[13,[5,12]]]],[[21,11],[[13,[5,12]]]],[-1,-2,[],[]],[[[23,[22]],1],[[2,[5]]]],0,0,0,0,0,[[24,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[[25,26,[27,[22]],26,26,28,19,17],[[2,[[31,[29,30]]]]]],[7,-1,[]],[7,-1,[]],[7,5],[[24,8],9],[-1,-1,[]],[11,[[13,[24,12]]]],[11,[[13,[24,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],[24,20],0,[[24,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[24,11],[[13,[5,12]]]],[[24,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[32,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[32,8],9],[-1,-1,[]],[11,[[13,[32,12]]]],[11,[[13,[32,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],[32,20],[[32,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[32,11],[[13,[5,12]]]],[[32,11],[[13,[5,12]]]],[-1,-2,[],[]],0,0,0,0,[[33,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[33,8],9],[-1,-1,[]],[11,[[13,[33,12]]]],[11,[[13,[33,12]]]],[16,17],[[],7],[33,34],[-1,-2,[],[]],[33,34],[33,34],[[33,1],2],[33,34],[33,34],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[33,11],[[13,[5,12]]]],[[33,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[35,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],0,[7,-1,[]],[7,-1,[]],[7,5],0,[[35,8],9],[-1,-1,[]],[11,[[13,[35,12]]]],[11,[[13,[35,12]]]],[[],[[15,[14]]]],[[],7],0,[-1,-2,[],[]],[35,20],0,[[35,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[35,11],[[13,[5,12]]]],[[35,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[36,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[36,8],9],[-1,-1,[]],[11,[[13,[36,12]]]],[11,[[13,[36,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],[36,20],0,[[36,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[36,11],[[13,[5,12]]]],[[36,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[37,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],0,[7,-1,[]],[7,-1,[]],[7,5],[[37,8],9],[-1,-1,[]],[11,[[13,[37,12]]]],[11,[[13,[37,12]]]],[[],[[15,[14]]]],[[],7],0,[-1,-2,[],[]],[37,20],0,[[37,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[37,11],[[13,[5,12]]]],[[37,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[38,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[38,8],9],[-1,-1,[]],[11,[[13,[38,12]]]],[11,[[13,[38,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],0,[38,20],[[38,1],2],0,[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[38,11],[[13,[5,12]]]],[[38,11],[[13,[5,12]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[[-1,-2],5,[],[]],[7,-1,[]],[7,-1,[]],[1,[[2,[25]]]],[7,5],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[[15,[25]]],[[2,[1]]]],[1,[[2,[[39,[22]]]]]],0,[-1,-2,[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[[40,[-1,-2]]],[[40,[-1,-2]]],41,41],[[-1,-2],5,[],[]],[[],[[40,[42,43]]]],[7,-1,[]],[7,-1,[]],0,0,0,0,[7,5],[[[40,[-1,-2]],8],9,44,44],0,[[[40,[42,-1]],[45,[-2,-3]],46,47],9,48,[49,50],51],[-1,-1,[]],[[],7],[[16,7],[[2,[5]]]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[-1,-2,[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],-3],[[40,[-1,-3]]],[],[],[]],[[[40,[-1,-2]]],[[40,[-1,5]]],[],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[7,5],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[],5],[[],[[2,[34]]]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[],[[2,[34]]]],[17,[[2,[52]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,[[16,7],[[2,[5]]]],0,0,0,0,0,0,0,0,0,0,0],"c":[],"p":[[3,"Context",470],[6,"Result",564],[8,"Sized",565],[3,"CLI",84],[15,"tuple"],[3,"Command",566],[15,"usize"],[3,"Formatter",567],[6,"Result",567],[4,"Commands",84],[3,"ArgMatches",568],[6,"Error",569],[4,"Result",570],[3,"Id",571],[4,"Option",572],[15,"str"],[15,"bool"],[3,"TypeId",573],[3,"BuildOptions",152],[3,"Span",574],[4,"Account",222],[3,"Testnet3",575],[3,"PrivateKey",576],[3,"Build",255],[3,"PathBuf",577],[3,"Path",577],[3,"ProgramID",578],[3,"Handler",579],[3,"Symbol",580],[3,"Struct",581],[3,"IndexMap",582],[3,"Clean",283],[4,"Example",309],[3,"String",583],[3,"Execute",342],[3,"New",372],[3,"Run",399],[3,"Update",428],[3,"Manifest",584],[3,"Format",490],[8,"Clone",585],[3,"Full",586],[3,"SystemTime",587],[8,"Debug",567],[3,"FmtContext",588],[3,"Writer",586],[3,"Event",589],[8,"FormatTime",587],[8,"Subscriber",590],[8,"LookupSpan",591],[8,"FormatFields",586],[4,"Status",592],[8,"Command",152],[13,"Import",251],[13,"New",251],[13,"Account",144],[13,"New",144],[13,"Example",144],[13,"Build",144],[13,"Clean",144],[13,"Run",144],[13,"Execute",144],[13,"Update",144],[3,"Updater",525]]},\ -"leo_package":{"doc":"leo-package","t":"HAAAAAFAAAHDLLLLLLLLLLLLLLLAHDLLLLLLLLLLLLLLLLAAHDLLLLLLLLLLFLLLLHDLLLLLLLLLLLLMLLLLLLLLLHAAAAHNNNEDNLLLLLLLLLLLLLLLLLLLLLMLLMLLLLLLLLLLLLHDLLLLLLLLLLLMLLLLLLLLLHDLLLLLLLLLLLMLLLLLLLLLHDLLLLLLLLLLLLLLDMLLLLLMLLLLLLLLMMLLLLLMLAAHDMLLMLLLLLLLLLLLLLLLLLLHDLLLLLLLLLLLLLLLLLLLAAHDLLLLLLLLLLLLLLLHDLLLLLLLLLLLLMLLLLLLL","n":["LEO_FILE_EXTENSION","build","imports","inputs","outputs","package","parse_file_paths","root","source","directory","BUILD_DIRECTORY_NAME","BuildDirectory","borrow","borrow_mut","create","deref","deref_mut","drop","from","init","into","open","remove","try_from","try_into","type_id","vzip","directory","IMPORTS_DIRECTORY_NAME","ImportsDirectory","borrow","borrow_mut","create","deref","deref_mut","drop","files","from","init","into","is_empty","remove","try_from","try_into","type_id","vzip","directory","input","INPUTS_DIRECTORY_NAME","InputsDirectory","borrow","borrow_mut","create","deref","deref_mut","drop","files","from","init","into","parse_file_paths","try_from","try_into","type_id","vzip","INPUT_FILE_EXTENSION","InputFile","borrow","borrow_mut","deref","deref_mut","deserialize","drop","exists_at","filename","from","init","into","new","package_name","read_from","setup_file_path","take_from_value","template","try_from","try_into","type_id","vzip","write_to","MAIN_ALEO_FILE_NAME","ast_snapshot","checksum","circuit","directory","AST_SNAPSHOT_FILE_EXTENSION","Canonicalization","ImportsResolved","Initial","Snapshot","SnapshotFile","TypeInference","borrow","borrow","borrow_mut","borrow_mut","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","exists_at","fmt","from","from","init","init","into","into","new","package_name","read_from","remove","snapshot","snapshot_file_path","take_from_value","take_from_value","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","CHECKSUM_FILE_EXTENSION","ChecksumFile","borrow","borrow_mut","deref","deref_mut","deserialize","drop","exists_at","from","init","into","new","package_name","read_from","remove","setup_file_path","take_from_value","try_from","try_into","type_id","vzip","write_to","CIRCUIT_FILE_EXTENSION","CircuitFile","borrow","borrow_mut","deref","deref_mut","deserialize","drop","exists_at","from","init","into","new","package_name","read_from","remove","setup_file_path","take_from_value","try_from","try_into","type_id","vzip","write_to","OUTPUTS_DIRECTORY_NAME","OutputsDirectory","borrow","borrow_mut","create","deref","deref_mut","drop","from","init","into","remove","try_from","try_into","type_id","vzip","Package","_phantom","borrow","borrow_mut","can_initialize","deref","deref_mut","description","deserialize","drop","from","init","initialize","into","is_initialized","is_package_name_valid","license","name","new","take_from_value","try_from","try_into","type_id","version","vzip","env","gitignore","ENV_FILENAME","Env","_phantom","borrow","borrow_mut","data","default","deref","deref_mut","deserialize","drop","exists_at","from","from","init","into","new","take_from_value","template","try_from","try_into","type_id","vzip","write_to","GITIGNORE_FILENAME","Gitignore","borrow","borrow_mut","default","deref","deref_mut","deserialize","drop","exists_at","from","init","into","new","take_from_value","template","try_from","try_into","type_id","vzip","write_to","directory","main","SOURCE_DIRECTORY_NAME","SourceDirectory","borrow","borrow_mut","check_files","create","deref","deref_mut","drop","files","from","init","into","try_from","try_into","type_id","vzip","MAIN_FILENAME","MainFile","borrow","borrow_mut","deref","deref_mut","deserialize","drop","exists_at","filename","from","init","into","new","package_name","take_from_value","template","try_from","try_into","type_id","vzip","write_to"],"q":[[0,"leo_package"],[9,"leo_package::build"],[10,"leo_package::build::directory"],[27,"leo_package::imports"],[28,"leo_package::imports::directory"],[46,"leo_package::inputs"],[48,"leo_package::inputs::directory"],[65,"leo_package::inputs::input"],[89,"leo_package::outputs"],[94,"leo_package::outputs::ast_snapshot"],[138,"leo_package::outputs::checksum"],[161,"leo_package::outputs::circuit"],[184,"leo_package::outputs::directory"],[200,"leo_package::package"],[225,"leo_package::root"],[227,"leo_package::root::env"],[251,"leo_package::root::gitignore"],[272,"leo_package::source"],[274,"leo_package::source::directory"],[291,"leo_package::source::main"],[313,"std::fs"],[314,"std::path"],[315,"alloc::vec"],[316,"leo_errors::errors"],[317,"std::path"],[318,"core::result"],[319,"core::any"],[320,"serde::de"],[321,"alloc::borrow"],[322,"serde_json::value"],[323,"core::fmt"],[324,"core::fmt"],[325,"core::default"]],"d":["","","","","","","","","","","","","","","Creates a directory at the provided path with the default …","","","","Returns the argument unchanged.","","Calls U::from(self).","Returns the path to the build directory if it exists.","Removes the directory at the provided path.","","","","","","","","","","Creates a directory at the provided path with the default …","","","","Returns a list of files in the imports directory.","Returns the argument unchanged.","","Calls U::from(self).","Returns true if the imports directory does not exist or …","Removes the directory at the provided path.","","","","","","The program.in file.","","","","","Creates a directory at the provided path with the default …","","","","Returns a list of files in the input directory.","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","Reads the program input variables from the given file path …","","","","","","","","Writes the standard input format to a file.","","The serialized struct output file.","The build checksum file.","The serialized struct output file.","","","","","","Enum to handle all 3 types of snapshots.","Generic Snapshot file wrapper. Each package can have up to …","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","Reads the serialized struct from the given file path if it …","Removes the serialized struct at the given path if it …","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","Reads the checksum from the given file path if it exists.","Removes the checksum at the given path if it exists. …","","","","","","","Writes the given checksum to a file.","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","Reads the serialized struct from the given file path if it …","Removes the serialized struct at the given path if it …","","","","","","","Writes the given serialized struct to a file.","","","","","Creates a directory at the provided path with the default …","","","","Returns the argument unchanged.","","Calls U::from(self).","Removes the directory at the provided path.","","","","","","","","","Returns true if a package is can be initialized at a given …","","","","","","Returns the argument unchanged.","","Creates a Leo package at the given path","Calls U::from(self).","Returns true if a package is initialized at the given path","Returns true if the package name is valid.","","","","","","","","","","The .env file.","The .gitignore file.","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","The main.leo file.","","","","","Check that the files in the source directory are valid.","Creates a directory at the provided path with the default …","","","","Returns a list of files in the source directory.","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,0,0,0,17,17,17,0,0,17,17,18,17,18,17,18,17,18,17,18,17,18,18,17,17,18,17,18,17,18,18,18,18,18,18,18,17,18,17,17,18,17,18,17,18,17,18,0,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,0,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,0,0,33,33,33,33,33,33,33,33,33,33,33,33,33,33,0,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,0,0,0,0,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,0,0,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,0,0,0,0,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,0,0,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29],"f":[0,0,0,0,0,0,[[1,[3,[2]]],[[5,[4]]]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[6,[[5,[2]]]],[7,-1,[]],[7,-1,[]],[7,4],[-1,-1,[]],[[],7],[-1,-2,[],[]],[6,[[5,[2]]]],[6,[[5,[8]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[6,[[5,[2]]]],[7,-1,[]],[7,-1,[]],[7,4],[6,[[5,[[3,[2]]]]]],[-1,-1,[]],[[],7],[-1,-2,[],[]],[6,[[5,[11]]]],[6,[[5,[8]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[6,[[5,[4]]]],[7,-1,[]],[7,-1,[]],[7,4],[6,[[5,[[3,[2]]]]]],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[1,[3,[2]]],[[5,[4]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[12]]],13],[7,4],[[12,6],11],[12,8],[-1,-1,[]],[[],7],[-1,-2,[],[]],[14,12],0,[[12,6],[[5,[[4,[8,[15,[6]]]]]]]],[[12,6],[[15,[6]]]],[[16,14],[[9,[-1]]],[]],[12,8],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[12,6],[[5,[4]]]],0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[17]]],13],[-1,[[9,[18]]],13],[7,4],[7,4],[[18,6],11],[[17,19],20],[-1,-1,[]],[-1,-1,[]],[[],7],[[],7],[-1,-2,[],[]],[-1,-2,[],[]],[[14,17],18],0,[[18,6],[[5,[8]]]],[[18,6],[[5,[11]]]],0,[[18,6],[[15,[6]]]],[[16,14],[[9,[-1]]],[]],[[16,14],[[9,[-1]]],[]],[-1,8,[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[21]]],13],[7,4],[[21,6],11],[-1,-1,[]],[[],7],[-1,-2,[],[]],[14,21],0,[[21,6],[[5,[8]]]],[[21,6],[[5,[11]]]],[[21,6],[[15,[6]]]],[[16,14],[[9,[-1]]],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[21,6,8],[[5,[4]]]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[22]]],13],[7,4],[[22,6],11],[-1,-1,[]],[[],7],[-1,-2,[],[]],[14,22],0,[[22,6],[[5,[8]]]],[[22,6],[[5,[11]]]],[[22,6],[[15,[6]]]],[[16,14],[[9,[-1]]],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[22,6,8],[[5,[4]]]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[6,[[5,[2]]]],[7,-1,[]],[7,-1,[]],[7,4],[-1,-1,[]],[[],7],[-1,-2,[],[]],[6,[[5,[8]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[14,6],11],[7,-1,[]],[7,-1,[]],0,[-1,[[9,[[23,[-2]]]]],13,24],[7,4],[-1,-1,[]],[[],7],[[14,6],[[5,[4]]]],[-1,-2,[],[]],[[14,6],11],[14,11],0,0,[14,[[5,[[23,[-1]]]]],24],[[16,14],[[9,[-1]]],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,[[],[[25,[-1]]],[26,24]],[7,-1,[]],[7,-1,[]],[-1,[[9,[[25,[-2]]]]],13,24],[7,4],[6,11],[-1,-1,[]],[8,[[25,[-1]]],24],[[],7],[-1,-2,[],[]],[[],[[5,[[25,[-1]]]]],24],[[16,14],[[9,[-1]]],[]],[[],[[5,[8]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[[25,[-1]],6],[[5,[4]]],24],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[],27],[7,-1,[]],[7,-1,[]],[-1,[[9,[27]]],13],[7,4],[6,11],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[],27],[[16,14],[[9,[-1]]],[]],[27,8],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[27,6],[[5,[4]]]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[[28,[2]]],[[5,[4]]]],[6,[[5,[4]]]],[7,-1,[]],[7,-1,[]],[7,4],[6,[[5,[[3,[2]]]]]],[-1,-1,[]],[[],7],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[29]]],13],[7,4],[6,11],[[],8],[-1,-1,[]],[[],7],[-1,-2,[],[]],[14,29],0,[[16,14],[[9,[-1]]],[]],[29,8],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[29,6],[[5,[4]]]]],"c":[],"p":[[3,"ReadDir",313],[3,"PathBuf",314],[3,"Vec",315],[15,"tuple"],[6,"Result",316],[3,"Path",314],[15,"usize"],[3,"String",317],[4,"Result",318],[3,"TypeId",319],[15,"bool"],[3,"InputFile",65],[8,"Deserializer",320],[15,"str"],[4,"Cow",321],[4,"Value",322],[4,"Snapshot",94],[3,"SnapshotFile",94],[3,"Formatter",323],[6,"Result",323],[3,"ChecksumFile",138],[3,"CircuitFile",161],[3,"Package",200],[8,"Network",324],[3,"Env",227],[8,"Default",325],[3,"Gitignore",251],[15,"slice"],[3,"MainFile",291],[3,"BuildDirectory",10],[3,"ImportsDirectory",28],[3,"InputsDirectory",48],[3,"OutputsDirectory",184],[3,"SourceDirectory",274]]},\ -"leo_parser":{"doc":"The parser to convert Leo code text into an [AST] type.","t":"RFFAAAAAAFFAARDMLLLLLLLLMLLLLLLLLLLLLLMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLMLLLLLLRFRRCAAFFDLLLLLLLLLFFLLLLLFLMLLLMLLLLNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNNRNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["KEYWORD_TOKENS","parse_ast","parse_program_inputs","parser","tokenizer","context","expression","file","input","parse","parse_input","statement","type_","DUMMY_EOF","ParserContext","allow_identifier_underscores","bin_expr","borrow","borrow_mut","bump","check","check_int","deref","deref_mut","disallow_struct_construction","drop","eat","eat_any","eat_bin_op","eat_group_partial","eat_identifier","eat_whole_number","emit_err","emit_warning","expect","expect_any","expect_identifier","from","handler","has_next","init","into","look_ahead","mk_ident_prev","new","node_builder","parse_additive_expression","parse_annotation","parse_array_expression","parse_assert_statement","parse_assign_statement","parse_associated_access_expression","parse_bin_expr","parse_bitwise_and_expression","parse_bitwise_exclusive_or_expression","parse_bitwise_inclusive_or_expression","parse_block","parse_boolean_and_expression","parse_boolean_or_expression","parse_bracket_comma_list","parse_cast_expression","parse_conditional_expression","parse_conditional_statement","parse_console_statement","parse_const_declaration_statement","parse_definition_statement","parse_equality_expression","parse_exponential_expression","parse_expr_tuple","parse_expression","parse_function","parse_function_output","parse_import","parse_input","parse_input_definition","parse_input_file","parse_list","parse_loop_statement","parse_mapping","parse_member_variable_declaration","parse_method_call_expression","parse_mode","parse_multiplicative_expression","parse_ordering_expression","parse_output","parse_paren_comma_list","parse_postfix_expression","parse_primary_expression","parse_primitive_type","parse_program","parse_program_scope","parse_return_statement","parse_section","parse_shift_expression","parse_statement","parse_struct","parse_struct_init_expression","parse_struct_member","parse_struct_members","parse_tuple_expression","parse_type","parse_typed_ident","parse_unary_expression","peek_group_coordinate","peek_is_external","peek_is_left_par","prev_token","token","token_to_int_type","tokens","try_from","try_into","type_id","unexpected","unexpected_item","vzip","INT_TYPES","assert_no_whitespace","ASSIGN_TOKENS","TYPE_TOKENS","KEYWORD_TOKENS","lexer","token","tokenize","tokenize_iter","SpannedToken","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","dummy","eat_identifier","ensure_no_bidi_override","fmt","fmt","from","init","into","is_bidi_override","serialize","span","take_from_value","to_owned","to_string","token","try_from","try_into","type_id","vzip","Add","AddAssign","Address","AddressLit","And","AndAssign","Arrow","As","Assert","AssertEq","AssertNeq","Assign","At","BigArrow","BitAnd","BitAndAssign","BitOr","BitOrAssign","BitXor","BitXorAssign","Block","Bool","Brace","Bracket","Colon","Comma","CommentBlock","CommentLine","Console","Const","Constant","Delimiter","Div","DivAssign","Dot","DotDot","DoubleColon","Else","Eof","Eq","False","Field","Finalize","For","Function","Group","Gt","GtEq","I128","I16","I32","I64","I8","Identifier","If","Import","In","Inline","Integer","KEYWORD_TOKENS","LeftCurly","LeftParen","LeftSquare","Leo","Let","Lt","LtEq","Mapping","Mul","MulAssign","Not","NotEq","Or","OrAssign","Parenthesis","Pow","PowAssign","Private","Program","Public","Question","Record","Rem","RemAssign","Return","RightCurly","RightParen","RightSquare","Scalar","SelfLower","Semicolon","Shl","ShlAssign","Shr","ShrAssign","Signature","StaticString","String","Struct","Sub","SubAssign","Then","Token","Transition","True","U128","U16","U32","U64","U8","Underscore","WhiteSpace","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","drop","drop","eat","eat_integer","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","init","init","into","into","is_keyword","keyword_to_symbol","open_close_pair","serialize","take_from_value","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip"],"q":[[0,"leo_parser"],[5,"leo_parser::parser"],[13,"leo_parser::parser::context"],[116,"leo_parser::parser::expression"],[118,"leo_parser::parser::statement"],[119,"leo_parser::parser::type_"],[120,"leo_parser::tokenizer"],[125,"leo_parser::tokenizer::lexer"],[153,"leo_parser::tokenizer::token"],[311,"leo_errors::emitter"],[312,"leo_ast::common::node_builder"],[313,"leo_span::span"],[314,"leo_ast"],[315,"leo_errors::errors"],[316,"leo_ast::input::input_ast"],[317,"leo_ast::program"],[318,"leo_ast::input::input_ast"],[319,"leo_ast::expressions::binary"],[320,"core::option"],[321,"leo_ast::groups::group_literal"],[322,"leo_ast::common::identifier"],[323,"leo_ast::common::positive_number"],[324,"leo_span::span"],[325,"leo_errors::errors::parser::parser_warnings"],[326,"core::ops::function"],[327,"leo_span::symbol"],[328,"alloc::vec"],[329,"leo_ast::functions::annotation"],[330,"leo_ast::statement"],[331,"core::ops::function"],[332,"leo_ast::statement::conditional"],[333,"leo_ast::statement::console::console_statement"],[334,"leo_ast::statement::const_"],[335,"leo_ast::statement::definition"],[336,"leo_ast::functions"],[337,"leo_ast::functions::output"],[338,"leo_ast::functions::input"],[339,"leo_ast::input::definition"],[340,"leo_ast::statement::iteration"],[341,"leo_ast::mapping"],[342,"leo_ast::struct::member"],[343,"leo_ast::functions::mode"],[344,"leo_ast::functions::output"],[345,"leo_ast::program::program_scope"],[346,"leo_ast::statement::return_"],[347,"leo_ast::input::section"],[348,"leo_ast::struct"],[349,"leo_ast::expressions::struct_init"],[350,"leo_ast::groups::group_coordinate"],[351,"leo_ast::types::integer_type"],[352,"core::result"],[353,"core::any"],[354,"core::fmt"],[355,"core::iter::traits::iterator"],[356,"serde::de"],[357,"core::iter::adapters::peekable"],[358,"alloc::string"],[359,"core::fmt"],[360,"serde_json::value"]],"d":["Represents all valid Leo keyword tokens. This differs from …","Creates a new AST from a given file path and source code …","Parses program inputs from the input file path","The parser to convert Leo code text into an Program AST …","The tokenizer to convert Leo code text into tokens.","","","","","Creates a new program from a given file path and source …","Parses an input file at the given file path and source …","","","Dummy span used to appease borrow checker.","Stores a program in tokenized format plus additional …","true if parsing an identifier inside an input file.","Constructs a binary expression left op right.","","","Advances the parser cursor by one token.","Checks whether the current token is tok.","Checks whether the current token is a Token::Int(_).","","","true if parsing an expression for if and loop statements …","","Returns true if the next token is equal to the given token.","Eats any of the given tokens, returning true if anything …","Eats one of binary operators matching any in tokens.","Removes the next two tokens if they are a pair of …","Eats the next token if its an identifier and returns it.","Removes the next token if it is a [Token::Integer(_)] and …","Emit the error err.","Emit the warning warning.","Eats the expected token, or errors.","Eats one of the expected tokens, or errors.","Expects an Identifier, or errors.","Returns the argument unchanged.","Handler used to side-channel emit errors from the parser.","Returns true if the next token exists.","","Calls U::from(self).","Look-ahead dist tokens of self.token and get access to …","At the previous token, return and make an identifier with …","Returns a new ParserContext type given a vector of tokens.","Counter used to generate unique node ids.","Returns an Expression AST node if the next tokens …","Returns an Annotation AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns a AssertStatement AST node if the next tokens …","Returns a AssignStatement AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Parses a left-associative binary expression …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns a Block AST node if the next tokens represent a …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens represent","Parse a list separated by , and delimited by brackets.","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens represent","Returns a ConditionalStatement AST node if the next tokens …","Returns a ConsoleStatement AST node if the next tokens …","Returns a ConstDeclaration AST node if the next tokens …","Returns a DefinitionStatement AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Parses a tuple of Expression AST nodes.","Returns an Expression AST node if the next token is an …","Returns an [(Identifier, Function)] AST node if the next …","Returns a FunctionOutput AST node if the next tokens …","Parses an import statement import foo.leo;.","Returns a Input AST node if the next tokens represent a …","Parses a single parameter definition: …","Returns a [ParsedInputFile] struct filled with the data …","Parses a list of Ts using inner The opening and closing …","Returns an IterationStatement AST node if the next tokens …","Parses a mapping declaration, e.g. …","Returns a Member AST node if the next tokens represent a …","Returns an Expression AST node if the next tokens …","Returns a [ParamMode] AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns a Output AST node if the next tokens represent a …","Parse a list separated by , and delimited by parens.","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next token is a …","Returns a [(Type, Span)] tuple of AST nodes if the next …","Returns a Program AST if all tokens can be consumed and …","Parsers a program scope program foo.aleo { ... }.","Returns a ReturnStatement AST node if the next tokens …","Parses particular section in the Input or State file. …","Returns an Expression AST node if the next tokens …","Returns a Statement AST node if the next tokens represent …","Parses a struct or record definition, e.g., …","Returns an Expression AST node if the next tokens …","","Returns a Vec<Member> AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns a [(Type, Span)] tuple of AST nodes if the next …","Parses IDENT: TYPE.","Returns an Expression AST node if the next tokens …","Returns a reference to the next token if it is a …","","Returns true if the current token is (.","The previous token, i.e., if p.tokens = ['3', *, '4'], …","The current token, i.e., if p.tokens = ['3', *, '4'], then …","Returns a IntegerType AST node if the given token is a …","All un-bumped tokens.","","","","Returns an unexpected error at the current token.","","","","","","","","","","Creates a new vector of spanned tokens from a given file …","Yields spanned tokens from the given source code text.","","","","","","","","","","Returns a dummy token at a dummy span.","Eat an identifier, that is, a string matching ‘[a-zA-Z][…","Ensure that string contains no Unicode Bidirectional …","","","Returns the argument unchanged.","","Calls U::from(self).","Checks if a char is a Unicode Bidirectional Override code …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","{ ... }","[ ... ]","","","","","","","","Describes delimiters of a token sequence.","","","","","","","","","","","","","","","","","","","","","","","","","","","","Represents all valid Leo keyword tokens. This differs from …","","","","","","","","","","","","","","","( ... )","","","","","","","","","","","","","","","","","","","","","","","","","","","","Represents all valid Leo syntax tokens.","","","","","","","","","","","","","","","","","","","","","","","","","Returns a tuple: [(token length, token)] if the next token …","Returns a tuple: [(integer length, integer token)] if an …","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Returns true if the self token equals a Leo keyword.","Converts self to the corresponding Symbol if it is_keyword.","Returns the open/close tokens that the delimiter …","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,0,0,27,27,27,27,27,27,27,27,27,0,0,27,27,27,27,27,0,27,27,27,27,27,27,27,27,27,27,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,41,41,14,14,14,14,14,14,14,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,41,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,0,14,14,14,14,14,14,14,14,14,14,41,14,41,14,41,14,41,14,41,14,41,14,14,41,14,14,14,14,14,14,14,14,14,14,41,14,41,14,41,14,14,41,14,14,14,41,14,14,41,14,41,14,41,14,41],"f":[0,[[1,2,3,4],[[6,[5]]]],[[1,2,3,4],[[6,[7]]]],0,0,0,0,0,0,[[1,2,3,4],[[6,[8]]]],[[1,2,3,4],[[6,[9]]]],0,0,0,0,0,[[2,10,10,11],10],[-1,-2,[],[]],[-1,-2,[],[]],[12,13],[[12,14],15],[12,15],[16,-1,[]],[16,-1,[]],0,[16,13],[[12,14],15],[[12,[17,[14]]],15],[[12,[17,[14]]],[[18,[11]]]],[12,[[18,[[6,[19]]]]]],[12,[[18,[20]]]],[12,[[6,[[13,[21,22]]]]]],[[12,23],13],[[12,24],13],[[12,14],[[6,[22]]]],[[12,[17,[14]]],[[6,[22]]]],[12,[[6,[20]]]],[-1,-1,[]],0,[12,15],[[],16],[-1,-2,[],[]],[[12,16,-1],-2,25,[]],[[12,26],20],[[1,2,[28,[27]]],12],0,[12,[[6,[10]]]],[12,[[6,[29]]]],[12,[[6,[10]]]],[12,[[6,[30]]]],[12,[[6,[30]]]],[[12,10],[[6,[10]]]],[[12,[17,[14]],-1],[[6,[10]]],31],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[32]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[[12,-1],[[6,[[13,[[28,[-2]],15,22]]]]],31,[]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[33]]]],[12,[[6,[34]]]],[12,[[6,[35]]]],[12,[[6,[36]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[[13,[[28,[10]],15,22]]]]]],[12,[[6,[10]]]],[12,[[6,[[13,[26,37]]]]]],[12,[[6,[38]]]],[12,[[6,[[13,[26,[13,[8,22]]]]]]]],[12,[[6,[39]]]],[12,[[6,[40]]]],[12,[[6,[9]]]],[[12,41,[18,[14]],-1],[[6,[[13,[[28,[-2]],15,22]]]]],31,[]],[12,[[6,[42]]]],[12,[[6,[[13,[26,43]]]]]],[12,[[6,[44]]]],[[12,10,20],[[6,[10]]]],[12,[[6,[45]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[46]]]],[[12,-1],[[6,[[13,[[28,[-2]],15,22]]]]],31,[]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[[13,[47,22]]]]]],[12,[[6,[8]]]],[12,[[6,[48]]]],[12,[[6,[49]]]],[12,[[6,[50]]]],[12,[[6,[10]]]],[12,[[6,[30]]]],[12,[[6,[[13,[26,51]]]]]],[[12,20],[[6,[10]]]],[12,[[6,[52]]]],[12,[[6,[[13,[[28,[44]],22]]]]]],[12,[[6,[10]]]],[12,[[6,[[13,[47,22]]]]]],[12,[[6,[[13,[20,47,22]]]]]],[12,[[6,[10]]]],[[12,16],[[18,[53]]]],[12,15],[12,15],0,0,[14,[[18,[54]]]],0,[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,56,[]],[[12,-1],[[6,[-2]]],57,[]],[[27,[17,[14]]],23],[-1,-2,[],[]],0,[[22,22,3,3],[[6,[13]]]],0,0,0,0,0,[[3,4],[[6,[[28,[27]]]]]],[[3,4],[[0,[58]]]],0,[-1,-2,[],[]],[-1,-2,[],[]],[27,27],[[-1,-2],13,[],[]],[16,-1,[]],[16,-1,[]],[-1,[[55,[27]]],59],[16,13],[[],27],[[[60,[-1]]],[[18,[61]]],58],[3,[[6,[13]]]],[[27,62],63],[[27,62],63],[-1,-1,[]],[[],16],[-1,-2,[],[]],[64,15],[[27,-1],55,65],0,[[66,3],[[55,[-1]]],[]],[-1,-2,[],[]],[-1,61,[]],0,[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,56,[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[14,14],[41,41],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],[16,-1,[]],[16,-1,[]],[16,-1,[]],[16,-1,[]],[-1,[[55,[14]]],59],[16,13],[16,13],[3,[[6,[[13,[16,14]]]]]],[[[60,[-1]]],[[6,[[13,[16,14]]]]],58],[[14,14],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[14,62],63],[[14,62],63],[-1,-1,[]],[-1,-1,[]],[[],16],[[],16],[-1,-2,[],[]],[-1,-2,[],[]],[14,15],[14,[[18,[26]]]],[41,[[13,[14,14]]]],[[14,-1],55,65],[[66,3],[[55,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,61,[]],[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,56,[]],[-1,56,[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"Handler",311],[3,"NodeBuilder",312],[15,"str"],[3,"BytePos",313],[3,"Ast",314],[6,"Result",315],[3,"InputData",316],[3,"Program",317],[3,"InputAst",316],[4,"Expression",318],[4,"BinaryOperation",319],[3,"ParserContext",13],[15,"tuple"],[4,"Token",153],[15,"bool"],[15,"usize"],[15,"slice"],[4,"Option",320],[3,"GroupTuple",321],[3,"Identifier",322],[3,"NonNegativeNumber",323],[3,"Span",313],[4,"ParserError",324],[4,"ParserWarning",325],[8,"FnOnce",326],[3,"Symbol",327],[3,"SpannedToken",125],[3,"Vec",328],[3,"Annotation",329],[4,"Statement",330],[8,"FnMut",326],[3,"Block",331],[3,"ConditionalStatement",332],[3,"ConsoleStatement",333],[3,"ConstDeclaration",334],[3,"DefinitionStatement",335],[3,"Function",336],[3,"FunctionOutput",337],[4,"Input",338],[3,"Definition",339],[4,"Delimiter",153],[3,"IterationStatement",340],[3,"Mapping",341],[3,"Member",342],[4,"Mode",343],[4,"Output",337],[4,"Type",344],[3,"ProgramScope",345],[3,"ReturnStatement",346],[3,"Section",347],[3,"Struct",348],[3,"StructVariableInitializer",349],[4,"GroupCoordinate",350],[4,"IntegerType",351],[4,"Result",352],[3,"TypeId",353],[8,"Display",354],[8,"Iterator",355],[8,"Deserializer",356],[3,"Peekable",357],[3,"String",358],[3,"Formatter",354],[6,"Result",354],[15,"char"],[8,"Serializer",359],[4,"Value",360]]},\ -"leo_passes":{"doc":"leo-passes","t":"AAAAAAAAAAAAAAAADMLLMMLLLLLMMMLLMLMMMMMLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAAAAAAADDLLLLLLLLMLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLDLLLLLLMLLLLLLLLLLLLLLMLMMLLLLLLLGNDEGIGLLLLLLLLLLLLLMMMMLLLLLLLLLMMMMLLLLLLLLLDLLLLLLLLLLLLLLLMLLLLLMLMLLLLLLDLLLLLLLLLLMLLLLDLLLLLLLLLLLLLLAMLLLLLLLLLLLLLMLLMMLMLLLLLLLLLLLAMLDDMLLLLLLLLLLLLLLLLMLLLLMLLMMLLMMLLLLLLLLLLLLMLLNNNDELLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLMLLLLDLLLLLLLLLLLLMLLLLLLLAAAADLLLLLLLLLMLMLLLLLLLLLLLLLLLLMLAAAADMLLLLLLLLLLMLLLLLLLLLLLMLMLAAAADMLLLMLLLLLLLLLLLMLLLLLLLLLLLMLMLLLLLLMLLAAAAADMLLLLLLLLLMLLLLLLLLLMLLLLDMLLMLLLLLLLLMLLLLLLLLLMLLLMLAAAAAENNIDLLLLLMMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLMLLLLLLLLLMLLMLMLLLLLLLLMMLLLMLLLQQIKAAAADMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLMLMLLLMLLADLLLLLLLMLLLMLLLLLLLLAAAAFRRRRRRRRRDRLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLMLLMMMLLMMMLMMLLLMFMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["code_generation","common","dead_code_elimination","destructuring","flattening","function_inlining","loop_unrolling","pass","static_single_assignment","symbol_table_creation","type_checking","generator","visit_expressions","visit_program","visit_statements","visit_type","CodeGenerator","_call_graph","borrow","borrow_mut","composite_mapping","current_function","deref","deref_mut","do_pass","drop","from","futures","global_mapping","in_finalize","init","into","is_transition_function","new","next_register","program","program_id","struct_graph","symbol_table","try_from","try_into","type_id","type_table","variable_mapping","visit_access","visit_array","visit_array_access","visit_assert","visit_assign","visit_associated_constant","visit_associated_function","visit_binary","visit_block","visit_call","visit_cast","visit_conditional","visit_console","visit_definition","visit_err","visit_expression","visit_expression_statement","visit_function","visit_identifier","visit_import","visit_iteration","visit_mapping","visit_member_access","visit_program","visit_record","visit_return","visit_statement","visit_struct","visit_struct_init","visit_struct_or_record","visit_ternary","visit_tuple","visit_type","visit_type_with_visibility","visit_unary","visit_unit","visit_value","vzip","assigner","constant_propagation_table","graph","rename_table","replacer","symbol_table","type_table","Assigner","AssignerInner","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","counter","default","default","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","from","from","init","init","inner","into","into","simple_assign_statement","simple_assign_statement","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","unique_symbol","unique_symbol","vzip","vzip","ConstantPropagationTable","borrow","borrow_mut","clone","clone_into","constant_in_local_scope","constant_in_parent_scope","constants","default","deref","deref_mut","deserialize","drop","fmt","from","init","insert_block","insert_constant","insert_fn_scope","into","lookup_constant","lookup_scope_by_index","parent","scope_index","scope_index","scopes","serialize","take_from_value","to_owned","try_from","try_into","type_id","vzip","CallGraph","CycleDetected","DiGraph","DiGraphError","ImportGraph","Node","StructGraph","add_edge","borrow","borrow","borrow_mut","borrow_mut","contains_cycle_from","contains_node","deref","deref","deref_mut","deref_mut","drop","drop","edges","edges","edges","edges","fmt","fmt","from","from","init","init","into","into","new","nodes","nodes","nodes","nodes","post_order","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","RenameTable","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","ids","init","into","local_names","lookup","lookup_id","names","new","parent","to_owned","try_from","try_into","type_id","update","vzip","Replacer","borrow","borrow_mut","deref","deref_mut","drop","from","init","into","new","reconstruct_identifier","replace","try_from","try_into","type_id","vzip","SymbolTable","borrow","borrow_mut","check_shadowing","clone","clone_into","default","deref","deref_mut","deserialize","drop","fmt","from","from_json_file","from_json_string","function_symbol","functions","init","insert_block","insert_fn","insert_struct","insert_variable","into","lookup_fn_scope","lookup_fn_symbol","lookup_scope_by_index","lookup_struct","lookup_variable","lookup_variable_mut","new_function_symbol","parent","remove_variable_from_current_scope","scope_index","scope_index","scopes","serialize","structs","take_from_value","to_json_file","to_json_file_without_keys","to_json_string","to_json_value","to_owned","try_from","try_into","type_id","variable_in_local_scope","variable_in_parent_scope","variable_symbol","variables","vzip","FinalizeData","FunctionSymbol","_span","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","finalize","fmt","fmt","from","from","id","init","init","input","input","into","into","output_type","output_type","serialize","serialize","take_from_value","take_from_value","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","variant","vzip","vzip","Const","Input","Mut","VariableSymbol","VariableType","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","declaration","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","init","init","into","into","serialize","serialize","span","take_from_value","take_from_value","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_","type_id","type_id","vzip","vzip","TypeTable","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","drop","fmt","from","get","init","inner","insert","into","to_owned","try_from","try_into","type_id","vzip","dead_code_eliminator","eliminate_expression","eliminate_program","eliminate_statement","DeadCodeEliminator","borrow","borrow_mut","deref","deref_mut","do_pass","drop","from","init","into","is_necessary","new","node_builder","reconstruct_assert","reconstruct_assign","reconstruct_associated_function","reconstruct_block","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_expression_statement","reconstruct_function","reconstruct_identifier","reconstruct_iteration","reconstruct_return","reconstruct_struct_init","try_from","try_into","type_id","used_variables","vzip","destructure_expression","destructure_program","destructure_statement","destructurer","Destructurer","assigner","borrow","borrow_mut","deref","deref_mut","do_pass","drop","from","init","into","new","node_builder","reconstruct_assign","reconstruct_block","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_iteration","reconstruct_return","reconstruct_tuple_access","simple_assign_statement","try_from","try_into","tuples","type_id","type_table","vzip","flatten_expression","flatten_program","flatten_statement","flattener","Flattener","assigner","borrow","borrow_mut","clear_early_returns","condition_stack","construct_guard","deref","deref_mut","do_pass","drop","fold_guards","fold_returns","from","init","into","new","node_builder","reconstruct_assert","reconstruct_assign","reconstruct_block","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_function","reconstruct_iteration","reconstruct_return","reconstruct_struct_init","reconstruct_ternary","returns","simple_assign_statement","symbol_table","ternary_array","ternary_struct","ternary_tuple","try_from","try_into","type_id","type_table","unique_simple_assign_statement","vzip","assignment_renamer","function_inliner","inline_expression","inline_program","inline_statement","AssignmentRenamer","assigner","borrow","borrow_mut","clear","deref","deref_mut","drop","from","init","into","is_lhs","load","new","reconstruct_assign","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_identifier","reconstruct_iteration","reconstruct_struct_init","rename_table","try_from","try_into","type_id","vzip","FunctionInliner","assignment_renamer","borrow","borrow_mut","call_graph","deref","deref_mut","do_pass","drop","from","init","into","new","node_builder","reconstruct_assign","reconstruct_block","reconstruct_call","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_expression_statement","reconstruct_iteration","reconstruct_program_scope","reconstructed_functions","try_from","try_into","type_id","type_table","vzip","range_iterator","unroll_expression","unroll_program","unroll_statement","unroller","Clusivity","Exclusive","Inclusive","LoopBound","RangeIterator","borrow","borrow","borrow_mut","borrow_mut","cjk_compat_variants","clusivity","current","deref","deref","deref_mut","deref_mut","drop","drop","end","from","from","init","init","into","into","into_iter","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","new","next","nfc","nfd","nfkc","nfkd","progress_with","stream_safe","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Unroller","borrow","borrow_mut","constant_propagation_table","current_scope_index","deref","deref_mut","do_pass","drop","emit_err","enter_scope","exit_scope","from","handler","init","into","is_unrolling","new","node_builder","reconstruct_array_access","reconstruct_block","reconstruct_const","reconstruct_definition","reconstruct_function","reconstruct_identifier","reconstruct_iteration","reconstruct_program_scope","scope_index","symbol_table","try_from","try_into","type_id","type_table","unroll_iteration_statement","unroll_single_iteration","vzip","Input","Output","Pass","do_pass","rename_expression","rename_program","rename_statement","static_single_assigner","StaticSingleAssigner","assigner","borrow","borrow_mut","consume_access","consume_array","consume_assert","consume_assign","consume_binary","consume_block","consume_call","consume_cast","consume_conditional","consume_console","consume_const","consume_definition","consume_expression_statement","consume_function","consume_identifier","consume_iteration","consume_literal","consume_program","consume_program_scope","consume_return","consume_struct","consume_struct_init","consume_ternary","consume_tuple","consume_unary","consume_unit","deref","deref_mut","do_pass","drop","from","init","into","is_lhs","new","node_builder","pop","push","rename_table","simple_assign_statement","symbol_table","try_from","try_into","type_id","type_table","unique_simple_assign_statement","vzip","creator","SymbolTableCreator","borrow","borrow_mut","deref","deref_mut","do_pass","drop","from","handler","init","into","new","symbol_table","try_from","try_into","type_id","visit_function","visit_import","visit_mapping","visit_struct","vzip","check_expressions","check_program","check_statements","checker","return_incorrect_type","ADDRESS_TYPE","BOOLEAN_TYPE","FIELD_TYPE","GROUP_TYPE","INT_TYPES","MAGNITUDE_TYPES","SCALAR_TYPE","SIGNATURE_TYPE","SIGNED_INT_TYPES","TypeChecker","UNSIGNED_INT_TYPES","assert_address_type","assert_and_return_type","assert_array_type","assert_bool_int_type","assert_bool_type","assert_castable_type","assert_field_group_int_type","assert_field_group_scalar_int_type","assert_field_group_signed_int_type","assert_field_group_type","assert_field_int_type","assert_field_scalar_int_type","assert_field_type","assert_group_type","assert_int_type","assert_magnitude_type","assert_mapping_type","assert_member_is_not_record","assert_scalar_type","assert_signature_type","assert_signed_int_type","assert_type","assert_type_is_valid","assert_unsigned_int_type","borrow","borrow_mut","call_graph","check_core_function_call","check_eq_types","check_expected_struct","check_type","create_child_scope","deref","deref_mut","do_pass","drop","emit_err","enter_scope","exit_scope","from","function","get_core_constant","get_core_function_call","handler","has_finalize","has_return","init","into","is_finalize","is_imported","is_return","new","struct_graph","symbol_table","try_from","try_into","type_id","type_table","types_to_string","variant","visit_access","visit_array","visit_assert","visit_assign","visit_binary","visit_block","visit_call","visit_cast","visit_conditional","visit_console","visit_const","visit_definition","visit_err","visit_expression","visit_expression_statement","visit_function","visit_identifier","visit_iteration","visit_literal","visit_mapping","visit_program","visit_program_scope","visit_return","visit_statement","visit_struct","visit_struct_init","visit_ternary","visit_tuple","visit_unary","visit_unit","vzip"],"q":[[0,"leo_passes"],[11,"leo_passes::code_generation"],[16,"leo_passes::code_generation::generator"],[82,"leo_passes::common"],[89,"leo_passes::common::assigner"],[131,"leo_passes::common::constant_propagation_table"],[164,"leo_passes::common::graph"],[210,"leo_passes::common::rename_table"],[241,"leo_passes::common::replacer"],[257,"leo_passes::common::symbol_table"],[308,"leo_passes::common::symbol_table::function_symbol"],[356,"leo_passes::common::symbol_table::variable_symbol"],[416,"leo_passes::common::type_table"],[437,"leo_passes::dead_code_elimination"],[441,"leo_passes::dead_code_elimination::dead_code_eliminator"],[472,"leo_passes::destructuring"],[476,"leo_passes::destructuring::destructurer"],[504,"leo_passes::flattening"],[508,"leo_passes::flattening::flattener"],[549,"leo_passes::function_inlining"],[554,"leo_passes::function_inlining::assignment_renamer"],[580,"leo_passes::function_inlining::function_inliner"],[609,"leo_passes::loop_unrolling"],[614,"leo_passes::loop_unrolling::range_iterator"],[682,"leo_passes::loop_unrolling::unroller"],[718,"leo_passes::pass"],[722,"leo_passes::static_single_assignment"],[726,"leo_passes::static_single_assignment::static_single_assigner"],[777,"leo_passes::symbol_table_creation"],[778,"leo_passes::symbol_table_creation::creator"],[799,"leo_passes::type_checking"],[803,"leo_passes::type_checking::check_expressions"],[804,"leo_passes::type_checking::checker"],[906,"leo_ast::program"],[907,"core::result"],[908,"core::any"],[909,"leo_ast::expressions::access"],[910,"alloc::string"],[911,"leo_ast::expressions::array"],[912,"leo_ast::access::array_access"],[913,"leo_ast::statement::assert"],[914,"leo_ast::statement::assign"],[915,"leo_ast::access::associated_constant_access"],[916,"leo_ast::access::associated_function_access"],[917,"leo_ast::expressions::binary"],[918,"leo_ast::statement::block"],[919,"leo_ast::expressions::call"],[920,"leo_ast::expressions::cast"],[921,"leo_ast::statement::conditional"],[922,"leo_ast::statement::console::console_statement"],[923,"leo_ast::statement::definition"],[924,"leo_ast::expressions::err"],[925,"leo_ast::expressions"],[926,"leo_ast::statement::expression"],[927,"leo_ast::functions"],[928,"leo_ast::common::identifier"],[929,"leo_span::symbol"],[930,"leo_ast::statement::iteration"],[931,"leo_ast::mapping"],[932,"leo_ast::access::member_access"],[933,"leo_ast::struct"],[934,"leo_ast::statement::return_"],[935,"leo_ast::statement"],[936,"leo_ast::expressions::struct_init"],[937,"leo_ast::expressions::ternary"],[938,"leo_ast::expressions::tuple"],[939,"leo_ast::types::type_"],[940,"leo_ast::functions::mode"],[941,"leo_ast::expressions::unary"],[942,"leo_ast::expressions::unit"],[943,"leo_ast::expressions::literal"],[944,"core::fmt"],[945,"core::fmt"],[946,"core::fmt"],[947,"leo_errors::errors"],[948,"core::option"],[949,"core::cell"],[950,"serde::ser"],[951,"serde_json::value"],[952,"indexmap::set"],[953,"core::fmt"],[954,"alloc::boxed"],[955,"core::ops::function"],[956,"leo_span::span"],[957,"std::path"],[958,"leo_ast::common::node_builder"],[959,"leo_ast::access::tuple_access"],[960,"alloc::vec"],[961,"leo_ast::types::array"],[962,"leo_ast::types::tuple"],[963,"leo_ast::program::program_scope"],[964,"unicode_normalization::replace"],[965,"unicode_normalization::recompose"],[966,"unicode_normalization::decompose"],[967,"indicatif::progress_bar"],[968,"indicatif::iter"],[969,"unicode_normalization::stream_safe"],[970,"leo_errors::errors::loop_unroller::loop_unroller_errors"],[971,"leo_errors::emitter"],[972,"leo_ast::statement::const_"],[973,"leo_ast::types::mapping"],[974,"leo_ast::functions::core_function"],[975,"leo_errors::errors::type_checker::type_checker_error"],[976,"leo_ast::types::core_constant"]],"d":["","","The Dead Code Elimination pass traverses the AST and …","The destructuring pass traverses the AST and destructures …","The flattening pass traverses the AST after the SSA pass …","The Function Inlining pass traverses the AST and inlines …","","","The Static Single Assignment pass traverses the AST and …","","","","","","","","","The call graph for the program.","","","Mapping of composite names to a tuple containing metadata …","Reference to the current function.","","","","","Returns the argument unchanged.","","Mapping of global identifiers to their associated names.","Are we traversing a finalize block?","","Calls U::from(self).","Are we traversing a transition function?","Initializes a new CodeGenerator.","A counter to track the next available register.","","","The struct dependency graph for the program.","The symbol table for the program.","","","","A mapping between expressions and their types.","Mapping of variables to registers.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A struct used to create assignment statements.","Contains the actual data for Assigner. Modeled this way to …","","","","","","","","","A strictly increasing counter, used to ensure that new …","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The inner counter. RefCell is used here to avoid &mut all …","Calls U::from(self).","Calls U::from(self).","Constructs the assignment statement place = expr;. This …","Constructs the assignment statement place = expr;. This …","","","","","","","","","Return a new unique Symbol from a &str.","Return a new unique Symbol from a &str.","","","","","","","","Returns true if the constant exists in the local scope","Returns true if the constant exists in any parent scope","The known constants in the current scope This field is …","","","","","","","Returns the argument unchanged.","","Creates a new scope for the block and stores it in the …","Inserts a constant into the constant propagation table.","Inserts a function into the symbol table.","Calls U::from(self).","Attempts to lookup a constant in the constant propagation …","Returns the scope associated with index, if it exists in …","The parent scope if it exists. For example, the parent …","Returns the current scope index. Increments the scope …","The index of the current scope.","The sub-scopes of this scope.","","","","","","","","A call graph.","An error that is emitted when a cycle is detected in the …","A directed graph.","Errors in directed graph operations.","An import dependency graph.","A node in a graph.","A struct dependency graph.","Adds an edge to the graph.","","","","","","Returns true if the graph contains the given node.","","","","","","","The directed edges in the graph. Each entry in the map is …","The directed edges in the graph. Each entry in the map is …","The directed edges in the graph. Each entry in the map is …","The directed edges in the graph. Each entry in the map is …","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Initializes a new DiGraph from a vector of source nodes.","The set of nodes in the graph.","The set of nodes in the graph.","The set of nodes in the graph.","The set of nodes in the graph.","Returns the post-order ordering of the graph. Detects if …","","","","","","","","","RenameTable tracks the names assigned by static single …","","","","","","","","","","","","","","","Returns the argument unchanged.","The mapping from symbols to node IDs. These are used to …","","Calls U::from(self).","Returns the symbols that were renamed in the current scope.","Looks up the new name for symbol, recursively checking the …","Looks up the node ID for symbol, recursively checking the …","The mapping from names in the original AST to new names in …","Create a new RenameTable with the given parent.","The RenameTable of the parent scope.","","","","","Updates self.mapping with the desired entry. Creates a new …","","A Replacer applies replacer to all Identifiers in an AST. …","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","Recursively checks if the symbol table contains an entry …","","","","","","","","","Returns the argument unchanged.","Deserializes the JSON string into a symbol table from a …","Deserializes the JSON string into a symbol table.","","Functions represents the name of each function mapped to …","","Creates a new scope for the block and stores it in the …","Inserts a function into the symbol table.","Inserts a struct into the symbol table.","Inserts a variable into the symbol table.","Calls U::from(self).","Returns the scope associated with the function symbol, if …","Attempts to lookup a function in the symbol table.","Returns the scope associated with index, if it exists in …","Attempts to lookup a struct in the symbol table.","Attempts to lookup a variable in the symbol table.","Returns a mutable reference to the VariableSymbol if it …","","The parent scope if it exists. For example, the parent …","Removes a variable from the symbol table.","Returns the current scope index. Increments the scope …","The index of the current scope.","The sub-scopes of this scope.","","Maps struct names to struct definitions. This field is …","","","Serializes the symbol table into a JSON value and removes …","Serializes the symbol table into a JSON string.","Converts the symbol table into a JSON value","","","","","Returns true if the variable exists in the local scope","Returns true if the variable exists in any parent scope","","The variables defined in a scope. This field is populated …","","Metadata associated with the finalize block.","An entry for a function in the symbol table.","The Span associated with the function.","","","","","","","","","","","","","","","","","Metadata associated with the finalize block.","","","Returns the argument unchanged.","Returns the argument unchanged.","The index associated with the scope in the parent symbol …","","","The inputs to the finalize block.","The inputs to the function.","Calls U::from(self).","Calls U::from(self).","The output type of the finalize block.","The output type of the function.","","","","","","","","","","","","","Is this function a transition, inlined, or a regular …","","","","","","An entry for a variable in the symbol table.","An enumeration of the different types of variable type.","","","","","","","","","The type of declaration for the variable.","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","The Span associated with the variable.","","","","","","","","","","","The Type of the variable.","","","","","A mapping between node IDs and their types.","","","","","","","","","","Returns the argument unchanged.","Gets an entry from the table.","","The inner table. RefCell is used here to avoid &mut all …","Inserts an entry into the table.","Calls U::from(self).","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","Whether or not the variables are necessary.","Initializes a new DeadCodeEliminator.","A counter to generate unique node IDs.","","Reconstruct an assignment statement by eliminating any …","Reconstructs the associated function access expression.","Reconstructs the statements inside a basic block, …","Flattening removes conditional statements from the program.","Parsing guarantees that console statements are not present …","Static single assignment replaces definition statements …","Reconstructs expression statements by eliminating any dead …","","Marks identifiers as used. This is necessary to determine …","Loop unrolling unrolls and removes iteration statements …","","Reconstruct the components of the struct init expression. …","","","","The set of used variables in the current function body.","","","","","","","A struct used to construct (unique) assignment statements.","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","A counter used to generate unique node IDs.","Flattens an assign statement, if necessary. Marks …","","","","","","Reconstructs","Replaces a tuple access expression with the appropriate …","A wrapper around assigner.simple_assign_statement that …","","","A mapping between variables and flattened tuple …","","A mapping between node IDs and their types.","","","","","","","A struct used to construct (unique) assignment statements.","","","Clears the state associated with ReturnStatements, …","A stack of condition Expressions visited up to the current …","Constructs a guard from the current state of the condition …","","","","","Fold guards and expressions into a single expression. Note …","Folds a list of return statements into a single return …","Returns the argument unchanged.","","Calls U::from(self).","","A counter used to generate unique node IDs.","Rewrites an assert statement into a flattened form. Assert …","Flattens an assign statement, if necessary. Marks …","Flattens the statements inside a basic block. The …","Flatten a conditional statement into a list of statements.","","","Flattens a function’s body and finalize block, if it …","","Transforms a return statement into an empty block …","Reconstructs a struct init expression, flattening any …","Reconstructs ternary expressions over arrays, structs, and …","A list containing tuples of guards and expressions …","A wrapper around assigner.simple_assign_statement that …","The symbol table associated with the program.","","","","","","","A mapping between node IDs and their types.","A wrapper around assigner.unique_simple_assign_statement …","","","","","","","An AssignmentRenamer renames the left-hand side of all …","","","","Clear the internal rename table.","","","","Returns the argument unchanged.","","Calls U::from(self).","","Load the internal rename table with a set of entries.","Initialize a new AssignmentRenamer.","Rename the left-hand side of the assignment statement.","Flattening removes conditional statements from the program.","Parsing guarantees that console statements are not present …","Static single assignment replaces definition statements …","Rename the identifier if it is the left-hand side of an …","Loop unrolling unrolls and removes iteration statements …","Rename the variable initializers in the struct expression.","","","","","","","A wrapper around an Assigner used to create unique …","","","The call graph for the program.","","","","","Returns the argument unchanged.","","Calls U::from(self).","Initializes a new FunctionInliner.","A counter used to create unique NodeIDs.","Reconstruct an assignment statement by inlining any …","Reconstructs the statements inside a basic block, …","","Flattening removes conditional statements from the program.","Parsing guarantees that console statements are not present …","Static single assignment replaces definition statements …","Reconstructs expression statements by inlining any …","Loop unrolling unrolls and removes iteration statements …","","A map of reconstructed functions in the current program …","","","","A mapping between node IDs and their types.","","","","","","","Whether or not a bound is inclusive or exclusive.","","","A trait for whose implementors are concrete values for …","An iterator over a range of values.","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A table of constant variables.","Returns the index of the current scope. Note that if we …","","","","","Emits a Loop Unrolling Error","Enters a child scope.","Exits the current block scope.","Returns the argument unchanged.","An error handler used for any errors found during …","","Calls U::from(self).","Are we in the midst of unrolling a loop?","","A counter used to generate unique node IDs.","","","","","","","","","The index of the current scope.","The symbol table for the function being processed.","","","","A mapping from node IDs to their types.","Unrolls an IterationStatement.","A helper function to unroll a single iteration an …","","","","A compiler pass consuming Self::Input and returning …","Runs the compiler pass.","","","","","","A struct used to construct (unique) assignment statements.","","","Consumes an access expression, accumulating any statements …","Consumes an array expression, accumulating any statements …","Consumes the expressions in an AssertStatement, returning …","Consume all AssignStatements, renaming as necessary.","Consumes a binary expression, accumulating any statements …","Consumes a Block, flattening its constituent …","Consumes a call expression without visiting the function …","Consumes a cast expression, accumulating any statements …","Consumes a ConditionalStatement, producing phi functions …","Parsing guarantees that console statements are not present …","","Consumes the DefinitionStatement into an AssignStatement, …","Consumes the expressions associated with …","Reconstructs the Functions in the Program, while …","Produces a new Identifier with a unique name.","","Consumes and returns the literal without making any …","","","Reconstructs the expression associated with the return …","Reconstructs records in the program, ordering its fields …","Consumes a struct initialization expression with renamed …","Consumes a ternary expression, accumulating any statements …","Consumes a tuple expression, accumulating any statements …","Consumes a unary expression, accumulating any statements …","","","","","","Returns the argument unchanged.","","Calls U::from(self).","A flag to determine whether or not the traversal is on the …","Initializes a new StaticSingleAssigner with an empty …","A counter used to generate unique node IDs.","If the RenameTable has a parent, then self.rename_table is …","Pushes a new scope, setting the current scope as the new …","The RenameTable for the current basic block in the AST","","The SymbolTable of the program.","","","","A mapping from node IDs to their types.","Constructs a simple assign statement for expr with a …","","","A compiler pass during which the SymbolTable is created. …","","","","","Runs the compiler pass.","","Returns the argument unchanged.","The error handler.","","Calls U::from(self).","","The SymbolTable constructed by this compiler pass.","","","","","","","","","","","","","","","","","","","","","","","","","Emits an error to the error handler if the given type is …","Use this method when you know the actual type. Emits an …","Emits an error if the type is not an array.","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not an …","Emits an error to the handler if the given type is not a …","Emits an error if the type is not a mapping.","Emits an error if the struct member is a record type.","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the error handler if the actual type is …","Emits an error if the type or its constituent types is not …","Emits an error to the handler if the given type is not an …","","","The call graph for the program.","Type checks the inputs to a core function call and returns …","Emits an error if the two given types are not equal.","Returns the struct type and emits an error if the expected …","Emits an error to the handler if the given type is invalid.","Creates a new child scope.","","","","","Emits a type checker error.","Enters a child scope.","Exits the current scope.","Returns the argument unchanged.","The name of the function that we are currently traversing.","Type checks the inputs to an associated constant and …","Emits an error if the struct is not a core library struct. …","The error handler.","Whether or not the function that we are currently …","Whether or not the function that we are currently …","","Calls U::from(self).","Whether or not we are currently traversing a finalize …","Whether or not we are currently traversing an imported …","Whether or not we are currently traversing a return …","Returns a new type checker given a symbol table and error …","A dependency graph of the structs in program.","The symbol table for the program.","","","","A mapping from node IDs to their types.","","The variant of the function that we are currently …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,0,46,47,46,47,46,47,46,47,47,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,47,0,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,0,64,0,0,0,0,0,61,64,61,64,61,61,61,64,61,64,61,64,61,5,6,109,61,64,61,64,61,64,61,64,61,61,5,6,109,61,61,64,61,64,61,64,61,64,61,0,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,0,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,0,0,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,74,76,74,76,74,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,74,76,74,77,77,77,0,0,77,73,77,73,77,73,77,73,73,77,73,77,73,77,73,77,73,77,73,77,77,77,77,73,73,73,73,77,77,73,73,77,73,77,73,77,73,77,73,73,77,73,77,73,77,73,77,73,77,73,73,77,73,77,73,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,0,0,0,0,0,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,0,0,0,0,0,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,0,0,0,0,0,0,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,0,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,0,0,0,0,0,0,90,90,0,0,90,91,90,91,91,91,91,90,91,90,91,90,91,91,90,91,90,91,90,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,90,91,90,91,90,91,90,91,0,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,110,110,0,110,0,0,0,0,0,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,0,0,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,0,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],0,0,0,[[],1],[-1,-2,[],[]],0,[[3,4,5,6,7],8],0,0,0,0,0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,0,[[8,11],[[2,[12,12]]]],[[8,13],[[2,[12,12]]]],[[8,14],[[2,[12,12]]]],[[8,15],12],[[8,16],12],[[8,17],[[2,[12,12]]]],[[8,18],[[2,[12,12]]]],[[8,19],[[2,[12,12]]]],[[8,20],12],[[8,21],[[2,[12,12]]]],[[8,22],[[2,[12,12]]]],[[8,23],12],[[8,24],12],[[8,25],12],[[8,26],[[2,[12,12]]]],[[8,27],[[2,[12,12]]]],[[8,28],12],[[8,29],12],[[8,30],[[2,[12,12]]]],[[8,31,7],12],[[8,32],12],[[8,33],12],[[8,34],[[2,[12,12]]]],[[8,7],12],[[8,35],12],[[8,36],12],[[8,37],12],[[8,35],12],[[8,38],[[2,[12,12]]]],[[8,35],12],[[8,39],[[2,[12,12]]]],[[8,40],[[2,[12,12]]]],[41,12],[[8,41,42],12],[[8,43],[[2,[12,12]]]],[[8,44],[[2,[12,12]]]],[[8,45],[[2,[12,12]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[46,46],[47,47],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[[],46],[[],47],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,2],[1,2],[[46,48],49],[[47,48],49],[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],0,[-1,-2,[],[]],[-1,-2,[],[]],[[46,30,27,50],37],[[47,30,27,50],37],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[[46,-1,-2],31,51,51],[[47,-1,-2],31,51,51],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[52,52],[[-1,-2],2,[],[]],[[52,31],53],[[52,31],53],0,[[],52],[1,-1,[]],[1,-1,[]],[-1,[[9,[52]]],54],[1,2],[[52,48],49],[-1,-1,[]],[[],1],[52,1],[[52,31,27],[[55,[2]]]],[52,[[55,[2]]]],[-1,-2,[],[]],[[52,31],[[56,[27]]]],[[52,1],[[56,[[57,[52]]]]]],0,[52,1],0,0,[[52,-1],9,58],[[59,60],[[9,[-1]]],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,0,0,0,0,[[[61,[-1]],-1,-1],2,62],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[61,[-1]],-1,[63,[-1]],[63,[-1]]],[[56,[-1]]],62],[[[61,[-1]],-1],53,62],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,2],[1,2],0,0,0,0,[[[64,[-1]],48],49,[65,62]],[[[61,[-1]],48],49,[65,62]],[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],[-1,-2,[],[]],[-1,-2,[],[]],[[[63,[-1]]],[[61,[-1]]],62],0,0,0,0,[[[61,[-1]]],[[9,[[63,[-1]],[64,[-1]]]]],62],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[66,66],[[-1,-2],2,[],[]],[[],66],[1,-1,[]],[1,-1,[]],[1,2],[[66,66],53],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[66,48],49],[-1,-1,[]],0,[[],1],[-1,-2,[],[]],[66,[[0,[67]]]],[[66,31],[[56,[31]]]],[[66,31],[[56,[50]]]],0,[[[56,[[68,[66]]]]],66],0,[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[[66,31,31,50],2],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[-1,[[69,[-1]]],70],[[[69,[-1]],30],[[2,[27]]],70],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[[3,31,71],[[55,[2]]]],[3,3],[[-1,-2],2,[],[]],[[],3],[1,-1,[]],[1,-1,[]],[-1,[[9,[3]]],54],[1,2],[[3,48],49],[-1,-1,[]],[72,[[55,[3]]]],[60,[[55,[3]]]],0,0,[[],1],[3,1],[[3,31,29],[[55,[2]]]],[[3,31,35],[[55,[2]]]],[[3,31,73],[[55,[2]]]],[-1,-2,[],[]],[[3,31],[[56,[[57,[3]]]]]],[[3,31],[[56,[74]]]],[[3,1],[[56,[[57,[3]]]]]],[[3,31],[[56,[35]]]],[[3,31],[[56,[73]]]],[[3,31],[[56,[73]]]],[[1,29],74],0,[[3,31],2],[3,1],0,0,[[3,-1],9,58],0,[[59,60],[[9,[-1]]],[]],[[3,72,60],[[55,[2]]]],[[3,72,60,[75,[60]]],[[55,[2]]]],[3,[[55,[12]]]],[3,[[55,[59]]]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[[3,31],53],[[3,31],53],0,0,[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[76,76],[74,74],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[-1,[[9,[76]]],54],[-1,[[9,[74]]],54],[1,2],[1,2],0,[[76,48],49],[[74,48],49],[-1,-1,[]],[-1,-1,[]],0,[[],1],[[],1],0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[76,-1],9,58],[[74,-1],9,58],[[59,60],[[9,[-1]]],[]],[[59,60],[[9,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[77,77],[73,73],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[-1,[[9,[77]]],54],[-1,[[9,[73]]],54],[1,2],[1,2],[[77,77],53],[[73,73],53],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[77,48],49],[[77,48],49],[[73,48],49],[[73,48],49],[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],[-1,-2,[],[]],[-1,-2,[],[]],[[77,-1],9,58],[[73,-1],9,58],0,[[59,60],[[9,[-1]]],[]],[[59,60],[[9,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,12,[]],[-1,12,[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],0,[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[4,4],[[-1,-2],2,[],[]],[[],4],[1,-1,[]],[1,-1,[]],[1,2],[[4,48],49],[-1,-1,[]],[[4,50],[[56,[41]]]],[[],1],0,[[4,50,41],2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],0,[78,79],0,[[79,15],[[2,[37]]]],[[79,16],[[2,[37]]]],[[79,18],[[2,[27]]]],[[79,20],[[2,[20]]]],[[79,23],[[2,[37]]]],[[79,24],[[2,[37]]]],[[79,25],[[2,[37]]]],[[79,28],[[2,[37]]]],[[79,29],29],[[79,30],[[2,[27]]]],[[79,32],[[2,[37]]]],[[79,36],[[2,[37]]]],[[79,38],[[2,[27]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[[4,78,46],80],0,[[80,16],[[2,[37]]]],[[80,20],[[2,[20]]]],[[80,23],[[2,[37]]]],[[80,24],[[2,[37]]]],[[80,25],[[2,[37]]]],[[80,32],[[2,[37]]]],[[80,36],[[2,[37]]]],[[80,81],[[2,[27]]]],[[80,30,27],37],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],0,[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[82,[[83,[[2,[[56,[27]],36]]]]]],0,[82,[[56,[27]]]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[[82,60,[83,[[2,[[56,[27]],27]]]]],[[2,[27,[83,[37]]]]]],[[82,20,[83,[[2,[[56,[27]],36]]]]],2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[[3,4,78,46],82],0,[[82,15],[[2,[37]]]],[[82,16],[[2,[37]]]],[[82,20],[[2,[20]]]],[[82,23],[[2,[37]]]],[[82,24],[[2,[37]]]],[[82,25],[[2,[37]]]],[[82,29],29],[[82,32],[[2,[37]]]],[[82,36],[[2,[37]]]],[[82,38],[[2,[27]]]],[[82,39],[[2,[27]]]],0,[[82,30,27],37],0,[[82,84,27,30,30],[[2,[27,[83,[37]]]]]],[[82,35,27,30,30],[[2,[27,[83,[37]]]]]],[[82,85,27,30,30],[[2,[27,[83,[37]]]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[82,27],[[2,[30,37]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[86,2],[1,-1,[]],[1,-1,[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],0,[[86,-1],2,67],[46,86],[[86,16],[[2,[37]]]],[[86,23],[[2,[37]]]],[[86,24],[[2,[37]]]],[[86,25],[[2,[37]]]],[[86,30],[[2,[27]]]],[[86,32],[[2,[37]]]],[[86,38],[[2,[27]]]],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[[78,6,46,4],87],0,[[87,16],[[2,[37]]]],[[87,20],[[2,[20]]]],[[87,21],[[2,[27]]]],[[87,23],[[2,[37]]]],[[87,24],[[2,[37]]]],[[87,25],[[2,[37]]]],[[87,28],[[2,[37]]]],[[87,32],[[2,[37]]]],[[87,88],88],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[89,[-2]]],[],[]],0,0,[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,2],[1,2],0,[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,2,[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12]]],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5]]],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7]]],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6]]],[],[],[],[],[],[]],[-1,[[2,[-2]]],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11]]],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5]]],[],[],[],[],[]],[-1,[[2,[-2,-3,-4]]],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8]]],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13]]],[],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,2,[]],[-1,[[2,[-2]]],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7]]],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6]]],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10]]],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3]]],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8]]],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9]]],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11]]],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12]]],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10]]],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3]]],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13]]],[],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9]]],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4]]],[],[],[],[]],[[-1,-1,90],[[91,[-1]]],92],[[[91,[-1]]],56,92],[-1,[[93,[-2]]],[],[]],[-1,[[94,[-2]]],[],[]],[-1,[[93,[-2]]],[],[]],[-1,[[94,[-2]]],[],[]],[[-1,95],[[96,[-2]]],[],[]],[-1,[[97,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[98,1],[1,-1,[]],[1,-1,[]],[[]],[1,2],[[98,99],2],[[98,1],1],[[98,1],2],[-1,-1,[]],0,[[],1],[-1,-2,[],[]],0,[[3,4,100,78],98],0,[[98,14],[[2,[27]]]],[[98,20],[[2,[20]]]],[[98,101],[[2,[37]]]],[[98,25],[[2,[37]]]],[[98,29],29],[[98,30],[[2,[27]]]],[[98,32],[[2,[37]]]],[[98,88],88],0,0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[98,32],37],[[98,32,-1],37,92],[-1,-2,[],[]],0,0,0,[[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[102,11]],[[102,13]],[[102,15]],[[102,16]],[[102,19]],[[102,20]],[[102,21]],[[102,22]],[[102,23]],[[102,24]],[[102,101]],[[102,25]],[[102,28]],[[102,29]],[[102,30]],[[102,32]],[[102,45]],[[102,7]],[[102,88]],[[102,36]],[[102,35]],[[102,38]],[[102,39]],[[102,40]],[[102,43]],[[102,44]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],0,[[78,3,4,46],102],0,[102,66],[102,2],0,[[102,30,27],37],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[102,27],[[2,[30,37]]]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],0,[[],1],[-1,-2,[],[]],[100,103],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[[103,29],2],[[103,7],2],[[103,33],2],[[103,35],2],[-1,-2,[],[]],0,0,0,0,[[[56,[41]],[56,[41]],[56,[41]]],[[56,[41]]]],0,0,0,0,0,0,0,0,0,0,0,[[104,[56,[41]],71],2],[[104,41,[56,[41]],71],41],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],[[56,[105]]]],[[104,71,31,41],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],41,71],2],[[104,41,71],53],[[104,[56,[41]],71],2],[-1,-2,[],[]],[-1,-2,[],[]],0,[[104,106,[75,[[2,[[56,[41]],71]]]],71],[[56,[41]]]],[[104,[56,[41]],[56,[41]],71],2],[[104,30,[56,[41]],71],41],[[104,-1,12,[56,[41]],71],2,70],[104,1],[1,-1,[]],[1,-1,[]],[[]],[1,2],[[104,107],2],[[104,1],2],[[104,1],2],[-1,-1,[]],0,[[104,41,30],[[56,[108]]]],[[104,41,30],[[56,[106]]]],0,0,0,[[],1],[-1,-2,[],[]],0,0,0,[[3,4,100],104],0,0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[[75,[41]]],12],0,[[104,11]],[[104,13]],[[104,15],2],[[104,16],2],[[104,19]],[[104,20],2],[[104,21]],[[104,22]],[[104,23],2],[[104,24],2],[[104,101],2],[[104,25],2],[[104,26]],[[104,27]],[[104,28],2],[[104,29],2],[[104,30]],[[104,32],2],[[104,45]],[[104,33],2],[[104,7],2],[[104,88],2],[[104,36],2],[[104,37],2],[[104,35],2],[[104,38]],[[104,39]],[[104,40]],[[104,43]],[[104,44]],[-1,-2,[],[]]],"c":[],"p":[[15,"usize"],[15,"tuple"],[3,"SymbolTable",257],[3,"TypeTable",416],[6,"StructGraph",164],[6,"CallGraph",164],[3,"Program",906],[3,"CodeGenerator",16],[4,"Result",907],[3,"TypeId",908],[4,"AccessExpression",909],[3,"String",910],[3,"ArrayExpression",911],[3,"ArrayAccess",912],[3,"AssertStatement",913],[3,"AssignStatement",914],[3,"AssociatedConstant",915],[3,"AssociatedFunction",916],[3,"BinaryExpression",917],[3,"Block",918],[3,"CallExpression",919],[3,"CastExpression",920],[3,"ConditionalStatement",921],[3,"ConsoleStatement",922],[3,"DefinitionStatement",923],[3,"ErrExpression",924],[4,"Expression",925],[3,"ExpressionStatement",926],[3,"Function",927],[3,"Identifier",928],[3,"Symbol",929],[3,"IterationStatement",930],[3,"Mapping",931],[3,"MemberAccess",932],[3,"Struct",933],[3,"ReturnStatement",934],[4,"Statement",935],[3,"StructExpression",936],[3,"TernaryExpression",937],[3,"TupleExpression",938],[4,"Type",939],[4,"Mode",940],[3,"UnaryExpression",941],[3,"UnitExpression",942],[4,"Literal",943],[3,"Assigner",89],[3,"AssignerInner",89],[3,"Formatter",944],[6,"Result",944],[6,"NodeID",945],[8,"Display",944],[3,"ConstantPropagationTable",131],[15,"bool"],[8,"Deserializer",946],[6,"Result",947],[4,"Option",948],[3,"RefCell",949],[8,"Serializer",950],[4,"Value",951],[15,"str"],[3,"DiGraph",164],[8,"Node",164],[3,"IndexSet",952],[4,"DiGraphError",164],[8,"Debug",944],[3,"RenameTable",210],[8,"Iterator",953],[3,"Box",954],[3,"Replacer",241],[8,"Fn",955],[3,"Span",956],[3,"PathBuf",957],[3,"VariableSymbol",356],[3,"FunctionSymbol",308],[15,"slice"],[3,"FinalizeData",308],[4,"VariableType",356],[3,"NodeBuilder",958],[3,"DeadCodeEliminator",441],[3,"Destructurer",476],[3,"TupleAccess",959],[3,"Flattener",508],[3,"Vec",960],[3,"ArrayType",961],[3,"TupleType",962],[3,"AssignmentRenamer",554],[3,"FunctionInliner",580],[3,"ProgramScope",963],[3,"Replacements",964],[4,"Clusivity",614],[3,"RangeIterator",614],[8,"LoopBound",614],[3,"Recompositions",965],[3,"Decompositions",966],[3,"ProgressBar",967],[3,"ProgressBarIter",968],[3,"StreamSafe",969],[3,"Unroller",682],[4,"LoopUnrollerError",970],[3,"Handler",971],[3,"ConstDeclaration",972],[3,"StaticSingleAssigner",726],[3,"SymbolTableCreator",778],[3,"TypeChecker",804],[3,"MappingType",973],[4,"CoreFunction",974],[4,"TypeCheckerError",975],[4,"CoreConstant",976],[6,"ImportGraph",164],[8,"Pass",718]]},\ -"leo_span":{"doc":"","t":"CCAAACANEDDNDDDDFLLLLLLLLLLLLLLLMLLLLMMMLLLLLMLLLLLLLLLLLLLLLMLLLLLLLFMLMMMLLLMMLLFFMFMMMLLMMLLLLLLLLLLLLLLLLLLLLLLLLLMDDIDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLKLLLLMOLLLLMLLLLLLLLLLLKLLKLLLLLLLLLLLDLLFLLLLFLLLLDEDNRHDNDLLLLLLLLLLLLLLLLOFLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLMMOAMOLLLLLLLLLLLLLLLLLFRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR","n":["Span","Symbol","source_map","span","span_json","sym","symbol","Custom","FileName","LineCol","MultiByteChar","Real","SourceFile","SourceMap","SourceMapInner","SpanLocation","analyze_source_file","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bytepos_to_file_charpos","bytes","clone","clone","clone_into","clone_into","col","col_start","col_stop","contents_of_span","contents_of_span","default","default","dummy","end_pos","eq","equivalent","equivalent","find_line_col","find_source_file","find_source_file_index","fmt","fmt","from","from","from","from","from","from","from","inner","into","into","into","into","into","into","into","is_not_test_framework","line","line_contents_of_span","line_start","line_stop","lines","load_file","lookup_file_pos","lookup_line","multibyte_chars","name","new","new_source","normalize_newlines","normalize_src","pos","remove_bom","source_file","source_file","source_files","span_to_location","span_to_string","src","start_pos","to_owned","to_owned","to_string","try_allocate_address_space","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","used_address_space","BytePos","CharPos","Pos","Span","add","add","add","add","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","default","default","deserialize","deserialize","dummy","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from_u32","from_u32","from_u32","from_usize","from_usize","from_usize","hash","hash","hi","impl_pos","into","into","into","is_dummy","lo","new","partial_cmp","partial_cmp","serialize","serialize","sub","sub","to_owned","to_owned","to_owned","to_string","to_u32","to_u32","to_u32","to_usize","to_usize","to_usize","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","SpanMapVisitor","borrow","borrow_mut","deserialize","expecting","fmt","from","into","serialize","try_from","try_into","type_id","visit_map","InnerInterner","InternedStr","Interner","Owned","PRE_DEFINED","SESSION_GLOBALS","SessionGlobals","Static","Symbol","as_str","as_u32","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","cmp","consts","create_session_if_not_set_then","default","deref","deserialize","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","from","from","get","hash","hash","inner","intern","intern","into","into","into","into","into","new","partial_cmp","prefill","prefilled","serde_from_symbol","serde_to_symbol","serialize","set","source_map","strings","sym","symbol_interner","symbols","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","with_session_globals","As","BHP1024","BHP256","BHP512","BHP768","ChaCha","Const","Else","False","For","GEN","If","In","Keccak256","Keccak384","Keccak512","Let","Mapping","Mod","Mut","Pedersen128","Pedersen64","Poseidon2","Poseidon4","Poseidon8","Return","SHA3_256","SHA3_384","SHA3_512","SelfLower","SelfUpper","Star","Struct","True","Type","_nonce","abs","abs_wrapped","add","add_wrapped","address","aleo","and","assert","assert_eq","assert_neq","block","bool","caller","commit_to_address","commit_to_field","commit_to_group","console","constant","contains","decrement","div","div_wrapped","double","eq","field","finalize","function","get","get_or_use","group","gt","gte","hash_to_address","hash_to_field","hash_to_group","hash_to_i128","hash_to_i16","hash_to_i32","hash_to_i64","hash_to_i8","hash_to_scalar","hash_to_u128","hash_to_u16","hash_to_u32","hash_to_u64","hash_to_u8","height","i128","i16","i32","i64","i8","import","increment","inline","input","inv","leo","lt","lte","main","mapping","mul","mul_wrapped","nand","neg","neq","nor","not","or","owner","pow","pow_wrapped","private","program","public","rand_address","rand_bool","rand_field","rand_group","rand_i128","rand_i16","rand_i32","rand_i64","rand_i8","rand_scalar","rand_u128","rand_u16","rand_u32","rand_u64","rand_u8","record","rem","rem_wrapped","remove","scalar","set","shl","shl_wrapped","shr","shr_wrapped","signature","signer","square","square_root","string","sub","sub_wrapped","then","to_x_coordinate","to_y_coordinate","transition","u128","u16","u32","u64","u8","verify","xor"],"q":[[0,"leo_span"],[7,"leo_span::source_map"],[119,"leo_span::span"],[203,"leo_span::span_json"],[216,"leo_span::symbol"],[301,"leo_span::symbol::sym"],[456,"alloc::vec"],[457,"alloc::string"],[458,"core::option"],[459,"alloc::rc"],[460,"core::fmt"],[461,"core::fmt"],[462,"std::io::error"],[463,"core::result"],[464,"core::any"],[465,"core::cmp"],[466,"serde::de"],[467,"core::hash"],[468,"serde::ser"],[469,"core::fmt"],[470,"core::num::nonzero"]],"d":["","","","Defines the Span type used to track where code comes from.","Provides custom serialize/deserialize implementations for …","","","Any sort of description for a source.","A file name.","File / Line / Column information on a BytePos.","Identifies an offset of a multi-byte character in a …","A real file.","A single source in the SourceMap.","The source map containing all recorded sources, methods to …","Actual data of the source map. We use this setup for …","Detailed information on a Span.","Finds all newlines, multi-byte characters, and non-narrow …","","","","","","","","","","","","","","","Converts an absolute BytePos to a CharPos relative to the …","The number of bytes, >= 2.","","","","","The (0-based) column offset into the line.","","","Returns contents of a span assumed to be within the given …","Returns the source contents that is spanned by span.","","","Returns a dummy location.","The end position of this source in the SourceMap.","","","","Finds line column info about a given pos.","Find the source file containing pos.","Find the index for the source file containing pos.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","The actual source map data.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Is the env var LEO_TESTFRAMEWORK not enabled?","The 1-based line number.","Returns the source contents of the lines that span is …","","","Locations of line beginnings in the source code.","Loads the given path and returns a SourceFile for it.","Looks up the file’s (1-based) line number and (0-based …","Finds the line containing the given position. The return …","Locations of multi-byte characters in the source code.","The name of the file that the source came from.","Creates a new SourceMap given the file name, source …","Registers source under the given file name, returning a …","Replaces \\\\r\\\\n with \\\\n in-place in src.","Normalizes the source code and records the normalizations.","The absolute offset of the character in the SourceMap.","Removes UTF-8 BOM, if any.","","Information on the original source.","All the source files recorded thus far.","Retrives the location (source file, line, col) on the …","Returns a displayable representation of the span as a …","The complete source code.","The start position of this source in the SourceMap.","","","","Attempt reserving address space for size number of bytes.","","","","","","","","","","","","","","","","","","","","","","The address space below this value is currently used by …","A byte offset.","A character offset.","Offsets (i.e. positions), in some units (e.g. bytes or …","The span type which tracks where formatted errors …","Add two spans (by reference) together.","Add two spans together. The resulting span is the smallest …","","","","","","","","","","","","","","","","","","","","","Generates a dummy span with all defaults. Should only be …","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","The end (high) position of the span, exclusive. The length …","Generate one-component tuple structs that implement the Pos…","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Is the span a dummy?","The start (low) position of the span, inclusive.","Generate a new span from the starting and ending positions.","","","","","","","","","","","","","","","","","","","","","","","","","","This visitor is used by the deserializer to unwrap mappings","","","Custom deserialization to enable removing spans from enums.","","","Returns the argument unchanged.","Calls U::from(self).","The AST contains a few tuple-like enum variants that …","","","","","The inner interner. This construction is used to get …","An interned string, either prefilled “at compile time” …","A symbol-to-string interner.","String is constructed and stored during runtime.","","","All the globals for a compiler sessions.","String is stored “at compile time”, i.e. prefilled.","An interned string.","Convert to effectively a &'static str given the …","Converts this symbol to the raw index.","","","","","","","","","","","","","","","A helper for symbols defined below. The macro’s job is …","Creates the session globals and then runs the closure f.","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the corresponding string for the given symbol.","","","","Interns string, returning a Symbol corresponding to it.","Maps a string to its interned representation.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the corresponding Symbol for the given index.","","Returns an interner prefilled with init.","Returns an interner prefilled with commonly used strings …","","","","Registration of strings and symbol index allocation is …","The source map used in the compiler.","A helper for symbols defined below. The macro’s job is …","","The interner for Symbols used in the compiler.","Creates predefined symbols used throughout the Leo …","","","","","","","","","","","","","","","","","","Gives access to read or modify the session globals in f.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,8,0,0,0,8,0,0,0,0,0,6,14,16,11,13,8,4,6,14,16,11,13,8,4,6,4,8,4,8,4,16,14,14,6,11,11,13,14,6,4,4,4,11,11,11,8,4,6,14,16,11,13,8,4,11,6,14,16,11,13,8,4,0,16,11,14,14,6,11,6,6,6,6,6,11,0,0,4,0,14,16,13,11,11,6,6,8,4,8,13,6,14,16,11,13,8,4,6,14,16,11,13,8,4,6,14,16,11,13,8,4,13,0,0,0,0,9,9,2,7,9,2,7,9,2,7,9,2,7,9,2,7,2,7,9,2,9,2,9,9,2,7,9,9,2,2,7,7,9,9,2,7,9,2,7,40,2,7,40,2,7,9,2,9,0,9,2,7,9,9,9,2,7,9,2,2,7,9,2,7,9,40,2,7,40,2,7,9,2,7,9,2,7,9,2,7,0,30,30,0,30,30,30,30,0,30,30,30,30,0,0,0,36,0,0,0,36,0,33,33,34,41,37,33,36,36,34,41,37,33,36,33,33,33,0,0,34,36,33,33,36,33,33,36,36,33,33,34,41,37,33,36,37,33,36,37,37,33,34,41,37,33,36,33,33,37,37,33,33,33,41,34,0,0,34,0,33,33,34,41,37,33,36,34,41,37,33,36,34,41,37,33,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[1,2],[[5,[[3,[2]],[3,[4]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[6,2],7],0,[8,8],[4,4],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,[[6,9],10],[[11,9],[[12,[10]]]],[[],11],[[],13],[[],14],0,[[4,4],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[11,2],[[12,[16]]]],[[11,2],[[12,[[17,[6]]]]]],[[11,2],[[12,[18]]]],[[8,19],20],[[4,19],20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],15],0,[[11,9],[[12,[10]]]],0,0,0,[[11,21],[[22,[[17,[6]]]]]],[[6,2],[[5,[18,7]]]],[[6,2],[[12,[18]]]],0,0,[[8,10,2],6],[[11,1,8],[[17,[6]]]],[10,5],[10,5],0,[10,5],0,0,0,[[11,9],[[12,[14]]]],[[11,9],10],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,10,[]],[[13,23],[[12,[2]]]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],0,0,0,0,0,[[9,9],9],[[9,9],9],[[2,2],2],[[7,7],7],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[9,9],[2,2],[7,7],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[2,2],26],[[7,7],26],[[],9],[[],2],[-1,[[24,[9]]],27],[-1,[[24,[2]]],27],[[],9],[[9,9],15],[[2,2],15],[[7,7],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[9,19],20],[[9,19],20],[[2,19],20],[[7,19],20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[23,-1,[]],[23,2],[23,7],[18,-1,[]],[18,2],[18,7],[[9,-1],5,28],[[2,-1],5,28],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[9,15],0,[[2,2],9],[[2,2],[[12,[26]]]],[[7,7],[[12,[26]]]],[[9,-1],24,29],[[2,-1],24,29],[[2,2],2],[[7,7],7],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,10,[]],[-1,23,[]],[2,23],[7,23],[-1,18,[]],[2,18],[7,18],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[24,[9]]],27],[[30,19],20],[[-1,19],[[24,[5,31]]],[]],[-1,-1,[]],[-1,-2,[],[]],[[9,-1],24,29],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[[30,-1],24,32],0,0,0,0,0,0,0,0,0,[[33,34,-1],-2,35,[]],[33,23],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[36,1],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[33,33],[[-1,-2],5,[],[]],[[33,33],26],0,[-1,-2,35,[]],[[],34],[36],[-1,[[24,[33]]],27],[[33,33],15],[[36,36],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[33,19],20],[[33,19],20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[37,33,-1],-2,35,[]],[[33,-1],5,28],[[36,-1],5,28],0,[[37,1],33],[1,33],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[23,33],[[33,33],[[12,[26]]]],[[[38,[1]]],37],[[],37],[[39,-1],24,29],[-1,[[24,[39]]],27],[[33,-1],24,29],0,0,0,0,0,0,[-1,-2,[],[]],[-1,10,[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,-2,35,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"c":[],"p":[[15,"str"],[3,"BytePos",119],[3,"Vec",456],[3,"MultiByteChar",7],[15,"tuple"],[3,"SourceFile",7],[3,"CharPos",119],[4,"FileName",7],[3,"Span",119],[3,"String",457],[3,"SourceMap",7],[4,"Option",458],[3,"SourceMapInner",7],[3,"SpanLocation",7],[15,"bool"],[3,"LineCol",7],[3,"Rc",459],[15,"usize"],[3,"Formatter",460],[6,"Result",460],[3,"Path",461],[6,"Result",462],[15,"u32"],[4,"Result",463],[3,"TypeId",464],[4,"Ordering",465],[8,"Deserializer",466],[8,"Hasher",467],[8,"Serializer",468],[3,"SpanMapVisitor",203],[3,"Error",460],[8,"MapAccess",466],[3,"Symbol",216],[3,"SessionGlobals",216],[8,"FnOnce",469],[4,"InternedStr",216],[3,"Interner",216],[15,"slice"],[3,"NonZeroU32",470],[8,"Pos",119],[3,"InnerInterner",216]]},\ -"leo_test_framework":{"doc":"The test framework to run integration tests with Leo code …","t":"AAAAANNNNNEDNNLLLLFMLLLLLLMLLLLLLLMMMMMMMMMMMMMMMMFFFDLLLLLMLLMMLLLLLNNIEIDDNLLLLLLLLMMLLLMMLLLLFLLLFLLMLKMMLKKFFFMLLLLLLLLLLNNNDELLLLLLLLLLLLLMMFLLLLLLMLLLLLLLLLL","n":["error","fetch","output","runner","test","FailedAndShouldntHave","MismatchedTestExpectationLength","MissingTestConfig","Panicked","PassedAndShouldntHave","TestError","TestFailure","UnexpectedError","UnexpectedOutput","borrow","borrow","borrow_mut","borrow_mut","emit_errors","errors","fmt","fmt","from","from","into","into","path","to_string","try_from","try_from","try_into","try_into","type_id","type_id","error","error","expected","expected","index","index","index","index","index","output","output","test","test","test","test","test","find_tests","split_tests_one_line","split_tests_two_line","TestExpectation","borrow","borrow_mut","clone","clone_into","deserialize","expectation","from","into","namespace","outputs","serialize","to_owned","try_from","try_into","type_id","ContinuousLines","Line","Namespace","ParseType","Runner","Test","TestCases","Whole","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","config","content","eq","equivalent","equivalent","expectation_category","fail_categories","fmt","from","from","from","get_benches","into","into","into","is_env_var_set","load_expectations","load_tests","name","new","parse_type","path","path_prefix","process_tests","resolve_namespace","run_test","run_tests","set_hook","take_hook","tests","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","Fail","Pass","Skip","TestConfig","TestExpectationMode","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","eq","equivalent","equivalent","expectation","extra","extract_test_config","fmt","fmt","from","from","into","into","namespace","serialize","serialize","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id"],"q":[[0,"leo_test_framework"],[5,"leo_test_framework::error"],[34,"leo_test_framework::error::TestError"],[50,"leo_test_framework::fetch"],[53,"leo_test_framework::output"],[69,"leo_test_framework::runner"],[125,"leo_test_framework::test"],[163,"serde_yaml::value"],[164,"alloc::string"],[165,"core::result"],[166,"core::option"],[167,"core::fmt"],[168,"core::fmt"],[169,"std::path"],[170,"core::iter::traits::iterator"],[171,"alloc::vec"],[172,"serde::de"],[173,"serde::ser"],[174,"std::path"],[175,"core::ops::function"],[176,"std::sync::mutex"],[177,"alloc::sync"],[178,"core::any"]],"d":["","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","returns (name, content) for all benchmark samples","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","The test should fail.","The test should pass.","The test should be skipped.","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","",""],"i":[0,0,0,0,0,8,8,8,8,8,0,0,8,8,33,8,33,8,0,33,8,8,33,8,33,8,33,8,33,8,33,8,33,8,34,35,36,37,34,36,38,35,37,36,37,34,36,38,35,37,0,0,0,0,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,19,19,0,0,0,0,0,19,28,21,19,28,21,19,19,19,28,28,19,19,19,21,21,19,28,21,19,0,28,21,19,0,21,21,28,21,26,28,21,21,29,26,0,0,0,21,19,28,21,19,28,21,19,28,21,19,5,5,5,0,0,5,23,5,23,5,23,5,23,5,23,5,5,5,23,23,0,5,23,5,23,5,23,23,5,23,5,23,5,23,5,23,5,23],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[1,[4,[[4,[2,3]],3]],5,[6,[2]],7],[[6,[8]]]],0,[[8,9],10],[[8,9],10],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,3,[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,11,[]],[-1,11,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[12,[[0,[13]]]],[1,[[14,[1]]]],[1,[[14,[3]]]],0,[-1,-2,[],[]],[-1,-2,[],[]],[15,15],[[-1,-2],16,[],[]],[-1,[[4,[15]]],17],0,[-1,-1,[]],[-1,-2,[],[]],0,0,[[15,-1],4,18],[-1,-2,[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,11,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[19,19],[[-1,-2],16,[],[]],0,0,[[19,19],20],[[-1,-2],20,[],[]],[[-1,-2],20,[],[]],0,0,[[19,9],10],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[],[[14,[[16,[3,3]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,20],[[21,12],[[16,[22,[6,[15]]]]]],[[21,-1],[[14,[23]]],24],0,[[1,-1],[[16,[21,[14,[23]]]]],24],[-1,19,[]],0,0,[[21,[14,[23]],-1],[[14,[-2]]],25,[]],[[-1,1],[[6,[[27,[26]]]]],[]],[[-1,28],[[4,[2,3]]],[]],[[-1,1],16,29],[[],[[31,[[30,[[6,[3]]]]]]]],[[[4,[[4,[2,3]],[27,[32]]]],[31,[[30,[[6,[3]]]]]]],[[4,[[4,[2,3]],3]]]],0,[-1,-2,[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,11,[]],[-1,11,[]],[-1,11,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[5,5],[23,23],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[-1,[[4,[5]]],17],[-1,[[4,[23]]],17],[[5,5],20],[[-1,-2],20,[],[]],[[-1,-2],20,[],[]],0,0,[1,[[6,[23]]]],[[5,9],10],[[23,9],10],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[5,-1],4,18],[[23,-1],4,18],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,11,[]],[-1,11,[]]],"c":[],"p":[[15,"str"],[4,"Value",163],[3,"String",164],[4,"Result",165],[4,"TestExpectationMode",125],[4,"Option",166],[15,"usize"],[4,"TestError",5],[3,"Formatter",167],[6,"Result",167],[3,"TypeId",168],[3,"Path",169],[8,"Iterator",170],[3,"Vec",171],[3,"TestExpectation",53],[15,"tuple"],[8,"Deserializer",172],[8,"Serializer",173],[4,"ParseType",69],[15,"bool"],[3,"TestCases",69],[3,"PathBuf",169],[3,"TestConfig",125],[8,"Fn",174],[8,"FnMut",174],[8,"Namespace",69],[3,"Box",175],[3,"Test",69],[8,"Runner",69],[3,"Mutex",176],[3,"Arc",177],[8,"Any",168],[3,"TestFailure",5],[13,"Panicked",34],[13,"FailedAndShouldntHave",34],[13,"UnexpectedOutput",34],[13,"UnexpectedError",34],[13,"PassedAndShouldntHave",34]]}\ +"errcov":{"doc":"","t":"F","n":["main"],"q":[[0,"errcov"]],"d":[""],"i":[0],"f":[[[],1]],"c":[],"p":[[15,"tuple"]],"b":[]},\ +"leo":{"doc":"","t":"FF","n":["main","set_panic_hook"],"q":[[0,"leo"]],"d":["",""],"i":[0,0],"f":[[[],1],[[],1]],"c":[],"p":[[15,"tuple"]],"b":[]},\ +"leo_abnf":{"doc":"","t":"NNNDELLLLLLLLLLLLLLMLLMFLMFLMMLLLLLLLL","n":["Code","Definition","Free","Processor","Scope","append_str","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","enter_scope","fmt","fmt","from","from","grammar","into","into","line","main","new","out","parse_abnf_node","process","rules","scope","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id"],"q":[[0,"leo_abnf"],[38,"core::fmt"],[39,"core::fmt"],[40,"abnf::types"],[41,"alloc::vec"],[42,"abnf::types"],[43,"core::result"],[44,"core::any"]],"d":["","","","Transforms abnf file into Markdown.","Processor’s scope. Used when code block or definition …","Append new line into output, add newline character.","","","","","","","","","Enter new scope (definition or code block). Allows …","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","Recursively parse ABNF Node and fill sum vec with found …","Main function for this struct. Goes through each line and …","","","","","","","","","",""],"i":[4,4,4,0,0,1,4,1,4,1,4,1,4,1,1,4,1,4,1,1,4,1,1,0,1,1,0,1,1,1,4,1,4,1,4,1,4,1],"f":[0,0,0,0,0,[[1,2],3],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[4,4],[1,1],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[1,4],3],[[4,5],6],[[1,5],6],[-1,-1,[]],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[[],[[7,[3]]]],[[2,[9,[8]]],1],0,[[10,[9,[11]]],3],[1,3],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,13,[]],[-1,13,[]]],"c":[],"p":[[3,"Processor",0],[15,"str"],[15,"tuple"],[4,"Scope",0],[3,"Formatter",38],[6,"Result",38],[6,"Result",39],[3,"Rule",40],[3,"Vec",41],[4,"Node",40],[3,"String",42],[4,"Result",43],[3,"TypeId",44]],"b":[]},\ +"leo_ast":{"doc":"The abstract syntax tree (ast) for a Leo program.","t":"DALLMLLLLALLLLLLLLLALLLLAALALLALFAAFOAALLLLLLLLAADDDDDMMAAAMMMMMMMMAMMMMMMMMMAMMDMLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLDMLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLDLLLLLLLLLLLLLLLLLMLMLMLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLMLAAAAAADLLLLLLLLLLLLLLLLLLMLLLMLLLLLMLLLLLFFIGKKKKDDLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLMDLLLLLLLLLLLLLLLLLLLLLLLLLLNNNENNNNNNDNNNDENNNNDNDNNNNNDENNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNDDNNNDNNNNDNDENDNAMAALLAALLMLLLLMMLLLLLAMMMLLLMLMMMMMMMMMMMMMMLLMAMMMMMMLLLLMMMMMMMMMMMAALLLLAMLAAENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLMLLLLLLLLLMLLLLLLMLLLLLNNNDENNNNNNNNNNNNNNNNNNNNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMMMLLLLLMLLLLLLLLLLDMLLLLLLLLLLLLLMLLLMLMLLLLLLMLLLLLDLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLMLDLLLLLLLLLLLLLLLLLMLLLLLLMLLLLLNNNNNENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLMMMLLLLMMLLLLLLLLMMLLLLLLLLLLLDLLLLMLLLLLLLLLLLLLMMMLLLLLLMLLLLLDLLLLLLLLMLLLLLLLLLMLLLLLLMLLLLLNNNNNNNNNNDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMMLLLLLMLLLLLLLLLDLLLLLLLLLLLLLLLLLMLLLLLLMLLLLLDAMMLLLLALLLLLLLLLAAMLLLLLMMLAMLALLAMMLLLLMLLLLLAMDLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLLNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLMMLLMMLLLLMLLLLLLDMLLLLLLLLLLLLLLLLLMMLMLLMMLLLLMLLLLLNDENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLLLLMLLLLLLLLMLLLLLLLLLMLLNENNNLLLLLLLLLLLLLLLLLLLLLLLLNDNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLMLLLLLLLLMLLLLLLLLLMLLNNNELLLLLLLLLLLLLLLLLLLLLLAAENNNNLLLLLLLLLLLLLLLLLLLLLLLLEDNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLMLLLLLLLLLMMGMAMAAAADLLLLLLLLLLLLLLLLLMMLMLLLMLMDDLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLLLLLLLLLLLLLNNNNENLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLMLLLLLLDLLLLMLLLLLLLLLMLMLLLLDLLLLLLLLLLLLLLLLLMMLLMLLLLMLLLLLMAAAIIIIQQQQQQQQIIIIKKKKKKKKKKKKLLKKKKKKKKKKLKKKKKKQIIILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLQIQIILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLMLLAAMLLLLLLDLLLLLLLLLLLLLLLLLLLMMLLLLLLDLLLLMLLLLLLLLLLLLMLLMMLMMLLLLLNNNNNNNNNNEAAALLLLAAAALLLLLLLLLLALLLLLLAALLLLLLLLLNNNDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLMLLLLLLLLLMDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLLMDLLLLLLLLLLLLLLLLLMLLLLLLMMLLLLLDLLLLMLLLLLLLLLLLLLMLLMLLLLMMLLLLLAANNNELLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLMLMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLMNEDNLLLLAMLLLLLLLLLLLLLMLLMLLLLMLLLLMLMNENLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLLDMLLLLLLLLLLLLLLLLLMMLLLLLLMMMMMLLLLMLMDLLLLLLLLLLLLLMMLLLLMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLMAMLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLMLLLLLMLLLLMLAAAAAADLLLLLLLLLLMLLLLLLLLLLLLMLLLLLLLENLLLLLLLLLLLLLLLLLLLLLNNNNNENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLMLLLLLLMDLLLLLLLLLMLLLLLLLLLLLLLLLLLLLNNNNNNNNNNNNNENLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNNNNNNNNNNNNNELLLLLLLLLLLLLLLLLLLLLLLLLLLOOLLLLLLLLLLLLLLLLLLLLLLLL","n":["Ast","access","as_ref","as_repr","ast","borrow","borrow_mut","clone","clone_into","common","default","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","expressions","fmt","from","from_json_file","from_json_string","functions","groups","init","input","into","into_repr","mapping","new","normalize_json_value","passes","program","remove_key_from_json","simple_node_impl","statement","struct","to_json_file","to_json_file_without_keys","to_json_string","to_json_value","to_owned","try_from","try_into","type_id","types","value","ArrayAccess","AssociatedConstant","AssociatedFunction","MemberAccess","TupleAccess","arguments","array","array_access","associated_constant_access","associated_function_access","id","id","id","id","id","index","index","inner","member_access","name","name","name","span","span","span","span","span","tuple","tuple_access","ty","ty","ArrayAccess","array","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","index","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","AssociatedConstant","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","ty","type_id","AssociatedFunction","arguments","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","ty","type_id","MemberAccess","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","inner","into","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","TupleAccess","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","index","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","tuple","type_id","identifier","imported_modules","node","node_builder","positive_number","static_string","Identifier","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","id","id","init","into","matches","name","new","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","deserialize","serialize","Node","NodeID","id","set_id","set_span","span","NodeBuilder","NodeBuilderInner","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","default","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","from","from","init","init","inner","into","into","new","new","next","next_id","next_id","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","NonNegativeNumber","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","hash","init","into","is_zero","serialize","string","string","to_owned","to_string","try_from","try_into","type_id","value","value","StaticString","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","new","serialize","to_owned","to_string","try_from","try_into","type_id","Abs","AbsWrapped","Access","AccessExpression","Add","AddWrapped","Address","And","Array","Array","ArrayExpression","AssociatedConstant","AssociatedFunction","Binary","BinaryExpression","BinaryOperation","BitwiseAnd","BitwiseOr","Boolean","Call","CallExpression","Cast","CastExpression","Div","DivWrapped","Double","Eq","Err","ErrExpression","Expression","Field","Group","Gt","Gte","Identifier","Integer","Inverse","Literal","Literal","Lt","Lte","Member","Mod","Mul","MulWrapped","Nand","Negate","Neq","Nor","Not","Or","Pow","PowWrapped","Rem","RemWrapped","Scalar","Shl","ShlWrapped","Shr","ShrWrapped","Square","SquareRoot","String","Struct","StructExpression","StructVariableInitializer","Sub","SubWrapped","Ternary","TernaryExpression","ToXCoordinate","ToYCoordinate","Tuple","Tuple","TupleExpression","Unary","UnaryExpression","UnaryOperation","Unit","UnitExpression","Xor","access","arguments","array","binary","borrow","borrow_mut","call","cast","clone","clone_into","condition","deref","deref_mut","deserialize","drop","elements","elements","eq","equivalent","equivalent","equivalent","equivalent","err","expression","expression","external","fmt","fmt","from","function","id","id","id","id","id","id","id","id","id","id","id","id","identifier","if_false","if_true","init","into","left","literal","members","name","op","op","receiver","right","serialize","set_id","set_span","span","span","span","span","span","span","span","span","span","span","span","span","struct_init","ternary","to_owned","to_string","try_from","try_into","tuple","type_","type_id","unary","unit","AccessExpression","Array","AssociatedConstant","AssociatedFunction","Member","Tuple","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","init","into","serialize","set_id","set_span","span","to_owned","to_string","try_from","try_into","type_id","ArrayExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","elements","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Add","AddWrapped","And","BinaryExpression","BinaryOperation","BitwiseAnd","BitwiseOr","Div","DivWrapped","Eq","Gt","Gte","Lt","Lte","Mod","Mul","MulWrapped","Nand","Neq","Nor","Or","Pow","PowWrapped","Rem","RemWrapped","Shl","ShlWrapped","Shr","ShrWrapped","Sub","SubWrapped","Xor","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from_symbol","id","id","init","init","into","into","left","op","right","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_id","type_id","CallExpression","arguments","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","external","fmt","fmt","from","function","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","CastExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","ErrExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Address","Boolean","Field","Group","Integer","Literal","Scalar","String","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from_value","id","init","into","serialize","set_id","set_span","span","to_owned","to_string","try_from","try_into","type_id","StructExpression","StructVariableInitializer","borrow","borrow","borrow_mut","borrow_mut","check_record","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","fmt","fmt","from","from","id","id","id","id","identifier","init","init","into","into","members","name","serialize","serialize","set_id","set_id","set_span","set_span","span","span","span","span","to_owned","to_owned","to_record_string","to_string","to_string","try_from","try_from","try_into","try_into","type_id","type_id","TernaryExpression","borrow","borrow_mut","clone","clone_into","condition","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","if_false","if_true","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","TupleExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","elements","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Abs","AbsWrapped","Double","Inverse","Negate","Not","Square","SquareRoot","ToXCoordinate","ToYCoordinate","UnaryExpression","UnaryOperation","as_str","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","from_symbol","id","id","init","init","into","into","op","receiver","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","UnitExpression","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Function","annotation","annotations","block","borrow","borrow_mut","clone","clone_into","core_function","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","external","finalize","finalize","fmt","fmt","format","from","id","id","identifier","init","input","input","into","mode","name","new","output","output","output_type","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","variant","variant","Annotation","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","BHP1024CommitToAddress","BHP1024CommitToField","BHP1024CommitToGroup","BHP1024HashToAddress","BHP1024HashToField","BHP1024HashToGroup","BHP1024HashToI128","BHP1024HashToI16","BHP1024HashToI32","BHP1024HashToI64","BHP1024HashToI8","BHP1024HashToScalar","BHP1024HashToU128","BHP1024HashToU16","BHP1024HashToU32","BHP1024HashToU64","BHP1024HashToU8","BHP256CommitToAddress","BHP256CommitToField","BHP256CommitToGroup","BHP256HashToAddress","BHP256HashToField","BHP256HashToGroup","BHP256HashToI128","BHP256HashToI16","BHP256HashToI32","BHP256HashToI64","BHP256HashToI8","BHP256HashToScalar","BHP256HashToU128","BHP256HashToU16","BHP256HashToU32","BHP256HashToU64","BHP256HashToU8","BHP512CommitToAddress","BHP512CommitToField","BHP512CommitToGroup","BHP512HashToAddress","BHP512HashToField","BHP512HashToGroup","BHP512HashToI128","BHP512HashToI16","BHP512HashToI32","BHP512HashToI64","BHP512HashToI8","BHP512HashToScalar","BHP512HashToU128","BHP512HashToU16","BHP512HashToU32","BHP512HashToU64","BHP512HashToU8","BHP768CommitToAddress","BHP768CommitToField","BHP768CommitToGroup","BHP768HashToAddress","BHP768HashToField","BHP768HashToGroup","BHP768HashToI128","BHP768HashToI16","BHP768HashToI32","BHP768HashToI64","BHP768HashToI8","BHP768HashToScalar","BHP768HashToU128","BHP768HashToU16","BHP768HashToU32","BHP768HashToU64","BHP768HashToU8","ChaChaRandAddress","ChaChaRandBool","ChaChaRandField","ChaChaRandGroup","ChaChaRandI128","ChaChaRandI16","ChaChaRandI32","ChaChaRandI64","ChaChaRandI8","ChaChaRandScalar","ChaChaRandU128","ChaChaRandU16","ChaChaRandU32","ChaChaRandU64","ChaChaRandU8","CoreFunction","GroupToXCoordinate","GroupToYCoordinate","Keccak256HashToAddress","Keccak256HashToField","Keccak256HashToGroup","Keccak256HashToI128","Keccak256HashToI16","Keccak256HashToI32","Keccak256HashToI64","Keccak256HashToI8","Keccak256HashToScalar","Keccak256HashToU128","Keccak256HashToU16","Keccak256HashToU32","Keccak256HashToU64","Keccak256HashToU8","Keccak384HashToAddress","Keccak384HashToField","Keccak384HashToGroup","Keccak384HashToI128","Keccak384HashToI16","Keccak384HashToI32","Keccak384HashToI64","Keccak384HashToI8","Keccak384HashToScalar","Keccak384HashToU128","Keccak384HashToU16","Keccak384HashToU32","Keccak384HashToU64","Keccak384HashToU8","Keccak512HashToAddress","Keccak512HashToField","Keccak512HashToGroup","Keccak512HashToI128","Keccak512HashToI16","Keccak512HashToI32","Keccak512HashToI64","Keccak512HashToI8","Keccak512HashToScalar","Keccak512HashToU128","Keccak512HashToU16","Keccak512HashToU32","Keccak512HashToU64","Keccak512HashToU8","MappingContains","MappingGet","MappingGetOrUse","MappingRemove","MappingSet","Pedersen128CommitToAddress","Pedersen128CommitToField","Pedersen128CommitToGroup","Pedersen128HashToAddress","Pedersen128HashToField","Pedersen128HashToGroup","Pedersen128HashToI128","Pedersen128HashToI16","Pedersen128HashToI32","Pedersen128HashToI64","Pedersen128HashToI8","Pedersen128HashToScalar","Pedersen128HashToU128","Pedersen128HashToU16","Pedersen128HashToU32","Pedersen128HashToU64","Pedersen128HashToU8","Pedersen64CommitToAddress","Pedersen64CommitToField","Pedersen64CommitToGroup","Pedersen64HashToAddress","Pedersen64HashToField","Pedersen64HashToGroup","Pedersen64HashToI128","Pedersen64HashToI16","Pedersen64HashToI32","Pedersen64HashToI64","Pedersen64HashToI8","Pedersen64HashToScalar","Pedersen64HashToU128","Pedersen64HashToU16","Pedersen64HashToU32","Pedersen64HashToU64","Pedersen64HashToU8","Poseidon2HashToAddress","Poseidon2HashToField","Poseidon2HashToGroup","Poseidon2HashToI128","Poseidon2HashToI16","Poseidon2HashToI32","Poseidon2HashToI64","Poseidon2HashToI8","Poseidon2HashToScalar","Poseidon2HashToU128","Poseidon2HashToU16","Poseidon2HashToU32","Poseidon2HashToU64","Poseidon2HashToU8","Poseidon4HashToAddress","Poseidon4HashToField","Poseidon4HashToGroup","Poseidon4HashToI128","Poseidon4HashToI16","Poseidon4HashToI32","Poseidon4HashToI64","Poseidon4HashToI8","Poseidon4HashToScalar","Poseidon4HashToU128","Poseidon4HashToU16","Poseidon4HashToU32","Poseidon4HashToU64","Poseidon4HashToU8","Poseidon8HashToAddress","Poseidon8HashToField","Poseidon8HashToGroup","Poseidon8HashToI128","Poseidon8HashToI16","Poseidon8HashToI32","Poseidon8HashToI64","Poseidon8HashToI8","Poseidon8HashToScalar","Poseidon8HashToU128","Poseidon8HashToU16","Poseidon8HashToU32","Poseidon8HashToU64","Poseidon8HashToU8","SHA3_256HashToAddress","SHA3_256HashToField","SHA3_256HashToGroup","SHA3_256HashToI128","SHA3_256HashToI16","SHA3_256HashToI32","SHA3_256HashToI64","SHA3_256HashToI8","SHA3_256HashToScalar","SHA3_256HashToU128","SHA3_256HashToU16","SHA3_256HashToU32","SHA3_256HashToU64","SHA3_256HashToU8","SHA3_384HashToAddress","SHA3_384HashToField","SHA3_384HashToGroup","SHA3_384HashToI128","SHA3_384HashToI16","SHA3_384HashToI32","SHA3_384HashToI64","SHA3_384HashToI8","SHA3_384HashToScalar","SHA3_384HashToU128","SHA3_384HashToU16","SHA3_384HashToU32","SHA3_384HashToU64","SHA3_384HashToU8","SHA3_512HashToAddress","SHA3_512HashToField","SHA3_512HashToGroup","SHA3_512HashToI128","SHA3_512HashToI16","SHA3_512HashToI32","SHA3_512HashToI64","SHA3_512HashToI8","SHA3_512HashToScalar","SHA3_512HashToU128","SHA3_512HashToU16","SHA3_512HashToU32","SHA3_512HashToU64","SHA3_512HashToU8","SignatureVerify","borrow","borrow_mut","clone","clone_into","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","from","from_symbols","init","into","is_finalize_command","num_args","to_owned","try_from","try_into","type_id","External","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","program_name","record","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","Finalize","block","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","input","into","new","output","output_type","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","External","FunctionInput","Input","Internal","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","format","from","from","id","id","id","identifier","identifier","init","init","into","into","mode","mode","serialize","serialize","set_id","set_id","set_span","set_span","span","span","span","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_","type_","type_id","type_id","Constant","Mode","None","Private","Public","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","External","FunctionOutput","Internal","Output","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","id","id","id","init","init","into","into","mode","mode","serialize","serialize","set_id","set_id","set_span","set_span","span","span","span","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_","type_","type_id","type_id","Inline","Standard","Transition","Variant","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","init","into","serialize","to_owned","try_from","try_into","type_id","group_coordinate","group_literal","GroupCoordinate","Inferred","Number","SignHigh","SignLow","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","GroupLiteral","GroupTuple","Single","Tuple","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","id","id","init","init","into","into","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","x","y","Definitions","core","definition","hash_builder","input_ast","input_value","program_input","section","Definition","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","init","into","mode","name","serialize","span","to_owned","try_from","try_into","type_","type_id","value","InputAst","InputData","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","default","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","fmt","fmt","from","from","init","init","into","into","program_input","program_inputs","sections","serialize","serialize","to_json_file","to_json_file_without_keys","to_json_string","to_json_value","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","Address","Boolean","Field","Group","InputValue","Integer","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_from","try_into","type_id","ProgramInput","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","fmt","from","init","into","main","serialize","to_owned","try_from","try_from","try_into","type_id","Section","borrow","borrow_mut","clone","clone_into","definitions","deref","deref_mut","deserialize","drop","fmt","from","init","into","name","name","serialize","span","to_owned","try_from","try_into","type_id","Mapping","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","key_type","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","value_type","consumer","reconstructor","visitor","ExpressionConsumer","FunctionConsumer","ImportConsumer","MappingConsumer","Output","Output","Output","Output","Output","Output","Output","Output","ProgramConsumer","ProgramScopeConsumer","StatementConsumer","StructConsumer","consume_access","consume_array","consume_assert","consume_assign","consume_binary","consume_block","consume_call","consume_cast","consume_conditional","consume_console","consume_const","consume_definition","consume_err","consume_expression","consume_expression_statement","consume_function","consume_identifier","consume_import","consume_iteration","consume_literal","consume_mapping","consume_program","consume_program_scope","consume_return","consume_statement","consume_struct","consume_struct_init","consume_ternary","consume_tuple","consume_unary","consume_unit","AdditionalOutput","ExpressionReconstructor","ProgramReconstructor","StatementReconstructor","reconstruct_access","reconstruct_array","reconstruct_array_access","reconstruct_assert","reconstruct_assign","reconstruct_associated_constant","reconstruct_associated_function","reconstruct_binary","reconstruct_block","reconstruct_call","reconstruct_cast","reconstruct_conditional","reconstruct_console","reconstruct_const","reconstruct_definition","reconstruct_err","reconstruct_expression","reconstruct_expression_statement","reconstruct_function","reconstruct_identifier","reconstruct_import","reconstruct_iteration","reconstruct_literal","reconstruct_mapping","reconstruct_member_access","reconstruct_program","reconstruct_program_scope","reconstruct_return","reconstruct_statement","reconstruct_struct","reconstruct_struct_init","reconstruct_ternary","reconstruct_tuple","reconstruct_tuple_access","reconstruct_unary","reconstruct_unit","AdditionalInput","ExpressionVisitor","Output","ProgramVisitor","StatementVisitor","visit_access","visit_array","visit_assert","visit_assign","visit_binary","visit_block","visit_call","visit_cast","visit_conditional","visit_console","visit_const","visit_definition","visit_err","visit_expression","visit_expression_statement","visit_function","visit_identifier","visit_import","visit_iteration","visit_literal","visit_mapping","visit_program","visit_program_scope","visit_return","visit_statement","visit_struct","visit_struct_init","visit_ternary","visit_tuple","visit_unary","visit_unit","Program","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","imports","init","into","program_id","program_scope","program_scopes","serialize","to_owned","to_string","try_from","try_into","type_id","ProgramId","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","name","network","serialize","to_owned","to_string","try_from","try_into","type_id","ProgramScope","borrow","borrow_mut","clone","clone_into","consts","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","functions","init","into","mappings","program_id","serialize","span","structs","to_owned","to_string","try_from","try_into","type_id","Assert","Assign","Block","Conditional","Console","Const","Definition","Expression","Iteration","Return","Statement","assert","assign","block","borrow","borrow_mut","clone","clone_into","conditional","console","const_","definition","deref","deref_mut","deserialize","drop","dummy","eq","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","from","id","init","into","iteration","return_","serialize","set_id","set_span","span","to_owned","to_string","try_from","try_into","type_id","Assert","AssertEq","AssertNeq","AssertStatement","AssertVariant","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","id","id","init","init","into","into","serialize","serialize","set_id","set_span","span","span","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","variant","AssignStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","place","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","value","Block","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","statements","to_owned","to_string","try_from","try_into","type_id","ConditionalStatement","borrow","borrow_mut","clone","clone_into","condition","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","otherwise","serialize","set_id","set_span","span","span","then","to_owned","to_string","try_from","try_into","type_id","console_function","console_statement","Assert","AssertEq","AssertNeq","ConsoleFunction","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","ConsoleStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","function","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","ConstDeclaration","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","place","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","value","Const","DeclarationType","DefinitionStatement","Let","borrow","borrow_mut","clone","clone_into","declaration_type","declaration_type","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","init","into","place","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","value","Const","DeclarationType","Let","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","ExpressionStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","expression","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","IterationStatement","block","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","inclusive","init","into","serialize","set_id","set_span","span","span","start","start_value","stop","stop_value","to_owned","to_string","try_from","try_into","type_","type_id","variable","ReturnStatement","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","expression","finalize_arguments","fmt","fmt","from","id","id","init","into","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Struct","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","is_record","member","members","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_id","Member","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","id","id","identifier","init","into","mode","name","serialize","set_id","set_span","span","span","to_owned","to_string","try_from","try_into","type_","type_id","array","core_constant","integer_type","mapping","tuple","type_","ArrayType","base_element_type","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","element_type","element_type","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","length","length","new","serialize","to_owned","to_string","try_from","try_into","type_id","CoreConstant","GroupGenerator","borrow","borrow_mut","clone","clone_into","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","from","from_symbols","init","into","to_owned","to_type","try_from","try_into","type_id","I128","I16","I32","I64","I8","IntegerType","U128","U16","U32","U64","U8","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","is_signed","serialize","symbol","to_owned","to_string","try_from","try_into","type_id","MappingType","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","key","serialize","to_owned","to_string","try_from","try_into","type_id","value","TupleType","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","elements","elements","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","length","new","serialize","to_owned","to_string","try_from","try_into","type_id","Address","Array","Boolean","Err","Field","Group","Identifier","Integer","Mapping","Scalar","Signature","String","Tuple","Type","Unit","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","eq_flat","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","hash","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","Address","Boolean","Field","Group","I128","I16","I32","I64","I8","Input","Scalar","String","Struct","U128","U16","U32","U64","U8","Value","abs","abs_wrapped","add","add_wrapped","as_ref","bitand","bitor","borrow","borrow_mut","clone","clone_into","deref","deref_mut","div","div_wrapped","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","ge","gt","implement_const_binary","implement_const_unary","init","into","is_supported_const_fold_type","le","lt","mul","mul_wrapped","neg","not","pow","pow_wrapped","shl","shl_wrapped","shr","shr_wrapped","sub","sub_wrapped","to_owned","to_string","try_from","try_from","try_into","type_id","xor"],"q":[[0,"leo_ast"],[49,"leo_ast::access"],[80,"leo_ast::access::array_access"],[113,"leo_ast::access::associated_constant_access"],[146,"leo_ast::access::associated_function_access"],[180,"leo_ast::access::member_access"],[213,"leo_ast::access::tuple_access"],[246,"leo_ast::common"],[252,"leo_ast::common::identifier"],[287,"leo_ast::common::imported_modules"],[289,"leo_ast::common::node"],[295,"leo_ast::common::node_builder"],[334,"leo_ast::common::positive_number"],[367,"leo_ast::common::static_string"],[394,"leo_ast::expressions"],[556,"leo_ast::expressions::access"],[590,"leo_ast::expressions::array"],[622,"leo_ast::expressions::binary"],[712,"leo_ast::expressions::call"],[746,"leo_ast::expressions::cast"],[779,"leo_ast::expressions::err"],[810,"leo_ast::expressions::literal"],[847,"leo_ast::expressions::struct_init"],[915,"leo_ast::expressions::ternary"],[949,"leo_ast::expressions::tuple"],[981,"leo_ast::expressions::unary"],[1049,"leo_ast::expressions::unit"],[1080,"leo_ast::functions"],[1130,"leo_ast::functions::annotation"],[1162,"leo_ast::functions::core_function"],[1436,"leo_ast::functions::external"],[1471,"leo_ast::functions::finalize"],[1508,"leo_ast::functions::input"],[1577,"leo_ast::functions::mode"],[1606,"leo_ast::functions::output"],[1672,"leo_ast::functions::variant"],[1698,"leo_ast::groups"],[1700,"leo_ast::groups::group_coordinate"],[1729,"leo_ast::groups::group_literal"],[1787,"leo_ast::input"],[1795,"leo_ast::input::definition"],[1823,"leo_ast::input::input_ast"],[1867,"leo_ast::input::input_value"],[1898,"leo_ast::input::program_input"],[1919,"leo_ast::input::section"],[1941,"leo_ast::mapping"],[1975,"leo_ast::passes"],[1978,"leo_ast::passes::consumer"],[2025,"leo_ast::passes::reconstructor"],[2065,"leo_ast::passes::visitor"],[2101,"leo_ast::program"],[2131,"leo_ast::program::program_id"],[2159,"leo_ast::program::program_scope"],[2190,"leo_ast::statement"],[2240,"leo_ast::statement::assert"],[2298,"leo_ast::statement::assign"],[2331,"leo_ast::statement::block"],[2363,"leo_ast::statement::conditional"],[2397,"leo_ast::statement::console"],[2399,"leo_ast::statement::console::console_function"],[2427,"leo_ast::statement::console::console_statement"],[2459,"leo_ast::statement::const_"],[2493,"leo_ast::statement::definition"],[2532,"leo_ast::statement::definition::declaration_type"],[2559,"leo_ast::statement::expression"],[2591,"leo_ast::statement::iteration"],[2630,"leo_ast::statement::return_"],[2663,"leo_ast::struct"],[2699,"leo_ast::struct::member"],[2734,"leo_ast::types"],[2740,"leo_ast::types::array"],[2772,"leo_ast::types::core_constant"],[2795,"leo_ast::types::integer_type"],[2833,"leo_ast::types::mapping"],[2861,"leo_ast::types::tuple"],[2891,"leo_ast::types::type_"],[2934,"leo_ast::value"],[3006,"core::fmt"],[3007,"core::fmt"],[3008,"leo_errors::errors"],[3009,"serde_json::value"],[3010,"alloc::string"],[3011,"core::result"],[3012,"core::any"],[3013,"serde::de"],[3014,"serde::ser"],[3015,"leo_span::span"],[3016,"core::hash"],[3017,"leo_span::symbol"],[3018,"alloc::vec"],[3019,"indexmap::map"],[3020,"core::option"]],"d":["The abstract syntax tree (AST) for a Leo program.","","","Returns a reference to the inner program AST …","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Deserializes the JSON string into a ast from a file.","Deserializes the JSON string into a ast.","","","","","Calls U::from(self).","","","Creates a new AST from a given program tree.","Helper function to normalize AST JSON into a form …","This module contains both a Reducer and Visitor design …","A Leo program consists of import statements and program …","Helper function to recursively filter keys from AST JSON","","","","Serializes the ast into a JSON file.","Serializes the ast into a JSON value and removes keys from …","Serializes the ast into a JSON string.","","","","","","","","An array access expression, e.g., foo[index].","An access expression to an struct constant., e.g. u8::MAX.","An access expression to an associated function in a …","A struct member access expression inner.name to some …","A tuple access expression, e.g., tuple.index.","The arguments passed to the function name.","An expression evaluating to some array type, e.g., …","","","","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The index to access in the array expression. E.g., 0 for …","The index to access in the tuple expression. E.g., 0 for …","The inner struct that is being accessed.","","The struct constant that is being accessed.","The static struct member function that is being accessed.","The name of the struct member to access.","The span for the entire expression foo[index].","The span for the entire expression Foo::bar().","The span for the entire expression Foo::bar().","The span covering all of inner.name.","The span for the entire expression tuple.index.","An expression evaluating to some tuple type, e.g., (5, 2).","","The inner struct type.","The inner struct type.","An array access expression, e.g., foo[index].","An expression evaluating to some array type, e.g., …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The index to access in the array expression. E.g., 0 for …","","Calls U::from(self).","","","","","The span for the entire expression foo[index].","","","","","","An access expression to an struct constant., e.g. u8::MAX.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The struct constant that is being accessed.","","","","","The span for the entire expression Foo::bar().","","","","","The inner struct type.","","An access expression to an associated function in a …","The arguments passed to the function name.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The static struct member function that is being accessed.","","","","","The span for the entire expression Foo::bar().","","","","","The inner struct type.","","A struct member access expression inner.name to some …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","The inner struct that is being accessed.","Calls U::from(self).","The name of the struct member to access.","","","","","The span covering all of inner.name.","","","","","","A tuple access expression, e.g., tuple.index.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The index to access in the tuple expression. E.g., 0 for …","","Calls U::from(self).","","","","","The span for the entire expression tuple.index.","","","","","An expression evaluating to some tuple type, e.g., (5, 2).","","","","","","","","An identifier in a program.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","The ID of the node.","","Calls U::from(self).","Check if the Identifier name matches the other name.","The symbol that the user wrote, e.g., foo.","Constructs a new identifier with name and id and a default …","","","","","A span locating where the identifier occurred in the …","","","","","","","","A node in the AST.","A node ID.","Returns the ID of the node.","Sets the ID of the node.","Sets the span of the node.","Returns the span of the node.","A counter that produces sequentially increasing NodeIDs.","Contains the actual data for Handler. Modeled this way to …","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The inner counter. RefCell is used here to avoid &mut all …","Calls U::from(self).","Calls U::from(self).","Returns a new NodeCounter with the given NodeID as the …","Returns a new NodeCounter with the given NodeID as the …","The next NodeID.","Returns the next NodeID and increments the internal state.","Returns the next NodeID and increments the internal state.","","","","","","","","","A number string guaranteed to be non-negative.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","Returns true if this number is zero.","","Returns the string representation of the non-negative …","The string representation of the non-negative number.","","","","","","Returns the numeric value of the non-negative number.","The numeric value of the non-negative number.","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","Absolute value checking for overflow, i.e. .abs().","Absolute value wrapping around at the boundary of the …","A struct access expression, e.g. Foo.bar.","An access expressions, extracting a smaller part out of a …","Addition, i.e. +, .add().","Wrapping addition, i.e. .add_wrapped().","An address literal, e.g., …","Logical AND, i.e. &&.","An array[index] expression.","An array expression, e.g., [true, false, true, false].","An array expression, e.g., [true, false, true, false].","Access to an associated variable of a struct e.g u8::MAX.","Access to an associated function of a struct e.g …","A binary expression, e.g., 42 + 24.","A binary expression left op right of two operands …","A binary operator.","Bitwise AND, i.e. &, .and().","Bitwise OR, i.e. |, .or().","A boolean literal, either true or false.","A call expression, e.g., my_fun(args).","A function call expression, e.g.foo(args) or Foo::bar(args)…","A cast expression, e.g., 42u32 as u8.","A cast expression, e.g. 42u8 as u16.","Division, i.e. /, .div().","Wrapping division, i.e. .div_wrapped().","Double operation, i.e. .double().","Equality relation, i.e. ==, .eq().","An expression of type “error”. Will result in a …","Represents a syntactically invalid expression.","Expression that evaluates to a value.","A field literal, e.g., 42field. A signed number followed …","A group literal, either product or affine. For example, …","Greater-than relation, i.e. >, .gt().","Greater-or-equal relation, i.e. >=, .gte().","An identifier.","An integer literal, e.g., 42.","Multiplicative inverse, i.e. .inv().","A literal.","A literal expression.","Lesser-than relation, i.e. <, .lt().","Lesser-or-equal relation, i.e. <=, .lte().","An expression accessing a field in a structure, e.g., …","Arithmetic modulo, i.e. .mod()","Multiplication, i.e. *, .mul().","Wrapping multiplication, i.e. .mul_wrapped().","Boolean NAND, i.e. .nand().","Negate operation, i.e. .neg().","In-equality relation, i.e. !=, .neq().","Boolean NOR, i.e. .nor().","Bitwise NOT, i.e. !, .not().","Logical OR, i.e. ||.","Exponentiation, i.e. ** in a ** b, .pow().","Wrapping exponentiation, i.e. .pow_wrapped().","Remainder, i.e. %, .rem().","Wrapping remainder, i.e. .rem_wrapped().","A scalar literal, e.g. 1scalar. An unsigned number …","Shift left operation, i.e. <<, .shl().","Wrapping shift left operation, i.e. .shl_wrapped().","Shift right operation, i.e. >>, .shr().","Wrapping shift right operation, i.e. .shr_wrapped().","Square operation, i.e. .square().","Square root operation, i.e. .sqrt().","A string literal, e.g., "foobar".","An expression constructing a struct like …","A struct initialization expression, e.g., …","An initializer for a single field / variable of a struct …","Subtraction, i.e. -, .sub().","Wrapped subtraction, i.e. .sub_wrapped().","A ternary conditional expression cond ? if_expr : else_expr…","A ternary conditional expression, that is, …","Converts a group element to its x-coordinate, i.e. …","Converts a group element to its y-coordinate, i.e. …","Access to a tuple field using its position, e.g., tuple.1.","A tuple expression e.g., (foo, 42, true).","A tuple expression, e.g., (foo, false, 42).","An unary expression.","An unary expression applying an operator to an inner …","A unary operator for a unary expression.","A unit expression e.g. ()","Represents a unit expression.","Bitwise XOR, i.e. .xor().","","Expressions for the arguments passed to the functions …","","","","","","","","","The condition determining which branch to pick.","","","","","The elements of the array.","The elements of the tuple. In the example above, it would …","","","","","","","The expression to be casted, e.g.42u8 in 42u8 as u16.","The expression to initialize the field with. When None, a …","The name of the external program call, e.g.bar in bar.leo.","","","Returns the argument unchanged.","An expression evaluating to a callable function, either a …","","The ID of the node.","The ID of the expression.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The ID of the node.","The name of the field / variable to be initialized.","The branch the expression evaluates to if condition …","The branch the expression evaluates to if condition …","","Calls U::from(self).","The left operand of the expression.","","Initializer expressions for each of the fields in the …","The name of the structure type to initialize.","The operand defining the meaning of the resulting binary …","The unary operator to apply to inner.","The inner expression op is applied to.","The right operand of the expression.","","","","","The span from [ to ].","The span from left to right.","Span of the entire call function(arguments).","Span of the entire cast 42u8 as u16.","The span of the node.","A span from name to }.","The span of the invalid expression.","The span from condition to if_false.","The span from ( to ).","The span covering op inner.","The span of the unit expression.","","","","","","","","The type to be casted to, e.g. u16 in 42u8 as u16.","","","","An access expressions, extracting a smaller part out of a …","An array[index] expression.","Access to an associated variable of a struct e.g u8::MAX.","Access to an associated function of a struct e.g …","An expression accessing a field in a structure, e.g., …","Access to a tuple field using its position, e.g., tuple.1.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","An array expression, e.g., [true, false, true, false].","","","","","","","","","The elements of the array.","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span from [ to ].","","","","","","Addition, i.e. +, .add().","Wrapping addition, i.e. .add_wrapped().","Logical AND, i.e. &&.","A binary expression left op right of two operands …","A binary operator.","Bitwise AND, i.e. &, .and().","Bitwise OR, i.e. |, .or().","Division, i.e. /, .div().","Wrapping division, i.e. .div_wrapped().","Equality relation, i.e. ==, .eq().","Greater-than relation, i.e. >, .gt().","Greater-or-equal relation, i.e. >=, .gte().","Lesser-than relation, i.e. <, .lt().","Lesser-or-equal relation, i.e. <=, .lte().","Arithmetic modulo, i.e. .mod()","Multiplication, i.e. *, .mul().","Wrapping multiplication, i.e. .mul_wrapped().","Boolean NAND, i.e. .nand().","In-equality relation, i.e. !=, .neq().","Boolean NOR, i.e. .nor().","Logical OR, i.e. ||.","Exponentiation, i.e. ** in a ** b, .pow().","Wrapping exponentiation, i.e. .pow_wrapped().","Remainder, i.e. %, .rem().","Wrapping remainder, i.e. .rem_wrapped().","Shift left operation, i.e. <<, .shl().","Wrapping shift left operation, i.e. .shl_wrapped().","Shift right operation, i.e. >>, .shr().","Wrapping shift right operation, i.e. .shr_wrapped().","Subtraction, i.e. -, .sub().","Wrapped subtraction, i.e. .sub_wrapped().","Bitwise XOR, i.e. .xor().","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns a BinaryOperation from the given Symbol. This is …","","The ID of the expression.","","","Calls U::from(self).","Calls U::from(self).","The left operand of the expression.","The operand defining the meaning of the resulting binary …","The right operand of the expression.","","","","","","The span from left to right.","","","","","","","","","","","A function call expression, e.g.foo(args) or Foo::bar(args)…","Expressions for the arguments passed to the functions …","","","","","","","","","","","","","","The name of the external program call, e.g.bar in bar.leo.","","","Returns the argument unchanged.","An expression evaluating to a callable function, either a …","","The ID of the node.","","Calls U::from(self).","","","","","Span of the entire call function(arguments).","","","","","","A cast expression, e.g. 42u8 as u16.","","","","","","","","","","","","","","The expression to be casted, e.g.42u8 in 42u8 as u16.","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","Span of the entire cast 42u8 as u16.","","","","","The type to be casted to, e.g. u16 in 42u8 as u16.","","Represents a syntactically invalid expression.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span of the invalid expression.","","","","","","An address literal, e.g., …","A boolean literal, either true or false.","A field literal, e.g., 42field. A signed number followed …","A group literal, either product or affine. For example, …","An integer literal, e.g., 42.","A literal.","A scalar literal, e.g. 1scalar. An unsigned number …","A string literal, e.g., "foobar".","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Calls U::from(self).","","","","","","","","","","A struct initialization expression, e.g., …","An initializer for a single field / variable of a struct …","","","","","Returns true if the record has all required fields and …","","","","","","","","","","","","","","","","","","","","","","","The expression to initialize the field with. When None, a …","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The ID of the node.","The ID of the node.","The name of the field / variable to be initialized.","","","Calls U::from(self).","Calls U::from(self).","Initializer expressions for each of the fields in the …","The name of the structure type to initialize.","","","","","","","","","The span of the node.","A span from name to }.","","","Returns the struct as a record interface with visibility.","","","","","","","","","A ternary conditional expression, that is, …","","","","","The condition determining which branch to pick.","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The branch the expression evaluates to if condition …","The branch the expression evaluates to if condition …","","Calls U::from(self).","","","","","The span from condition to if_false.","","","","","","A tuple expression, e.g., (foo, false, 42).","","","","","","","","","The elements of the tuple. In the example above, it would …","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span from ( to ).","","","","","","Absolute value checking for overflow, i.e. .abs().","Absolute value wrapping around at the boundary of the …","Double operation, i.e. .double().","Multiplicative inverse, i.e. .inv().","Negate operation, i.e. .neg().","Bitwise NOT, i.e. !, .not().","Square operation, i.e. .square().","Square root operation, i.e. .sqrt().","Converts a group element to its x-coordinate, i.e. …","Converts a group element to its y-coordinate, i.e. …","An unary expression applying an operator to an inner …","A unary operator for a unary expression.","Represents the opera.tor as a string.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns a UnaryOperation from the given Symbol.","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","The unary operator to apply to inner.","The inner expression op is applied to.","","","","","","The span covering op inner.","","","","","","","","","","Represents a unit expression.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span of the unit expression.","","","","","","A function definition.","","Annotations on the function.","The body of the function.","","","","","","","","","","","","","","","","","An optional finalize block","","","Private formatting method used for optimizing fmt::Debug …","Returns the argument unchanged.","","The ID of the node.","The function identifier, e.g., foo in …","","","The function’s input parameters.","Calls U::from(self).","","Returns function name.","Initialize a new function.","","The function’s output declarations.","The function’s output type.","","","","","The entire span of the function definition.","","","","","","","Is this function a transition, inlined, or a regular …","An annotation, e.g. @program.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name of the annotation.","","Calls U::from(self).","","","","","A span locating where the annotation occurred in the …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A core instruction that maps directly to an AVM bytecode …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns a CoreFunction from the given module and method …","","Calls U::from(self).","Returns whether or not this function is finalize command.","Returns the number of arguments required by the …","","","","","A function output from an external program with type …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name the parameter is accessible as in the function’…","","Calls U::from(self).","The name of the external program.","The name of the external record type.","","","","","The parameters span from any annotations to its type.","","","","","","","A finalize block.","The body of the function.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The finalize identifier.","","The finalize block’s input parameters.","Calls U::from(self).","Create a new finalize block.","The finalize blocks’s output declaration.","The finalize block’s output type.","","","","","The entire span of the finalize block.","","","","","","","A function parameter.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The ID of the node.","","The name the parameter is accessible as in the function’…","","","Calls U::from(self).","Calls U::from(self).","","The mode of the function parameter.","","","","","","","","","The parameters span from any annotations to its type.","","","","","","","","","","What’s the parameter’s type?","","","","The mode associated with a type.","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","A function output.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","","The mode of the function output.","","","","","","","","","The parameters span from any annotations to its type.","","","","","","","","","","The type of the function output.","","","","","","Functions are always one of three variants. A transition …","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","A coordinate in a affine group literal.","Recovery with an inferred value.","A number, e.g., 42.","A sign high recovery, i.e. +.","A sign low recovery, i.e., -.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","A group literal.","An affine group literal, e.g., (42, 24)group.","Product group literal, e.g., 42group.","An affine group literal with (x, y) coordinates.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","","","","","","The span from ( to ).","","","","","","","","","","The left component of the type, e.g., 42 in the case above.","The right component of the type, e.g., 24 in the case …","","","","","","","","","A single definition inside a section in a state or an …","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","A raw unprocessed input or state file data. Used for …","Input data which includes ProgramInput.","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","Returns all values of the input AST for execution with …","","","","Serializes the input into a JSON file.","Serializes the Input into a JSON value and removes keys …","Serializes the ast into a JSON string.","Serializes the Input into a JSON Value.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","Processed Program input.","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","A single section in an input or a state file. An example …","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","A mapping declaration, e.g …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name of the mapping.","","Calls U::from(self).","The type of the key.","","","","","The entire span of the mapping declaration.","","","","","","The type of the value.","This module contains a Consumer trait for the AST. …","This module contains a Reconstructor trait for the AST. It …","This module contains Visitor trait implementations for the …","A Consumer trait for expressions in the AST.","A Consumer trait for functions in the AST.","A Consumer trait for imported programs in the AST.","A Consumer trait for mappings in the AST.","","","","","","","","","A Consumer trait for the program represented by the AST.","A Consumer trait for program scopes in the AST.","A Consumer trait for statements in the AST.","A Consumer trait for structs in the AST.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A Reconstructor trait for expressions in the AST.","A Reconstructor trait for the program represented by the …","A Reconstructor trait for statements in the AST.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A Visitor trait for expressions in the AST.","","A Visitor trait for the program represented by the AST.","A Visitor trait for statements in the AST.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Stores the Leo program abstract syntax tree.","","","","","Constructs an empty program node.","","","","","","","","","","","","Returns the argument unchanged.","A map from import names to import definitions.","","Calls U::from(self).","","A Leo program scope consists of struct, function, and …","A map from program names to program scopes.","","","","","","","An identifier for a program that is eventually deployed to …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","The name of the program.","The network associated with the program.","","","","","","","Stores the Leo program scope abstract syntax tree.","","","","","A vector of const definitions","","","","","","","","","","","","Returns the argument unchanged.","A vector of function definitions.","","Calls U::from(self).","A vector of mapping definitions.","The program id of the program scope.","","The span associated with the program scope.","A vector of struct definitions.","","","","","","An assert statement.","An assignment statement.","A block statement.","An if statement.","A console logging statement.","A binding from identifier to constant value.","A binding or set of bindings / variables to declare.","An expression statement","A for statement.","A return statement return expr;.","Program statement that defines some action (or expression) …","","","","","","","","","","","","","","","","Returns a dummy statement made from an empty block {}.","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","","A assert(expr) variant, asserting that the expression …","A assert_eq(expr1, expr2) variant, asserting that the …","A assert_neq(expr1, expr2) variant, asserting that the …","An assert statement, assert(<expr>), assert_eq(<expr>) or …","A variant of an assert statement.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","The ID of the node.","","","Calls U::from(self).","Calls U::from(self).","","","","","","The span, excluding the semicolon.","","","","","","","","","","The variant of the assert statement.","An assignment statement, assignee = value. Note that there …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The place to assign to. Note that place can either be an …","","","","","The span, excluding the semicolon.","","","","","","The value to assign to the assignee.","A block { [stmt]* } consisting of a list of statements to …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span from { to }.","The list of statements to execute.","","","","","","An if condition block (else next)? statement.","","","","","The bool-typed condition deciding what to evaluate.","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The statement, if any, to evaluate when condition yields …","","","","","The span from if to next or to block.","The block to evaluate in case condition yields true.","","","","","","","","A console.assert(expr) call to invoke, asserting that the …","A console.assert_eq(expr1, expr2) call to invoke, …","A console.assert_neq(expr1, expr2) call to invoke, …","A console logging function to invoke.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","A console logging statement like console.log(...);.","","","","","","","","","","","","","","","","Returns the argument unchanged.","The logging function to run.","","The ID of the node.","","Calls U::from(self).","","","","","The span excluding the semicolon.","","","","","","A constant declaration statement.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The place to assign to. As opposed to DefinitionStatement, …","","","","","The span excluding the semicolon.","","","","","The type of the binding, if specified, or inferred …","","An initializer value for the binding.","This is a const binding.","The sort of bindings to introduce, either let or const.","A let or const declaration statement.","This is a let binding.","","","","","","What sort of declaration is this? let or const?.","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","The bindings / variable names to declare.","","","","","The span excluding the semicolon.","","","","","The types of the bindings, if specified, or inferred …","","An initializer value for the bindings.","This is a const binding.","The sort of bindings to introduce, either let or const.","This is a let binding.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","An expression statement, foo(a);.","","","","","","","","","","","","","","The expression associated with the statement.","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span.","","","","","","A bounded for loop statement …","The block to run on each iteration.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","Whether stop is inclusive or not. Signified with = when …","","Calls U::from(self).","","","","","The span from for to block.","The start of the iteration.","The concrete value of start.","The end of the iteration, possibly inclusive.","The concrete value of stop.","","","","","The type of the iteration.","","The binding / variable to introduce in the body block.","A return statement return expression;.","","","","","","","","","","","","","","The expression to return to the function caller.","Arguments to the finalize block.","","","Returns the argument unchanged.","","The ID of the node.","","Calls U::from(self).","","","","","The span of return expression excluding the semicolon.","","","","","","A struct type definition, e.g., …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The name of the type in the type system in this module.","","Calls U::from(self).","Was this a record Foo { ... }? If so, it wasn’t a struct.","","The fields, constant variables, and functions of this …","Returns the struct name as a Symbol.","","","","","The entire span of the struct definition.","","","","","","A member of a structured data type, e.g foobar: u8 or …","","","","","","","","","","","","","","","","Returns the argument unchanged.","","The ID of the node.","The identifier of the member.","","Calls U::from(self).","The mode of the member.","Returns the name of the struct member without span.","","","","","The span of the member.","","","","","The type of the member.","","","","","","","","An array type.","Returns the base element type of the array.","","","","","","","","","Returns the element type of the array.","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Returns the length of the array.","","Creates a new array type.","","","","","","","A core constant that maps directly to an AVM bytecode …","","","","","","","","","","","","","","Returns the argument unchanged.","Returns a CoreConstant from the given type and constant …","","Calls U::from(self).","","Returns the Type of the CoreConstant.","","","","","","","","","Explicit integer type.","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Is the integer type a signed one?","","Returns the symbol for the integer type.","","","","","","A mapping type of a key and value type.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","A type list of at least two types.","","","","","","","","","Returns the elements of the tuple type.","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Returns the length of the tuple type.","Creates a new tuple type.","","","","","","","The address type.","The array type.","The bool type.","Placeholder for a type that could not be resolved or was …","The field type.","The group type.","A reference to a built in type.","An integer type.","A mapping type.","The scalar type.","The signature type.","The string type.","A static tuple of at least one type.","Explicit type used for defining a variable or expression …","The unit type.","","","","","","","","","","Returns true if the self Type is equal to the other Type.","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","Converts a literal to a value.","","","",""],"i":[0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,1,0,1,1,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,22,16,0,0,0,16,21,22,23,24,16,24,23,0,21,22,23,16,21,22,23,24,24,0,21,22,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,0,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,0,0,0,0,0,0,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,0,0,0,0,97,97,97,97,0,0,30,31,30,31,30,31,30,31,30,30,31,30,31,30,31,30,31,30,31,30,31,30,30,31,30,31,31,30,31,30,31,30,31,30,31,30,31,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,49,49,34,0,37,37,43,37,35,34,0,35,35,34,0,0,37,37,43,34,0,34,0,37,37,49,37,34,0,0,43,43,37,37,34,43,49,0,34,37,37,35,37,37,37,37,49,37,37,49,37,37,37,37,37,43,37,37,37,37,49,49,43,34,0,0,37,37,34,0,49,49,35,34,0,34,0,0,34,0,37,0,40,0,0,34,34,0,0,34,34,47,34,34,34,34,36,48,34,34,34,34,34,0,41,46,40,34,34,34,40,34,36,38,40,41,46,45,42,47,48,50,51,46,47,47,34,34,38,0,45,45,38,50,50,38,34,34,34,34,36,38,40,41,46,45,42,47,48,50,51,0,0,34,34,34,34,0,41,34,0,0,0,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,37,37,37,0,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,38,37,38,37,38,37,38,37,38,37,38,37,38,37,38,37,38,37,37,37,37,38,38,38,38,37,37,38,38,37,38,37,38,38,37,38,37,38,38,38,38,37,38,38,38,38,38,37,38,37,38,37,38,37,38,37,38,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,0,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,0,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,43,43,43,43,43,0,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,0,0,46,45,46,45,45,46,45,46,45,46,45,46,45,46,45,46,45,46,45,46,46,46,46,45,45,45,45,46,46,46,45,45,46,45,46,45,46,45,46,46,45,46,45,45,45,46,45,46,45,46,45,46,45,46,45,46,45,45,46,45,46,45,46,45,46,45,0,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,0,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,49,49,49,49,49,49,49,49,49,49,0,0,49,49,50,49,50,49,50,49,50,49,50,49,50,49,50,49,50,49,50,49,49,49,49,50,50,50,50,49,50,50,49,50,49,50,50,49,50,49,50,50,50,49,50,50,50,50,50,49,50,50,49,50,49,50,49,50,0,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,0,0,52,52,52,52,52,52,0,52,52,52,52,52,52,52,52,52,0,0,52,52,52,52,52,52,52,52,52,0,52,52,0,52,52,0,52,52,52,52,52,52,52,52,52,52,52,52,0,52,0,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,0,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,0,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,0,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,55,0,0,55,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,55,55,55,62,62,62,62,55,55,62,62,62,55,62,55,62,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,55,62,62,55,62,55,62,55,62,55,62,55,62,55,62,63,0,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,56,0,56,0,56,64,56,64,56,64,56,64,56,64,56,64,56,64,56,64,56,64,56,56,56,56,64,64,64,64,56,56,64,64,56,64,56,64,64,56,64,56,64,56,64,56,64,56,64,56,64,56,64,64,56,64,56,64,56,64,56,64,56,64,56,64,54,54,54,0,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,0,0,0,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,0,0,66,66,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,66,66,66,67,67,67,67,66,66,67,66,67,66,67,66,67,66,67,66,67,66,66,66,67,66,67,66,66,67,66,67,66,67,67,67,0,98,0,98,0,0,0,0,0,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,0,0,69,70,69,70,69,70,69,70,69,69,70,69,70,69,70,69,70,69,70,69,70,69,70,69,70,69,70,70,69,70,70,70,69,70,69,70,69,70,69,70,69,70,72,72,72,72,0,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,0,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,0,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,0,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,0,0,0,0,0,0,0,99,100,101,102,103,104,105,106,0,0,0,0,99,99,100,100,99,100,99,99,100,100,100,100,99,99,100,101,99,103,100,99,104,106,105,100,100,102,99,99,99,99,99,107,0,0,0,107,107,107,108,108,107,107,107,108,107,107,108,108,108,108,107,107,108,109,107,109,108,107,109,107,109,109,108,108,109,107,107,107,107,107,107,110,0,110,0,0,110,110,111,111,110,111,110,110,111,111,111,111,110,110,111,112,110,112,111,110,112,112,112,111,111,112,110,110,110,110,110,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,2,2,2,2,2,2,2,0,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,0,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,86,86,86,86,86,86,86,86,86,86,0,0,0,0,86,86,86,86,0,0,0,0,86,86,86,86,86,86,86,86,86,86,0,86,86,86,86,86,86,0,0,86,86,86,86,86,86,86,86,86,88,88,88,0,0,88,76,88,76,88,76,88,76,88,76,88,76,88,76,88,76,88,76,88,88,88,88,76,76,76,76,88,76,76,88,76,76,76,88,76,88,76,88,76,76,76,76,76,88,76,76,88,76,88,76,88,76,76,0,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,0,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,0,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,0,0,89,89,89,0,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,0,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,0,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,90,0,0,90,81,81,81,81,0,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,90,0,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,0,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,0,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,0,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,0,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,0,71,71,71,71,71,71,71,71,71,71,71,71,0,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,0,0,0,0,0,0,0,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,0,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,94,94,94,94,94,0,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,0,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,0,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,61,61,61,61,61,61,61,61,61,61,61,61,61,0,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,0,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,0,0,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44],"f":[0,0,[1,2],[1,2],0,[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[[-1,-2],3,[],[]],0,[[],1],[4,-1,[]],[4,-1,[]],[4,3],[[1,1],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[1,6],7],[-1,-1,[]],[8,[[9,[1]]]],[10,[[9,[1]]]],0,0,[[],4],0,[-1,-2,[],[]],[1,2],0,[2,1],[11,11],0,0,[[11,10],11],0,0,0,[[1,8,10],[[9,[3]]]],[[1,8,10,[12,[10]]],[[9,[3]]]],[1,[[9,[13]]]],[1,[[9,[11]]]],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[16,16],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[16]]],17],[4,3],[[16,16],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[16,6],7],[[16,6],7],[-1,-1,[]],[16,18],0,0,[[],4],[-1,-2,[],[]],[[16,-1],14,19],[[16,18],3],[[16,20],3],[16,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[21,21],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[21]]],17],[4,3],[[21,21],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[21,6],7],[[21,6],7],[-1,-1,[]],[21,18],0,[[],4],[-1,-2,[],[]],0,[[21,-1],14,19],[[21,18],3],[[21,20],3],[21,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[22,22],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[22]]],17],[4,3],[[22,22],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[22,6],7],[[22,6],7],[-1,-1,[]],[22,18],0,[[],4],[-1,-2,[],[]],0,[[22,-1],14,19],[[22,18],3],[[22,20],3],[22,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[23,23],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[23]]],17],[4,3],[[23,23],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[23,6],7],[[23,6],7],[-1,-1,[]],[23,18],0,[[],4],0,[-1,-2,[],[]],0,[[23,-1],14,19],[[23,18],3],[[23,20],3],[23,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[24,24],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[24]]],17],[4,3],[[24,24],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[24,6],7],[[24,6],7],[-1,-1,[]],[24,18],0,0,[[],4],[-1,-2,[],[]],[[24,-1],14,19],[[24,18],3],[[24,20],3],[24,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[25,25],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[9,[25]]],17],[4,3],[[25,25],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[25,6],7],[[25,6],7],[-1,-1,[]],[[25,-1],3,26],[25,18],0,[[],4],[-1,-2,[],[]],[[25,25],5],0,[[27,18],25],[[25,-1],9,19],[[25,18],3],[[25,20],3],[25,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,[[14,[[29,[[28,[27]],2]]]]],17],[[[29,[[28,[27]],2]],-1],14,19],0,0,[-1,18,[]],[[-1,18],3,[]],[[-1,20],3,[]],[-1,20,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[30,30],[31,31],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[],30],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,3],[4,3],[[30,6],7],[[31,6],7],[-1,-1,[]],[-1,-1,[]],[[],4],[[],4],0,[-1,-2,[],[]],[-1,-2,[],[]],[18,30],[18,31],0,[30,18],[31,18],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[32,32],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[32]]],17],[4,3],[[32,32],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[32,6],7],[[32,6],7],[-1,-1,[]],[13,32],[4,32],[[32,-1],3,26],[[],4],[-1,-2,[],[]],[32,5],[[32,-1],14,19],[32,10],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[32,4],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[33,33],[[-1,-2],3,[],[]],[[],33],[4,-1,[]],[4,-1,[]],[-1,[[14,[33]]],17],[4,3],[[33,33],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[33,6],7],[[33,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[13,33],[[33,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[34,34],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[34]]],17],[4,3],0,0,[[34,34],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,0,[[34,6],7],[[34,6],7],[-1,-1,[]],0,[34,18],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],4],[-1,-2,[],[]],0,0,0,0,0,0,0,0,[[34,-1],14,19],[[34,18],3],[[34,20],3],[34,20],0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,0,[-1,15,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[35,35],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[35]]],17],[4,3],[[35,35],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[35,6],7],[[35,6],7],[-1,-1,[]],[35,18],[[],4],[-1,-2,[],[]],[[35,-1],14,19],[[35,18],3],[[35,20],3],[35,20],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[36,36],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[36]]],17],[4,3],0,[[36,36],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[36,6],7],[[36,6],7],[-1,-1,[]],[36,18],0,[[],4],[-1,-2,[],[]],[[36,-1],14,19],[[36,18],3],[[36,20],3],[36,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[37,37],[38,38],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[37]]],17],[-1,[[14,[38]]],17],[4,3],[4,3],[[37,37],5],[[38,38],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[37,6],7],[[37,6],7],[[38,6],7],[[38,6],7],[-1,-1,[]],[-1,-1,[]],[27,[[39,[37]]]],[38,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[[37,-1],14,19],[[38,-1],14,19],[[38,18],3],[[38,20],3],[38,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[40,40],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[40]]],17],[4,3],[[40,40],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[40,6],7],[[40,6],7],[-1,-1,[]],0,[40,18],0,[[],4],[-1,-2,[],[]],[[40,-1],14,19],[[40,18],3],[[40,20],3],[40,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[41,41],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[41]]],17],[4,3],[[41,41],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[41,6],7],[[41,6],7],[-1,-1,[]],[41,18],0,[[],4],[-1,-2,[],[]],[[41,-1],14,19],[[41,18],3],[[41,20],3],[41,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[42,42],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[42]]],17],[4,3],[[42,42],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[42,6],7],[[42,6],7],[-1,-1,[]],[42,18],0,[[],4],[-1,-2,[],[]],[[42,-1],14,19],[[42,18],3],[[42,20],3],[42,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[43,43],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[43]]],17],[4,3],[[43,43],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[43,6],7],[[43,6],7],[-1,-1,[]],[[44,18],43],[43,18],[[],4],[-1,-2,[],[]],[[43,-1],14,19],[[43,18],3],[[43,20],3],[43,20],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[45,5],[46,46],[45,45],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[46]]],17],[-1,[[14,[45]]],17],[4,3],[4,3],[[46,46],5],[[45,45],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[46,6],7],[[46,6],7],[[45,6],7],[[45,6],7],[-1,-1,[]],[-1,-1,[]],[46,18],[45,18],0,0,0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[46,-1],14,19],[[45,-1],14,19],[[46,18],3],[[45,18],3],[[46,20],3],[[45,20],3],[46,20],[45,20],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[45,13],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[47,47],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[47]]],17],[4,3],[[47,47],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[47,6],7],[[47,6],7],[-1,-1,[]],[47,18],0,0,0,[[],4],[-1,-2,[],[]],[[47,-1],14,19],[[47,18],3],[[47,20],3],[47,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[48,48],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[48]]],17],[4,3],0,[[48,48],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[48,6],7],[[48,6],7],[-1,-1,[]],[48,18],0,[[],4],[-1,-2,[],[]],[[48,-1],14,19],[[48,18],3],[[48,20],3],[48,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,[49,10],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[49,49],[50,50],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[49]]],17],[-1,[[14,[50]]],17],[4,3],[4,3],[[49,49],5],[[50,50],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[49,6],7],[[50,6],7],[[50,6],7],[-1,-1,[]],[-1,-1,[]],[27,[[39,[49]]]],[50,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[49,-1],14,19],[[50,-1],14,19],[[50,18],3],[[50,20],3],[50,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[51,51],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[51]]],17],[4,3],[[51,51],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[51,6],7],[[51,6],7],[-1,-1,[]],[51,18],0,[[],4],[-1,-2,[],[]],[[51,-1],14,19],[[51,18],3],[[51,20],3],[51,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[52,52],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[52]]],17],[4,3],[[52,52],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,[[52,6],7],[[52,6],7],[[52,6],7],[-1,-1,[]],[52,18],0,0,[[],4],0,0,[-1,-2,[],[]],0,[52,27],[[[28,[53]],54,25,[28,[55]],[28,[56]],57,[39,[58]],20,18],52],0,0,0,[[52,-1],14,19],[[52,18],3],[[52,20],3],[52,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[53,53],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[53]]],17],[4,3],[[53,53],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[53,6],7],[[53,6],7],[-1,-1,[]],[53,18],0,0,[[],4],[-1,-2,[],[]],[[53,-1],14,19],[[53,18],3],[[53,20],3],[53,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[59,59],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,3],[[59,59],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[-1,-1,[]],[[27,27],[[39,[59]]]],[[],4],[-1,-2,[],[]],[59,5],[59,4],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[60,60],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[60]]],17],[4,3],[[60,60],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[60,6],7],[[60,6],7],[-1,-1,[]],[60,18],0,0,[[],4],[-1,-2,[],[]],0,0,[[60,-1],14,19],[[60,18],3],[[60,20],3],[60,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[60,61],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[58,58],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[58]]],17],[4,3],[[58,58],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[58,6],7],[[58,6],7],[-1,-1,[]],[58,18],0,0,[[],4],0,[-1,-2,[],[]],[[25,[28,[55]],[28,[56]],57,20,18],58],0,0,[[58,-1],14,19],[[58,18],3],[[58,20],3],[58,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[55,55],[62,62],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[55]]],17],[-1,[[14,[62]]],17],[4,3],[4,3],[[55,55],5],[[62,62],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[55,6],7],[[55,6],7],[[62,6],7],[[62,6],7],[[62,6],7],[-1,-1,[]],[-1,-1,[]],[55,4],[62,18],0,[55,25],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[55,63],0,[[55,-1],14,19],[[62,-1],14,19],[[55,4],3],[[62,18],3],[[55,20],3],[[62,20],3],[55,20],[62,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[55,61],0,[-1,15,[]],[-1,15,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[63,63],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[63]]],17],[4,3],[[63,63],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[63,6],7],[[63,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[63,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[56,56],[64,64],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[56]]],17],[-1,[[14,[64]]],17],[4,3],[4,3],[[56,56],5],[[64,64],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[56,6],7],[[56,6],7],[[64,6],7],[[64,6],7],[-1,-1,[]],[-1,-1,[]],[56,18],[64,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[56,63],0,[[56,-1],14,19],[[64,-1],14,19],[[56,18],3],[[64,18],3],[[56,20],3],[[64,20],3],[56,20],[64,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[56,61],0,[-1,15,[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[54,54],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[54]]],17],[4,3],[[54,54],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[54,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[54,-1],14,19],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[65,65],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[65]]],17],[4,3],[[65,65],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[65,6],7],[[65,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[65,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[66,66],[67,67],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[66]]],17],[-1,[[14,[67]]],17],[4,3],[4,3],[[66,66],5],[[67,67],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[66,6],7],[[66,6],7],[[67,6],7],[-1,-1,[]],[-1,-1,[]],[66,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[[66,-1],14,19],[[67,-1],14,19],[[66,18],3],[[66,20],3],[66,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[68,68],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[68]]],17],[4,3],[[68,68],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[68,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],0,0,[[68,-1],14,19],0,[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[69,69],[70,70],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[],69],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[69]]],17],[-1,[[14,[70]]],17],[4,3],[4,3],[[69,6],7],[[70,6],7],[-1,-1,[]],[-1,-1,[]],[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],0,[[70,10,[29,[27,71]]],[[28,[13]]]],0,[[69,-1],14,19],[[70,-1],14,19],[[70,8,10],[[9,[3]]]],[[70,8,10,[12,[10]]],[[9,[3]]]],[69,[[9,[13]]]],[70,[[9,[11]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[72,72],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[72]]],17],[4,3],[[72,72],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[72,6],7],[[72,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[72,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[[[3,[61,34]]],[[9,[72]]]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[73,73],[[-1,-2],3,[],[]],[[],73],[4,-1,[]],[4,-1,[]],[-1,[[14,[73]]],17],[4,3],[[73,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],0,[[73,-1],14,19],[-1,-2,[],[]],[70,[[9,[73]]]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[74,74],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[74]]],17],[4,3],[[74,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[74,13],0,[[74,-1],14,19],0,[-1,-2,[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[75,75],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[75]]],17],[4,3],[[75,75],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[75,6],7],[[75,6],7],[-1,-1,[]],[75,18],0,0,[[],4],[-1,-2,[],[]],0,[[75,-1],14,19],[[75,18],3],[[75,20],3],[75,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,35],[],[]],[[-1,36],[],[]],[[-1,76],[],[]],[[-1,77],[],[]],[[-1,38],[],[]],[[-1,57],[],[]],[[-1,40],[],[]],[[-1,41],[],[]],[[-1,78],[],[]],[[-1,79],[],[]],[[-1,80],[],[]],[[-1,81],[],[]],[[-1,42],[],[]],[[-1,34],[],[]],[[-1,82],[],[]],[[-1,52],[],[]],[[-1,25],[],[]],[[-1,2],[],[]],[[-1,83],[],[]],[[-1,43],[],[]],[[-1,75],[],[]],[[-1,2],[],[]],[[-1,84],[],[]],[[-1,85],[],[]],[[-1,86],[],[]],[[-1,71],[],[]],[[-1,45],[],[]],[[-1,47],[],[]],[[-1,48],[],[]],[[-1,50],[],[]],[[-1,51],[],[]],0,0,0,0,[[-1,35],[[3,[34]]],[]],[[-1,36],[[3,[34]]],[]],[[-1,16],[[3,[34]]],[]],[[-1,76],[[3,[86]]],[]],[[-1,77],[[3,[86]]],[]],[[-1,21],[[3,[34]]],[]],[[-1,22],[[3,[34]]],[]],[[-1,38],[[3,[34]]],[]],[[-1,57],[[3,[57]]],[]],[[-1,40],[[3,[34]]],[]],[[-1,41],[[3,[34]]],[]],[[-1,78],[[3,[86]]],[]],[[-1,79],[[3,[86]]],[]],[[-1,80],[[3,[86]]],[]],[[-1,81],[[3,[86]]],[]],[[-1,42],[[3,[34]]],[]],[[-1,34],[[3,[34]]],[]],[[-1,82],[[3,[86]]],[]],[[-1,52],52,[]],[[-1,25],[[3,[34]]],[]],[[-1,2],2,[]],[[-1,83],[[3,[86]]],[]],[[-1,43],[[3,[34]]],[]],[[-1,75],75,[]],[[-1,23],[[3,[34]]],[]],[[-1,2],2,[]],[[-1,84],84,[]],[[-1,85],[[3,[86]]],[]],[[-1,86],[[3,[86]]],[]],[[-1,71],71,[]],[[-1,45],[[3,[34]]],[]],[[-1,47],[[3,[34]]],[]],[[-1,48],[[3,[34]]],[]],[[-1,24],[[3,[34]]],[]],[[-1,50],[[3,[34]]],[]],[[-1,51],[[3,[34]]],[]],0,0,0,0,0,[[-1,35],[],[]],[[-1,36],[],[]],[[-1,76],3,[]],[[-1,77],3,[]],[[-1,38],[],[]],[[-1,57],3,[]],[[-1,40],[],[]],[[-1,41],[],[]],[[-1,78],3,[]],[[-1,79],3,[]],[[-1,80],3,[]],[[-1,81],3,[]],[[-1,42],[],[]],[[-1,34],[],[]],[[-1,82],3,[]],[[-1,52],3,[]],[[-1,25],[],[]],[[-1,2],3,[]],[[-1,83],3,[]],[[-1,43],[],[]],[[-1,75],3,[]],[[-1,2],3,[]],[[-1,84],3,[]],[[-1,85],3,[]],[[-1,86],3,[]],[[-1,71],3,[]],[[-1,45],[],[]],[[-1,47],[],[]],[[-1,48],[],[]],[[-1,50],[],[]],[[-1,51],[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[2,2],[[-1,-2],3,[],[]],[[],2],[4,-1,[]],[4,-1,[]],[-1,[[14,[2]]],17],[4,3],[[2,2],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[2,6],7],[[2,6],7],[-1,-1,[]],0,[[],4],[-1,-2,[],[]],0,0,0,[[2,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[87,87],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[87]]],17],[4,3],[[87,87],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[87,6],7],[[87,6],7],[-1,-1,[]],[[87,-1],3,26],[[],4],[-1,-2,[],[]],0,0,[[87,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[84,84],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[84]]],17],[4,3],[[84,84],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[84,6],7],[[84,6],7],[-1,-1,[]],0,[[],4],[-1,-2,[],[]],0,0,[[84,-1],14,19],0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[86,86],[[-1,-2],3,[],[]],0,0,0,0,[4,-1,[]],[4,-1,[]],[-1,[[14,[86]]],17],[4,3],[[20,18],86],[[86,86],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[86,6],7],[[86,6],7],[-1,-1,[]],[86,18],[[],4],[-1,-2,[],[]],0,0,[[86,-1],14,19],[[86,18],3],[[86,20],3],[86,20],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[88,88],[76,76],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[88]]],17],[-1,[[14,[76]]],17],[4,3],[4,3],[[88,88],5],[[76,76],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[88,6],7],[[76,6],7],[[76,6],7],[-1,-1,[]],[-1,-1,[]],[76,18],0,[[],4],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[[88,-1],14,19],[[76,-1],14,19],[[76,18],3],[[76,20],3],[76,20],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[77,77],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[77]]],17],[4,3],[[77,77],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[77,6],7],[[77,6],7],[-1,-1,[]],[77,18],0,[[],4],[-1,-2,[],[]],0,[[77,-1],14,19],[[77,18],3],[[77,20],3],[77,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[57,57],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[57]]],17],[4,3],[[57,57],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[57,6],7],[[57,6],7],[-1,-1,[]],[57,18],0,[[],4],[-1,-2,[],[]],[[57,-1],14,19],[[57,18],3],[[57,20],3],[57,20],0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[78,78],[[-1,-2],3,[],[]],0,[4,-1,[]],[4,-1,[]],[-1,[[14,[78]]],17],[4,3],[[78,78],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[78,6],7],[[78,6],7],[-1,-1,[]],[78,18],0,[[],4],[-1,-2,[],[]],0,[[78,-1],14,19],[[78,18],3],[[78,20],3],[78,20],0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[89,89],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[89]]],17],[4,3],[[89,89],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[89,6],7],[[89,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[89,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[79,79],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[79]]],17],[4,3],[[79,79],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[79,6],7],[[79,6],7],[-1,-1,[]],0,[79,18],0,[[],4],[-1,-2,[],[]],[[79,-1],14,19],[[79,18],3],[[79,20],3],[79,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[80,80],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[80]]],17],[4,3],[[80,80],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[80,6],7],[[80,6],7],[-1,-1,[]],[80,18],0,[[],4],[-1,-2,[],[]],0,[[80,-1],14,19],[[80,18],3],[[80,20],3],[80,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[81,81],[[-1,-2],3,[],[]],0,0,[4,-1,[]],[4,-1,[]],[-1,[[14,[81]]],17],[4,3],[[81,81],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[81,6],7],[[81,6],7],[-1,-1,[]],[81,18],0,[[],4],[-1,-2,[],[]],0,[[81,-1],14,19],[[81,18],3],[[81,20],3],[81,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[90,90],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[90]]],17],[4,3],[[90,90],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[90,6],7],[[90,6],7],[-1,-1,[]],[[],4],[-1,-2,[],[]],[[90,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[82,82],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[82]]],17],[4,3],[[82,82],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,[[82,6],7],[[82,6],7],[-1,-1,[]],[82,18],0,[[],4],[-1,-2,[],[]],[[82,-1],14,19],[[82,18],3],[[82,20],3],[82,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[83,83],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[83]]],17],[4,3],[[83,83],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[83,6],7],[[83,6],7],[-1,-1,[]],[83,18],0,0,[[],4],[-1,-2,[],[]],[[83,-1],14,19],[[83,18],3],[[83,20],3],[83,20],0,0,0,0,0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[85,85],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[85]]],17],[4,3],[[85,85],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,[[85,6],7],[[85,6],7],[-1,-1,[]],[85,18],0,[[],4],[-1,-2,[],[]],[[85,-1],14,19],[[85,18],3],[[85,20],3],[85,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[71,71],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[71]]],17],[4,3],[[71,71],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[71,6],7],[[71,6],7],[-1,-1,[]],[71,18],0,0,[[],4],[-1,-2,[],[]],0,0,0,[71,27],[[71,-1],14,19],[[71,18],3],[[71,20],3],[71,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[91,91],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[91]]],17],[4,3],[[91,91],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[91,6],7],[[91,6],7],[-1,-1,[]],[91,18],0,0,[[],4],[-1,-2,[],[]],0,[91,27],[[91,-1],14,19],[[91,18],3],[[91,20],3],[91,20],0,[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],0,0,0,0,0,0,0,[92,61],[-1,-2,[],[]],[-1,-2,[],[]],[92,92],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[92]]],17],[4,3],[92,61],0,[[92,92],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[92,6],7],[[92,6],7],[-1,-1,[]],[[92,-1],3,26],[[],4],[-1,-2,[],[]],[92,4],0,[[61,32],92],[[92,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[93,93],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[4,3],[[93,93],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[-1,-1,[]],[[27,27],[[39,[93]]]],[[],4],[-1,-2,[],[]],[-1,-2,[],[]],[93,61],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[94,94],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[94]]],17],[4,3],[[94,94],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[94,6],7],[[94,6],7],[-1,-1,[]],[[94,-1],3,26],[[],4],[-1,-2,[],[]],[94,5],[[94,-1],14,19],[94,27],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[95,95],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[95]]],17],[4,3],[[95,95],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[95,6],7],[[95,6],7],[-1,-1,[]],[[95,-1],3,26],[[],4],[-1,-2,[],[]],0,[[95,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[96,96],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[96]]],17],[4,3],[96,[[12,[61]]]],0,[[96,96],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[96,6],7],[[96,6],7],[-1,-1,[]],[[96,-1],3,26],[[],4],[-1,-2,[],[]],[96,4],[[[28,[61]]],96],[[96,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[61,61],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[-1,[[14,[61]]],17],[4,3],[[61,61],5],[[61,61],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[61,6],7],[[61,6],7],[-1,-1,[]],[44,61],[44,61],[[61,-1],3,26],[[],4],[-1,-2,[],[]],[[61,-1],14,19],[-1,-2,[],[]],[-1,13,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[44,20],[[9,[44]]]],[[44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[44,44],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[-1,-2,[],[]],[-1,-2,[],[]],[44,44],[[-1,-2],3,[],[]],[4,-1,[]],[4,-1,[]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[4,3],[[44,44,20],[[9,[44]]]],[[44,44],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[44,6],7],[[44,6],7],[-1,-1,[]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],0,0,[[],4],[-1,-2,[],[]],[44,5],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,20],[[9,[44]]]],[[44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[[44,44,20],[[9,[44]]]],[-1,-2,[],[]],[-1,13,[]],[43,[[9,[44]]]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[[44,44,20],[[9,[44]]]]],"c":[],"p":[[3,"Ast",0],[3,"Program",2101],[15,"tuple"],[15,"usize"],[15,"bool"],[3,"Formatter",3006],[6,"Result",3006],[3,"PathBuf",3007],[6,"Result",3008],[15,"str"],[4,"Value",3009],[15,"slice"],[3,"String",3010],[4,"Result",3011],[3,"TypeId",3012],[3,"ArrayAccess",80],[8,"Deserializer",3013],[6,"NodeID",289],[8,"Serializer",3014],[3,"Span",3015],[3,"AssociatedConstant",113],[3,"AssociatedFunction",146],[3,"MemberAccess",180],[3,"TupleAccess",213],[3,"Identifier",252],[8,"Hasher",3016],[3,"Symbol",3017],[3,"Vec",3018],[3,"IndexMap",3019],[3,"NodeBuilder",295],[3,"NodeBuilderInner",295],[3,"NonNegativeNumber",334],[3,"StaticString",367],[4,"Expression",394],[4,"AccessExpression",556],[3,"ArrayExpression",590],[4,"BinaryOperation",622],[3,"BinaryExpression",622],[4,"Option",3020],[3,"CallExpression",712],[3,"CastExpression",746],[3,"ErrExpression",779],[4,"Literal",810],[4,"Value",2934],[3,"StructExpression",847],[3,"StructVariableInitializer",847],[3,"TernaryExpression",915],[3,"TupleExpression",949],[4,"UnaryOperation",981],[3,"UnaryExpression",981],[3,"UnitExpression",1049],[3,"Function",1080],[3,"Annotation",1130],[4,"Variant",1672],[4,"Input",1508],[4,"Output",1606],[3,"Block",2331],[3,"Finalize",1471],[4,"CoreFunction",1162],[3,"External",1436],[4,"Type",2891],[3,"FunctionInput",1508],[4,"Mode",1577],[3,"FunctionOutput",1606],[4,"GroupCoordinate",1700],[4,"GroupLiteral",1729],[3,"GroupTuple",1729],[3,"Definition",1795],[3,"InputData",1823],[3,"InputAst",1823],[3,"Struct",2663],[4,"InputValue",1867],[3,"ProgramInput",1898],[3,"Section",1919],[3,"Mapping",1941],[3,"AssertStatement",2240],[3,"AssignStatement",2298],[3,"ConditionalStatement",2363],[3,"ConsoleStatement",2427],[3,"ConstDeclaration",2459],[3,"DefinitionStatement",2493],[3,"ExpressionStatement",2559],[3,"IterationStatement",2591],[3,"ProgramScope",2159],[3,"ReturnStatement",2630],[4,"Statement",2190],[3,"ProgramId",2131],[4,"AssertVariant",2240],[4,"ConsoleFunction",2399],[4,"DeclarationType",2532],[3,"Member",2699],[3,"ArrayType",2740],[4,"CoreConstant",2772],[4,"IntegerType",2795],[3,"MappingType",2833],[3,"TupleType",2861],[8,"Node",289],[6,"Definitions",1787],[8,"ExpressionConsumer",1978],[8,"StatementConsumer",1978],[8,"FunctionConsumer",1978],[8,"StructConsumer",1978],[8,"ImportConsumer",1978],[8,"MappingConsumer",1978],[8,"ProgramScopeConsumer",1978],[8,"ProgramConsumer",1978],[8,"ExpressionReconstructor",2025],[8,"StatementReconstructor",2025],[8,"ProgramReconstructor",2025],[8,"ExpressionVisitor",2065],[8,"StatementVisitor",2065],[8,"ProgramVisitor",2065]],"b":[[95,"impl-Display-for-ArrayAccess"],[96,"impl-Debug-for-ArrayAccess"],[127,"impl-Debug-for-AssociatedConstant"],[128,"impl-Display-for-AssociatedConstant"],[161,"impl-Display-for-AssociatedFunction"],[162,"impl-Debug-for-AssociatedFunction"],[194,"impl-Debug-for-MemberAccess"],[195,"impl-Display-for-MemberAccess"],[227,"impl-Debug-for-TupleAccess"],[228,"impl-Display-for-TupleAccess"],[266,"impl-Debug-for-Identifier"],[267,"impl-Display-for-Identifier"],[348,"impl-Debug-for-NonNegativeNumber"],[349,"impl-Display-for-NonNegativeNumber"],[351,"impl-From%3CString%3E-for-NonNegativeNumber"],[352,"impl-From%3Cusize%3E-for-NonNegativeNumber"],[382,"impl-Debug-for-StaticString"],[383,"impl-Display-for-StaticString"],[501,"impl-Display-for-Expression"],[502,"impl-Debug-for-Expression"],[575,"impl-Display-for-AccessExpression"],[576,"impl-Debug-for-AccessExpression"],[605,"impl-Display-for-ArrayExpression"],[606,"impl-Debug-for-ArrayExpression"],[680,"impl-Display-for-BinaryOperation"],[681,"impl-Debug-for-BinaryOperation"],[682,"impl-Display-for-BinaryExpression"],[683,"impl-Debug-for-BinaryExpression"],[728,"impl-Display-for-CallExpression"],[729,"impl-Debug-for-CallExpression"],[761,"impl-Display-for-CastExpression"],[762,"impl-Debug-for-CastExpression"],[793,"impl-Display-for-ErrExpression"],[794,"impl-Debug-for-ErrExpression"],[831,"impl-Display-for-Literal"],[832,"impl-Debug-for-Literal"],[877,"impl-Display-for-StructVariableInitializer"],[878,"impl-Debug-for-StructVariableInitializer"],[879,"impl-Display-for-StructExpression"],[880,"impl-Debug-for-StructExpression"],[930,"impl-Display-for-TernaryExpression"],[931,"impl-Debug-for-TernaryExpression"],[964,"impl-Display-for-TupleExpression"],[965,"impl-Debug-for-TupleExpression"],[1021,"impl-Display-for-UnaryExpression"],[1022,"impl-Debug-for-UnaryExpression"],[1063,"impl-Debug-for-UnitExpression"],[1064,"impl-Display-for-UnitExpression"],[1101,"impl-Display-for-Function"],[1102,"impl-Debug-for-Function"],[1144,"impl-Debug-for-Annotation"],[1145,"impl-Display-for-Annotation"],[1450,"impl-Display-for-External"],[1451,"impl-Debug-for-External"],[1486,"impl-Display-for-Finalize"],[1487,"impl-Debug-for-Finalize"],[1538,"impl-Debug-for-Input"],[1539,"impl-Display-for-Input"],[1540,"impl-Debug-for-FunctionInput"],[1541,"impl-Display-for-FunctionInput"],[1595,"impl-Debug-for-Mode"],[1596,"impl-Display-for-Mode"],[1636,"impl-Debug-for-Output"],[1637,"impl-Display-for-Output"],[1638,"impl-Debug-for-FunctionOutput"],[1639,"impl-Display-for-FunctionOutput"],[1718,"impl-Debug-for-GroupCoordinate"],[1719,"impl-Display-for-GroupCoordinate"],[1759,"impl-Display-for-GroupLiteral"],[1760,"impl-Debug-for-GroupLiteral"],[1886,"impl-Debug-for-InputValue"],[1887,"impl-Display-for-InputValue"],[1955,"impl-Debug-for-Mapping"],[1956,"impl-Display-for-Mapping"],[2116,"impl-Debug-for-Program"],[2117,"impl-Display-for-Program"],[2145,"impl-Display-for-ProgramId"],[2146,"impl-Debug-for-ProgramId"],[2174,"impl-Debug-for-ProgramScope"],[2175,"impl-Display-for-ProgramScope"],[2223,"impl-Display-for-Statement"],[2224,"impl-Debug-for-Statement"],[2272,"impl-Debug-for-AssertStatement"],[2273,"impl-Display-for-AssertStatement"],[2312,"impl-Debug-for-AssignStatement"],[2313,"impl-Display-for-AssignStatement"],[2345,"impl-Display-for-Block"],[2346,"impl-Debug-for-Block"],[2378,"impl-Display-for-ConditionalStatement"],[2379,"impl-Debug-for-ConditionalStatement"],[2416,"impl-Display-for-ConsoleFunction"],[2417,"impl-Debug-for-ConsoleFunction"],[2441,"impl-Debug-for-ConsoleStatement"],[2442,"impl-Display-for-ConsoleStatement"],[2473,"impl-Display-for-ConstDeclaration"],[2474,"impl-Debug-for-ConstDeclaration"],[2512,"impl-Debug-for-DefinitionStatement"],[2513,"impl-Display-for-DefinitionStatement"],[2548,"impl-Debug-for-DeclarationType"],[2549,"impl-Display-for-DeclarationType"],[2574,"impl-Display-for-ExpressionStatement"],[2575,"impl-Debug-for-ExpressionStatement"],[2606,"impl-Display-for-IterationStatement"],[2607,"impl-Debug-for-IterationStatement"],[2646,"impl-Display-for-ReturnStatement"],[2647,"impl-Debug-for-ReturnStatement"],[2677,"impl-Display-for-Struct"],[2678,"impl-Debug-for-Struct"],[2713,"impl-Display-for-Member"],[2714,"impl-Debug-for-Member"],[2757,"impl-Display-for-ArrayType"],[2758,"impl-Debug-for-ArrayType"],[2819,"impl-Display-for-IntegerType"],[2820,"impl-Debug-for-IntegerType"],[2847,"impl-Display-for-MappingType"],[2848,"impl-Debug-for-MappingType"],[2877,"impl-Debug-for-TupleType"],[2878,"impl-Display-for-TupleType"],[2920,"impl-Debug-for-Type"],[2921,"impl-Display-for-Type"],[2923,"impl-From%3C%26Value%3E-for-Type"],[2924,"impl-From%3CValue%3E-for-Type"],[2969,"impl-Value"],[2970,"impl-PartialEq-for-Value"],[2975,"impl-Display-for-Value"],[2976,"impl-Debug-for-Value"]]},\ +"leo_compiler":{"doc":"leo-compiler","t":"DDDDDDDLLMMMMLLLLLLMLLLLLLLAMMMLLLLLLLLLLMLLLLLLLLMLLLLLLLLLLMMLLLMMMMMLLLLLLLLLLLLLLMMLMAMMMLMLLMMMLLMMMLLLLLLLLLLLLLLLLLLLLLLMLLLMMMLLMLLLDDDDMMMLLLLLLLMLLLLLLLLLMMLMLLMMLMMMLLLMMMMLMLLLLLLMMLLLDDDMLLLLLLMLLLLLLMMLLLLLLLLLMLLLMLLLLLLMMMMLLLMMMLLLLLLLLLMLLLMMLLL","n":["Ast","BuildOptions","Compiler","CompilerOptions","InputAst","OutputOptions","SymbolTable","as_ref","as_repr","assigner","ast","ast","ast_spans_enabled","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","build","check_shadowing","clone","clone","clone","clone_into","clone_into","clone_into","compiler","compiler_options","dce_ast","dce_enabled","default","default","deref","deref","deref","deref_mut","deref_mut","deref_mut","deserialize","deserialize","destructured_ast","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","flattened_ast","fmt","fmt","fmt","from","from","from","from_json_file","from_json_file","from_json_string","from_json_string","functions","handler","init","init","init","initial_ast","initial_input_ast","initial_symbol_table","inlined_ast","input_ast","insert_block","insert_fn","insert_struct","insert_variable","into","into","into","into_repr","lookup_fn_scope","lookup_fn_symbol","lookup_scope_by_index","lookup_struct","lookup_variable","lookup_variable_mut","main_file_path","network","new","node_builder","options","output","output_directory","parent","program_inputs","program_name","remove_variable_from_current_scope","scope_index","scope_index","scopes","sections","serialize","serialize","ssa_ast","structs","symbol_table_spans_enabled","take_from_value","take_from_value","to_json_file","to_json_file","to_json_file","to_json_file_without_keys","to_json_file_without_keys","to_json_file_without_keys","to_json_string","to_json_string","to_json_value","to_json_value","to_json_value","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_checked_symbol_table","type_id","type_id","type_id","type_table","unrolled_ast","unrolled_symbol_table","variable_in_local_scope","variable_in_parent_scope","variables","vzip","vzip","vzip","Ast","Compiler","InputAst","SymbolTable","assigner","ast","ast","borrow","borrow_mut","checksum","clone","clone_into","code_generation_pass","compile","compiler_options","compiler_stages","dead_code_elimination_pass","deref","deref_mut","destructuring_pass","drop","flattening_pass","from","function_inlining_pass","functions","handler","init","input_ast","into","loop_unrolling_pass","main_file_path","network","new","node_builder","output_directory","parent","parse_input","parse_program","parse_program_from_string","program_name","scope_index","scopes","sections","static_single_assignment_pass","structs","symbol_table_pass","to_owned","try_from","try_into","type_checker_pass","type_id","type_table","variables","vzip","write_ast_to_json","write_symbol_table_to_json","BuildOptions","CompilerOptions","OutputOptions","ast_spans_enabled","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","build","clone","clone","clone","clone_into","clone_into","clone_into","dce_ast","dce_enabled","default","default","default","deref","deref","deref","deref_mut","deref_mut","deref_mut","destructured_ast","drop","drop","drop","flattened_ast","from","from","from","init","init","init","initial_ast","initial_input_ast","initial_symbol_table","inlined_ast","into","into","into","output","ssa_ast","symbol_table_spans_enabled","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_checked_symbol_table","type_id","type_id","type_id","unrolled_ast","unrolled_symbol_table","vzip","vzip","vzip"],"q":[[0,"leo_compiler"],[140,"leo_compiler::compiler"],[196,"leo_compiler::options"],[263,"leo_ast::program"],[264,"leo_span::symbol"],[265,"leo_span::span"],[266,"leo_errors::errors"],[267,"core::result"],[268,"serde::de"],[269,"core::fmt"],[270,"core::fmt"],[271,"leo_ast::functions"],[272,"leo_ast::struct"],[273,"leo_passes::common::symbol_table::variable_symbol"],[274,"core::cell"],[275,"core::option"],[276,"leo_passes::common::symbol_table::function_symbol"],[277,"indexmap::map"],[278,"alloc::string"],[279,"alloc::vec"],[280,"serde::ser"],[281,"serde_json::value"],[282,"core::any"],[283,"leo_errors::errors"],[284,"leo_passes::common::graph"],[285,"leo_span::source_map"]],"d":["The abstract syntax tree (AST) for a Leo program.","","The primary entry point of the Leo compiler.","","A raw unprocessed input or state file data. Used for …","","","","Returns a reference to the inner program AST …","The Assigner is used to construct (unique) assignment …","The AST for the program.","","Whether spans are enabled in the output ASTs.","","","","","","","Build options.","Recursively checks if the symbol table contains an entry …","","","","","","","The compiler for Leo programs.","Options configuring compilation.","If enabled writes the AST after dead code elimination.","Whether to enable dead code elimination.","","","","","","","","","","","If enabled writes the AST after destructuring.","","","","","","","","","If enabled writes the AST after flattening.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Deserializes the JSON string into a symbol table from a …","Deserializes the JSON string into a ast from a file.","Deserializes the JSON string into a symbol table.","Deserializes the JSON string into a ast.","Functions represents the name of each function mapped to …","The handler is used for error and warning emissions.","","","","If enabled writes the AST after parsing.","If enabled writes the input AST after parsing.","","If enabled writes the AST after inlining.","The input ast for the program if it exists.","Creates a new scope for the block and stores it in the …","Inserts a function into the symbol table.","Inserts a struct into the symbol table.","Inserts a variable into the symbol table.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Returns the scope associated with the function symbol, if …","Attempts to lookup a function in the symbol table.","Returns the scope associated with index, if it exists in …","Attempts to lookup a struct in the symbol table.","Attempts to lookup a variable in the symbol table.","Returns a mutable reference to the VariableSymbol if it …","The path to the main leo file.","The network name,","Creates a new AST from a given program tree.","The NodeCounter used to generate sequentially increasing …","","Output options.","The path to where the compiler outputs all generated files.","","Returns all values of the input AST for execution with …","The program name,","Removes a variable from the symbol table.","Returns the current scope index. Increments the scope …","","","","","","If enabled writes the AST after static single assignment.","Maps struct names to struct definitions. This field is …","","","","","Serializes the input into a JSON file.","Serializes the ast into a JSON file.","Serializes the symbol table into a JSON value and removes …","Serializes the Input into a JSON value and removes keys …","Serializes the ast into a JSON value and removes keys from …","Serializes the symbol table into a JSON string.","Serializes the ast into a JSON string.","Converts the symbol table into a JSON value","Serializes the Input into a JSON Value.","","","","","","","","","","","If enabled writes the symbol table after type checking.","","","","The type table.","If enabled writes the AST after loop unrolling.","If enabled writes the symbol table after loop unrolling.","Returns true if the variable exists in the local scope","Returns true if the variable exists in any parent scope","","","","","The abstract syntax tree (AST) for a Leo program.","The primary entry point of the Leo compiler.","A raw unprocessed input or state file data. Used for …","","The Assigner is used to construct (unique) assignment …","The AST for the program.","","","","Returns a SHA256 checksum of the program file.","","","Runs the code generation pass.","Returns a compiled Leo program.","Options configuring compilation.","Runs the compiler stages.","Runs the dead code elimination pass.","","","Runs the destructuring pass.","","Runs the flattening pass.","Returns the argument unchanged.","Runs the function inlining pass.","Functions represents the name of each function mapped to …","The handler is used for error and warning emissions.","","The input ast for the program if it exists.","Calls U::from(self).","Runs the loop unrolling pass.","The path to the main leo file.","The network name,","Returns a new Leo compiler.","The NodeCounter used to generate sequentially increasing …","The path to where the compiler outputs all generated files.","","Parses and stores the input file, constructs a syntax …","Parses and stores the main program file, constructs a …","Parses and stores a program file content from a string, …","The program name,","","","","Runs the static single assignment pass.","Maps struct names to struct definitions. This field is …","Runs the symbol table pass.","","","","Runs the type checker pass.","","The type table.","","","Writes the AST to a JSON file.","Writes the Symbol Table to a JSON file.","","","","Whether spans are enabled in the output ASTs.","","","","","","","Build options.","","","","","","","If enabled writes the AST after dead code elimination.","Whether to enable dead code elimination.","","","","","","","","","","If enabled writes the AST after destructuring.","","","","If enabled writes the AST after flattening.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","If enabled writes the AST after parsing.","If enabled writes the input AST after parsing.","","If enabled writes the AST after inlining.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Output options.","If enabled writes the AST after static single assignment.","","","","","","","","","","","If enabled writes the symbol table after type checking.","","","","If enabled writes the AST after loop unrolling.","If enabled writes the symbol table after loop unrolling.","","",""],"i":[0,0,0,0,0,0,0,1,1,30,30,1,38,3,9,1,3,9,1,35,3,3,9,1,3,9,1,0,30,38,37,3,1,3,9,1,3,9,1,3,9,38,3,9,1,1,1,1,1,1,38,3,9,1,3,9,1,3,1,3,1,3,30,3,9,1,38,38,38,38,30,3,3,3,3,3,9,1,1,3,3,3,3,3,3,30,30,1,30,0,35,30,3,9,30,3,3,3,3,9,3,9,38,3,38,3,9,3,9,1,3,9,1,3,1,3,9,1,3,9,1,3,9,1,3,9,1,38,3,9,1,30,38,38,3,3,3,3,9,1,0,0,0,0,30,30,1,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,3,30,30,30,30,30,30,30,30,30,30,3,30,30,30,30,3,3,9,30,3,30,30,30,30,30,30,30,3,30,30,30,0,0,0,38,35,37,38,35,37,38,35,35,37,38,35,37,38,38,37,35,37,38,35,37,38,35,37,38,38,35,37,38,38,35,37,38,35,37,38,38,38,38,38,35,37,38,35,38,38,35,37,38,35,37,38,35,37,38,38,35,37,38,38,38,35,37,38],"f":[0,0,0,0,0,0,0,[1,2],[1,2],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[3,4,5],[[8,[6,7]]]],[3,3],[9,9],[1,1],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],0,0,0,0,[[],3],[[],1],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[-1,[[8,[3]]],11],[-1,[[8,[9]]],11],0,[10,6],[10,6],[10,6],[[1,1],12],[[-1,-2],12,[],[]],[[-1,-2],12,[],[]],[[-1,-2],12,[],[]],[[-1,-2],12,[],[]],0,[[3,13],[[8,[6,14]]]],[[9,13],[[8,[6,14]]]],[[1,13],[[8,[6,14]]]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[15,[[8,[3,7]]]],[15,[[8,[1,7]]]],[16,[[8,[3,7]]]],[16,[[8,[1,7]]]],0,0,[[],10],[[],10],[[],10],0,0,0,0,0,[3,10],[[3,4,17],[[8,[6,7]]]],[[3,4,18],[[8,[6,7]]]],[[3,4,19],[[8,[6,7]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,2],[[3,4],[[21,[[20,[3]]]]]],[[3,4],[[21,[22]]]],[[3,10],[[21,[[20,[3]]]]]],[[3,4],[[21,[18]]]],[[3,4],[[21,[19]]]],[[3,4],[[21,[19]]]],0,0,[2,1],0,0,0,0,0,[[9,16,[23,[4,18]]],[[25,[24]]]],0,[[3,4],6],[3,10],0,0,0,[[3,-1],8,26],[[9,-1],8,26],0,0,0,[[27,16],[[8,[-1]]],[]],[[27,16],[[8,[-1]]],[]],[[3,15,16],[[8,[6,7]]]],[[9,15,16],[[8,[6,7]]]],[[1,15,16],[[8,[6,7]]]],[[3,15,16,[28,[16]]],[[8,[6,7]]]],[[9,15,16,[28,[16]]],[[8,[6,7]]]],[[1,15,16,[28,[16]]],[[8,[6,7]]]],[3,[[8,[24,7]]]],[1,[[8,[24,7]]]],[3,[[8,[27,7]]]],[9,[[8,[27,7]]]],[1,[[8,[27,7]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],0,[-1,29,[]],[-1,29,[]],[-1,29,[]],0,0,0,[[3,4],12],[[3,4],12],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[30,[[31,[24]]]],[30,30],[[-1,-2],6,[],[]],[[30,3,32,33],[[31,[24]]]],[30,[[31,[[6,[3,24]]]]]],0,[30,[[31,[[6,[3,32,33]]]]]],[30,[[31,[6]]]],[10,-1,[]],[10,-1,[]],[30,[[31,[6]]]],[10,6],[[30,3],[[31,[6]]]],[-1,-1,[]],[[30,33],[[31,[6]]]],0,0,[[],10],0,[-1,-2,[],[]],[[30,3],[[31,[3]]]],0,0,[[24,24,34,15,15,[21,[35]]],30],0,0,0,[[30,15],[[31,[6]]]],[30,[[31,[6]]]],[[30,16,36],[[31,[6]]]],0,0,0,0,[[30,3],[[31,[6]]]],0,[30,[[31,[3]]]],[-1,-2,[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[[30,3],[[31,[[6,[3,32,33]]]]]],[-1,29,[]],0,0,[-1,-2,[],[]],[[30,16],[[31,[6]]]],[[30,16,3],[[31,[6]]]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[35,35],[37,37],[38,38],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],[[-1,-2],6,[],[]],0,0,[[],35],[[],37],[[],38],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],[10,-1,[]],0,[10,6],[10,6],[10,6],0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[],10],[[],10],[[],10],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],[-1,[[8,[-2]]],[],[]],0,[-1,29,[]],[-1,29,[]],[-1,29,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"Ast",0],[3,"Program",263],[3,"SymbolTable",0],[3,"Symbol",264],[3,"Span",265],[15,"tuple"],[4,"LeoError",266],[4,"Result",267],[3,"InputAst",0],[15,"usize"],[8,"Deserializer",268],[15,"bool"],[3,"Formatter",269],[3,"Error",269],[3,"PathBuf",270],[15,"str"],[3,"Function",271],[3,"Struct",272],[3,"VariableSymbol",273],[3,"RefCell",274],[4,"Option",275],[3,"FunctionSymbol",276],[3,"IndexMap",277],[3,"String",278],[3,"Vec",279],[8,"Serializer",280],[4,"Value",281],[15,"slice"],[3,"TypeId",282],[3,"Compiler",140],[6,"Result",266],[6,"StructGraph",283],[6,"CallGraph",283],[3,"Handler",284],[3,"CompilerOptions",196],[4,"FileName",285],[3,"BuildOptions",196],[3,"OutputOptions",196]],"b":[]},\ +"leo_errors":{"doc":"leo-errors","t":"AOAAAAAADRMLLLLMMLLLMLLLLLLMLMLLLLLMLLDMLLLLLLLLLLLLLLLMLLLLLLILKKKKKKDDIGDDDGLLLLLLLLLLLLLLLKLLLLKLLLLMLMLLLLLLLLLLLLMLLLLLLKLLLLLMLLLLLLLLLLLLLLLLLLLLLMLLNNNNNNNNEENNNNNGNALLLLAALLLALLLLLLLLLLLLLLLLLALLAAALLLLLLLLALLAENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLFLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNELLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["common","create_messages","emitter","errors","backtraced","formatted","macros","traits","Backtraced","INDENT","backtrace","borrow","borrow_mut","clone","clone_into","code","code_identifier","default","description","eq","error","error_code","exit_code","fmt","fmt","from","hash","help","into","message","new_from_backtrace","to_owned","to_string","try_from","try_into","type_","type_id","warning_code","Formatted","backtrace","borrow","borrow_mut","clone","clone_into","default","description","eq","error_code","exit_code","fmt","fmt","from","hash","into","new_from_span","span","to_owned","to_string","try_from","try_into","type_id","warning_code","LeoMessageCode","code_identifier","code_mask","error_code","exit_code","is_error","message_type","warning_code","Buffer","BufferEmitter","Emitter","ErrBuffer","Handler","HandlerInner","StderrEmitter","WarningBuffer","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","default","default","emit_err","emit_err","emit_err","emit_err","emit_err","emit_warning","emit_warning","emit_warning","emit_warning","emit_warning","emitter","err_count","err_count","extend_if_error","extract_errs","extract_warnings","fatal_err","fmt","fmt","from","from","from","from","from","had_errors","inner","into","into","into","into","into","into_inner","last_emitted_err_code","last_emitted_err_code","last_emitted_err_code","last_emitted_err_code","last_entry","last_err","last_error_code","new","new","new_with_buf","push","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","warn_count","warning_count","with","Anyhow","AstError","CliError","CompilerError","Err","FlattenError","InputError","LastErrorCode","LeoError","LeoWarning","LoopUnrollerError","Ok","PackageError","ParserError","ParserWarning","Result","TypeCheckerError","ast","borrow","borrow","borrow_mut","borrow_mut","cli","compiler","error_code","error_code","exit_code","flattener","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","input","into","into","loop_unroller","package","parser","source","source","to_string","to_string","try_from","try_from","try_into","try_into","type_checker","type_id","type_id","ast_errors","AstError","Backtraced","Formatted","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","failed_to_convert_ast_to_json_string","failed_to_convert_ast_to_json_value","failed_to_convert_symbol_table_to_json_string","failed_to_convert_symbol_table_to_json_value","failed_to_create_ast_json_file","failed_to_create_symbol_table_json_file","failed_to_read_json_file","failed_to_read_json_string_to_ast","failed_to_read_json_string_to_symbol_table","failed_to_write_ast_to_json_file","failed_to_write_symbol_table_to_json_file","fmt","fmt","from","from","from","into","is_error","message_type","num_exit_codes","shadowed_function","shadowed_record","shadowed_struct","shadowed_variable","source","to_owned","to_string","try_from","try_into","type_id","warning_code","cli_errors","Backtraced","CliError","Formatted","borrow","borrow_mut","cli_io_error","clone","clone_into","code_mask","could_not_fetch_versions","error_code","exit_code","failed_to_enable_ansi_support","failed_to_execute_build","failed_to_execute_deploy","failed_to_execute_execute","failed_to_execute_new","failed_to_execute_node","failed_to_execute_run","failed_to_load_instructions","failed_to_parse_deploy","failed_to_parse_execute","failed_to_parse_new","failed_to_parse_node","failed_to_parse_run","failed_to_parse_seed","failed_to_write_file","fmt","fmt","from","from","from","into","is_error","message_type","needs_leo_build","num_exit_codes","old_release_version","self_update_build_error","self_update_error","source","to_owned","to_string","try_from","try_into","type_id","warning_code","compiler_errors","Backtraced","CompilerError","Formatted","borrow","borrow_mut","cannot_open_cwd","clone","clone_into","code_mask","error_code","exit_code","file_read_error","fmt","fmt","from","from","from","illegal_static_member_assignment","import_not_found","into","is_error","message_type","num_exit_codes","program_name_should_match_file_name","program_scope_name_does_not_match","source","to_owned","to_string","try_from","try_into","type_id","warning_code","flattener_errors","Backtraced","FlattenError","Formatted","binary_overflow","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","fmt","fmt","from","from","from","into","is_error","loop_has_neg_value","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","type_name","unary_overflow","warning_code","input_errors","Backtraced","Formatted","InputError","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","fmt","fmt","from","from","from","illegal_expression","into","is_error","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","unexpected_section","unexpected_type","warning_code","loop_unroller_errors","Backtraced","Formatted","LoopUnrollerError","borrow","borrow_mut","clone","clone_into","code_mask","error_code","exit_code","fmt","fmt","from","from","from","into","is_error","loop_range_decreasing","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","variable_array_access","warning_code","package_errors","Backtraced","Formatted","PackageError","borrow","borrow_mut","clone","clone_into","code_mask","directory_not_found","empty_source_directory","error_code","exit_code","failed_to_create_aleo_file","failed_to_create_directory","failed_to_create_inputs_directory","failed_to_create_source_directory","failed_to_get_file_name","failed_to_get_input_file_entry","failed_to_get_input_file_type","failed_to_get_leo_file_entry","failed_to_get_leo_file_extension","failed_to_initialize_package","failed_to_open_aleo_file","failed_to_open_manifest","failed_to_read_checksum_file","failed_to_read_circuit_file","failed_to_read_file","failed_to_read_input_file","failed_to_read_inputs_directory","failed_to_read_snapshot_file","failed_to_remove_aleo_file","failed_to_remove_checksum_file","failed_to_remove_circuit_file","failed_to_remove_directory","failed_to_remove_snapshot_file","failed_to_set_cwd","failed_to_write_aleo_file","fmt","fmt","from","from","from","into","invalid_input_file_type","invalid_leo_file_extension","invalid_package_name","io_error_checksum_file","io_error_circuit_file","io_error_env_file","io_error_gitignore_file","io_error_input_file","io_error_main_file","is_error","message_type","num_exit_codes","source","source_directory_can_contain_only_one_file","to_owned","to_string","try_from","try_into","type_id","warning_code","parser_errors","parser_warnings","Backtraced","Formatted","ParserError","array_must_have_at_least_one_element","async_finalize_is_deprecated","borrow","borrow_mut","circuit_is_deprecated","clone","clone_into","code_mask","console_statements_are_not_yet_supported","could_not_lex","error_code","exit_code","finalize_statements_are_deprecated","fmt","fmt","from","from","from","implicit_values_not_allowed","inputs_multiple_variable_modes_specified","into","invalid_address_lit","invalid_associated_access","invalid_import_list","invalid_method_call","invalid_network","is_error","leo_imports_only","lexer_bidi_override","lexer_block_comment_does_not_close_before_eof","lexer_empty_block_comment","lexer_empty_input","lexer_expected_valid_escaped_char","lexer_hex_number_provided","lexer_string_not_closed","message_type","missing_program_scope","mixed_commas_and_semicolons","num_exit_codes","only_one_program_scope_is_allowed","source","space_in_annotation","spread_in_array_init","to_owned","to_string","try_from","try_into","tuple_index_must_be_whole_number","tuple_must_have_at_least_two_elements","type_id","unexpected","unexpected_eof","unexpected_ident","unexpected_statement","unexpected_str","unexpected_token","unexpected_whitespace","warning_code","Backtraced","Formatted","ParserWarning","borrow","borrow_mut","clone","clone_into","code_mask","const_parameter_or_input","deprecated","error_code","exit_code","fmt","fmt","from","from","from","into","is_error","message_type","num_exit_codes","source","to_owned","to_string","try_from","try_into","type_id","warning_code","type_checker_error","Backtraced","Formatted","TypeCheckerError","array_element_cannot_be_record","array_element_cannot_be_tuple","array_empty","array_too_large","assign_unit_expression_to_variable","borrow","borrow_mut","can_only_call_inline_function","cannot_assign_to_const_input","cannot_assign_to_const_var","cannot_call_external_inline_function","cannot_have_constant_output_mode","cannot_invoke_call_to_local_transition_function","clone","clone_into","code_mask","compare_address","composite_data_type_cannot_contain_tuple","const_declaration_can_only_have_one_binding","const_declaration_must_be_literal_or_tuple_of_literals","core_type_name_conflict","could_not_determine_type","cyclic_function_dependency","cyclic_struct_dependency","duplicate_record_variable","duplicate_struct_member","error_code","exit_code","expected_one_type_of","expression_statement_must_be_function_call","finalize_block_must_not_be_empty","finalize_cannot_output_record","finalize_cannot_return_value","finalize_cannot_take_record_as_input","finalize_cannot_take_tuple_as_input","finalize_in_finalize","finalize_input_mode_must_be_public","finalize_name_mismatch","finalize_output_mode_must_be_public","finalize_statement_cannot_contain_tuples","finalize_without_finalize_block","fmt","fmt","from","from","from","function_cannot_output_record","function_cannot_take_tuple_as_input","function_has_no_return","imported_program_cannot_import_program","incorrect_num_args_to_call","incorrect_num_args_to_finalize","incorrect_num_struct_members","incorrect_num_tuple_elements","incorrect_tuple_length","into","invalid_assignment_target","invalid_associated_constant","invalid_block_access","invalid_core_constant","invalid_core_function","invalid_core_function_call","invalid_int_value","invalid_mapping_type","invalid_operation_inside_finalize","invalid_operation_outside_finalize","invalid_self_access","invalid_struct_variable","invalid_tuple","invalid_type","is_error","lhs_must_be_identifier_or_tuple","lhs_tuple_element_must_be_an_identifier","loop_body_contains_finalize","loop_body_contains_return","loop_bound_must_be_a_literal","loop_bound_must_be_literal_or_const","loop_bound_type_mismatch","loop_range_decreasing","message_type","missing_finalize","missing_return","missing_struct_member","nested_tuple_expression","nested_tuple_type","num_exit_codes","only_transition_functions_can_have_finalize","operation_must_be_in_finalize_block","record_var_wrong_type","regular_function_inputs_cannot_have_modes","required_record_variable","source","strings_are_not_supported","struct_cannot_have_member_mode","struct_or_record_cannot_contain_record","to_owned","to_string","too_many_mappings","too_many_transitions","transition_function_inputs_cannot_be_const","try_from","try_into","tuple_out_of_range","type_id","type_should_be","undefined_type","unit_expression_only_in_return_statements","unknown_annotation","unknown_sym","unreachable_code_after_return","warning_code"],"q":[[0,"leo_errors"],[4,"leo_errors::common"],[8,"leo_errors::common::backtraced"],[38,"leo_errors::common::formatted"],[62,"leo_errors::common::traits"],[70,"leo_errors::emitter"],[156,"leo_errors::errors"],[218,"leo_errors::errors::ast"],[219,"leo_errors::errors::ast::ast_errors"],[260,"leo_errors::errors::cli"],[261,"leo_errors::errors::cli::cli_errors"],[308,"leo_errors::errors::compiler"],[309,"leo_errors::errors::compiler::compiler_errors"],[341,"leo_errors::errors::flattener"],[342,"leo_errors::errors::flattener::flattener_errors"],[372,"leo_errors::errors::input"],[373,"leo_errors::errors::input::input_errors"],[402,"leo_errors::errors::loop_unroller"],[403,"leo_errors::errors::loop_unroller::loop_unroller_errors"],[431,"leo_errors::errors::package"],[432,"leo_errors::errors::package::package_errors"],[495,"leo_errors::errors::parser"],[497,"leo_errors::errors::parser::parser_errors"],[558,"leo_errors::errors::parser::parser_warnings"],[586,"leo_errors::errors::type_checker"],[587,"leo_errors::errors::type_checker::type_checker_error"],[701,"alloc::string"],[702,"core::fmt"],[703,"core::fmt"],[704,"core::option"],[705,"backtrace::capture"],[706,"alloc::string"],[707,"core::any"],[708,"leo_span::span"],[709,"core::convert"],[710,"core::fmt"],[711,"alloc::boxed"],[712,"core::ops::function"],[713,"anyhow"],[714,"core::error"],[715,"std::fs"]],"d":["Contains the common functionalities for defining errors..","A macro that given an enum, exit code mask, error code …","Contains traits and types for channels through which …","Contains the errors and warnings for the Leo lang.","This module contains a backtraced error and its methods.","This module contains a formatted error and its methods.","This module contains the macros for making errors easily.","This module contains traits for making errors easily.","Backtraced compiler ouput type undefined value x –> …","The indent for an error message.","The backtrace representing where the error occured in Leo.","","","","","The error exit code.","The error leading digits identifier.","","","","Is this Backtrace a warning or error?","Gets a unique error identifier.","Gets the backtraced error exit code.","","","Returns the argument unchanged.","","The error help message if it exists.","Calls U::from(self).","The error message.","Creates a backtraced error from a backtrace.","","","","","The characters representing the type of error.","","Gets a unique warning identifier.","Formatted compiler error type undefined value x –> …","The backtrace to track where the Leo error originated.","","","","","","","","Returns an error identifier.","Calls the backtraces error exit code.","","","Returns the argument unchanged.","","Calls U::from(self).","Creates a backtraced error from a span and a backtrace.","The formatted error span information.","","","","","","Returns an warning identifier.","MessageCode trait that all Errors should implement.","The LeoErrorCode which has a default code identifier of 037","Returns the messages’s exit code mask, as to avoid …","Returns the prefixed error identifier.","Returns the error’s exit code for the program.","Returns if the message is an error or warning.","Returns the message’s code type for the program.","Returns the prefixed warning identifier.","A buffer of Ts.","An Emitter that collects into a list.","Types that are sinks for compiler errors.","A buffer of LeoErrors.","A handler deals with errors and other compiler output.","Contains the actual data for Handler. Modelled this way to …","A trivial Emitter using the standard error.","A buffer of LeoWarnings.","","","","","","","","","","","","","","","","Emit the error err.","","Emit the error err.","Emit the error err.","","Emit the warning.","","Emit the error err.","Emit the error err.","","The sink through which errors will be emitted.","The number of errors thus far.","Number of errors emitted thus far.","Extend handler with error given res = Err(error).","Extracts all the errors collected in this emitter.","Extracts all the errors collected in this emitter.","Emits the error err. This will immediately abort …","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Did we have any errors thus far?","The inner handler. RefCell is used here to avoid &mut all …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Extract the underlying list of Ts.","Tracks last emitted error.","","Gets the last emitted error’s exit code.","","Last entry to the buffer.","Gets the last emitted error’s exit code if it exists. …","Exit code of the last emitted error.","Construct a Handler using the given emitter.","Returns a new buffered emitter.","Construct a Handler that will append to buf.","Push x to the buffer.","","","","","","","","","","","","","","","","","","Number of warnings emitted thus far.","The number of warnings thus far.","Runs logic provided a handler that collects all errors …","Anyhow errors.","Represents an AST Error in a Leo Error.","Represents an CLI Error in a Leo Error.","Represents an Compiler Error in a Leo Error.","Contains the error value","Represents a Flatten Error in a Leo Error.","Represents an Input Error in a Leo Error.","Purely for just exiting with the correct status code and …","The LeoError type that contains all sub error types. This …","The LeoWarning type that contains all sub error types. …","Represents a Loop Unroller Error in a Leo Error.","Contains the success value","Represents an Package Error in a Leo Error.","Represents an Parser Error in a Leo Error.","Represents an Parser Error in a Leo Error.","A global result type for all Leo crates, that defaults the …","Represents a Type Checker Error in a Leo Error.","Contains the AST error definitions.","","","","","Contains the CLI error definitions.","Contains the Compiler error definitions.","Implement error code for each type of Error.","Implement warning code for each type of Warning.","Implement exit code for each type of Error.","Contains the Flattener error definitions.","","","","","","","","","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","Contains the Input error definitions.","Calls U::from(self).","Calls U::from(self).","","Contains the Package error definitions.","Contains the Parser error definitions.","","","","","","","","","Contains the Type Checker error definitions.","","","This module contains the AST error definitions.","AstError enum that represents all the errors for the …","","","","","","","","","","For when the AST fails to be represented as a JSON string.","For when the AST fails to be represented as a JSON value.","For when the symbol table fails to be represented as a …","For when the symbol table fails to be represented as a …","For when the AST fails to create the AST JSON file.","For when the symbol table fails to create the symbol table …","For when the a JSON files fails to be represented as an …","For when the a JSON string fails to be represented as an …","For when the a JSON string fails to be represented as an …","For when the AST fails to write the AST JSON file.","For when the symbol table fails to write the symbol table …","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","For when a user shadows a function.","For when a user shadows a record.","For when a user shadows a struct.","For when a user shadows a variable.","","","","","","","","This module contains the CLI error definitions.","","CliError enum that represents all the errors for the …","","","","For when the CLI experiences an IO error.","","","","For when the CLI could not fetch the versions.","","","For when the CLI fails to enable ansi support.","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","For when the CLI has an old release version.","For when the CLI fails to self update.","For when the CLI fails to self update.","","","","","","","","This module contains the Compiler error definitions.","","CompilerError enum that represents all the errors for the …","","","","","","","","","","For when the compiler can’t read a file from the …","","","","Returns the argument unchanged.","","For when a user tries to assign to a struct static member.","","Calls U::from(self).","","","","","","","","","","","","","This module contains the Flattener error definitions.","","CliError enum that represents all the errors for the …","","For when a constant operation would cause an overflow.","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","For when a loop uses a negative value.","","","","","","","","","Generates the type name of a value.","For when a constant operation would cause an overflow.","","This module contains the Input error definitions.","","","InputError enum that represents all the errors for the …","","","","","","","","","","Returns the argument unchanged.","","","For when the expression is not allowed in an input file.","Calls U::from(self).","","","","","","","","","","For when section name is not an allowed one.","For when declared variable type mismatches actual type.","","This module contains the Input error definitions.","","","LoopUnrollerError enum that represents all the errors for …","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","This module contains the Package error definitions.","","","PackageError enum that represents all the errors for the …","","","","","","For when opening a directory failed.","","","","","For when creating a directory failed.","For when creating the inputs directory failed.","For when creating the source directory failed.","","For when getting a input file entry failed.","For when getting the input file type failed.","For when getting a Leo file entry failed.","For when getting the source file extension failed.","For when the package failed to initalize.","","","For when reading the checksum file failed.","For when reading the struct file failed.","For when file could not be read.","For when reading the input file failed.","For when reading the input directory failed.","For when reading the snapshot file failed.","","For when removing the checksum file failed.","For when removing the struct file failed.","For when removing a directory failed.","For when removing the snapshot file failed.","","","","","Returns the argument unchanged.","","","Calls U::from(self).","For when getting the input file has an invalid file type.","For when the Leo file has an invalid extension.","For when the package has an invalid name.","For when the checksum file has an IO error.","For when the struct file has an IO error.","For when the environment file has an IO error.","For when the gitignore file has an IO error.","For when the input file has an IO error.","For when the main file has an IO error.","","","","","","","","","","","","This module contains the Parser error definitions.","This module contains the Parser warning definitions.","","","ParserError enum that represents all the errors for the …","","","","","","","","","","When the lexer could not lex some text.","","","","","","","Returns the argument unchanged.","","When the user tries to pass an implicit value.","For when a user specified more than one mode on a …","Calls U::from(self).","For when the parser encountered an invalid address literal.","","For when the parser encountered an empty import list.","Parsed an unknown method call on the type of an expression.","","","","For when the lexer encountered a bidi override character","When a block comment is not closed before end of file.","When a block comment is empty.","When more input was expected but not found.","When an integer is started with a leading zero.","When a hex number is provided.","When a string is not properly closed.","","","For when the parser encountered a mix of commas and …","","","","","For when the parser encountered an unexpected spread in an …","","","","","Enforce that tuple index must not have leading 0, or …","","","For when the parser encountered an unexpected list of …","For when the parser encountered an unexpected End of File.","For when the parser encountered an unexpected identifier.","For when the parser encountered an unexpected statement.","For when the parser encountered an unexpected string.","For when the parser encountered an unexpected token.","For when the parser encountered an unexpected whitespace.","","","","ParserWarning enum that represents all the warnings for …","","","","","","For when a user used const on a parameter or input instead …","For when a keyword is deprecated but could be used as a …","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","This module contains the Input error definitions.","","","InputError enum that represents all the errors for the …","","","","","","","","","For when the user tries to assign to a const input.","For when the user tries to assign to a const input.","","","","","","","","","","","For when a struct is created with the same name as a core …","For when the type checker cannot determine the type of an …","","","Attempted to define more that one record variable with the …","Attempted to define more that one struct member with the …","","","For when one of the following types was expected.","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","For when a function doesn’t have a return statement.","","For when the user tries calls a function with the …","","For when the user tries initialize a struct with the …","","","Calls U::from(self).","For when the parser encountered an invalid assignment …","A call to an invalid associated constant is made e.g., …","For when an invalid field of block is called.","For when an invalid core constant is called.","For when an invalid core function is used.","An invalid access call is made e.g., `SHA256::hash()","For when an integer is not in a valid range.","","","","","Attempted to access an invalid struct variable.","","","","","","","","","","","","","","","For when the user is missing a struct member during …","","","","","","","","","","","","","","","","","","","","","","For when the user tries to assign to a const input.","Attempted to access an invalid struct.","","","For when the user tries to return a unknown variable.","",""],"i":[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,0,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,22,23,19,20,18,22,23,19,20,18,18,18,19,20,18,34,22,23,19,18,34,22,23,19,18,23,19,23,19,18,18,19,20,20,22,23,19,20,18,19,19,22,23,19,20,18,20,34,22,23,18,20,19,22,19,18,19,20,18,20,22,23,19,20,18,22,23,19,20,18,22,23,19,20,18,23,19,19,21,21,21,21,51,21,21,21,0,0,21,51,21,21,25,0,21,0,21,25,21,25,0,0,21,25,21,0,21,21,25,25,21,21,21,21,21,21,21,21,21,21,21,25,25,0,21,25,0,0,0,21,25,21,25,21,25,21,25,0,21,25,0,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,0,42,0,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,0,36,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,0,41,0,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,0,41,41,0,43,43,0,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,0,38,38,0,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,0,37,37,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,0,0,44,44,0,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,46,46,0,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,0,39,39,0,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39],"f":[0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[[-1,-2],2,[],[]],0,0,[[],1],[1,3],[[1,1],4],0,[1,5],[1,6],[[1,7],8],[[1,7],8],[-1,-1,[]],[[1,-1],2,9],0,[-1,-2,[],[]],0,[[-1,[10,[5]],6,11,5,4,12],1,13],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],[1,5],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[16,16],[[-1,-2],2,[],[]],[[],16],[16,3],[[16,16],4],[16,5],[16,6],[[16,7],8],[[16,7],8],[-1,-1,[]],[[16,-1],2,9],[-1,-2,[],[]],[[-1,[10,[5]],6,11,5,4,17,12],16,13],0,[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[16,5],0,[[],11],[[],6],[-1,5,[]],[-1,6,[]],[[],4],[[],5],[-1,5,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[18,18],[[-1,-2],2,[],[]],[[],19],[[],[[20,[-1]]],[]],[[],18],[[-1,21],2,[]],[[22,21],2],[[23,21],2],[[19,-1],2,[[24,[21]]]],[[18,21],2],[[-1,25],2,[]],[[22,25],2],[[23,25],2],[[19,25],2],[[18,25],2],0,[19,26],0,[[19,[14,[-1,21]]],[[14,[-1,2]]],[]],[18,27],[18,28],[[19,21],29],[[[20,[-1]],7],8,30],[[[20,[-1]],7],8,31],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[19,4],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[20,[-1]]],[[32,[-1]]],[]],[-1,[[10,[6]]],[]],[22,[[10,[6]]]],[23,[[10,[6]]]],[18,[[10,[6]]]],[[[20,[-1]]],[[10,[-1]]],[]],[19,[[14,[2,[33,[21]]]]]],0,[[[33,[34]]],19],[[],18],[[],[[2,[19,18]]]],[[[20,[-1]],-1],2,[]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,15,[]],[-1,15,[]],[-1,15,[]],[-1,15,[]],0,[19,26],[-1,[[14,[-2,27]]],35,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[21,5],[25,5],[21,6],0,[[21,7],8],[[21,7],8],[[25,7],8],[[25,7],8],[36,21],[37,21],[38,21],[39,21],[40,21],[41,21],[42,21],[-1,-1,[]],[43,21],[44,21],[45,21],[-1,-1,[]],[46,25],0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[21,[[10,[47]]]],[25,[[10,[47]]]],[-1,5,[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],0,[-1,15,[]],[-1,15,[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[40,40],[[-1,-2],2,[],[]],[[],6],[40,5],[40,6],[-1,40,47],[-1,40,47],[-1,40,47],[-1,40,47],[[-1,-2],40,30,47],[[-1,-2],40,30,47],[[-1,-2],40,30,47],[-1,40,47],[-1,40,47],[[-1,-2],40,30,47],[[-1,-2],40,30,47],[[40,7],8],[[40,7],8],[-1,-1,[]],[1,40],[16,40],[-1,-2,[],[]],[[],4],[[],5],[[],6],[[-1,17],40,31],[[-1,17],40,31],[[-1,17],40,31],[[-1,17],40,31],[40,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[40,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,42,47],[42,42],[[-1,-2],2,[],[]],[[],6],[-1,42,47],[42,5],[42,6],[[],42],[-1,42,31],[-1,42,31],[-1,42,31],[-1,42,31],[-1,42,31],[-1,42,31],[-1,42,31],[-1,42,31],[-1,42,31],[-1,42,31],[-1,42,31],[-1,42,31],[-1,42,31],[-1,42,31],[[42,7],8],[[42,7],8],[16,42],[-1,-1,[]],[1,42],[-1,-2,[],[]],[[],4],[[],5],[[],42],[[],6],[[-1,-2],42,31,31],[-1,42,47],[-1,42,47],[42,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[42,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[-1,17],36,47],[36,36],[[-1,-2],2,[],[]],[[],6],[36,5],[36,6],[[-1,-2],36,30,47],[[36,7],8],[[36,7],8],[1,36],[-1,-1,[]],[16,36],[[-1,17],36,31],[[-1,17],36,31],[-1,-2,[],[]],[[],4],[[],5],[[],6],[[-1,-2,17],36,31,31],[[-1,-2,17],36,31,31],[36,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[36,5],0,0,0,0,[[-1,-2,-3,-4,17],41,31,31,31,31],[-1,-2,[],[]],[-1,-2,[],[]],[41,41],[[-1,-2],2,[],[]],[[],6],[41,5],[41,6],[[41,7],8],[[41,7],8],[16,41],[-1,-1,[]],[1,41],[-1,-2,[],[]],[[],4],[[-1,17],41,31],[[],5],[[],6],[41,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[-1,3,[]],[[-1,-2,17],41,31,31],[41,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[43,43],[[-1,-2],2,[],[]],[[],6],[43,5],[43,6],[[43,7],8],[[43,7],8],[-1,-1,[]],[1,43],[16,43],[[-1,17],43,31],[-1,-2,[],[]],[[],4],[[],5],[[],6],[43,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[[[48,[-1]],-2,17],43,31,31],[[-1,-2,17],43,31,31],[43,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[38,38],[[-1,-2],2,[],[]],[[],6],[38,5],[38,6],[[38,7],8],[[38,7],8],[16,38],[1,38],[-1,-1,[]],[-1,-2,[],[]],[[],4],[17,38],[[],5],[[],6],[38,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[17,38],[38,5],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[37,37],[[-1,-2],2,[],[]],[[],6],[[-1,-2],37,31,31],[[],37],[37,5],[37,6],[-1,37,31],[[-1,-2],37,31,47],[-1,37,47],[-1,37,47],[[],37],[-1,37,47],[[-1,-2],37,30,47],[-1,37,47],[-1,37,30],[[-1,-2],37,31,30],[-1,37,31],[-1,37,31],[-1,37,30],[-1,37,30],[[-1,-2],37,31,47],[-1,37,30],[-1,37,47],[-1,37,30],[-1,37,31],[-1,37,30],[-1,37,30],[[-1,-2],37,31,47],[-1,37,30],[[-1,-2],37,31,47],[-1,37,31],[[37,7],8],[[37,7],8],[-1,-1,[]],[1,37],[16,37],[-1,-2,[],[]],[[-1,49],37,30],[[-1,-2],37,30,30],[-1,37,31],[-1,37,47],[-1,37,47],[-1,37,47],[-1,37,47],[-1,37,47],[-1,37,47],[[],4],[[],5],[[],6],[37,[[10,[47]]]],[[],37],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[37,5],0,0,0,0,0,[[-1,17],44,31],[17,44],[-1,-2,[],[]],[-1,-2,[],[]],[17,44],[44,44],[[-1,-2],2,[],[]],[[],6],[17,44],[-1,44,31],[44,5],[44,6],[17,44],[[44,7],8],[[44,7],8],[1,44],[-1,-1,[]],[16,44],[[-1,17],44,31],[17,44],[-1,-2,[],[]],[[-1,17],44,31],[[-1,17],44,31],[17,44],[[-1,-2,-3,17],44,31,31,31],[17,44],[[],4],[17,44],[[],44],[-1,44,31],[[],44],[[],44],[-1,44,31],[-1,44,31],[-1,44,31],[[],5],[17,44],[17,44],[[],6],[17,44],[44,[[10,[47]]]],[17,44],[17,44],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[[-1,17],44,31],[[-1,17],44,31],[-1,15,[]],[[-1,-2,17],44,31,31],[17,44],[[-1,[48,[-2]],17],44,31,31],[[-1,-2,17],44,31,31],[[-1,-2,17],44,31,31],[[-1,17],44,31],[[-1,-2,17],44,31,31],[44,5],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[46,46],[[-1,-2],2,[],[]],[[],6],[17,46],[[-1,-2,17],46,31,31],[46,5],[46,6],[[46,7],8],[[46,7],8],[16,46],[-1,-1,[]],[1,46],[-1,-2,[],[]],[[],4],[[],5],[[],6],[46,[[10,[47]]]],[-1,-2,[],[]],[-1,5,[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,15,[]],[46,5],0,0,0,0,[17,39],[17,39],[17,39],[[-1,-2,17],39,31,31],[17,39],[-1,-2,[],[]],[-1,-2,[],[]],[17,39],[[-1,17],39,31],[[-1,17],39,31],[17,39],[17,39],[17,39],[39,39],[[-1,-2],2,[],[]],[[],6],[[-1,17],39,31],[[-1,17],39,31],[17,39],[17,39],[[-1,17],39,31],[[-1,17],39,31],[[[32,[-1]]],39,31],[[[32,[-1]]],39,31],[[-1,17],39,31],[[-1,17],39,31],[39,5],[39,6],[[-1,-2,17],39,31,31],[17,39],[17,39],[17,39],[17,39],[17,39],[17,39],[17,39],[17,39],[[-1,-2,17],39,31,31],[17,39],[17,39],[17,39],[[39,7],8],[[39,7],8],[16,39],[1,39],[-1,-1,[]],[17,39],[17,39],[[-1,17],39,31],[17,39],[[-1,-2,17],39,31,31],[[-1,-2,17],39,31,31],[[-1,-2,17],39,31,31],[[-1,-2,17],39,31,31],[[-1,-2,17],39,31,31],[-1,-2,[],[]],[17,39],[[-1,17],39,31],[17,39],[[-1,-2,17],39,31,31],[[-1,-2,17],39,31,31],[[-1,17],39,31],[[-1,-2,17],39,31,31],[[-1,-2,17],39,31,31],[[-1,17],39,31],[[-1,17],39,31],[17,39],[[-1,-2,17],39,31,31],[17,39],[[-1,17],39,31],[[],4],[17,39],[17,39],[17,39],[17,39],[17,39],[17,39],[17,39],[17,39],[[],5],[17,39],[17,39],[[-1,-2,17],39,31,31],[17,39],[17,39],[[],6],[17,39],[17,39],[[-1,-2,17],39,31,31],[17,39],[[-1,-2,17],39,31,31],[39,[[10,[47]]]],[17,39],[17,39],[[-1,-2,17],39,31,31],[-1,-2,[],[]],[-1,5,[]],[[-1,17],39,31],[[-1,17],39,31],[17,39],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[[-1,-2,17],39,31,31],[-1,15,[]],[[-1,-2,17],39,31,31],[[-1,17],39,31],[17,39],[[-1,17],39,31],[[-1,-2,17],39,31,31],[17,39],[39,5]],"c":[],"p":[[3,"Backtraced",8],[15,"tuple"],[15,"str"],[15,"bool"],[3,"String",701],[15,"i32"],[3,"Formatter",702],[6,"Result",702],[8,"Hasher",703],[4,"Option",704],[15,"i8"],[3,"Backtrace",705],[8,"ToString",701],[4,"Result",706],[3,"TypeId",707],[3,"Formatted",38],[3,"Span",708],[3,"BufferEmitter",70],[3,"Handler",70],[3,"Buffer",70],[4,"LeoError",156],[3,"StderrEmitter",70],[3,"HandlerInner",70],[8,"Into",709],[4,"LeoWarning",156],[15,"usize"],[6,"ErrBuffer",70],[6,"WarningBuffer",70],[15,"never"],[8,"Debug",702],[8,"Display",702],[3,"Vec",710],[3,"Box",711],[8,"Emitter",70],[8,"FnOnce",712],[4,"CompilerError",309],[4,"PackageError",432],[4,"LoopUnrollerError",403],[4,"TypeCheckerError",587],[4,"AstError",219],[4,"FlattenError",342],[4,"CliError",261],[4,"InputError",373],[4,"ParserError",497],[3,"Error",713],[4,"ParserWarning",558],[8,"Error",714],[15,"slice"],[3,"FileType",715],[8,"LeoMessageCode",62],[6,"Result",156]],"b":[[23,"impl-Debug-for-Backtraced"],[24,"impl-Display-for-Backtraced"],[49,"impl-Display-for-Formatted"],[50,"impl-Debug-for-Formatted"],[110,"impl-Debug-for-Buffer%3CT%3E"],[111,"impl-Display-for-Buffer%3CT%3E"],[184,"impl-Display-for-LeoError"],[185,"impl-Debug-for-LeoError"],[186,"impl-Debug-for-LeoWarning"],[187,"impl-Display-for-LeoWarning"],[188,"impl-From%3CCompilerError%3E-for-LeoError"],[189,"impl-From%3CPackageError%3E-for-LeoError"],[190,"impl-From%3CLoopUnrollerError%3E-for-LeoError"],[191,"impl-From%3CTypeCheckerError%3E-for-LeoError"],[192,"impl-From%3CAstError%3E-for-LeoError"],[193,"impl-From%3CFlattenError%3E-for-LeoError"],[194,"impl-From%3CCliError%3E-for-LeoError"],[196,"impl-From%3CInputError%3E-for-LeoError"],[197,"impl-From%3CParserError%3E-for-LeoError"],[198,"impl-From%3CError%3E-for-LeoError"],[240,"impl-Debug-for-AstError"],[241,"impl-Display-for-AstError"],[243,"impl-From%3CBacktraced%3E-for-AstError"],[244,"impl-From%3CFormatted%3E-for-AstError"],[288,"impl-Debug-for-CliError"],[289,"impl-Display-for-CliError"],[290,"impl-From%3CFormatted%3E-for-CliError"],[292,"impl-From%3CBacktraced%3E-for-CliError"],[321,"impl-Display-for-CompilerError"],[322,"impl-Debug-for-CompilerError"],[323,"impl-From%3CBacktraced%3E-for-CompilerError"],[325,"impl-From%3CFormatted%3E-for-CompilerError"],[353,"impl-Display-for-FlattenError"],[354,"impl-Debug-for-FlattenError"],[355,"impl-From%3CFormatted%3E-for-FlattenError"],[357,"impl-From%3CBacktraced%3E-for-FlattenError"],[383,"impl-Display-for-InputError"],[384,"impl-Debug-for-InputError"],[386,"impl-From%3CBacktraced%3E-for-InputError"],[387,"impl-From%3CFormatted%3E-for-InputError"],[413,"impl-Debug-for-LoopUnrollerError"],[414,"impl-Display-for-LoopUnrollerError"],[415,"impl-From%3CFormatted%3E-for-LoopUnrollerError"],[416,"impl-From%3CBacktraced%3E-for-LoopUnrollerError"],[469,"impl-Display-for-PackageError"],[470,"impl-Debug-for-PackageError"],[472,"impl-From%3CBacktraced%3E-for-PackageError"],[473,"impl-From%3CFormatted%3E-for-PackageError"],[513,"impl-Display-for-ParserError"],[514,"impl-Debug-for-ParserError"],[515,"impl-From%3CBacktraced%3E-for-ParserError"],[517,"impl-From%3CFormatted%3E-for-ParserError"],[570,"impl-Display-for-ParserWarning"],[571,"impl-Debug-for-ParserWarning"],[572,"impl-From%3CFormatted%3E-for-ParserWarning"],[574,"impl-From%3CBacktraced%3E-for-ParserWarning"],[631,"impl-Debug-for-TypeCheckerError"],[632,"impl-Display-for-TypeCheckerError"],[633,"impl-From%3CFormatted%3E-for-TypeCheckerError"],[634,"impl-From%3CBacktraced%3E-for-TypeCheckerError"]]},\ +"leo_lang":{"doc":"Table of Contents","t":"AEDDDDIGEDNQNDNQDRNNDAKAAAMAMMAMMMMMMMMMMMMMMMMMAAFAMMMAMMMAMMMKMMAFAAMMMMENNMMMMDMDNNDNENNNNNLLLLLLLLLLMLLMLLLLLLLLLLLLLLLFLLLLLMMFLLLLLLLLLLLLMMMMMMMMCCDCICCQCQCCAKLLLLAALLLLLLLLMMMMMMMMMMMMMMMAALLLLLLLLLLLAMKALLLLLLALLLENNLLLLLLLLLLLLLLLLLLFLLLLLLFMMMMDLLLLLLLFLLLLLLLLLLLMLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLLENNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLMLLLMLLLLLLMLLMLLLLLLLDLLLLLLLLLLLLLLLLLLMLLLLLLLDLLLLLLLMLLLLLLLLLMLLMLLLLLLLDLLLLLLLLLLLLLLLLLMLLMLLLLLLDMENNNDMMMMAAADLLLLLLLLLLLLLMLLLLLDHMLLLLLLLMMMMLLMLLLFLMLLLLLLLLLLLLSSSDLLLLLLLLLLLLLLLLDMMMMMMFMDMDMMMDMMD","n":["cli","Account","Build","BuildOptions","CLI","Clean","Command","CurrentNetwork","Example","Execute","Import","Input","Lottery","New","New","Output","Run","SNARKVM_COMMAND","TicTacToe","Token","Update","account","apply","build","clean","cli","command","commands","compiler_options","compiler_options","context","debug","enable_all_ast_snapshots","enable_ast_spans","enable_dce","enable_dce_ast_snapshot","enable_destructured_ast_snapshot","enable_flattened_ast_snapshot","enable_initial_ast_snapshot","enable_initial_input_ast_snapshot","enable_initial_symbol_table_snapshot","enable_inlined_ast_snapshot","enable_ssa_ast_snapshot","enable_symbol_table_spans","enable_type_checked_symbol_table_snapshot","enable_unrolled_ast_snapshot","enable_unrolled_symbol_table_snapshot","endpoint","example","execute","handle_error","helpers","inputs","inputs","list","logger","name","name","name","new","offline","options","path","prelude","quiet","quiet","run","run_with_args","update","updater","private_key","seed","write","write","Account","Import","New","private_key","seed","write","write","Build","options","Clean","Account","Build","CLI","Clean","Commands","Example","Execute","New","Run","Update","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","borrow","borrow_mut","borrow_mut","command","command","command","command_for_update","command_for_update","debug","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","from","from","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","group_id","handle_error","has_subcommand","init","init","into","into","path","quiet","run_with_args","try_from","try_from","try_into","try_into","type_id","type_id","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","vzip","vzip","command","command","command","command","command","command","command","command","Account","Build","BuildOptions","Clean","Command","Example","Execute","Input","New","Output","Run","Update","account","apply","augment_args","augment_args_for_update","borrow","borrow_mut","build","clean","clone","clone_into","command","command_for_update","default","deref","deref_mut","drop","enable_all_ast_snapshots","enable_ast_spans","enable_dce","enable_dce_ast_snapshot","enable_destructured_ast_snapshot","enable_flattened_ast_snapshot","enable_initial_ast_snapshot","enable_initial_input_ast_snapshot","enable_initial_symbol_table_snapshot","enable_inlined_ast_snapshot","enable_ssa_ast_snapshot","enable_symbol_table_spans","enable_type_checked_symbol_table_snapshot","enable_unrolled_ast_snapshot","enable_unrolled_symbol_table_snapshot","example","execute","execute","execute","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","log_span","log_span","new","offline","prelude","run","to_owned","try_execute","try_execute","try_from","try_into","type_id","update","update_from_arg_matches","update_from_arg_matches_mut","vzip","Account","Import","New","apply","augment_subcommands","augment_subcommands_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","has_subcommand","init","into","prelude","print_keys","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","write_to_env_file","private_key","seed","write","write","Build","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","compile_leo_file","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","log_span","options","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Clean","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","log_span","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Example","Lottery","TicTacToe","Token","apply","augment_subcommands","augment_subcommands_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","has_subcommand","init","input_file_string","into","main_file_string","name","prelude","readme_file_string","run_file_string","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Execute","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","compiler_options","deref","deref_mut","drop","endpoint","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","inputs","into","log_span","name","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","New","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","log_span","name","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Run","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","compiler_options","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","inputs","into","log_span","name","prelude","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Update","apply","augment_args","augment_args_for_update","borrow","borrow_mut","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","group_id","init","into","list","log_span","prelude","quiet","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Context","path","Example","Lottery","TicTacToe","Token","Execute","compiler_options","endpoint","inputs","name","context","logger","updater","Context","borrow","borrow_mut","clone","clone_into","deref","deref_mut","dir","drop","from","init","into","new","open_manifest","path","to_owned","try_from","try_into","type_id","vzip","Format","START","ansi","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","display_level","display_target","display_thread_id","display_thread_name","drop","fmt","format","format_event","from","init","init_logger","into","timer","to_owned","try_from","try_into","type_id","vzip","with_ansi","with_level","with_target","with_thread_ids","with_thread_names","with_timer","without_time","LEO_BIN_NAME","LEO_REPO_NAME","LEO_REPO_OWNER","Updater","borrow","borrow_mut","deref","deref_mut","drop","from","init","into","print_cli","show_available_releases","try_from","try_into","type_id","update_available","update_to_latest_release","vzip","Format","ansi","display_level","display_target","display_thread_id","display_thread_name","format","init_logger","timer","New","name","Run","compiler_options","inputs","name","Update","list","quiet","Updater"],"q":[[0,"leo_lang"],[1,"leo_lang::cli"],[70,"leo_lang::cli::Account"],[74,"leo_lang::cli::account"],[77,"leo_lang::cli::account::Account"],[81,"leo_lang::cli::build"],[83,"leo_lang::cli::clean"],[84,"leo_lang::cli::cli"],[144,"leo_lang::cli::cli::Commands"],[152,"leo_lang::cli::commands"],[222,"leo_lang::cli::commands::account"],[251,"leo_lang::cli::commands::account::Account"],[255,"leo_lang::cli::commands::build"],[283,"leo_lang::cli::commands::clean"],[309,"leo_lang::cli::commands::example"],[342,"leo_lang::cli::commands::execute"],[372,"leo_lang::cli::commands::new"],[399,"leo_lang::cli::commands::run"],[428,"leo_lang::cli::commands::update"],[456,"leo_lang::cli::context"],[458,"leo_lang::cli::example"],[462,"leo_lang::cli::execute"],[467,"leo_lang::cli::helpers"],[470,"leo_lang::cli::helpers::context"],[490,"leo_lang::cli::helpers::logger"],[525,"leo_lang::cli::helpers::updater"],[545,"leo_lang::cli::logger"],[554,"leo_lang::cli::new"],[556,"leo_lang::cli::run"],[560,"leo_lang::cli::update"],[563,"leo_lang::cli::updater"],[564,"leo_errors::errors"],[565,"core::marker"],[566,"clap_builder::builder::command"],[567,"core::fmt"],[568,"core::fmt"],[569,"clap_builder"],[570,"core::result"],[571,"clap_builder::util::id"],[572,"core::option"],[573,"core::any"],[574,"tracing::span"],[575,"snarkvm_console_network::testnet3"],[576,"snarkvm_console_account::private_key"],[577,"std::path"],[578,"std::path"],[579,"leo_errors::emitter"],[580,"leo_span::symbol"],[581,"leo_ast::struct"],[582,"indexmap::map"],[583,"alloc::string"],[584,"snarkvm::file::manifest"],[585,"core::clone"],[586,"tracing_subscriber::fmt::format"],[587,"tracing_subscriber::fmt::time"],[588,"core::fmt"],[589,"tracing_subscriber::fmt::format"],[590,"tracing_subscriber::fmt::time"],[591,"tracing_subscriber::registry"],[592,"tracing_subscriber::fmt::format"]],"d":["","Commands to manage Aleo accounts.","Compile and build program command.","Compiler Options wrapper for Build command. Also used by …","CLI Arguments entry point - includes global parameters and …","Clean outputs folder command","Base trait for the Leo CLI, see methods and their …","","The example programs that can be generated.","Build, Prove and Run Leo program with inputs","Derive an Aleo account from a private key.","If the current command requires running another command …","","Create new Leo project","Generates a new Aleo account","Defines the output of this command, which may be used as …","Build, Prove and Run Leo program with inputs","","","","Update Leo to the latest version","","Runs the main operation of this command. This function is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Lists all available versions of Leo","","","","","","","","","Runs the prelude and returns the Input of the current …","","Suppress outputs to terminal","","Run command with custom build arguments.","","","Private key plaintext","Seed the RNG with a numeric value.","Write the private key to the .env file.","Write the private key to the .env file.","Commands to manage Aleo accounts.","Derive an Aleo account from a private key.","Generates a new Aleo account","Private key plaintext","Seed the RNG with a numeric value.","Write the private key to the .env file.","Write the private key to the .env file.","Compile and build program command.","","Clean outputs folder command","","","CLI Arguments entry point - includes global parameters and …","","Leo compiler and package manager","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","","","Run command with custom build arguments.","","","","","","","","","","","","","","","","","","","","","","","Compiler Options wrapper for Build command. Also used by …","","Base trait for the Leo CLI, see methods and their …","","","If the current command requires running another command …","","Defines the output of this command, which may be used as …","","","","Runs the main operation of this command. This function is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A wrapper around the apply method. This function sets up …","A wrapper around the apply method. This function sets up …","","Returns the argument unchanged.","","","","","Calls U::from(self).","Adds a span to the logger via tracing::span. Because of …","Adds a span to the logger via tracing::span. Because of …","","","Runs the prelude and returns the Input of the current …","","","Executes command but empty the result. Comes in handy …","Executes command but empty the result. Comes in handy …","","","","","","","","Commands to manage Aleo accounts.","Derive an Aleo account from a private key.","Generates a new Aleo account","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","","Private key plaintext","Seed the RNG with a numeric value.","Write the private key to the .env file.","Write the private key to the .env file.","Compile and build program command.","","","","","","","","Compiles a Leo file in the src/ directory.","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","","Clean outputs folder command","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","The example programs that can be generated.","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","","","Build, Prove and Run Leo program with inputs","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","Create new Leo project","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","","Build, Prove and Run Leo program with inputs","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","Update Leo to the latest version","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","Lists all available versions of Leo","","","Suppress outputs to terminal","","","","","","","Project context, manifest, current directory etc All the …","Path at which the command is called, None when default","The example programs that can be generated.","","","","Build, Prove and Run Leo program with inputs","","","","","","","","Project context, manifest, current directory etc All the …","","","","","","","Returns the path to the Leo package.","","Returns the argument unchanged.","","Calls U::from(self).","","Returns the package name as a String. Opens the manifest …","Path at which the command is called, None when default","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Initialize logger with custom format and verbosity.","Calls U::from(self).","","","","","","","Enable ANSI terminal colors for formatted output.","Sets whether or not an event’s level is displayed.","Sets whether or not an event’s target is displayed.","Sets whether or not the thread ID of the current thread is …","Sets whether or not the name of the current thread is …","Use the given timer for log message timestamps.","Do not emit timestamps with log messages.","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","Display the CLI message, if the Leo configuration allows.","Show all available releases for leo.","","","","Check if there is an available update for leo and return …","Update leo to the latest release.","","","","","","","","","Initialize logger with custom format and verbosity.","","Create new Leo project","","Build, Prove and Run Leo program with inputs","","","","Update Leo to the latest version","Lists all available versions of Leo","Suppress outputs to terminal",""],"i":[0,0,0,0,0,0,0,0,0,0,21,53,33,0,21,53,0,0,33,33,0,0,53,0,0,0,4,0,35,37,0,4,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,35,0,0,0,0,35,37,38,0,35,36,37,0,19,24,4,53,4,38,0,0,0,0,54,55,55,54,0,21,21,54,55,55,54,0,24,0,10,10,0,10,0,10,10,10,10,10,4,4,10,10,4,10,4,10,4,10,4,4,10,4,4,10,4,10,4,10,4,10,4,10,4,10,4,10,4,0,10,4,10,4,10,4,4,0,4,10,4,10,4,10,4,10,4,10,4,10,56,57,58,59,60,61,62,63,0,0,0,0,0,0,0,53,0,53,0,0,0,53,19,19,19,19,0,0,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,0,0,53,53,19,19,19,19,19,19,19,53,53,0,19,53,0,19,53,53,19,19,19,0,19,19,19,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,21,21,21,21,21,21,0,54,55,55,54,0,24,24,24,24,24,24,24,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,0,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,0,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,0,1,0,33,33,33,0,35,35,35,35,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,64,64,64,0,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,0,40,40,40,40,40,40,0,40,0,36,0,37,37,37,0,38,38,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,3],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[[2,[-1]]],-1,[]],0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,3],0,0,0,[4,[[2,[5]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[6,6],[6,6],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],0,[[],6],[[],6],0,[7,-1,[]],[7,-1,[]],[7,-1,[]],[7,-1,[]],[7,5],[7,5],[[4,8],9],[[10,8],9],[-1,-1,[]],[-1,-1,[]],[11,[[13,[4,12]]]],[11,[[13,[10,12]]]],[11,[[13,[4,12]]]],[11,[[13,[10,12]]]],[[],[[15,[14]]]],[[[2,[-1]]],-1,[]],[16,17],[[],7],[[],7],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[4,[[2,[5]]]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[-1,18,[]],[[4,11],[[13,[5,12]]]],[[10,11],[[13,[5,12]]]],[[4,11],[[13,[5,12]]]],[[10,11],[[13,[5,12]]]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,3],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[19,19],[[-1,-2],5,[],[]],[[],6],[[],6],[[],19],[7,-1,[]],[7,-1,[]],[7,5],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,3],[[-1,1],2,3],[[19,8],9],[-1,-1,[]],[11,[[13,[19,12]]]],[11,[[13,[19,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],[-1,20,[]],[-1,20,[]],0,0,[[-1,1],2,3],0,[-1,-2,[],[]],[[-1,1],[[2,[5]]],3],[[-1,1],[[2,[5]]],3],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],0,[[19,11],[[13,[5,12]]]],[[19,11],[[13,[5,12]]]],[-1,-2,[],[]],0,0,0,[[21,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[21,8],9],[-1,-1,[]],[11,[[13,[21,12]]]],[11,[[13,[21,12]]]],[16,17],[[],7],[-1,-2,[],[]],[[21,1],2],[[[23,[22]]],[[2,[5]]]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[21,11],[[13,[5,12]]]],[[21,11],[[13,[5,12]]]],[-1,-2,[],[]],[[[23,[22]],1],[[2,[5]]]],0,0,0,0,0,[[24,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[[25,26,[27,[22]],26,26,28,19,17],[[2,[[31,[29,30]]]]]],[7,-1,[]],[7,-1,[]],[7,5],[[24,8],9],[-1,-1,[]],[11,[[13,[24,12]]]],[11,[[13,[24,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],[24,20],0,[[24,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[24,11],[[13,[5,12]]]],[[24,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[32,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[32,8],9],[-1,-1,[]],[11,[[13,[32,12]]]],[11,[[13,[32,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],[32,20],[[32,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[32,11],[[13,[5,12]]]],[[32,11],[[13,[5,12]]]],[-1,-2,[],[]],0,0,0,0,[[33,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[33,8],9],[-1,-1,[]],[11,[[13,[33,12]]]],[11,[[13,[33,12]]]],[16,17],[[],7],[33,34],[-1,-2,[],[]],[33,34],[33,34],[[33,1],2],[33,34],[33,34],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[33,11],[[13,[5,12]]]],[[33,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[35,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],0,[7,-1,[]],[7,-1,[]],[7,5],0,[[35,8],9],[-1,-1,[]],[11,[[13,[35,12]]]],[11,[[13,[35,12]]]],[[],[[15,[14]]]],[[],7],0,[-1,-2,[],[]],[35,20],0,[[35,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[35,11],[[13,[5,12]]]],[[35,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[36,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[36,8],9],[-1,-1,[]],[11,[[13,[36,12]]]],[11,[[13,[36,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],[36,20],0,[[36,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[36,11],[[13,[5,12]]]],[[36,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[37,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],0,[7,-1,[]],[7,-1,[]],[7,5],[[37,8],9],[-1,-1,[]],[11,[[13,[37,12]]]],[11,[[13,[37,12]]]],[[],[[15,[14]]]],[[],7],0,[-1,-2,[],[]],[37,20],0,[[37,1],2],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[37,11],[[13,[5,12]]]],[[37,11],[[13,[5,12]]]],[-1,-2,[],[]],0,[[38,1],2],[6,6],[6,6],[-1,-2,[],[]],[-1,-2,[],[]],[[],6],[[],6],[7,-1,[]],[7,-1,[]],[7,5],[[38,8],9],[-1,-1,[]],[11,[[13,[38,12]]]],[11,[[13,[38,12]]]],[[],[[15,[14]]]],[[],7],[-1,-2,[],[]],0,[38,20],[[38,1],2],0,[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[38,11],[[13,[5,12]]]],[[38,11],[[13,[5,12]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,1],[[-1,-2],5,[],[]],[7,-1,[]],[7,-1,[]],[1,[[2,[25]]]],[7,5],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[[15,[25]]],[[2,[1]]]],[1,[[2,[[39,[22]]]]]],0,[-1,-2,[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[[40,[-1,-2]]],[[40,[-1,-2]]],41,41],[[-1,-2],5,[],[]],[[],[[40,[42,43]]]],[7,-1,[]],[7,-1,[]],0,0,0,0,[7,5],[[[40,[-1,-2]],8],9,44,44],0,[[[40,[42,-1]],[45,[-2,-3]],46,47],9,48,[49,50],51],[-1,-1,[]],[[],7],[[16,7],[[2,[5]]]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[-1,-2,[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],17],[[40,[-1,-2]]],[],[]],[[[40,[-1,-2]],-3],[[40,[-1,-3]]],[],[],[]],[[[40,[-1,-2]]],[[40,[-1,5]]],[],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[7,5],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[],5],[[],[[2,[34]]]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,18,[]],[[],[[2,[34]]]],[17,[[2,[52]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,[[16,7],[[2,[5]]]],0,0,0,0,0,0,0,0,0,0,0],"c":[],"p":[[3,"Context",470],[6,"Result",564],[8,"Sized",565],[3,"CLI",84],[15,"tuple"],[3,"Command",566],[15,"usize"],[3,"Formatter",567],[6,"Result",567],[4,"Commands",84],[3,"ArgMatches",568],[6,"Error",569],[4,"Result",570],[3,"Id",571],[4,"Option",572],[15,"str"],[15,"bool"],[3,"TypeId",573],[3,"BuildOptions",152],[3,"Span",574],[4,"Account",222],[3,"Testnet3",575],[3,"PrivateKey",576],[3,"Build",255],[3,"PathBuf",577],[3,"Path",577],[3,"ProgramID",578],[3,"Handler",579],[3,"Symbol",580],[3,"Struct",581],[3,"IndexMap",582],[3,"Clean",283],[4,"Example",309],[3,"String",583],[3,"Execute",342],[3,"New",372],[3,"Run",399],[3,"Update",428],[3,"Manifest",584],[3,"Format",490],[8,"Clone",585],[3,"Full",586],[3,"SystemTime",587],[8,"Debug",567],[3,"FmtContext",588],[3,"Writer",586],[3,"Event",589],[8,"FormatTime",587],[8,"Subscriber",590],[8,"LookupSpan",591],[8,"FormatFields",586],[4,"Status",592],[8,"Command",152],[13,"Import",251],[13,"New",251],[13,"Account",144],[13,"New",144],[13,"Example",144],[13,"Build",144],[13,"Clean",144],[13,"Run",144],[13,"Execute",144],[13,"Update",144],[3,"Updater",525]],"b":[]},\ +"leo_package":{"doc":"leo-package","t":"HAAAAAFAAAHDLLLLLLLLLLLLLLLAHDLLLLLLLLLLLLLLLLAAHDLLLLLLLLLLFLLLLHDLLLLLLLLLLLLMLLLLLLLLLHAAAAHNNNEDNLLLLLLLLLLLLLLLLLLLLLMLLMLLLLLLLLLLLLHDLLLLLLLLLLLMLLLLLLLLLHDLLLLLLLLLLLMLLLLLLLLLHDLLLLLLLLLLLLLLDMLLLLLMLLLLLLLLMMLLLLLMLAAHDMLLMLLLLLLLLLLLLLLLLLLHDLLLLLLLLLLLLLLLLLLLAAHDLLLLLLLLLLLLLLLHDLLLLLLLLLLLLMLLLLLLL","n":["LEO_FILE_EXTENSION","build","imports","inputs","outputs","package","parse_file_paths","root","source","directory","BUILD_DIRECTORY_NAME","BuildDirectory","borrow","borrow_mut","create","deref","deref_mut","drop","from","init","into","open","remove","try_from","try_into","type_id","vzip","directory","IMPORTS_DIRECTORY_NAME","ImportsDirectory","borrow","borrow_mut","create","deref","deref_mut","drop","files","from","init","into","is_empty","remove","try_from","try_into","type_id","vzip","directory","input","INPUTS_DIRECTORY_NAME","InputsDirectory","borrow","borrow_mut","create","deref","deref_mut","drop","files","from","init","into","parse_file_paths","try_from","try_into","type_id","vzip","INPUT_FILE_EXTENSION","InputFile","borrow","borrow_mut","deref","deref_mut","deserialize","drop","exists_at","filename","from","init","into","new","package_name","read_from","setup_file_path","take_from_value","template","try_from","try_into","type_id","vzip","write_to","MAIN_ALEO_FILE_NAME","ast_snapshot","checksum","circuit","directory","AST_SNAPSHOT_FILE_EXTENSION","Canonicalization","ImportsResolved","Initial","Snapshot","SnapshotFile","TypeInference","borrow","borrow","borrow_mut","borrow_mut","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","exists_at","fmt","from","from","init","init","into","into","new","package_name","read_from","remove","snapshot","snapshot_file_path","take_from_value","take_from_value","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","CHECKSUM_FILE_EXTENSION","ChecksumFile","borrow","borrow_mut","deref","deref_mut","deserialize","drop","exists_at","from","init","into","new","package_name","read_from","remove","setup_file_path","take_from_value","try_from","try_into","type_id","vzip","write_to","CIRCUIT_FILE_EXTENSION","CircuitFile","borrow","borrow_mut","deref","deref_mut","deserialize","drop","exists_at","from","init","into","new","package_name","read_from","remove","setup_file_path","take_from_value","try_from","try_into","type_id","vzip","write_to","OUTPUTS_DIRECTORY_NAME","OutputsDirectory","borrow","borrow_mut","create","deref","deref_mut","drop","from","init","into","remove","try_from","try_into","type_id","vzip","Package","_phantom","borrow","borrow_mut","can_initialize","deref","deref_mut","description","deserialize","drop","from","init","initialize","into","is_initialized","is_package_name_valid","license","name","new","take_from_value","try_from","try_into","type_id","version","vzip","env","gitignore","ENV_FILENAME","Env","_phantom","borrow","borrow_mut","data","default","deref","deref_mut","deserialize","drop","exists_at","from","from","init","into","new","take_from_value","template","try_from","try_into","type_id","vzip","write_to","GITIGNORE_FILENAME","Gitignore","borrow","borrow_mut","default","deref","deref_mut","deserialize","drop","exists_at","from","init","into","new","take_from_value","template","try_from","try_into","type_id","vzip","write_to","directory","main","SOURCE_DIRECTORY_NAME","SourceDirectory","borrow","borrow_mut","check_files","create","deref","deref_mut","drop","files","from","init","into","try_from","try_into","type_id","vzip","MAIN_FILENAME","MainFile","borrow","borrow_mut","deref","deref_mut","deserialize","drop","exists_at","filename","from","init","into","new","package_name","take_from_value","template","try_from","try_into","type_id","vzip","write_to"],"q":[[0,"leo_package"],[9,"leo_package::build"],[10,"leo_package::build::directory"],[27,"leo_package::imports"],[28,"leo_package::imports::directory"],[46,"leo_package::inputs"],[48,"leo_package::inputs::directory"],[65,"leo_package::inputs::input"],[89,"leo_package::outputs"],[94,"leo_package::outputs::ast_snapshot"],[138,"leo_package::outputs::checksum"],[161,"leo_package::outputs::circuit"],[184,"leo_package::outputs::directory"],[200,"leo_package::package"],[225,"leo_package::root"],[227,"leo_package::root::env"],[251,"leo_package::root::gitignore"],[272,"leo_package::source"],[274,"leo_package::source::directory"],[291,"leo_package::source::main"],[313,"std::fs"],[314,"std::path"],[315,"alloc::vec"],[316,"leo_errors::errors"],[317,"std::path"],[318,"core::result"],[319,"core::any"],[320,"serde::de"],[321,"alloc::borrow"],[322,"serde_json::value"],[323,"core::fmt"],[324,"core::fmt"],[325,"core::default"]],"d":["","","","","","","","","","","","","","","Creates a directory at the provided path with the default …","","","","Returns the argument unchanged.","","Calls U::from(self).","Returns the path to the build directory if it exists.","Removes the directory at the provided path.","","","","","","","","","","Creates a directory at the provided path with the default …","","","","Returns a list of files in the imports directory.","Returns the argument unchanged.","","Calls U::from(self).","Returns true if the imports directory does not exist or …","Removes the directory at the provided path.","","","","","","The program.in file.","","","","","Creates a directory at the provided path with the default …","","","","Returns a list of files in the input directory.","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","Reads the program input variables from the given file path …","","","","","","","","Writes the standard input format to a file.","","The serialized struct output file.","The build checksum file.","The serialized struct output file.","","","","","","Enum to handle all 3 types of snapshots.","Generic Snapshot file wrapper. Each package can have up to …","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","Reads the serialized struct from the given file path if it …","Removes the serialized struct at the given path if it …","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","Reads the checksum from the given file path if it exists.","Removes the checksum at the given path if it exists. …","","","","","","","Writes the given checksum to a file.","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","Reads the serialized struct from the given file path if it …","Removes the serialized struct at the given path if it …","","","","","","","Writes the given serialized struct to a file.","","","","","Creates a directory at the provided path with the default …","","","","Returns the argument unchanged.","","Calls U::from(self).","Removes the directory at the provided path.","","","","","","","","","Returns true if a package is can be initialized at a given …","","","","","","Returns the argument unchanged.","","Creates a Leo package at the given path","Calls U::from(self).","Returns true if a package is initialized at the given path","Returns true if the package name is valid.","","","","","","","","","","The .env file.","The .gitignore file.","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","The main.leo file.","","","","","Check that the files in the source directory are valid.","Creates a directory at the provided path with the default …","","","","Returns a list of files in the source directory.","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,0,0,0,0,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,0,0,0,17,17,17,0,0,17,17,18,17,18,17,18,17,18,17,18,17,18,18,17,17,18,17,18,17,18,18,18,18,18,18,18,17,18,17,17,18,17,18,17,18,17,18,0,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,0,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,0,0,33,33,33,33,33,33,33,33,33,33,33,33,33,33,0,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,0,0,0,0,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,0,0,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,0,0,0,0,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,0,0,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29],"f":[0,0,0,0,0,0,[[1,[3,[2]]],[[5,[4]]]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[6,[[5,[2]]]],[7,-1,[]],[7,-1,[]],[7,4],[-1,-1,[]],[[],7],[-1,-2,[],[]],[6,[[5,[2]]]],[6,[[5,[8]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[6,[[5,[2]]]],[7,-1,[]],[7,-1,[]],[7,4],[6,[[5,[[3,[2]]]]]],[-1,-1,[]],[[],7],[-1,-2,[],[]],[6,[[5,[11]]]],[6,[[5,[8]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[6,[[5,[4]]]],[7,-1,[]],[7,-1,[]],[7,4],[6,[[5,[[3,[2]]]]]],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[1,[3,[2]]],[[5,[4]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[12]]],13],[7,4],[[12,6],11],[12,8],[-1,-1,[]],[[],7],[-1,-2,[],[]],[14,12],0,[[12,6],[[5,[[4,[8,[15,[6]]]]]]]],[[12,6],[[15,[6]]]],[[16,14],[[9,[-1]]],[]],[12,8],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[12,6],[[5,[4]]]],0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[17]]],13],[-1,[[9,[18]]],13],[7,4],[7,4],[[18,6],11],[[17,19],20],[-1,-1,[]],[-1,-1,[]],[[],7],[[],7],[-1,-2,[],[]],[-1,-2,[],[]],[[14,17],18],0,[[18,6],[[5,[8]]]],[[18,6],[[5,[11]]]],0,[[18,6],[[15,[6]]]],[[16,14],[[9,[-1]]],[]],[[16,14],[[9,[-1]]],[]],[-1,8,[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[21]]],13],[7,4],[[21,6],11],[-1,-1,[]],[[],7],[-1,-2,[],[]],[14,21],0,[[21,6],[[5,[8]]]],[[21,6],[[5,[11]]]],[[21,6],[[15,[6]]]],[[16,14],[[9,[-1]]],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[21,6,8],[[5,[4]]]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[22]]],13],[7,4],[[22,6],11],[-1,-1,[]],[[],7],[-1,-2,[],[]],[14,22],0,[[22,6],[[5,[8]]]],[[22,6],[[5,[11]]]],[[22,6],[[15,[6]]]],[[16,14],[[9,[-1]]],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[22,6,8],[[5,[4]]]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[6,[[5,[2]]]],[7,-1,[]],[7,-1,[]],[7,4],[-1,-1,[]],[[],7],[-1,-2,[],[]],[6,[[5,[8]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[14,6],11],[7,-1,[]],[7,-1,[]],0,[-1,[[9,[[23,[-2]]]]],13,24],[7,4],[-1,-1,[]],[[],7],[[14,6],[[5,[4]]]],[-1,-2,[],[]],[[14,6],11],[14,11],0,0,[14,[[5,[[23,[-1]]]]],24],[[16,14],[[9,[-1]]],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,[[],[[25,[-1]]],[26,24]],[7,-1,[]],[7,-1,[]],[-1,[[9,[[25,[-2]]]]],13,24],[7,4],[6,11],[8,[[25,[-1]]],24],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[],[[5,[[25,[-1]]]]],24],[[16,14],[[9,[-1]]],[]],[[],[[5,[8]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[[25,[-1]],6],[[5,[4]]],24],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[],27],[7,-1,[]],[7,-1,[]],[-1,[[9,[27]]],13],[7,4],[6,11],[-1,-1,[]],[[],7],[-1,-2,[],[]],[[],27],[[16,14],[[9,[-1]]],[]],[27,8],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[27,6],[[5,[4]]]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[[28,[2]]],[[5,[4]]]],[6,[[5,[4]]]],[7,-1,[]],[7,-1,[]],[7,4],[6,[[5,[[3,[2]]]]]],[-1,-1,[]],[[],7],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[7,-1,[]],[7,-1,[]],[-1,[[9,[29]]],13],[7,4],[6,11],[[],8],[-1,-1,[]],[[],7],[-1,-2,[],[]],[14,29],0,[[16,14],[[9,[-1]]],[]],[29,8],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],[[29,6],[[5,[4]]]]],"c":[],"p":[[3,"ReadDir",313],[3,"PathBuf",314],[3,"Vec",315],[15,"tuple"],[6,"Result",316],[3,"Path",314],[15,"usize"],[3,"String",317],[4,"Result",318],[3,"TypeId",319],[15,"bool"],[3,"InputFile",65],[8,"Deserializer",320],[15,"str"],[4,"Cow",321],[4,"Value",322],[4,"Snapshot",94],[3,"SnapshotFile",94],[3,"Formatter",323],[6,"Result",323],[3,"ChecksumFile",138],[3,"CircuitFile",161],[3,"Package",200],[8,"Network",324],[3,"Env",227],[8,"Default",325],[3,"Gitignore",251],[15,"slice"],[3,"MainFile",291],[3,"BuildDirectory",10],[3,"ImportsDirectory",28],[3,"InputsDirectory",48],[3,"OutputsDirectory",184],[3,"SourceDirectory",274]],"b":[]},\ +"leo_parser":{"doc":"The parser to convert Leo code text into an [AST] type.","t":"RFFAAAAAAFFAARDMLLLLLLLLMLLLLLLLLLLLLLMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLMLLLLLLRFRRCAAFFDLLLLLLLLLFFLLLLLFLMLLLMLLLLNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNNRNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["KEYWORD_TOKENS","parse_ast","parse_program_inputs","parser","tokenizer","context","expression","file","input","parse","parse_input","statement","type_","DUMMY_EOF","ParserContext","allow_identifier_underscores","bin_expr","borrow","borrow_mut","bump","check","check_int","deref","deref_mut","disallow_struct_construction","drop","eat","eat_any","eat_bin_op","eat_group_partial","eat_identifier","eat_whole_number","emit_err","emit_warning","expect","expect_any","expect_identifier","from","handler","has_next","init","into","look_ahead","mk_ident_prev","new","node_builder","parse_additive_expression","parse_annotation","parse_array_expression","parse_assert_statement","parse_assign_statement","parse_associated_access_expression","parse_bin_expr","parse_bitwise_and_expression","parse_bitwise_exclusive_or_expression","parse_bitwise_inclusive_or_expression","parse_block","parse_boolean_and_expression","parse_boolean_or_expression","parse_bracket_comma_list","parse_cast_expression","parse_conditional_expression","parse_conditional_statement","parse_console_statement","parse_const_declaration_statement","parse_definition_statement","parse_equality_expression","parse_exponential_expression","parse_expr_tuple","parse_expression","parse_function","parse_function_output","parse_import","parse_input","parse_input_definition","parse_input_file","parse_list","parse_loop_statement","parse_mapping","parse_member_variable_declaration","parse_method_call_expression","parse_mode","parse_multiplicative_expression","parse_ordering_expression","parse_output","parse_paren_comma_list","parse_postfix_expression","parse_primary_expression","parse_primitive_type","parse_program","parse_program_scope","parse_return_statement","parse_section","parse_shift_expression","parse_statement","parse_struct","parse_struct_init_expression","parse_struct_member","parse_struct_members","parse_tuple_expression","parse_type","parse_typed_ident","parse_unary_expression","peek_group_coordinate","peek_is_external","peek_is_left_par","prev_token","token","token_to_int_type","tokens","try_from","try_into","type_id","unexpected","unexpected_item","vzip","INT_TYPES","assert_no_whitespace","ASSIGN_TOKENS","TYPE_TOKENS","KEYWORD_TOKENS","lexer","token","tokenize","tokenize_iter","SpannedToken","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","dummy","eat_identifier","ensure_no_bidi_override","fmt","fmt","from","init","into","is_bidi_override","serialize","span","take_from_value","to_owned","to_string","token","try_from","try_into","type_id","vzip","Add","AddAssign","Address","AddressLit","And","AndAssign","Arrow","As","Assert","AssertEq","AssertNeq","Assign","At","BigArrow","BitAnd","BitAndAssign","BitOr","BitOrAssign","BitXor","BitXorAssign","Block","Bool","Brace","Bracket","Colon","Comma","CommentBlock","CommentLine","Console","Const","Constant","Delimiter","Div","DivAssign","Dot","DotDot","DoubleColon","Else","Eof","Eq","False","Field","Finalize","For","Function","Group","Gt","GtEq","I128","I16","I32","I64","I8","Identifier","If","Import","In","Inline","Integer","KEYWORD_TOKENS","LeftCurly","LeftParen","LeftSquare","Leo","Let","Lt","LtEq","Mapping","Mul","MulAssign","Not","NotEq","Or","OrAssign","Parenthesis","Pow","PowAssign","Private","Program","Public","Question","Record","Rem","RemAssign","Return","RightCurly","RightParen","RightSquare","Scalar","SelfLower","Semicolon","Shl","ShlAssign","Shr","ShrAssign","Signature","StaticString","String","Struct","Sub","SubAssign","Then","Token","Transition","True","U128","U16","U32","U64","U8","Underscore","WhiteSpace","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","drop","drop","eat","eat_integer","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","init","init","into","into","is_keyword","keyword_to_symbol","open_close_pair","serialize","take_from_value","to_owned","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip"],"q":[[0,"leo_parser"],[5,"leo_parser::parser"],[13,"leo_parser::parser::context"],[116,"leo_parser::parser::expression"],[118,"leo_parser::parser::statement"],[119,"leo_parser::parser::type_"],[120,"leo_parser::tokenizer"],[125,"leo_parser::tokenizer::lexer"],[153,"leo_parser::tokenizer::token"],[311,"leo_errors::emitter"],[312,"leo_ast::common::node_builder"],[313,"leo_span::span"],[314,"leo_ast"],[315,"leo_errors::errors"],[316,"leo_ast::input::input_ast"],[317,"leo_ast::program"],[318,"leo_ast::input::input_ast"],[319,"leo_ast::expressions::binary"],[320,"core::option"],[321,"leo_ast::groups::group_literal"],[322,"leo_ast::common::identifier"],[323,"leo_ast::common::positive_number"],[324,"leo_span::span"],[325,"leo_errors::errors::parser::parser_warnings"],[326,"core::ops::function"],[327,"leo_span::symbol"],[328,"alloc::vec"],[329,"leo_ast::functions::annotation"],[330,"leo_ast::statement"],[331,"core::ops::function"],[332,"leo_ast::statement::conditional"],[333,"leo_ast::statement::console::console_statement"],[334,"leo_ast::statement::const_"],[335,"leo_ast::statement::definition"],[336,"leo_ast::functions"],[337,"leo_ast::functions::output"],[338,"leo_ast::functions::input"],[339,"leo_ast::input::definition"],[340,"leo_ast::statement::iteration"],[341,"leo_ast::mapping"],[342,"leo_ast::struct::member"],[343,"leo_ast::functions::mode"],[344,"leo_ast::functions::output"],[345,"leo_ast::program::program_scope"],[346,"leo_ast::statement::return_"],[347,"leo_ast::input::section"],[348,"leo_ast::struct"],[349,"leo_ast::expressions::struct_init"],[350,"leo_ast::groups::group_coordinate"],[351,"leo_ast::types::integer_type"],[352,"core::result"],[353,"core::any"],[354,"core::fmt"],[355,"core::iter::traits::iterator"],[356,"serde::de"],[357,"core::iter::adapters::peekable"],[358,"alloc::string"],[359,"core::fmt"],[360,"serde_json::value"]],"d":["Represents all valid Leo keyword tokens. This differs from …","Creates a new AST from a given file path and source code …","Parses program inputs from the input file path","The parser to convert Leo code text into an Program AST …","The tokenizer to convert Leo code text into tokens.","","","","","Creates a new program from a given file path and source …","Parses an input file at the given file path and source …","","","Dummy span used to appease borrow checker.","Stores a program in tokenized format plus additional …","true if parsing an identifier inside an input file.","Constructs a binary expression left op right.","","","Advances the parser cursor by one token.","Checks whether the current token is tok.","Checks whether the current token is a Token::Int(_).","","","true if parsing an expression for if and loop statements …","","Returns true if the next token is equal to the given token.","Eats any of the given tokens, returning true if anything …","Eats one of binary operators matching any in tokens.","Removes the next two tokens if they are a pair of …","Eats the next token if its an identifier and returns it.","Removes the next token if it is a [Token::Integer(_)] and …","Emit the error err.","Emit the warning warning.","Eats the expected token, or errors.","Eats one of the expected tokens, or errors.","Expects an Identifier, or errors.","Returns the argument unchanged.","Handler used to side-channel emit errors from the parser.","Returns true if the next token exists.","","Calls U::from(self).","Look-ahead dist tokens of self.token and get access to …","At the previous token, return and make an identifier with …","Returns a new ParserContext type given a vector of tokens.","Counter used to generate unique node ids.","Returns an Expression AST node if the next tokens …","Returns an Annotation AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns a AssertStatement AST node if the next tokens …","Returns a AssignStatement AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Parses a left-associative binary expression …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns a Block AST node if the next tokens represent a …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens represent","Parse a list separated by , and delimited by brackets.","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens represent","Returns a ConditionalStatement AST node if the next tokens …","Returns a ConsoleStatement AST node if the next tokens …","Returns a ConstDeclaration AST node if the next tokens …","Returns a DefinitionStatement AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Parses a tuple of Expression AST nodes.","Returns an Expression AST node if the next token is an …","Returns an [(Identifier, Function)] AST node if the next …","Returns a FunctionOutput AST node if the next tokens …","Parses an import statement import foo.leo;.","Returns a Input AST node if the next tokens represent a …","Parses a single parameter definition: …","Returns a [ParsedInputFile] struct filled with the data …","Parses a list of Ts using inner The opening and closing …","Returns an IterationStatement AST node if the next tokens …","Parses a mapping declaration, e.g. …","Returns a Member AST node if the next tokens represent a …","Returns an Expression AST node if the next tokens …","Returns a [ParamMode] AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns a Output AST node if the next tokens represent a …","Parse a list separated by , and delimited by parens.","Returns an Expression AST node if the next tokens …","Returns an Expression AST node if the next token is a …","Returns a [(Type, Span)] tuple of AST nodes if the next …","Returns a Program AST if all tokens can be consumed and …","Parsers a program scope program foo.aleo { ... }.","Returns a ReturnStatement AST node if the next tokens …","Parses particular section in the Input or State file. …","Returns an Expression AST node if the next tokens …","Returns a Statement AST node if the next tokens represent …","Parses a struct or record definition, e.g., …","Returns an Expression AST node if the next tokens …","","Returns a Vec<Member> AST node if the next tokens …","Returns an Expression AST node if the next tokens …","Returns a [(Type, Span)] tuple of AST nodes if the next …","Parses IDENT: TYPE.","Returns an Expression AST node if the next tokens …","Returns a reference to the next token if it is a …","","Returns true if the current token is (.","The previous token, i.e., if p.tokens = ['3', *, '4'], …","The current token, i.e., if p.tokens = ['3', *, '4'], then …","Returns a IntegerType AST node if the given token is a …","All un-bumped tokens.","","","","Returns an unexpected error at the current token.","","","","","","","","","","Creates a new vector of spanned tokens from a given file …","Yields spanned tokens from the given source code text.","","","","","","","","","","Returns a dummy token at a dummy span.","Eat an identifier, that is, a string matching ‘[a-zA-Z][…","Ensure that string contains no Unicode Bidirectional …","","","Returns the argument unchanged.","","Calls U::from(self).","Checks if a char is a Unicode Bidirectional Override code …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","{ ... }","[ ... ]","","","","","","","","Describes delimiters of a token sequence.","","","","","","","","","","","","","","","","","","","","","","","","","","","","Represents all valid Leo keyword tokens. This differs from …","","","","","","","","","","","","","","","( ... )","","","","","","","","","","","","","","","","","","","","","","","","","","","","Represents all valid Leo syntax tokens.","","","","","","","","","","","","","","","","","","","","","","","","","Returns a tuple: [(token length, token)] if the next token …","Returns a tuple: [(integer length, integer token)] if an …","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Returns true if the self token equals a Leo keyword.","Converts self to the corresponding Symbol if it is_keyword.","Returns the open/close tokens that the delimiter …","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,0,0,27,27,27,27,27,27,27,27,27,0,0,27,27,27,27,27,0,27,27,27,27,27,27,27,27,27,27,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,41,41,14,14,14,14,14,14,14,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,41,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,0,14,14,14,14,14,14,14,14,14,14,41,14,41,14,41,14,41,14,41,14,41,14,14,41,14,14,14,14,14,14,14,14,14,14,41,14,41,14,41,14,14,41,14,14,14,41,14,14,41,14,41,14,41,14,41],"f":[0,[[1,2,3,4],[[6,[5]]]],[[1,2,3,4],[[6,[7]]]],0,0,0,0,0,0,[[1,2,3,4],[[6,[8]]]],[[1,2,3,4],[[6,[9]]]],0,0,0,0,0,[[2,10,10,11],10],[-1,-2,[],[]],[-1,-2,[],[]],[12,13],[[12,14],15],[12,15],[16,-1,[]],[16,-1,[]],0,[16,13],[[12,14],15],[[12,[17,[14]]],15],[[12,[17,[14]]],[[18,[11]]]],[12,[[18,[[6,[19]]]]]],[12,[[18,[20]]]],[12,[[6,[[13,[21,22]]]]]],[[12,23],13],[[12,24],13],[[12,14],[[6,[22]]]],[[12,[17,[14]]],[[6,[22]]]],[12,[[6,[20]]]],[-1,-1,[]],0,[12,15],[[],16],[-1,-2,[],[]],[[12,16,-1],-2,25,[]],[[12,26],20],[[1,2,[28,[27]]],12],0,[12,[[6,[10]]]],[12,[[6,[29]]]],[12,[[6,[10]]]],[12,[[6,[30]]]],[12,[[6,[30]]]],[[12,10],[[6,[10]]]],[[12,[17,[14]],-1],[[6,[10]]],31],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[32]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[[12,-1],[[6,[[13,[[28,[-2]],15,22]]]]],31,[]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[33]]]],[12,[[6,[34]]]],[12,[[6,[35]]]],[12,[[6,[36]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[[13,[[28,[10]],15,22]]]]]],[12,[[6,[10]]]],[12,[[6,[[13,[26,37]]]]]],[12,[[6,[38]]]],[12,[[6,[[13,[26,[13,[8,22]]]]]]]],[12,[[6,[39]]]],[12,[[6,[40]]]],[12,[[6,[9]]]],[[12,41,[18,[14]],-1],[[6,[[13,[[28,[-2]],15,22]]]]],31,[]],[12,[[6,[42]]]],[12,[[6,[[13,[26,43]]]]]],[12,[[6,[44]]]],[[12,10,20],[[6,[10]]]],[12,[[6,[45]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[46]]]],[[12,-1],[[6,[[13,[[28,[-2]],15,22]]]]],31,[]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[[13,[47,22]]]]]],[12,[[6,[8]]]],[12,[[6,[48]]]],[12,[[6,[49]]]],[12,[[6,[50]]]],[12,[[6,[10]]]],[12,[[6,[30]]]],[12,[[6,[[13,[26,51]]]]]],[[12,20],[[6,[10]]]],[12,[[6,[52]]]],[12,[[6,[[13,[[28,[44]],22]]]]]],[12,[[6,[10]]]],[12,[[6,[[13,[47,22]]]]]],[12,[[6,[[13,[20,47,22]]]]]],[12,[[6,[10]]]],[[12,16],[[18,[53]]]],[12,15],[12,15],0,0,[14,[[18,[54]]]],0,[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,56,[]],[[12,-1],[[6,[-2]]],57,[]],[[27,[17,[14]]],23],[-1,-2,[],[]],0,[[22,22,3,3],[[6,[13]]]],0,0,0,0,0,[[3,4],[[6,[[28,[27]]]]]],[[3,4],[[0,[58]]]],0,[-1,-2,[],[]],[-1,-2,[],[]],[27,27],[[-1,-2],13,[],[]],[16,-1,[]],[16,-1,[]],[-1,[[55,[27]]],59],[16,13],[[],27],[[[60,[-1]]],[[18,[61]]],58],[3,[[6,[13]]]],[[27,62],63],[[27,62],63],[-1,-1,[]],[[],16],[-1,-2,[],[]],[64,15],[[27,-1],55,65],0,[[66,3],[[55,[-1]]],[]],[-1,-2,[],[]],[-1,61,[]],0,[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,56,[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[14,14],[41,41],[[-1,-2],13,[],[]],[[-1,-2],13,[],[]],[16,-1,[]],[16,-1,[]],[16,-1,[]],[16,-1,[]],[-1,[[55,[14]]],59],[16,13],[16,13],[3,[[6,[[13,[16,14]]]]]],[[[60,[-1]]],[[6,[[13,[16,14]]]]],58],[[14,14],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[14,62],63],[[14,62],63],[-1,-1,[]],[-1,-1,[]],[[],16],[[],16],[-1,-2,[],[]],[-1,-2,[],[]],[14,15],[14,[[18,[26]]]],[41,[[13,[14,14]]]],[[14,-1],55,65],[[66,3],[[55,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,61,[]],[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,[[55,[-2]]],[],[]],[-1,56,[]],[-1,56,[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"Handler",311],[3,"NodeBuilder",312],[15,"str"],[3,"BytePos",313],[3,"Ast",314],[6,"Result",315],[3,"InputData",316],[3,"Program",317],[3,"InputAst",316],[4,"Expression",318],[4,"BinaryOperation",319],[3,"ParserContext",13],[15,"tuple"],[4,"Token",153],[15,"bool"],[15,"usize"],[15,"slice"],[4,"Option",320],[3,"GroupTuple",321],[3,"Identifier",322],[3,"NonNegativeNumber",323],[3,"Span",313],[4,"ParserError",324],[4,"ParserWarning",325],[8,"FnOnce",326],[3,"Symbol",327],[3,"SpannedToken",125],[3,"Vec",328],[3,"Annotation",329],[4,"Statement",330],[8,"FnMut",326],[3,"Block",331],[3,"ConditionalStatement",332],[3,"ConsoleStatement",333],[3,"ConstDeclaration",334],[3,"DefinitionStatement",335],[3,"Function",336],[3,"FunctionOutput",337],[4,"Input",338],[3,"Definition",339],[4,"Delimiter",153],[3,"IterationStatement",340],[3,"Mapping",341],[3,"Member",342],[4,"Mode",343],[4,"Output",337],[4,"Type",344],[3,"ProgramScope",345],[3,"ReturnStatement",346],[3,"Section",347],[3,"Struct",348],[3,"StructVariableInitializer",349],[4,"GroupCoordinate",350],[4,"IntegerType",351],[4,"Result",352],[3,"TypeId",353],[8,"Display",354],[8,"Iterator",355],[8,"Deserializer",356],[3,"Peekable",357],[3,"String",358],[3,"Formatter",354],[6,"Result",354],[15,"char"],[8,"Serializer",359],[4,"Value",360]],"b":[[137,"impl-Debug-for-SpannedToken"],[138,"impl-Display-for-SpannedToken"],[287,"impl-Debug-for-Token"],[288,"impl-Display-for-Token"]]},\ +"leo_passes":{"doc":"leo-passes","t":"AAAAAAAAAAAAAAAADMLLMMLLLLLMMMLLMLMMMMMLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAAAAAAADDLLLLLLLLMLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLDLLLLLLMLLLLLLLLLLLLLLMLMMLLLLLLLGNDEGIGLLLLLLLLLLLLLMMMMLLLLLLLLLMMMMLLLLLLLLLDLLLLLLLLLLLLLLLMLLLLLMLMLLLLLLDLLLLLLLLLLMLLLLDLLLLLLLLLLLLLLAMLLLLLLLLLLLLLMLLMMLMLLLLLLLLLLLAMLDDMLLLLLLLLLLLLLLLLMLLLLMLLMMLLMMLLLLLLLLLLLLMLLNNNDELLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLMLLLLDLLLLLLLLLLLLMLLLLLLLAAAADLLLLLLLLLMLMLLLLLLLLLLLLLLLLMLAAAADMLLLLLLLLLLMLLLLLLLLLLLMLMLAAAADMLLLMLLLLLLLLLLLMLLLLLLLLLLLMLMLLLLLLMLLAAAAADMLLLLLLLLLMLLLLLLLLLMLLLLDMLLMLLLLLLLLMLLLLLLLLLMLLLMLAAAAAENNIDLLLLLMMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLMLLLLLLLLLMLLMLMLLLLLLLLMMLLLMLLLQQIKAAAADMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLMLMLLLMLLADLLLLLLLMLLLMLLLLLLLLAAAAFRRRRRRRRRDRLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLMLLMMMLLMMMLMMLLLMFMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["code_generation","common","dead_code_elimination","destructuring","flattening","function_inlining","loop_unrolling","pass","static_single_assignment","symbol_table_creation","type_checking","generator","visit_expressions","visit_program","visit_statements","visit_type","CodeGenerator","_call_graph","borrow","borrow_mut","composite_mapping","current_function","deref","deref_mut","do_pass","drop","from","futures","global_mapping","in_finalize","init","into","is_transition_function","new","next_register","program","program_id","struct_graph","symbol_table","try_from","try_into","type_id","type_table","variable_mapping","visit_access","visit_array","visit_array_access","visit_assert","visit_assign","visit_associated_constant","visit_associated_function","visit_binary","visit_block","visit_call","visit_cast","visit_conditional","visit_console","visit_definition","visit_err","visit_expression","visit_expression_statement","visit_function","visit_identifier","visit_import","visit_iteration","visit_mapping","visit_member_access","visit_program","visit_record","visit_return","visit_statement","visit_struct","visit_struct_init","visit_struct_or_record","visit_ternary","visit_tuple","visit_type","visit_type_with_visibility","visit_unary","visit_unit","visit_value","vzip","assigner","constant_propagation_table","graph","rename_table","replacer","symbol_table","type_table","Assigner","AssignerInner","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","counter","default","default","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","from","from","init","init","inner","into","into","simple_assign_statement","simple_assign_statement","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","unique_symbol","unique_symbol","vzip","vzip","ConstantPropagationTable","borrow","borrow_mut","clone","clone_into","constant_in_local_scope","constant_in_parent_scope","constants","default","deref","deref_mut","deserialize","drop","fmt","from","init","insert_block","insert_constant","insert_fn_scope","into","lookup_constant","lookup_scope_by_index","parent","scope_index","scope_index","scopes","serialize","take_from_value","to_owned","try_from","try_into","type_id","vzip","CallGraph","CycleDetected","DiGraph","DiGraphError","ImportGraph","Node","StructGraph","add_edge","borrow","borrow","borrow_mut","borrow_mut","contains_cycle_from","contains_node","deref","deref","deref_mut","deref_mut","drop","drop","edges","edges","edges","edges","fmt","fmt","from","from","init","init","into","into","new","nodes","nodes","nodes","nodes","post_order","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","RenameTable","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","ids","init","into","local_names","lookup","lookup_id","names","new","parent","to_owned","try_from","try_into","type_id","update","vzip","Replacer","borrow","borrow_mut","deref","deref_mut","drop","from","init","into","new","reconstruct_identifier","replace","try_from","try_into","type_id","vzip","SymbolTable","borrow","borrow_mut","check_shadowing","clone","clone_into","default","deref","deref_mut","deserialize","drop","fmt","from","from_json_file","from_json_string","function_symbol","functions","init","insert_block","insert_fn","insert_struct","insert_variable","into","lookup_fn_scope","lookup_fn_symbol","lookup_scope_by_index","lookup_struct","lookup_variable","lookup_variable_mut","new_function_symbol","parent","remove_variable_from_current_scope","scope_index","scope_index","scopes","serialize","structs","take_from_value","to_json_file","to_json_file_without_keys","to_json_string","to_json_value","to_owned","try_from","try_into","type_id","variable_in_local_scope","variable_in_parent_scope","variable_symbol","variables","vzip","FinalizeData","FunctionSymbol","_span","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","finalize","fmt","fmt","from","from","id","init","init","input","input","into","into","output_type","output_type","serialize","serialize","take_from_value","take_from_value","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","variant","vzip","vzip","Const","Input","Mut","VariableSymbol","VariableType","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","declaration","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","init","init","into","into","serialize","serialize","span","take_from_value","take_from_value","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_","type_id","type_id","vzip","vzip","TypeTable","borrow","borrow_mut","clone","clone_into","default","deref","deref_mut","drop","fmt","from","get","init","inner","insert","into","to_owned","try_from","try_into","type_id","vzip","dead_code_eliminator","eliminate_expression","eliminate_program","eliminate_statement","DeadCodeEliminator","borrow","borrow_mut","deref","deref_mut","do_pass","drop","from","init","into","is_necessary","new","node_builder","reconstruct_assert","reconstruct_assign","reconstruct_associated_function","reconstruct_block","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_expression_statement","reconstruct_function","reconstruct_identifier","reconstruct_iteration","reconstruct_return","reconstruct_struct_init","try_from","try_into","type_id","used_variables","vzip","destructure_expression","destructure_program","destructure_statement","destructurer","Destructurer","assigner","borrow","borrow_mut","deref","deref_mut","do_pass","drop","from","init","into","new","node_builder","reconstruct_assign","reconstruct_block","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_iteration","reconstruct_return","reconstruct_tuple_access","simple_assign_statement","try_from","try_into","tuples","type_id","type_table","vzip","flatten_expression","flatten_program","flatten_statement","flattener","Flattener","assigner","borrow","borrow_mut","clear_early_returns","condition_stack","construct_guard","deref","deref_mut","do_pass","drop","fold_guards","fold_returns","from","init","into","new","node_builder","reconstruct_assert","reconstruct_assign","reconstruct_block","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_function","reconstruct_iteration","reconstruct_return","reconstruct_struct_init","reconstruct_ternary","returns","simple_assign_statement","symbol_table","ternary_array","ternary_struct","ternary_tuple","try_from","try_into","type_id","type_table","unique_simple_assign_statement","vzip","assignment_renamer","function_inliner","inline_expression","inline_program","inline_statement","AssignmentRenamer","assigner","borrow","borrow_mut","clear","deref","deref_mut","drop","from","init","into","is_lhs","load","new","reconstruct_assign","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_identifier","reconstruct_iteration","reconstruct_struct_init","rename_table","try_from","try_into","type_id","vzip","FunctionInliner","assignment_renamer","borrow","borrow_mut","call_graph","deref","deref_mut","do_pass","drop","from","init","into","new","node_builder","reconstruct_assign","reconstruct_block","reconstruct_call","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_expression_statement","reconstruct_iteration","reconstruct_program_scope","reconstructed_functions","try_from","try_into","type_id","type_table","vzip","range_iterator","unroll_expression","unroll_program","unroll_statement","unroller","Clusivity","Exclusive","Inclusive","LoopBound","RangeIterator","borrow","borrow","borrow_mut","borrow_mut","cjk_compat_variants","clusivity","current","deref","deref","deref_mut","deref_mut","drop","drop","end","from","from","init","init","into","into","into_iter","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","multiunzip","new","next","nfc","nfd","nfkc","nfkd","progress_with","stream_safe","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Unroller","borrow","borrow_mut","constant_propagation_table","current_scope_index","deref","deref_mut","do_pass","drop","emit_err","enter_scope","exit_scope","from","handler","init","into","is_unrolling","new","node_builder","reconstruct_array_access","reconstruct_block","reconstruct_const","reconstruct_definition","reconstruct_function","reconstruct_identifier","reconstruct_iteration","reconstruct_program_scope","scope_index","symbol_table","try_from","try_into","type_id","type_table","unroll_iteration_statement","unroll_single_iteration","vzip","Input","Output","Pass","do_pass","rename_expression","rename_program","rename_statement","static_single_assigner","StaticSingleAssigner","assigner","borrow","borrow_mut","consume_access","consume_array","consume_assert","consume_assign","consume_binary","consume_block","consume_call","consume_cast","consume_conditional","consume_console","consume_const","consume_definition","consume_expression_statement","consume_function","consume_identifier","consume_iteration","consume_literal","consume_program","consume_program_scope","consume_return","consume_struct","consume_struct_init","consume_ternary","consume_tuple","consume_unary","consume_unit","deref","deref_mut","do_pass","drop","from","init","into","is_lhs","new","node_builder","pop","push","rename_table","simple_assign_statement","symbol_table","try_from","try_into","type_id","type_table","unique_simple_assign_statement","vzip","creator","SymbolTableCreator","borrow","borrow_mut","deref","deref_mut","do_pass","drop","from","handler","init","into","new","symbol_table","try_from","try_into","type_id","visit_function","visit_import","visit_mapping","visit_struct","vzip","check_expressions","check_program","check_statements","checker","return_incorrect_type","ADDRESS_TYPE","BOOLEAN_TYPE","FIELD_TYPE","GROUP_TYPE","INT_TYPES","MAGNITUDE_TYPES","SCALAR_TYPE","SIGNATURE_TYPE","SIGNED_INT_TYPES","TypeChecker","UNSIGNED_INT_TYPES","assert_address_type","assert_and_return_type","assert_array_type","assert_bool_int_type","assert_bool_type","assert_castable_type","assert_field_group_int_type","assert_field_group_scalar_int_type","assert_field_group_signed_int_type","assert_field_group_type","assert_field_int_type","assert_field_scalar_int_type","assert_field_type","assert_group_type","assert_int_type","assert_magnitude_type","assert_mapping_type","assert_member_is_not_record","assert_scalar_type","assert_signature_type","assert_signed_int_type","assert_type","assert_type_is_valid","assert_unsigned_int_type","borrow","borrow_mut","call_graph","check_core_function_call","check_eq_types","check_expected_struct","check_type","create_child_scope","deref","deref_mut","do_pass","drop","emit_err","enter_scope","exit_scope","from","function","get_core_constant","get_core_function_call","handler","has_finalize","has_return","init","into","is_finalize","is_imported","is_return","new","struct_graph","symbol_table","try_from","try_into","type_id","type_table","types_to_string","variant","visit_access","visit_array","visit_assert","visit_assign","visit_binary","visit_block","visit_call","visit_cast","visit_conditional","visit_console","visit_const","visit_definition","visit_err","visit_expression","visit_expression_statement","visit_function","visit_identifier","visit_iteration","visit_literal","visit_mapping","visit_program","visit_program_scope","visit_return","visit_statement","visit_struct","visit_struct_init","visit_ternary","visit_tuple","visit_unary","visit_unit","vzip"],"q":[[0,"leo_passes"],[11,"leo_passes::code_generation"],[16,"leo_passes::code_generation::generator"],[82,"leo_passes::common"],[89,"leo_passes::common::assigner"],[131,"leo_passes::common::constant_propagation_table"],[164,"leo_passes::common::graph"],[210,"leo_passes::common::rename_table"],[241,"leo_passes::common::replacer"],[257,"leo_passes::common::symbol_table"],[308,"leo_passes::common::symbol_table::function_symbol"],[356,"leo_passes::common::symbol_table::variable_symbol"],[416,"leo_passes::common::type_table"],[437,"leo_passes::dead_code_elimination"],[441,"leo_passes::dead_code_elimination::dead_code_eliminator"],[472,"leo_passes::destructuring"],[476,"leo_passes::destructuring::destructurer"],[504,"leo_passes::flattening"],[508,"leo_passes::flattening::flattener"],[549,"leo_passes::function_inlining"],[554,"leo_passes::function_inlining::assignment_renamer"],[580,"leo_passes::function_inlining::function_inliner"],[609,"leo_passes::loop_unrolling"],[614,"leo_passes::loop_unrolling::range_iterator"],[682,"leo_passes::loop_unrolling::unroller"],[718,"leo_passes::pass"],[722,"leo_passes::static_single_assignment"],[726,"leo_passes::static_single_assignment::static_single_assigner"],[777,"leo_passes::symbol_table_creation"],[778,"leo_passes::symbol_table_creation::creator"],[799,"leo_passes::type_checking"],[803,"leo_passes::type_checking::check_expressions"],[804,"leo_passes::type_checking::checker"],[906,"leo_ast::program"],[907,"core::result"],[908,"core::any"],[909,"leo_ast::expressions::access"],[910,"alloc::string"],[911,"leo_ast::expressions::array"],[912,"leo_ast::access::array_access"],[913,"leo_ast::statement::assert"],[914,"leo_ast::statement::assign"],[915,"leo_ast::access::associated_constant_access"],[916,"leo_ast::access::associated_function_access"],[917,"leo_ast::expressions::binary"],[918,"leo_ast::statement::block"],[919,"leo_ast::expressions::call"],[920,"leo_ast::expressions::cast"],[921,"leo_ast::statement::conditional"],[922,"leo_ast::statement::console::console_statement"],[923,"leo_ast::statement::definition"],[924,"leo_ast::expressions::err"],[925,"leo_ast::expressions"],[926,"leo_ast::statement::expression"],[927,"leo_ast::functions"],[928,"leo_ast::common::identifier"],[929,"leo_span::symbol"],[930,"leo_ast::statement::iteration"],[931,"leo_ast::mapping"],[932,"leo_ast::access::member_access"],[933,"leo_ast::struct"],[934,"leo_ast::statement::return_"],[935,"leo_ast::statement"],[936,"leo_ast::expressions::struct_init"],[937,"leo_ast::expressions::ternary"],[938,"leo_ast::expressions::tuple"],[939,"leo_ast::types::type_"],[940,"leo_ast::functions::mode"],[941,"leo_ast::expressions::unary"],[942,"leo_ast::expressions::unit"],[943,"leo_ast::expressions::literal"],[944,"core::fmt"],[945,"core::fmt"],[946,"core::fmt"],[947,"leo_errors::errors"],[948,"core::option"],[949,"core::cell"],[950,"serde::ser"],[951,"serde_json::value"],[952,"indexmap::set"],[953,"core::fmt"],[954,"alloc::boxed"],[955,"core::ops::function"],[956,"leo_span::span"],[957,"std::path"],[958,"leo_ast::common::node_builder"],[959,"leo_ast::access::tuple_access"],[960,"alloc::vec"],[961,"leo_ast::types::array"],[962,"leo_ast::types::tuple"],[963,"leo_ast::program::program_scope"],[964,"unicode_normalization::replace"],[965,"unicode_normalization::recompose"],[966,"unicode_normalization::decompose"],[967,"indicatif::progress_bar"],[968,"indicatif::iter"],[969,"unicode_normalization::stream_safe"],[970,"leo_errors::errors::loop_unroller::loop_unroller_errors"],[971,"leo_errors::emitter"],[972,"leo_ast::statement::const_"],[973,"leo_ast::types::mapping"],[974,"leo_ast::functions::core_function"],[975,"leo_errors::errors::type_checker::type_checker_error"],[976,"leo_ast::types::core_constant"]],"d":["","","The Dead Code Elimination pass traverses the AST and …","The destructuring pass traverses the AST and destructures …","The flattening pass traverses the AST after the SSA pass …","The Function Inlining pass traverses the AST and inlines …","","","The Static Single Assignment pass traverses the AST and …","","","","","","","","","The call graph for the program.","","","Mapping of composite names to a tuple containing metadata …","Reference to the current function.","","","","","Returns the argument unchanged.","","Mapping of global identifiers to their associated names.","Are we traversing a finalize block?","","Calls U::from(self).","Are we traversing a transition function?","Initializes a new CodeGenerator.","A counter to track the next available register.","","","The struct dependency graph for the program.","The symbol table for the program.","","","","A mapping between expressions and their types.","Mapping of variables to registers.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A struct used to create assignment statements.","Contains the actual data for Assigner. Modeled this way to …","","","","","","","","","A strictly increasing counter, used to ensure that new …","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The inner counter. RefCell is used here to avoid &mut all …","Calls U::from(self).","Calls U::from(self).","Constructs the assignment statement place = expr;. This …","Constructs the assignment statement place = expr;. This …","","","","","","","","","Return a new unique Symbol from a &str.","Return a new unique Symbol from a &str.","","","","","","","","Returns true if the constant exists in the local scope","Returns true if the constant exists in any parent scope","The known constants in the current scope This field is …","","","","","","","Returns the argument unchanged.","","Creates a new scope for the block and stores it in the …","Inserts a constant into the constant propagation table.","Inserts a function into the symbol table.","Calls U::from(self).","Attempts to lookup a constant in the constant propagation …","Returns the scope associated with index, if it exists in …","The parent scope if it exists. For example, the parent …","Returns the current scope index. Increments the scope …","The index of the current scope.","The sub-scopes of this scope.","","","","","","","","A call graph.","An error that is emitted when a cycle is detected in the …","A directed graph.","Errors in directed graph operations.","An import dependency graph.","A node in a graph.","A struct dependency graph.","Adds an edge to the graph.","","","","","","Returns true if the graph contains the given node.","","","","","","","The directed edges in the graph. Each entry in the map is …","The directed edges in the graph. Each entry in the map is …","The directed edges in the graph. Each entry in the map is …","The directed edges in the graph. Each entry in the map is …","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Initializes a new DiGraph from a vector of source nodes.","The set of nodes in the graph.","The set of nodes in the graph.","The set of nodes in the graph.","The set of nodes in the graph.","Returns the post-order ordering of the graph. Detects if …","","","","","","","","","RenameTable tracks the names assigned by static single …","","","","","","","","","","","","","","","Returns the argument unchanged.","The mapping from symbols to node IDs. These are used to …","","Calls U::from(self).","Returns the symbols that were renamed in the current scope.","Looks up the new name for symbol, recursively checking the …","Looks up the node ID for symbol, recursively checking the …","The mapping from names in the original AST to new names in …","Create a new RenameTable with the given parent.","The RenameTable of the parent scope.","","","","","Updates self.mapping with the desired entry. Creates a new …","","A Replacer applies replacer to all Identifiers in an AST. …","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","Recursively checks if the symbol table contains an entry …","","","","","","","","","Returns the argument unchanged.","Deserializes the JSON string into a symbol table from a …","Deserializes the JSON string into a symbol table.","","Functions represents the name of each function mapped to …","","Creates a new scope for the block and stores it in the …","Inserts a function into the symbol table.","Inserts a struct into the symbol table.","Inserts a variable into the symbol table.","Calls U::from(self).","Returns the scope associated with the function symbol, if …","Attempts to lookup a function in the symbol table.","Returns the scope associated with index, if it exists in …","Attempts to lookup a struct in the symbol table.","Attempts to lookup a variable in the symbol table.","Returns a mutable reference to the VariableSymbol if it …","","The parent scope if it exists. For example, the parent …","Removes a variable from the symbol table.","Returns the current scope index. Increments the scope …","The index of the current scope.","The sub-scopes of this scope.","","Maps struct names to struct definitions. This field is …","","","Serializes the symbol table into a JSON value and removes …","Serializes the symbol table into a JSON string.","Converts the symbol table into a JSON value","","","","","Returns true if the variable exists in the local scope","Returns true if the variable exists in any parent scope","","The variables defined in a scope. This field is populated …","","Metadata associated with the finalize block.","An entry for a function in the symbol table.","The Span associated with the function.","","","","","","","","","","","","","","","","","Metadata associated with the finalize block.","","","Returns the argument unchanged.","Returns the argument unchanged.","The index associated with the scope in the parent symbol …","","","The inputs to the finalize block.","The inputs to the function.","Calls U::from(self).","Calls U::from(self).","The output type of the finalize block.","The output type of the function.","","","","","","","","","","","","","Is this function a transition, inlined, or a regular …","","","","","","An entry for a variable in the symbol table.","An enumeration of the different types of variable type.","","","","","","","","","The type of declaration for the variable.","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","The Span associated with the variable.","","","","","","","","","","","The Type of the variable.","","","","","A mapping between node IDs and their types.","","","","","","","","","","Returns the argument unchanged.","Gets an entry from the table.","","The inner table. RefCell is used here to avoid &mut all …","Inserts an entry into the table.","Calls U::from(self).","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","Whether or not the variables are necessary.","Initializes a new DeadCodeEliminator.","A counter to generate unique node IDs.","","Reconstruct an assignment statement by eliminating any …","Reconstructs the associated function access expression.","Reconstructs the statements inside a basic block, …","Flattening removes conditional statements from the program.","Parsing guarantees that console statements are not present …","Static single assignment replaces definition statements …","Reconstructs expression statements by eliminating any dead …","","Marks identifiers as used. This is necessary to determine …","Loop unrolling unrolls and removes iteration statements …","","Reconstruct the components of the struct init expression. …","","","","The set of used variables in the current function body.","","","","","","","A struct used to construct (unique) assignment statements.","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","A counter used to generate unique node IDs.","Flattens an assign statement, if necessary. Marks …","","","","","","Reconstructs","Replaces a tuple access expression with the appropriate …","A wrapper around assigner.simple_assign_statement that …","","","A mapping between variables and flattened tuple …","","A mapping between node IDs and their types.","","","","","","","A struct used to construct (unique) assignment statements.","","","Clears the state associated with ReturnStatements, …","A stack of condition Expressions visited up to the current …","Constructs a guard from the current state of the condition …","","","","","Fold guards and expressions into a single expression. Note …","Folds a list of return statements into a single return …","Returns the argument unchanged.","","Calls U::from(self).","","A counter used to generate unique node IDs.","Rewrites an assert statement into a flattened form. Assert …","Flattens an assign statement, if necessary. Marks …","Flattens the statements inside a basic block. The …","Flatten a conditional statement into a list of statements.","","","Flattens a function’s body and finalize block, if it …","","Transforms a return statement into an empty block …","Reconstructs a struct init expression, flattening any …","Reconstructs ternary expressions over arrays, structs, and …","A list containing tuples of guards and expressions …","A wrapper around assigner.simple_assign_statement that …","The symbol table associated with the program.","","","","","","","A mapping between node IDs and their types.","A wrapper around assigner.unique_simple_assign_statement …","","","","","","","An AssignmentRenamer renames the left-hand side of all …","","","","Clear the internal rename table.","","","","Returns the argument unchanged.","","Calls U::from(self).","","Load the internal rename table with a set of entries.","Initialize a new AssignmentRenamer.","Rename the left-hand side of the assignment statement.","Flattening removes conditional statements from the program.","Parsing guarantees that console statements are not present …","Static single assignment replaces definition statements …","Rename the identifier if it is the left-hand side of an …","Loop unrolling unrolls and removes iteration statements …","Rename the variable initializers in the struct expression.","","","","","","","A wrapper around an Assigner used to create unique …","","","The call graph for the program.","","","","","Returns the argument unchanged.","","Calls U::from(self).","Initializes a new FunctionInliner.","A counter used to create unique NodeIDs.","Reconstruct an assignment statement by inlining any …","Reconstructs the statements inside a basic block, …","","Flattening removes conditional statements from the program.","Parsing guarantees that console statements are not present …","Static single assignment replaces definition statements …","Reconstructs expression statements by inlining any …","Loop unrolling unrolls and removes iteration statements …","","A map of reconstructed functions in the current program …","","","","A mapping between node IDs and their types.","","","","","","","Whether or not a bound is inclusive or exclusive.","","","A trait for whose implementors are concrete values for …","An iterator over a range of values.","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A table of constant variables.","Returns the index of the current scope. Note that if we …","","","","","Emits a Loop Unrolling Error","Enters a child scope.","Exits the current block scope.","Returns the argument unchanged.","An error handler used for any errors found during …","","Calls U::from(self).","Are we in the midst of unrolling a loop?","","A counter used to generate unique node IDs.","","","","","","","","","The index of the current scope.","The symbol table for the function being processed.","","","","A mapping from node IDs to their types.","Unrolls an IterationStatement.","A helper function to unroll a single iteration an …","","","","A compiler pass consuming Self::Input and returning …","Runs the compiler pass.","","","","","","A struct used to construct (unique) assignment statements.","","","Consumes an access expression, accumulating any statements …","Consumes an array expression, accumulating any statements …","Consumes the expressions in an AssertStatement, returning …","Consume all AssignStatements, renaming as necessary.","Consumes a binary expression, accumulating any statements …","Consumes a Block, flattening its constituent …","Consumes a call expression without visiting the function …","Consumes a cast expression, accumulating any statements …","Consumes a ConditionalStatement, producing phi functions …","Parsing guarantees that console statements are not present …","","Consumes the DefinitionStatement into an AssignStatement, …","Consumes the expressions associated with …","Reconstructs the Functions in the Program, while …","Produces a new Identifier with a unique name.","","Consumes and returns the literal without making any …","","","Reconstructs the expression associated with the return …","Reconstructs records in the program, ordering its fields …","Consumes a struct initialization expression with renamed …","Consumes a ternary expression, accumulating any statements …","Consumes a tuple expression, accumulating any statements …","Consumes a unary expression, accumulating any statements …","","","","","","Returns the argument unchanged.","","Calls U::from(self).","A flag to determine whether or not the traversal is on the …","Initializes a new StaticSingleAssigner with an empty …","A counter used to generate unique node IDs.","If the RenameTable has a parent, then self.rename_table is …","Pushes a new scope, setting the current scope as the new …","The RenameTable for the current basic block in the AST","","The SymbolTable of the program.","","","","A mapping from node IDs to their types.","Constructs a simple assign statement for expr with a …","","","A compiler pass during which the SymbolTable is created. …","","","","","Runs the compiler pass.","","Returns the argument unchanged.","The error handler.","","Calls U::from(self).","","The SymbolTable constructed by this compiler pass.","","","","","","","","","","","","","","","","","","","","","","","","","Emits an error to the error handler if the given type is …","Use this method when you know the actual type. Emits an …","Emits an error if the type is not an array.","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not an …","Emits an error to the handler if the given type is not a …","Emits an error if the type is not a mapping.","Emits an error if the struct member is a record type.","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the handler if the given type is not a …","Emits an error to the error handler if the actual type is …","Emits an error if the type or its constituent types is not …","Emits an error to the handler if the given type is not an …","","","The call graph for the program.","Type checks the inputs to a core function call and returns …","Emits an error if the two given types are not equal.","Returns the struct type and emits an error if the expected …","Emits an error to the handler if the given type is invalid.","Creates a new child scope.","","","","","Emits a type checker error.","Enters a child scope.","Exits the current scope.","Returns the argument unchanged.","The name of the function that we are currently traversing.","Type checks the inputs to an associated constant and …","Emits an error if the struct is not a core library struct. …","The error handler.","Whether or not the function that we are currently …","Whether or not the function that we are currently …","","Calls U::from(self).","Whether or not we are currently traversing a finalize …","Whether or not we are currently traversing an imported …","Whether or not we are currently traversing a return …","Returns a new type checker given a symbol table and error …","A dependency graph of the structs in program.","The symbol table for the program.","","","","A mapping from node IDs to their types.","","The variant of the function that we are currently …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,0,46,47,46,47,46,47,46,47,47,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,47,0,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,0,64,0,0,0,0,0,61,64,61,64,61,61,61,64,61,64,61,64,61,5,6,109,61,64,61,64,61,64,61,64,61,61,5,6,109,61,61,64,61,64,61,64,61,64,61,0,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,0,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,0,0,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,74,76,74,76,74,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,76,74,74,76,74,77,77,77,0,0,77,73,77,73,77,73,77,73,73,77,73,77,73,77,73,77,73,77,73,77,77,77,77,73,73,73,73,77,77,73,73,77,73,77,73,77,73,77,73,73,77,73,77,73,77,73,77,73,77,73,73,77,73,77,73,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,79,0,0,0,0,0,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,0,0,0,0,0,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,0,0,0,0,0,0,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,0,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,0,0,0,0,0,0,90,90,0,0,90,91,90,91,91,91,91,90,91,90,91,90,91,91,90,91,90,91,90,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,91,90,91,90,91,90,91,90,91,0,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,110,110,0,110,0,0,0,0,0,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,0,0,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,103,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,0,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],0,0,0,[[],1],[-1,-2,[],[]],0,[[3,4,5,6,7],8],0,0,0,0,0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,0,[[8,11],[[2,[12,12]]]],[[8,13],[[2,[12,12]]]],[[8,14],[[2,[12,12]]]],[[8,15],12],[[8,16],12],[[8,17],[[2,[12,12]]]],[[8,18],[[2,[12,12]]]],[[8,19],[[2,[12,12]]]],[[8,20],12],[[8,21],[[2,[12,12]]]],[[8,22],[[2,[12,12]]]],[[8,23],12],[[8,24],12],[[8,25],12],[[8,26],[[2,[12,12]]]],[[8,27],[[2,[12,12]]]],[[8,28],12],[[8,29],12],[[8,30],[[2,[12,12]]]],[[8,31,7],12],[[8,32],12],[[8,33],12],[[8,34],[[2,[12,12]]]],[[8,7],12],[[8,35],12],[[8,36],12],[[8,37],12],[[8,35],12],[[8,38],[[2,[12,12]]]],[[8,35],12],[[8,39],[[2,[12,12]]]],[[8,40],[[2,[12,12]]]],[41,12],[[8,41,42],12],[[8,43],[[2,[12,12]]]],[[8,44],[[2,[12,12]]]],[[8,45],[[2,[12,12]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[46,46],[47,47],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[[],46],[[],47],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,2],[1,2],[[46,48],49],[[47,48],49],[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],0,[-1,-2,[],[]],[-1,-2,[],[]],[[46,30,27,50],37],[[47,30,27,50],37],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[[46,-1,-2],31,51,51],[[47,-1,-2],31,51,51],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[52,52],[[-1,-2],2,[],[]],[[52,31],53],[[52,31],53],0,[[],52],[1,-1,[]],[1,-1,[]],[-1,[[9,[52]]],54],[1,2],[[52,48],49],[-1,-1,[]],[[],1],[52,1],[[52,31,27],[[55,[2]]]],[52,[[55,[2]]]],[-1,-2,[],[]],[[52,31],[[56,[27]]]],[[52,1],[[56,[[57,[52]]]]]],0,[52,1],0,0,[[52,-1],9,58],[[59,60],[[9,[-1]]],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,0,0,0,0,[[[61,[-1]],-1,-1],2,62],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[61,[-1]],-1,[63,[-1]],[63,[-1]]],[[56,[-1]]],62],[[[61,[-1]],-1],53,62],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,2],[1,2],0,0,0,0,[[[64,[-1]],48],49,[65,62]],[[[61,[-1]],48],49,[65,62]],[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],[-1,-2,[],[]],[-1,-2,[],[]],[[[63,[-1]]],[[61,[-1]]],62],0,0,0,0,[[[61,[-1]]],[[9,[[63,[-1]],[64,[-1]]]]],62],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[66,66],[[-1,-2],2,[],[]],[[],66],[1,-1,[]],[1,-1,[]],[1,2],[[66,66],53],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[66,48],49],[-1,-1,[]],0,[[],1],[-1,-2,[],[]],[66,[[0,[67]]]],[[66,31],[[56,[31]]]],[[66,31],[[56,[50]]]],0,[[[56,[[68,[66]]]]],66],0,[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[[66,31,31,50],2],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[-1,[[69,[-1]]],70],[[[69,[-1]],30],[[2,[27]]],70],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[[3,31,71],[[55,[2]]]],[3,3],[[-1,-2],2,[],[]],[[],3],[1,-1,[]],[1,-1,[]],[-1,[[9,[3]]],54],[1,2],[[3,48],49],[-1,-1,[]],[72,[[55,[3]]]],[60,[[55,[3]]]],0,0,[[],1],[3,1],[[3,31,29],[[55,[2]]]],[[3,31,35],[[55,[2]]]],[[3,31,73],[[55,[2]]]],[-1,-2,[],[]],[[3,31],[[56,[[57,[3]]]]]],[[3,31],[[56,[74]]]],[[3,1],[[56,[[57,[3]]]]]],[[3,31],[[56,[35]]]],[[3,31],[[56,[73]]]],[[3,31],[[56,[73]]]],[[1,29],74],0,[[3,31],2],[3,1],0,0,[[3,-1],9,58],0,[[59,60],[[9,[-1]]],[]],[[3,72,60],[[55,[2]]]],[[3,72,60,[75,[60]]],[[55,[2]]]],[3,[[55,[12]]]],[3,[[55,[59]]]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[[3,31],53],[[3,31],53],0,0,[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[76,76],[74,74],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[-1,[[9,[76]]],54],[-1,[[9,[74]]],54],[1,2],[1,2],0,[[76,48],49],[[74,48],49],[-1,-1,[]],[-1,-1,[]],0,[[],1],[[],1],0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[76,-1],9,58],[[74,-1],9,58],[[59,60],[[9,[-1]]],[]],[[59,60],[[9,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[77,77],[73,73],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],0,[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[-1,[[9,[77]]],54],[-1,[[9,[73]]],54],[1,2],[1,2],[[77,77],53],[[73,73],53],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[-1,-2],53,[],[]],[[77,48],49],[[77,48],49],[[73,48],49],[[73,48],49],[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],[-1,-2,[],[]],[-1,-2,[],[]],[[77,-1],9,58],[[73,-1],9,58],0,[[59,60],[[9,[-1]]],[]],[[59,60],[[9,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,12,[]],[-1,12,[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],0,[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[4,4],[[-1,-2],2,[],[]],[[],4],[1,-1,[]],[1,-1,[]],[1,2],[[4,48],49],[-1,-1,[]],[[4,50],[[56,[41]]]],[[],1],0,[[4,50,41],2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],0,[78,79],0,[[79,15],[[2,[37]]]],[[79,16],[[2,[37]]]],[[79,18],[[2,[27]]]],[[79,20],[[2,[20]]]],[[79,23],[[2,[37]]]],[[79,24],[[2,[37]]]],[[79,25],[[2,[37]]]],[[79,28],[[2,[37]]]],[[79,29],29],[[79,30],[[2,[27]]]],[[79,32],[[2,[37]]]],[[79,36],[[2,[37]]]],[[79,38],[[2,[27]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[[4,78,46],80],0,[[80,16],[[2,[37]]]],[[80,20],[[2,[20]]]],[[80,23],[[2,[37]]]],[[80,24],[[2,[37]]]],[[80,25],[[2,[37]]]],[[80,32],[[2,[37]]]],[[80,36],[[2,[37]]]],[[80,81],[[2,[27]]]],[[80,30,27],37],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],0,[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[82,[[83,[[2,[[56,[27]],36]]]]]],0,[82,[[56,[27]]]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[[82,60,[83,[[2,[[56,[27]],27]]]]],[[2,[27,[83,[37]]]]]],[[82,20,[83,[[2,[[56,[27]],36]]]]],2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[[3,4,78,46],82],0,[[82,15],[[2,[37]]]],[[82,16],[[2,[37]]]],[[82,20],[[2,[20]]]],[[82,23],[[2,[37]]]],[[82,24],[[2,[37]]]],[[82,25],[[2,[37]]]],[[82,29],29],[[82,32],[[2,[37]]]],[[82,36],[[2,[37]]]],[[82,38],[[2,[27]]]],[[82,39],[[2,[27]]]],0,[[82,30,27],37],0,[[82,84,27,30,30],[[2,[27,[83,[37]]]]]],[[82,35,27,30,30],[[2,[27,[83,[37]]]]]],[[82,85,27,30,30],[[2,[27,[83,[37]]]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[82,27],[[2,[30,37]]]],[-1,-2,[],[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[86,2],[1,-1,[]],[1,-1,[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],0,[[86,-1],2,67],[46,86],[[86,16],[[2,[37]]]],[[86,23],[[2,[37]]]],[[86,24],[[2,[37]]]],[[86,25],[[2,[37]]]],[[86,30],[[2,[27]]]],[[86,32],[[2,[37]]]],[[86,38],[[2,[27]]]],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],[[78,6,46,4],87],0,[[87,16],[[2,[37]]]],[[87,20],[[2,[20]]]],[[87,21],[[2,[27]]]],[[87,23],[[2,[37]]]],[[87,24],[[2,[37]]]],[[87,25],[[2,[37]]]],[[87,28],[[2,[37]]]],[[87,32],[[2,[37]]]],[[87,88],88],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[89,[-2]]],[],[]],0,0,[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,-1,[]],[1,2],[1,2],0,[-1,-1,[]],[-1,-1,[]],[[],1],[[],1],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11]]],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3]]],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10]]],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8]]],[],[],[],[],[],[],[],[]],[-1,2,[]],[-1,[[2,[-2,-3,-4,-5,-6,-7]]],[],[],[],[],[],[],[]],[-1,[[2,[-2]]],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10]]],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9]]],[],[],[],[],[],[],[],[],[]],[-1,2,[]],[-1,[[2,[-2,-3,-4,-5]]],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12]]],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11]]],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6]]],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4]]],[],[],[],[]],[-1,[[2,[-2]]],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7]]],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3]]],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8]]],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13]]],[],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9]]],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13]]],[],[],[],[],[],[],[],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5]]],[],[],[],[],[]],[-1,[[2,[-2,-3,-4]]],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6]]],[],[],[],[],[],[]],[-1,[[2,[-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12]]],[],[],[],[],[],[],[],[],[],[],[],[]],[[-1,-1,90],[[91,[-1]]],92],[[[91,[-1]]],56,92],[-1,[[93,[-2]]],[],[]],[-1,[[94,[-2]]],[],[]],[-1,[[93,[-2]]],[],[]],[-1,[[94,[-2]]],[],[]],[[-1,95],[[96,[-2]]],[],[]],[-1,[[97,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[-1,10,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[98,1],[1,-1,[]],[1,-1,[]],[[]],[1,2],[[98,99],2],[[98,1],1],[[98,1],2],[-1,-1,[]],0,[[],1],[-1,-2,[],[]],0,[[3,4,100,78],98],0,[[98,14],[[2,[27]]]],[[98,20],[[2,[20]]]],[[98,101],[[2,[37]]]],[[98,25],[[2,[37]]]],[[98,29],29],[[98,30],[[2,[27]]]],[[98,32],[[2,[37]]]],[[98,88],88],0,0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[98,32],37],[[98,32,-1],37,92],[-1,-2,[],[]],0,0,0,[[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[102,11]],[[102,13]],[[102,15]],[[102,16]],[[102,19]],[[102,20]],[[102,21]],[[102,22]],[[102,23]],[[102,24]],[[102,101]],[[102,25]],[[102,28]],[[102,29]],[[102,30]],[[102,32]],[[102,45]],[[102,7]],[[102,88]],[[102,36]],[[102,35]],[[102,38]],[[102,39]],[[102,40]],[[102,43]],[[102,44]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],[[],1],[-1,-2,[],[]],0,[[78,3,4,46],102],0,[102,66],[102,2],0,[[102,30,27],37],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[102,27],[[2,[30,37]]]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[1,-1,[]],[1,-1,[]],[[]],[1,2],[-1,-1,[]],0,[[],1],[-1,-2,[],[]],[100,103],0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],[[103,29],2],[[103,7],2],[[103,33],2],[[103,35],2],[-1,-2,[],[]],0,0,0,0,[[[56,[41]],[56,[41]],[56,[41]]],[[56,[41]]]],0,0,0,0,0,0,0,0,0,0,0,[[104,[56,[41]],71],2],[[104,41,[56,[41]],71],41],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],[[56,[105]]]],[[104,71,31,41],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],71],2],[[104,[56,[41]],41,71],2],[[104,41,71],53],[[104,[56,[41]],71],2],[-1,-2,[],[]],[-1,-2,[],[]],0,[[104,106,[75,[[2,[[56,[41]],71]]]],71],[[56,[41]]]],[[104,[56,[41]],[56,[41]],71],2],[[104,30,[56,[41]],71],41],[[104,-1,12,[56,[41]],71],2,70],[104,1],[1,-1,[]],[1,-1,[]],[[]],[1,2],[[104,107],2],[[104,1],2],[[104,1],2],[-1,-1,[]],0,[[104,41,30],[[56,[108]]]],[[104,41,30],[[56,[106]]]],0,0,0,[[],1],[-1,-2,[],[]],0,0,0,[[3,4,100],104],0,0,[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,10,[]],0,[[[75,[41]]],12],0,[[104,11]],[[104,13]],[[104,15],2],[[104,16],2],[[104,19]],[[104,20],2],[[104,21]],[[104,22]],[[104,23],2],[[104,24],2],[[104,101],2],[[104,25],2],[[104,26]],[[104,27]],[[104,28],2],[[104,29],2],[[104,30]],[[104,32],2],[[104,45]],[[104,33],2],[[104,7],2],[[104,88],2],[[104,36],2],[[104,37],2],[[104,35],2],[[104,38]],[[104,39]],[[104,40]],[[104,43]],[[104,44]],[-1,-2,[],[]]],"c":[],"p":[[15,"usize"],[15,"tuple"],[3,"SymbolTable",257],[3,"TypeTable",416],[6,"StructGraph",164],[6,"CallGraph",164],[3,"Program",906],[3,"CodeGenerator",16],[4,"Result",907],[3,"TypeId",908],[4,"AccessExpression",909],[3,"String",910],[3,"ArrayExpression",911],[3,"ArrayAccess",912],[3,"AssertStatement",913],[3,"AssignStatement",914],[3,"AssociatedConstant",915],[3,"AssociatedFunction",916],[3,"BinaryExpression",917],[3,"Block",918],[3,"CallExpression",919],[3,"CastExpression",920],[3,"ConditionalStatement",921],[3,"ConsoleStatement",922],[3,"DefinitionStatement",923],[3,"ErrExpression",924],[4,"Expression",925],[3,"ExpressionStatement",926],[3,"Function",927],[3,"Identifier",928],[3,"Symbol",929],[3,"IterationStatement",930],[3,"Mapping",931],[3,"MemberAccess",932],[3,"Struct",933],[3,"ReturnStatement",934],[4,"Statement",935],[3,"StructExpression",936],[3,"TernaryExpression",937],[3,"TupleExpression",938],[4,"Type",939],[4,"Mode",940],[3,"UnaryExpression",941],[3,"UnitExpression",942],[4,"Literal",943],[3,"Assigner",89],[3,"AssignerInner",89],[3,"Formatter",944],[6,"Result",944],[6,"NodeID",945],[8,"Display",944],[3,"ConstantPropagationTable",131],[15,"bool"],[8,"Deserializer",946],[6,"Result",947],[4,"Option",948],[3,"RefCell",949],[8,"Serializer",950],[4,"Value",951],[15,"str"],[3,"DiGraph",164],[8,"Node",164],[3,"IndexSet",952],[4,"DiGraphError",164],[8,"Debug",944],[3,"RenameTable",210],[8,"Iterator",953],[3,"Box",954],[3,"Replacer",241],[8,"Fn",955],[3,"Span",956],[3,"PathBuf",957],[3,"VariableSymbol",356],[3,"FunctionSymbol",308],[15,"slice"],[3,"FinalizeData",308],[4,"VariableType",356],[3,"NodeBuilder",958],[3,"DeadCodeEliminator",441],[3,"Destructurer",476],[3,"TupleAccess",959],[3,"Flattener",508],[3,"Vec",960],[3,"ArrayType",961],[3,"TupleType",962],[3,"AssignmentRenamer",554],[3,"FunctionInliner",580],[3,"ProgramScope",963],[3,"Replacements",964],[4,"Clusivity",614],[3,"RangeIterator",614],[8,"LoopBound",614],[3,"Recompositions",965],[3,"Decompositions",966],[3,"ProgressBar",967],[3,"ProgressBarIter",968],[3,"StreamSafe",969],[3,"Unroller",682],[4,"LoopUnrollerError",970],[3,"Handler",971],[3,"ConstDeclaration",972],[3,"StaticSingleAssigner",726],[3,"SymbolTableCreator",778],[3,"TypeChecker",804],[3,"MappingType",973],[4,"CoreFunction",974],[4,"TypeCheckerError",975],[4,"CoreConstant",976],[6,"ImportGraph",164],[8,"Pass",718]],"b":[[388,"impl-Display-for-VariableType"],[389,"impl-Debug-for-VariableType"],[390,"impl-Display-for-VariableSymbol"],[391,"impl-Debug-for-VariableSymbol"]]},\ +"leo_span":{"doc":"","t":"CCAAACANEDDNDDDDFLLLLLLLLLLLLLLLMLLLLMMMLLLLLMLLLLLLLLLLLLLLLMLLLLLLLFMLMMMLLLMMLLFFMFMMMLLMMLLLLLLLLLLLLLLLLLLLLLLLLLMDDIDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLKLLLLMOLLLLMLLLLLLLLLLLKLLKLLLLLLLLLLLDLLFLLLLFLLLLDEDNRHDNDLLLLLLLLLLLLLLLLOFLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLMMOAMOLLLLLLLLLLLLLLLLLFRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR","n":["Span","Symbol","source_map","span","span_json","sym","symbol","Custom","FileName","LineCol","MultiByteChar","Real","SourceFile","SourceMap","SourceMapInner","SpanLocation","analyze_source_file","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bytepos_to_file_charpos","bytes","clone","clone","clone_into","clone_into","col","col_start","col_stop","contents_of_span","contents_of_span","default","default","dummy","end_pos","eq","equivalent","equivalent","find_line_col","find_source_file","find_source_file_index","fmt","fmt","from","from","from","from","from","from","from","inner","into","into","into","into","into","into","into","is_not_test_framework","line","line_contents_of_span","line_start","line_stop","lines","load_file","lookup_file_pos","lookup_line","multibyte_chars","name","new","new_source","normalize_newlines","normalize_src","pos","remove_bom","source_file","source_file","source_files","span_to_location","span_to_string","src","start_pos","to_owned","to_owned","to_string","try_allocate_address_space","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","used_address_space","BytePos","CharPos","Pos","Span","add","add","add","add","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","default","default","deserialize","deserialize","dummy","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from_u32","from_u32","from_u32","from_usize","from_usize","from_usize","hash","hash","hi","impl_pos","into","into","into","is_dummy","lo","new","partial_cmp","partial_cmp","serialize","serialize","sub","sub","to_owned","to_owned","to_owned","to_string","to_u32","to_u32","to_u32","to_usize","to_usize","to_usize","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","SpanMapVisitor","borrow","borrow_mut","deserialize","expecting","fmt","from","into","serialize","try_from","try_into","type_id","visit_map","InnerInterner","InternedStr","Interner","Owned","PRE_DEFINED","SESSION_GLOBALS","SessionGlobals","Static","Symbol","as_str","as_u32","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","cmp","consts","create_session_if_not_set_then","default","deref","deserialize","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","from","from","get","hash","hash","inner","intern","intern","into","into","into","into","into","new","partial_cmp","prefill","prefilled","serde_from_symbol","serde_to_symbol","serialize","set","source_map","strings","sym","symbol_interner","symbols","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","with_session_globals","As","BHP1024","BHP256","BHP512","BHP768","ChaCha","Const","Else","False","For","GEN","If","In","Keccak256","Keccak384","Keccak512","Let","Mapping","Mod","Mut","Pedersen128","Pedersen64","Poseidon2","Poseidon4","Poseidon8","Return","SHA3_256","SHA3_384","SHA3_512","SelfLower","SelfUpper","Star","Struct","True","Type","_nonce","abs","abs_wrapped","add","add_wrapped","address","aleo","and","assert","assert_eq","assert_neq","block","bool","caller","commit_to_address","commit_to_field","commit_to_group","console","constant","contains","decrement","div","div_wrapped","double","eq","field","finalize","function","get","get_or_use","group","gt","gte","hash_to_address","hash_to_field","hash_to_group","hash_to_i128","hash_to_i16","hash_to_i32","hash_to_i64","hash_to_i8","hash_to_scalar","hash_to_u128","hash_to_u16","hash_to_u32","hash_to_u64","hash_to_u8","height","i128","i16","i32","i64","i8","import","increment","inline","input","inv","leo","lt","lte","main","mapping","mul","mul_wrapped","nand","neg","neq","nor","not","or","owner","pow","pow_wrapped","private","program","public","rand_address","rand_bool","rand_field","rand_group","rand_i128","rand_i16","rand_i32","rand_i64","rand_i8","rand_scalar","rand_u128","rand_u16","rand_u32","rand_u64","rand_u8","record","rem","rem_wrapped","remove","scalar","set","shl","shl_wrapped","shr","shr_wrapped","signature","signer","square","square_root","string","sub","sub_wrapped","then","to_x_coordinate","to_y_coordinate","transition","u128","u16","u32","u64","u8","verify","xor"],"q":[[0,"leo_span"],[7,"leo_span::source_map"],[119,"leo_span::span"],[203,"leo_span::span_json"],[216,"leo_span::symbol"],[301,"leo_span::symbol::sym"],[456,"alloc::vec"],[457,"alloc::string"],[458,"core::option"],[459,"alloc::rc"],[460,"core::fmt"],[461,"core::fmt"],[462,"std::io::error"],[463,"core::result"],[464,"core::any"],[465,"core::cmp"],[466,"serde::de"],[467,"core::hash"],[468,"serde::ser"],[469,"core::fmt"],[470,"core::num::nonzero"]],"d":["","","","Defines the Span type used to track where code comes from.","Provides custom serialize/deserialize implementations for …","","","Any sort of description for a source.","A file name.","File / Line / Column information on a BytePos.","Identifies an offset of a multi-byte character in a …","A real file.","A single source in the SourceMap.","The source map containing all recorded sources, methods to …","Actual data of the source map. We use this setup for …","Detailed information on a Span.","Finds all newlines, multi-byte characters, and non-narrow …","","","","","","","","","","","","","","","Converts an absolute BytePos to a CharPos relative to the …","The number of bytes, >= 2.","","","","","The (0-based) column offset into the line.","","","Returns contents of a span assumed to be within the given …","Returns the source contents that is spanned by span.","","","Returns a dummy location.","The end position of this source in the SourceMap.","","","","Finds line column info about a given pos.","Find the source file containing pos.","Find the index for the source file containing pos.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","The actual source map data.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Is the env var LEO_TESTFRAMEWORK not enabled?","The 1-based line number.","Returns the source contents of the lines that span is …","","","Locations of line beginnings in the source code.","Loads the given path and returns a SourceFile for it.","Looks up the file’s (1-based) line number and (0-based …","Finds the line containing the given position. The return …","Locations of multi-byte characters in the source code.","The name of the file that the source came from.","Creates a new SourceMap given the file name, source …","Registers source under the given file name, returning a …","Replaces \\\\r\\\\n with \\\\n in-place in src.","Normalizes the source code and records the normalizations.","The absolute offset of the character in the SourceMap.","Removes UTF-8 BOM, if any.","","Information on the original source.","All the source files recorded thus far.","Retrives the location (source file, line, col) on the …","Returns a displayable representation of the span as a …","The complete source code.","The start position of this source in the SourceMap.","","","","Attempt reserving address space for size number of bytes.","","","","","","","","","","","","","","","","","","","","","","The address space below this value is currently used by …","A byte offset.","A character offset.","Offsets (i.e. positions), in some units (e.g. bytes or …","The span type which tracks where formatted errors …","Add two spans together. The resulting span is the smallest …","Add two spans (by reference) together.","","","","","","","","","","","","","","","","","","","","","Generates a dummy span with all defaults. Should only be …","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","The end (high) position of the span, exclusive. The length …","Generate one-component tuple structs that implement the Pos…","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Is the span a dummy?","The start (low) position of the span, inclusive.","Generate a new span from the starting and ending positions.","","","","","","","","","","","","","","","","","","","","","","","","","","This visitor is used by the deserializer to unwrap mappings","","","Custom deserialization to enable removing spans from enums.","","","Returns the argument unchanged.","Calls U::from(self).","The AST contains a few tuple-like enum variants that …","","","","","The inner interner. This construction is used to get …","An interned string, either prefilled “at compile time” …","A symbol-to-string interner.","String is constructed and stored during runtime.","","","All the globals for a compiler sessions.","String is stored “at compile time”, i.e. prefilled.","An interned string.","Convert to effectively a &'static str given the …","Converts this symbol to the raw index.","","","","","","","","","","","","","","","A helper for symbols defined below. The macro’s job is …","Creates the session globals and then runs the closure f.","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the corresponding string for the given symbol.","","","","Interns string, returning a Symbol corresponding to it.","Maps a string to its interned representation.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the corresponding Symbol for the given index.","","Returns an interner prefilled with init.","Returns an interner prefilled with commonly used strings …","","","","Registration of strings and symbol index allocation is …","The source map used in the compiler.","A helper for symbols defined below. The macro’s job is …","","The interner for Symbols used in the compiler.","Creates predefined symbols used throughout the Leo …","","","","","","","","","","","","","","","","","","Gives access to read or modify the session globals in f.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,8,0,0,0,8,0,0,0,0,0,6,14,16,11,13,8,4,6,14,16,11,13,8,4,6,4,8,4,8,4,16,14,14,6,11,11,13,14,6,4,4,4,11,11,11,8,4,6,14,16,11,13,8,4,11,6,14,16,11,13,8,4,0,16,11,14,14,6,11,6,6,6,6,6,11,0,0,4,0,14,16,13,11,11,6,6,8,4,8,13,6,14,16,11,13,8,4,6,14,16,11,13,8,4,6,14,16,11,13,8,4,13,0,0,0,0,9,9,2,7,9,2,7,9,2,7,9,2,7,9,2,7,2,7,9,2,9,2,9,9,2,7,9,9,2,2,7,7,9,9,2,7,9,2,7,40,2,7,40,2,7,9,2,9,0,9,2,7,9,9,9,2,7,9,2,2,7,9,2,7,9,40,2,7,40,2,7,9,2,7,9,2,7,9,2,7,0,30,30,0,30,30,30,30,0,30,30,30,30,0,0,0,36,0,0,0,36,0,33,33,34,41,37,33,36,36,34,41,37,33,36,33,33,33,0,0,34,36,33,33,36,33,33,36,36,33,33,34,41,37,33,36,37,33,36,37,37,33,34,41,37,33,36,33,33,37,37,33,33,33,41,34,0,0,34,0,33,33,34,41,37,33,36,34,41,37,33,36,34,41,37,33,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[1,2],[[5,[[3,[2]],[3,[4]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[6,2],7],0,[8,8],[4,4],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,[[6,9],10],[[11,9],[[12,[10]]]],[[],11],[[],13],[[],14],0,[[4,4],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[11,2],[[12,[16]]]],[[11,2],[[12,[[17,[6]]]]]],[[11,2],[[12,[18]]]],[[8,19],20],[[4,19],20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],15],0,[[11,9],[[12,[10]]]],0,0,0,[[11,21],[[22,[[17,[6]]]]]],[[6,2],[[5,[18,7]]]],[[6,2],[[12,[18]]]],0,0,[[8,10,2],6],[[11,1,8],[[17,[6]]]],[10,5],[10,5],0,[10,5],0,0,0,[[11,9],[[12,[14]]]],[[11,9],10],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,10,[]],[[13,23],[[12,[2]]]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],0,0,0,0,0,[[9,9],9],[[9,9],9],[[2,2],2],[[7,7],7],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[9,9],[2,2],[7,7],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[2,2],26],[[7,7],26],[[],9],[[],2],[-1,[[24,[9]]],27],[-1,[[24,[2]]],27],[[],9],[[9,9],15],[[2,2],15],[[7,7],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[9,19],20],[[9,19],20],[[2,19],20],[[7,19],20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[23,-1,[]],[23,2],[23,7],[18,-1,[]],[18,2],[18,7],[[9,-1],5,28],[[2,-1],5,28],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[9,15],0,[[2,2],9],[[2,2],[[12,[26]]]],[[7,7],[[12,[26]]]],[[9,-1],24,29],[[2,-1],24,29],[[2,2],2],[[7,7],7],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,10,[]],[-1,23,[]],[2,23],[7,23],[-1,18,[]],[2,18],[7,18],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[24,[9]]],27],[[30,19],20],[[-1,19],[[24,[5,31]]],[]],[-1,-1,[]],[-1,-2,[],[]],[[9,-1],24,29],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[[30,-1],24,32],0,0,0,0,0,0,0,0,0,[[33,34,-1],-2,35,[]],[33,23],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[36,1],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[33,33],[[-1,-2],5,[],[]],[[33,33],26],0,[-1,-2,35,[]],[[],34],[36],[-1,[[24,[33]]],27],[[33,33],15],[[36,36],15],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[33,19],20],[[33,19],20],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[37,33,-1],-2,35,[]],[[33,-1],5,28],[[36,-1],5,28],0,[[37,1],33],[1,33],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[23,33],[[33,33],[[12,[26]]]],[[[38,[1]]],37],[[],37],[[39,-1],24,29],[-1,[[24,[39]]],27],[[33,-1],24,29],0,0,0,0,0,0,[-1,-2,[],[]],[-1,10,[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,25,[]],[-1,-2,35,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"c":[],"p":[[15,"str"],[3,"BytePos",119],[3,"Vec",456],[3,"MultiByteChar",7],[15,"tuple"],[3,"SourceFile",7],[3,"CharPos",119],[4,"FileName",7],[3,"Span",119],[3,"String",457],[3,"SourceMap",7],[4,"Option",458],[3,"SourceMapInner",7],[3,"SpanLocation",7],[15,"bool"],[3,"LineCol",7],[3,"Rc",459],[15,"usize"],[3,"Formatter",460],[6,"Result",460],[3,"Path",461],[6,"Result",462],[15,"u32"],[4,"Result",463],[3,"TypeId",464],[4,"Ordering",465],[8,"Deserializer",466],[8,"Hasher",467],[8,"Serializer",468],[3,"SpanMapVisitor",203],[3,"Error",460],[8,"MapAccess",466],[3,"Symbol",216],[3,"SessionGlobals",216],[8,"FnOnce",469],[4,"InternedStr",216],[3,"Interner",216],[15,"slice"],[3,"NonZeroU32",470],[8,"Pos",119],[3,"InnerInterner",216]],"b":[[123,"impl-Add-for-Span"],[124,"impl-Add-for-%26Span"],[155,"impl-Debug-for-Span"],[156,"impl-Display-for-Span"],[252,"impl-Display-for-Symbol"],[253,"impl-Debug-for-Symbol"]]},\ +"leo_test_framework":{"doc":"The test framework to run integration tests with Leo code …","t":"AAAAANNNNNEDNNLLLLFMLLLLLLMLLLLLLLMMMMMMMMMMMMMMMMFFFDLLLLLMLLMMLLLLLNNIEIDDNLLLLLLLLMMLLLMMLLLLFLLLFLLMLKMMLKKFFFMLLLLLLLLLLNNNDELLLLLLLLLLLLLMMFLLLLLLMLLLLLLLLLL","n":["error","fetch","output","runner","test","FailedAndShouldntHave","MismatchedTestExpectationLength","MissingTestConfig","Panicked","PassedAndShouldntHave","TestError","TestFailure","UnexpectedError","UnexpectedOutput","borrow","borrow","borrow_mut","borrow_mut","emit_errors","errors","fmt","fmt","from","from","into","into","path","to_string","try_from","try_from","try_into","try_into","type_id","type_id","error","error","expected","expected","index","index","index","index","index","output","output","test","test","test","test","test","find_tests","split_tests_one_line","split_tests_two_line","TestExpectation","borrow","borrow_mut","clone","clone_into","deserialize","expectation","from","into","namespace","outputs","serialize","to_owned","try_from","try_into","type_id","ContinuousLines","Line","Namespace","ParseType","Runner","Test","TestCases","Whole","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","config","content","eq","equivalent","equivalent","expectation_category","fail_categories","fmt","from","from","from","get_benches","into","into","into","is_env_var_set","load_expectations","load_tests","name","new","parse_type","path","path_prefix","process_tests","resolve_namespace","run_test","run_tests","set_hook","take_hook","tests","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","Fail","Pass","Skip","TestConfig","TestExpectationMode","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","eq","equivalent","equivalent","expectation","extra","extract_test_config","fmt","fmt","from","from","into","into","namespace","serialize","serialize","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id"],"q":[[0,"leo_test_framework"],[5,"leo_test_framework::error"],[34,"leo_test_framework::error::TestError"],[50,"leo_test_framework::fetch"],[53,"leo_test_framework::output"],[69,"leo_test_framework::runner"],[125,"leo_test_framework::test"],[163,"serde_yaml::value"],[164,"alloc::string"],[165,"core::result"],[166,"core::option"],[167,"core::fmt"],[168,"core::fmt"],[169,"std::path"],[170,"core::iter::traits::iterator"],[171,"alloc::vec"],[172,"serde::de"],[173,"serde::ser"],[174,"std::path"],[175,"core::ops::function"],[176,"std::sync::mutex"],[177,"alloc::sync"],[178,"core::any"]],"d":["","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","returns (name, content) for all benchmark samples","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","The test should fail.","The test should pass.","The test should be skipped.","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","",""],"i":[0,0,0,0,0,8,8,8,8,8,0,0,8,8,33,8,33,8,0,33,8,8,33,8,33,8,33,8,33,8,33,8,33,8,34,35,36,37,34,36,38,35,37,36,37,34,36,38,35,37,0,0,0,0,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,19,19,0,0,0,0,0,19,28,21,19,28,21,19,19,19,28,28,19,19,19,21,21,19,28,21,19,0,28,21,19,0,21,21,28,21,26,28,21,21,29,26,0,0,0,21,19,28,21,19,28,21,19,28,21,19,5,5,5,0,0,5,23,5,23,5,23,5,23,5,23,5,5,5,23,23,0,5,23,5,23,5,23,23,5,23,5,23,5,23,5,23,5,23],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[1,[4,[[4,[2,3]],3]],5,[6,[2]],7],[[6,[8]]]],0,[[8,9],10],[[8,9],10],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,3,[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,11,[]],[-1,11,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[12,[[0,[13]]]],[1,[[14,[1]]]],[1,[[14,[3]]]],0,[-1,-2,[],[]],[-1,-2,[],[]],[15,15],[[-1,-2],16,[],[]],[-1,[[4,[15]]],17],0,[-1,-1,[]],[-1,-2,[],[]],0,0,[[15,-1],4,18],[-1,-2,[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,11,[]],0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[19,19],[[-1,-2],16,[],[]],0,0,[[19,19],20],[[-1,-2],20,[],[]],[[-1,-2],20,[],[]],0,0,[[19,9],10],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[],[[14,[[16,[3,3]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[1,20],[[21,12],[[16,[22,[6,[15]]]]]],[[21,-1],[[14,[23]]],24],0,[[1,-1],[[16,[21,[14,[23]]]]],24],[-1,19,[]],0,0,[[21,[14,[23]],-1],[[14,[-2]]],25,[]],[[-1,1],[[6,[[27,[26]]]]],[]],[[-1,28],[[4,[2,3]]],[]],[[-1,1],16,29],[[],[[31,[[30,[[6,[3]]]]]]]],[[[4,[[4,[2,3]],[27,[32]]]],[31,[[30,[[6,[3]]]]]]],[[4,[[4,[2,3]],3]]]],0,[-1,-2,[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,11,[]],[-1,11,[]],[-1,11,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[5,5],[23,23],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[-1,[[4,[5]]],17],[-1,[[4,[23]]],17],[[5,5],20],[[-1,-2],20,[],[]],[[-1,-2],20,[],[]],0,0,[1,[[6,[23]]]],[[5,9],10],[[23,9],10],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[5,-1],4,18],[[23,-1],4,18],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,[[4,[-2]]],[],[]],[-1,11,[]],[-1,11,[]]],"c":[],"p":[[15,"str"],[4,"Value",163],[3,"String",164],[4,"Result",165],[4,"TestExpectationMode",125],[4,"Option",166],[15,"usize"],[4,"TestError",5],[3,"Formatter",167],[6,"Result",167],[3,"TypeId",168],[3,"Path",169],[8,"Iterator",170],[3,"Vec",171],[3,"TestExpectation",53],[15,"tuple"],[8,"Deserializer",172],[8,"Serializer",173],[4,"ParseType",69],[15,"bool"],[3,"TestCases",69],[3,"PathBuf",169],[3,"TestConfig",125],[8,"Fn",174],[8,"FnMut",174],[8,"Namespace",69],[3,"Box",175],[3,"Test",69],[8,"Runner",69],[3,"Mutex",176],[3,"Arc",177],[8,"Any",168],[3,"TestFailure",5],[13,"Panicked",34],[13,"FailedAndShouldntHave",34],[13,"UnexpectedOutput",34],[13,"UnexpectedError",34],[13,"PassedAndShouldntHave",34]],"b":[[20,"impl-Display-for-TestError"],[21,"impl-Debug-for-TestError"]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex}; diff --git a/settings.html b/settings.html index 011124960a..1522bd7f64 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Rustdoc settings

Rustdoc settings

Back
\ No newline at end of file +Settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/src/errcov/errcov.rs.html b/src/errcov/errcov.rs.html index cfb4f34b48..4dae179f66 100644 --- a/src/errcov/errcov.rs.html +++ b/src/errcov/errcov.rs.html @@ -1,4 +1,4 @@ -errcov.rs - source
1
+errcov.rs - source
1
 2
 3
 4
diff --git a/src/leo/main.rs.html b/src/leo/main.rs.html
index 7de0073b00..cd182aa353 100644
--- a/src/leo/main.rs.html
+++ b/src/leo/main.rs.html
@@ -1,4 +1,4 @@
-main.rs - source
1
+main.rs - source
1
 2
 3
 4
diff --git a/src/leo_abnf/main.rs.html b/src/leo_abnf/main.rs.html
index 84ee5e53e4..53e314df9b 100644
--- a/src/leo_abnf/main.rs.html
+++ b/src/leo_abnf/main.rs.html
@@ -1,4 +1,4 @@
-main.rs - source
1
+main.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/access/array_access.rs.html b/src/leo_ast/access/array_access.rs.html
index 8f40f5b5ae..13b10c22dc 100644
--- a/src/leo_ast/access/array_access.rs.html
+++ b/src/leo_ast/access/array_access.rs.html
@@ -1,4 +1,4 @@
-array_access.rs - source
1
+array_access.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/access/associated_constant_access.rs.html b/src/leo_ast/access/associated_constant_access.rs.html
index 33c8f0dd51..d31b539b7d 100644
--- a/src/leo_ast/access/associated_constant_access.rs.html
+++ b/src/leo_ast/access/associated_constant_access.rs.html
@@ -1,4 +1,4 @@
-associated_constant_access.rs - source
1
+associated_constant_access.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/access/associated_function_access.rs.html b/src/leo_ast/access/associated_function_access.rs.html
index 9b36595221..210c7b4ce9 100644
--- a/src/leo_ast/access/associated_function_access.rs.html
+++ b/src/leo_ast/access/associated_function_access.rs.html
@@ -1,4 +1,4 @@
-associated_function_access.rs - source
1
+associated_function_access.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/access/member_access.rs.html b/src/leo_ast/access/member_access.rs.html
index 0e95d11ea9..2efb29e1dd 100644
--- a/src/leo_ast/access/member_access.rs.html
+++ b/src/leo_ast/access/member_access.rs.html
@@ -1,4 +1,4 @@
-member_access.rs - source
1
+member_access.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/access/mod.rs.html b/src/leo_ast/access/mod.rs.html
index 98ad3ce6d9..05c71af641 100644
--- a/src/leo_ast/access/mod.rs.html
+++ b/src/leo_ast/access/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/access/tuple_access.rs.html b/src/leo_ast/access/tuple_access.rs.html
index e6c21820bc..d22c4ceb9d 100644
--- a/src/leo_ast/access/tuple_access.rs.html
+++ b/src/leo_ast/access/tuple_access.rs.html
@@ -1,4 +1,4 @@
-tuple_access.rs - source
1
+tuple_access.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/common/identifier.rs.html b/src/leo_ast/common/identifier.rs.html
index d0931d35a3..5f926b139b 100644
--- a/src/leo_ast/common/identifier.rs.html
+++ b/src/leo_ast/common/identifier.rs.html
@@ -1,4 +1,4 @@
-identifier.rs - source
1
+identifier.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/common/imported_modules.rs.html b/src/leo_ast/common/imported_modules.rs.html
index c9d2bb4236..69c58c4290 100644
--- a/src/leo_ast/common/imported_modules.rs.html
+++ b/src/leo_ast/common/imported_modules.rs.html
@@ -1,4 +1,4 @@
-imported_modules.rs - source
1
+imported_modules.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/common/mod.rs.html b/src/leo_ast/common/mod.rs.html
index 405cbe5234..cd1ed668b0 100644
--- a/src/leo_ast/common/mod.rs.html
+++ b/src/leo_ast/common/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/common/node.rs.html b/src/leo_ast/common/node.rs.html
index 3a0826a5d8..755472c506 100644
--- a/src/leo_ast/common/node.rs.html
+++ b/src/leo_ast/common/node.rs.html
@@ -1,4 +1,4 @@
-node.rs - source
1
+node.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/common/node_builder.rs.html b/src/leo_ast/common/node_builder.rs.html
index 7f78d58da0..9f68125e49 100644
--- a/src/leo_ast/common/node_builder.rs.html
+++ b/src/leo_ast/common/node_builder.rs.html
@@ -1,4 +1,4 @@
-node_builder.rs - source
1
+node_builder.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/common/positive_number.rs.html b/src/leo_ast/common/positive_number.rs.html
index d19c25cdd8..b1f528c84a 100644
--- a/src/leo_ast/common/positive_number.rs.html
+++ b/src/leo_ast/common/positive_number.rs.html
@@ -1,4 +1,4 @@
-positive_number.rs - source
1
+positive_number.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/common/static_string.rs.html b/src/leo_ast/common/static_string.rs.html
index 362ee512d8..a89a72466b 100644
--- a/src/leo_ast/common/static_string.rs.html
+++ b/src/leo_ast/common/static_string.rs.html
@@ -1,4 +1,4 @@
-static_string.rs - source
1
+static_string.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/expressions/access.rs.html b/src/leo_ast/expressions/access.rs.html
index 73bb345b98..7235efd0c5 100644
--- a/src/leo_ast/expressions/access.rs.html
+++ b/src/leo_ast/expressions/access.rs.html
@@ -1,4 +1,4 @@
-access.rs - source
1
+access.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/expressions/array.rs.html b/src/leo_ast/expressions/array.rs.html
index 358d0d9fcb..8258402161 100644
--- a/src/leo_ast/expressions/array.rs.html
+++ b/src/leo_ast/expressions/array.rs.html
@@ -1,4 +1,4 @@
-array.rs - source
1
+array.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/expressions/binary.rs.html b/src/leo_ast/expressions/binary.rs.html
index 8280f3135f..c79972a0ad 100644
--- a/src/leo_ast/expressions/binary.rs.html
+++ b/src/leo_ast/expressions/binary.rs.html
@@ -1,4 +1,4 @@
-binary.rs - source
1
+binary.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/expressions/call.rs.html b/src/leo_ast/expressions/call.rs.html
index d68aa77699..537a8bd93d 100644
--- a/src/leo_ast/expressions/call.rs.html
+++ b/src/leo_ast/expressions/call.rs.html
@@ -1,4 +1,4 @@
-call.rs - source
1
+call.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/expressions/cast.rs.html b/src/leo_ast/expressions/cast.rs.html
index 13d8206287..8d01a45be3 100644
--- a/src/leo_ast/expressions/cast.rs.html
+++ b/src/leo_ast/expressions/cast.rs.html
@@ -1,4 +1,4 @@
-cast.rs - source
1
+cast.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/expressions/err.rs.html b/src/leo_ast/expressions/err.rs.html
index ba68cebe79..2f56f69ba2 100644
--- a/src/leo_ast/expressions/err.rs.html
+++ b/src/leo_ast/expressions/err.rs.html
@@ -1,4 +1,4 @@
-err.rs - source
1
+err.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/expressions/literal.rs.html b/src/leo_ast/expressions/literal.rs.html
index 6d8faa453f..5588b7c565 100644
--- a/src/leo_ast/expressions/literal.rs.html
+++ b/src/leo_ast/expressions/literal.rs.html
@@ -1,4 +1,4 @@
-literal.rs - source
1
+literal.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/expressions/mod.rs.html b/src/leo_ast/expressions/mod.rs.html
index af6c5bcda7..a2d335ff57 100644
--- a/src/leo_ast/expressions/mod.rs.html
+++ b/src/leo_ast/expressions/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/expressions/struct_init.rs.html b/src/leo_ast/expressions/struct_init.rs.html
index 4337d0e987..b66b701efd 100644
--- a/src/leo_ast/expressions/struct_init.rs.html
+++ b/src/leo_ast/expressions/struct_init.rs.html
@@ -1,4 +1,4 @@
-struct_init.rs - source
1
+struct_init.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/expressions/ternary.rs.html b/src/leo_ast/expressions/ternary.rs.html
index e6001f1e1e..19e9b8fc16 100644
--- a/src/leo_ast/expressions/ternary.rs.html
+++ b/src/leo_ast/expressions/ternary.rs.html
@@ -1,4 +1,4 @@
-ternary.rs - source
1
+ternary.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/expressions/tuple.rs.html b/src/leo_ast/expressions/tuple.rs.html
index 41550abf7a..21bd1ceb66 100644
--- a/src/leo_ast/expressions/tuple.rs.html
+++ b/src/leo_ast/expressions/tuple.rs.html
@@ -1,4 +1,4 @@
-tuple.rs - source
1
+tuple.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/expressions/unary.rs.html b/src/leo_ast/expressions/unary.rs.html
index c0a9fbc57e..c27a7e9190 100644
--- a/src/leo_ast/expressions/unary.rs.html
+++ b/src/leo_ast/expressions/unary.rs.html
@@ -1,4 +1,4 @@
-unary.rs - source
1
+unary.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/expressions/unit.rs.html b/src/leo_ast/expressions/unit.rs.html
index 4f0fa773f9..26315198d0 100644
--- a/src/leo_ast/expressions/unit.rs.html
+++ b/src/leo_ast/expressions/unit.rs.html
@@ -1,4 +1,4 @@
-unit.rs - source
1
+unit.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/functions/annotation.rs.html b/src/leo_ast/functions/annotation.rs.html
index c6c28bb58e..4ac1a911fe 100644
--- a/src/leo_ast/functions/annotation.rs.html
+++ b/src/leo_ast/functions/annotation.rs.html
@@ -1,4 +1,4 @@
-annotation.rs - source
1
+annotation.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/functions/core_function.rs.html b/src/leo_ast/functions/core_function.rs.html
index 16759f3810..5b7c77b758 100644
--- a/src/leo_ast/functions/core_function.rs.html
+++ b/src/leo_ast/functions/core_function.rs.html
@@ -1,4 +1,4 @@
-core_function.rs - source
1
+core_function.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/functions/external.rs.html b/src/leo_ast/functions/external.rs.html
index c56767fc0c..49c010c123 100644
--- a/src/leo_ast/functions/external.rs.html
+++ b/src/leo_ast/functions/external.rs.html
@@ -1,4 +1,4 @@
-external.rs - source
1
+external.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/functions/finalize.rs.html b/src/leo_ast/functions/finalize.rs.html
index 302d3f8631..188673511a 100644
--- a/src/leo_ast/functions/finalize.rs.html
+++ b/src/leo_ast/functions/finalize.rs.html
@@ -1,4 +1,4 @@
-finalize.rs - source
1
+finalize.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/functions/input.rs.html b/src/leo_ast/functions/input.rs.html
index 70de9ebffb..5eb0a3fe4c 100644
--- a/src/leo_ast/functions/input.rs.html
+++ b/src/leo_ast/functions/input.rs.html
@@ -1,4 +1,4 @@
-input.rs - source
1
+input.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/functions/mod.rs.html b/src/leo_ast/functions/mod.rs.html
index 9c14827d8e..1957c0df86 100644
--- a/src/leo_ast/functions/mod.rs.html
+++ b/src/leo_ast/functions/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/functions/mode.rs.html b/src/leo_ast/functions/mode.rs.html
index 55fae1f9e2..3b1626ad66 100644
--- a/src/leo_ast/functions/mode.rs.html
+++ b/src/leo_ast/functions/mode.rs.html
@@ -1,4 +1,4 @@
-mode.rs - source
1
+mode.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/functions/output.rs.html b/src/leo_ast/functions/output.rs.html
index d8ad9897a5..f07f9bc8fd 100644
--- a/src/leo_ast/functions/output.rs.html
+++ b/src/leo_ast/functions/output.rs.html
@@ -1,4 +1,4 @@
-output.rs - source
1
+output.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/functions/variant.rs.html b/src/leo_ast/functions/variant.rs.html
index 24bc89a333..4a465135fa 100644
--- a/src/leo_ast/functions/variant.rs.html
+++ b/src/leo_ast/functions/variant.rs.html
@@ -1,4 +1,4 @@
-variant.rs - source
1
+variant.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/groups/group_coordinate.rs.html b/src/leo_ast/groups/group_coordinate.rs.html
index 1c5cb8fa74..fdaf6d9b75 100644
--- a/src/leo_ast/groups/group_coordinate.rs.html
+++ b/src/leo_ast/groups/group_coordinate.rs.html
@@ -1,4 +1,4 @@
-group_coordinate.rs - source
1
+group_coordinate.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/groups/group_literal.rs.html b/src/leo_ast/groups/group_literal.rs.html
index 6a18e585d5..6046f3880c 100644
--- a/src/leo_ast/groups/group_literal.rs.html
+++ b/src/leo_ast/groups/group_literal.rs.html
@@ -1,4 +1,4 @@
-group_literal.rs - source
1
+group_literal.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/groups/mod.rs.html b/src/leo_ast/groups/mod.rs.html
index bbece11250..cfdcc0e901 100644
--- a/src/leo_ast/groups/mod.rs.html
+++ b/src/leo_ast/groups/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/input/definition.rs.html b/src/leo_ast/input/definition.rs.html
index 01be15f9ba..a9fa773deb 100644
--- a/src/leo_ast/input/definition.rs.html
+++ b/src/leo_ast/input/definition.rs.html
@@ -1,4 +1,4 @@
-definition.rs - source
1
+definition.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/input/input_ast.rs.html b/src/leo_ast/input/input_ast.rs.html
index 8bc7e1bc18..357941640b 100644
--- a/src/leo_ast/input/input_ast.rs.html
+++ b/src/leo_ast/input/input_ast.rs.html
@@ -1,4 +1,4 @@
-input_ast.rs - source
1
+input_ast.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/input/input_value.rs.html b/src/leo_ast/input/input_value.rs.html
index 22d8c9a5d0..de969b52c5 100644
--- a/src/leo_ast/input/input_value.rs.html
+++ b/src/leo_ast/input/input_value.rs.html
@@ -1,4 +1,4 @@
-input_value.rs - source
1
+input_value.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/input/mod.rs.html b/src/leo_ast/input/mod.rs.html
index d98936aae7..c501511202 100644
--- a/src/leo_ast/input/mod.rs.html
+++ b/src/leo_ast/input/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/input/program_input.rs.html b/src/leo_ast/input/program_input.rs.html
index 8ebddcfcc4..8e18f5c86e 100644
--- a/src/leo_ast/input/program_input.rs.html
+++ b/src/leo_ast/input/program_input.rs.html
@@ -1,4 +1,4 @@
-program_input.rs - source
1
+program_input.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/input/section.rs.html b/src/leo_ast/input/section.rs.html
index 9619285a93..69187ae754 100644
--- a/src/leo_ast/input/section.rs.html
+++ b/src/leo_ast/input/section.rs.html
@@ -1,4 +1,4 @@
-section.rs - source
1
+section.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/lib.rs.html b/src/leo_ast/lib.rs.html
index 89c7fd5ce6..760c0d8177 100644
--- a/src/leo_ast/lib.rs.html
+++ b/src/leo_ast/lib.rs.html
@@ -1,4 +1,4 @@
-lib.rs - source
1
+lib.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/mapping/mod.rs.html b/src/leo_ast/mapping/mod.rs.html
index a270a7319b..776e2cc159 100644
--- a/src/leo_ast/mapping/mod.rs.html
+++ b/src/leo_ast/mapping/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/passes/consumer.rs.html b/src/leo_ast/passes/consumer.rs.html
index 9e9e860385..d4eaa43807 100644
--- a/src/leo_ast/passes/consumer.rs.html
+++ b/src/leo_ast/passes/consumer.rs.html
@@ -1,4 +1,4 @@
-consumer.rs - source
1
+consumer.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/passes/mod.rs.html b/src/leo_ast/passes/mod.rs.html
index 471cabb5f1..ac3f5f5bfa 100644
--- a/src/leo_ast/passes/mod.rs.html
+++ b/src/leo_ast/passes/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/passes/reconstructor.rs.html b/src/leo_ast/passes/reconstructor.rs.html
index 178fa0ba2a..c9dbe85d04 100644
--- a/src/leo_ast/passes/reconstructor.rs.html
+++ b/src/leo_ast/passes/reconstructor.rs.html
@@ -1,4 +1,4 @@
-reconstructor.rs - source
1
+reconstructor.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/passes/visitor.rs.html b/src/leo_ast/passes/visitor.rs.html
index d9d15c11e5..feca6907fc 100644
--- a/src/leo_ast/passes/visitor.rs.html
+++ b/src/leo_ast/passes/visitor.rs.html
@@ -1,4 +1,4 @@
-visitor.rs - source
1
+visitor.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/program/mod.rs.html b/src/leo_ast/program/mod.rs.html
index d0b5faaa32..e2d16f9a42 100644
--- a/src/leo_ast/program/mod.rs.html
+++ b/src/leo_ast/program/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/program/program_id.rs.html b/src/leo_ast/program/program_id.rs.html
index 51484d5008..682c007f92 100644
--- a/src/leo_ast/program/program_id.rs.html
+++ b/src/leo_ast/program/program_id.rs.html
@@ -1,4 +1,4 @@
-program_id.rs - source
1
+program_id.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/program/program_scope.rs.html b/src/leo_ast/program/program_scope.rs.html
index ffb8f11ed2..356002ca2b 100644
--- a/src/leo_ast/program/program_scope.rs.html
+++ b/src/leo_ast/program/program_scope.rs.html
@@ -1,4 +1,4 @@
-program_scope.rs - source
1
+program_scope.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/assert.rs.html b/src/leo_ast/statement/assert.rs.html
index 3f688d7bf0..714d98379d 100644
--- a/src/leo_ast/statement/assert.rs.html
+++ b/src/leo_ast/statement/assert.rs.html
@@ -1,4 +1,4 @@
-assert.rs - source
1
+assert.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/assign.rs.html b/src/leo_ast/statement/assign.rs.html
index 9d6560ee04..34f26026d2 100644
--- a/src/leo_ast/statement/assign.rs.html
+++ b/src/leo_ast/statement/assign.rs.html
@@ -1,4 +1,4 @@
-assign.rs - source
1
+assign.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/block.rs.html b/src/leo_ast/statement/block.rs.html
index fc034e6588..82c761697c 100644
--- a/src/leo_ast/statement/block.rs.html
+++ b/src/leo_ast/statement/block.rs.html
@@ -1,4 +1,4 @@
-block.rs - source
1
+block.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/conditional.rs.html b/src/leo_ast/statement/conditional.rs.html
index 8a2da77e24..4859ebe38a 100644
--- a/src/leo_ast/statement/conditional.rs.html
+++ b/src/leo_ast/statement/conditional.rs.html
@@ -1,4 +1,4 @@
-conditional.rs - source
1
+conditional.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/console/console_function.rs.html b/src/leo_ast/statement/console/console_function.rs.html
index a7934fe002..b74adfdd98 100644
--- a/src/leo_ast/statement/console/console_function.rs.html
+++ b/src/leo_ast/statement/console/console_function.rs.html
@@ -1,4 +1,4 @@
-console_function.rs - source
1
+console_function.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/console/console_statement.rs.html b/src/leo_ast/statement/console/console_statement.rs.html
index 4ca6a1ef38..226efa4771 100644
--- a/src/leo_ast/statement/console/console_statement.rs.html
+++ b/src/leo_ast/statement/console/console_statement.rs.html
@@ -1,4 +1,4 @@
-console_statement.rs - source
1
+console_statement.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/console/mod.rs.html b/src/leo_ast/statement/console/mod.rs.html
index a50e055e5f..4d77b53869 100644
--- a/src/leo_ast/statement/console/mod.rs.html
+++ b/src/leo_ast/statement/console/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/const_.rs.html b/src/leo_ast/statement/const_.rs.html
index 875d877d5e..aad1a0659d 100644
--- a/src/leo_ast/statement/const_.rs.html
+++ b/src/leo_ast/statement/const_.rs.html
@@ -1,4 +1,4 @@
-const_.rs - source
1
+const_.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/definition/declaration_type.rs.html b/src/leo_ast/statement/definition/declaration_type.rs.html
index 518efbb73e..f673eadee4 100644
--- a/src/leo_ast/statement/definition/declaration_type.rs.html
+++ b/src/leo_ast/statement/definition/declaration_type.rs.html
@@ -1,4 +1,4 @@
-declaration_type.rs - source
1
+declaration_type.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/definition/mod.rs.html b/src/leo_ast/statement/definition/mod.rs.html
index ef05fd37ad..5dc0cf2678 100644
--- a/src/leo_ast/statement/definition/mod.rs.html
+++ b/src/leo_ast/statement/definition/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/expression.rs.html b/src/leo_ast/statement/expression.rs.html
index f96ca928ba..2a7f76717b 100644
--- a/src/leo_ast/statement/expression.rs.html
+++ b/src/leo_ast/statement/expression.rs.html
@@ -1,4 +1,4 @@
-expression.rs - source
1
+expression.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/iteration.rs.html b/src/leo_ast/statement/iteration.rs.html
index 05acd5edcc..594549c8bd 100644
--- a/src/leo_ast/statement/iteration.rs.html
+++ b/src/leo_ast/statement/iteration.rs.html
@@ -1,4 +1,4 @@
-iteration.rs - source
1
+iteration.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/mod.rs.html b/src/leo_ast/statement/mod.rs.html
index a72bd0671f..6ea3b09067 100644
--- a/src/leo_ast/statement/mod.rs.html
+++ b/src/leo_ast/statement/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/statement/return_.rs.html b/src/leo_ast/statement/return_.rs.html
index a596ce7c52..2ede6168d5 100644
--- a/src/leo_ast/statement/return_.rs.html
+++ b/src/leo_ast/statement/return_.rs.html
@@ -1,4 +1,4 @@
-return_.rs - source
1
+return_.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/struct/member.rs.html b/src/leo_ast/struct/member.rs.html
index f39255b0b6..a208c27aa9 100644
--- a/src/leo_ast/struct/member.rs.html
+++ b/src/leo_ast/struct/member.rs.html
@@ -1,4 +1,4 @@
-member.rs - source
1
+member.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/struct/mod.rs.html b/src/leo_ast/struct/mod.rs.html
index 429fd84313..da6470b858 100644
--- a/src/leo_ast/struct/mod.rs.html
+++ b/src/leo_ast/struct/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/types/array.rs.html b/src/leo_ast/types/array.rs.html
index 610750648e..23b1b4834f 100644
--- a/src/leo_ast/types/array.rs.html
+++ b/src/leo_ast/types/array.rs.html
@@ -1,4 +1,4 @@
-array.rs - source
1
+array.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/types/core_constant.rs.html b/src/leo_ast/types/core_constant.rs.html
index 7c9d8a1ae8..b85cfb09ce 100644
--- a/src/leo_ast/types/core_constant.rs.html
+++ b/src/leo_ast/types/core_constant.rs.html
@@ -1,4 +1,4 @@
-core_constant.rs - source
1
+core_constant.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/types/integer_type.rs.html b/src/leo_ast/types/integer_type.rs.html
index 415c9afa79..74babac28f 100644
--- a/src/leo_ast/types/integer_type.rs.html
+++ b/src/leo_ast/types/integer_type.rs.html
@@ -1,4 +1,4 @@
-integer_type.rs - source
1
+integer_type.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/types/mapping.rs.html b/src/leo_ast/types/mapping.rs.html
index 55be502f6e..d99045a4a6 100644
--- a/src/leo_ast/types/mapping.rs.html
+++ b/src/leo_ast/types/mapping.rs.html
@@ -1,4 +1,4 @@
-mapping.rs - source
1
+mapping.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/types/mod.rs.html b/src/leo_ast/types/mod.rs.html
index 2d419b89e8..3e37b555f7 100644
--- a/src/leo_ast/types/mod.rs.html
+++ b/src/leo_ast/types/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/types/tuple.rs.html b/src/leo_ast/types/tuple.rs.html
index c723f99177..5b85486f21 100644
--- a/src/leo_ast/types/tuple.rs.html
+++ b/src/leo_ast/types/tuple.rs.html
@@ -1,4 +1,4 @@
-tuple.rs - source
1
+tuple.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/types/type_.rs.html b/src/leo_ast/types/type_.rs.html
index 7d1d313526..10d2ae1c14 100644
--- a/src/leo_ast/types/type_.rs.html
+++ b/src/leo_ast/types/type_.rs.html
@@ -1,4 +1,4 @@
-type_.rs - source
1
+type_.rs - source
1
 2
 3
 4
diff --git a/src/leo_ast/value/mod.rs.html b/src/leo_ast/value/mod.rs.html
index 8947a2f34e..1357179929 100644
--- a/src/leo_ast/value/mod.rs.html
+++ b/src/leo_ast/value/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_compiler/compiler.rs.html b/src/leo_compiler/compiler.rs.html
index 3611078d94..ab1e5adb12 100644
--- a/src/leo_compiler/compiler.rs.html
+++ b/src/leo_compiler/compiler.rs.html
@@ -1,4 +1,4 @@
-compiler.rs - source
1
+compiler.rs - source
1
 2
 3
 4
diff --git a/src/leo_compiler/lib.rs.html b/src/leo_compiler/lib.rs.html
index 3571fe8588..0f3c24125b 100644
--- a/src/leo_compiler/lib.rs.html
+++ b/src/leo_compiler/lib.rs.html
@@ -1,4 +1,4 @@
-lib.rs - source
1
+lib.rs - source
1
 2
 3
 4
diff --git a/src/leo_compiler/options.rs.html b/src/leo_compiler/options.rs.html
index 8e8b630ba6..70456d2032 100644
--- a/src/leo_compiler/options.rs.html
+++ b/src/leo_compiler/options.rs.html
@@ -1,4 +1,4 @@
-options.rs - source
1
+options.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/common/backtraced.rs.html b/src/leo_errors/common/backtraced.rs.html
index 6030dea8e5..c785e9d9e9 100644
--- a/src/leo_errors/common/backtraced.rs.html
+++ b/src/leo_errors/common/backtraced.rs.html
@@ -1,4 +1,4 @@
-backtraced.rs - source
1
+backtraced.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/common/formatted.rs.html b/src/leo_errors/common/formatted.rs.html
index 869ea4a1da..5984067ddd 100644
--- a/src/leo_errors/common/formatted.rs.html
+++ b/src/leo_errors/common/formatted.rs.html
@@ -1,4 +1,4 @@
-formatted.rs - source
1
+formatted.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/common/macros.rs.html b/src/leo_errors/common/macros.rs.html
index 1e4d060ab5..5a6a197f7c 100644
--- a/src/leo_errors/common/macros.rs.html
+++ b/src/leo_errors/common/macros.rs.html
@@ -1,4 +1,4 @@
-macros.rs - source
1
+macros.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/common/mod.rs.html b/src/leo_errors/common/mod.rs.html
index 863f0ff9a3..dbf37c8444 100644
--- a/src/leo_errors/common/mod.rs.html
+++ b/src/leo_errors/common/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/common/traits.rs.html b/src/leo_errors/common/traits.rs.html
index 2d1d69b9cd..24210e135a 100644
--- a/src/leo_errors/common/traits.rs.html
+++ b/src/leo_errors/common/traits.rs.html
@@ -1,4 +1,4 @@
-traits.rs - source
1
+traits.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/emitter/mod.rs.html b/src/leo_errors/emitter/mod.rs.html
index f2664b65bd..aecd420a66 100644
--- a/src/leo_errors/emitter/mod.rs.html
+++ b/src/leo_errors/emitter/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/ast/ast_errors.rs.html b/src/leo_errors/errors/ast/ast_errors.rs.html
index 6d552f298c..5b71149bbd 100644
--- a/src/leo_errors/errors/ast/ast_errors.rs.html
+++ b/src/leo_errors/errors/ast/ast_errors.rs.html
@@ -1,4 +1,4 @@
-ast_errors.rs - source
1
+ast_errors.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/ast/mod.rs.html b/src/leo_errors/errors/ast/mod.rs.html
index 6a2a6f35f6..a6db9a2c72 100644
--- a/src/leo_errors/errors/ast/mod.rs.html
+++ b/src/leo_errors/errors/ast/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/cli/cli_errors.rs.html b/src/leo_errors/errors/cli/cli_errors.rs.html
index f3eae32add..9735a90c7f 100644
--- a/src/leo_errors/errors/cli/cli_errors.rs.html
+++ b/src/leo_errors/errors/cli/cli_errors.rs.html
@@ -1,4 +1,4 @@
-cli_errors.rs - source
1
+cli_errors.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/cli/mod.rs.html b/src/leo_errors/errors/cli/mod.rs.html
index 5da70b7bd3..8711b097a6 100644
--- a/src/leo_errors/errors/cli/mod.rs.html
+++ b/src/leo_errors/errors/cli/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/compiler/compiler_errors.rs.html b/src/leo_errors/errors/compiler/compiler_errors.rs.html
index 3b7565ad0e..ee3594f0a8 100644
--- a/src/leo_errors/errors/compiler/compiler_errors.rs.html
+++ b/src/leo_errors/errors/compiler/compiler_errors.rs.html
@@ -1,4 +1,4 @@
-compiler_errors.rs - source
1
+compiler_errors.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/compiler/mod.rs.html b/src/leo_errors/errors/compiler/mod.rs.html
index a7b2616c83..6b40a4b0ca 100644
--- a/src/leo_errors/errors/compiler/mod.rs.html
+++ b/src/leo_errors/errors/compiler/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/flattener/flattener_errors.rs.html b/src/leo_errors/errors/flattener/flattener_errors.rs.html
index a880eae959..3d8d92ca46 100644
--- a/src/leo_errors/errors/flattener/flattener_errors.rs.html
+++ b/src/leo_errors/errors/flattener/flattener_errors.rs.html
@@ -1,4 +1,4 @@
-flattener_errors.rs - source
1
+flattener_errors.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/flattener/mod.rs.html b/src/leo_errors/errors/flattener/mod.rs.html
index 7741d1bf7d..46effc9765 100644
--- a/src/leo_errors/errors/flattener/mod.rs.html
+++ b/src/leo_errors/errors/flattener/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/input/input_errors.rs.html b/src/leo_errors/errors/input/input_errors.rs.html
index 44c20e5684..26900f7e2d 100644
--- a/src/leo_errors/errors/input/input_errors.rs.html
+++ b/src/leo_errors/errors/input/input_errors.rs.html
@@ -1,4 +1,4 @@
-input_errors.rs - source
1
+input_errors.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/input/mod.rs.html b/src/leo_errors/errors/input/mod.rs.html
index 43135db779..de9696b74a 100644
--- a/src/leo_errors/errors/input/mod.rs.html
+++ b/src/leo_errors/errors/input/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/loop_unroller/loop_unroller_errors.rs.html b/src/leo_errors/errors/loop_unroller/loop_unroller_errors.rs.html
index b93fa930eb..ff70a7df52 100644
--- a/src/leo_errors/errors/loop_unroller/loop_unroller_errors.rs.html
+++ b/src/leo_errors/errors/loop_unroller/loop_unroller_errors.rs.html
@@ -1,4 +1,4 @@
-loop_unroller_errors.rs - source
1
+loop_unroller_errors.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/loop_unroller/mod.rs.html b/src/leo_errors/errors/loop_unroller/mod.rs.html
index 9614cbe076..5df63b00e4 100644
--- a/src/leo_errors/errors/loop_unroller/mod.rs.html
+++ b/src/leo_errors/errors/loop_unroller/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/mod.rs.html b/src/leo_errors/errors/mod.rs.html
index eb7977268d..3349262286 100644
--- a/src/leo_errors/errors/mod.rs.html
+++ b/src/leo_errors/errors/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/package/mod.rs.html b/src/leo_errors/errors/package/mod.rs.html
index 53738cc6f9..cb270bbc58 100644
--- a/src/leo_errors/errors/package/mod.rs.html
+++ b/src/leo_errors/errors/package/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/package/package_errors.rs.html b/src/leo_errors/errors/package/package_errors.rs.html
index 3b8b2da539..5925fa1627 100644
--- a/src/leo_errors/errors/package/package_errors.rs.html
+++ b/src/leo_errors/errors/package/package_errors.rs.html
@@ -1,4 +1,4 @@
-package_errors.rs - source
1
+package_errors.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/parser/mod.rs.html b/src/leo_errors/errors/parser/mod.rs.html
index 5b084efa1a..8056b96626 100644
--- a/src/leo_errors/errors/parser/mod.rs.html
+++ b/src/leo_errors/errors/parser/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/parser/parser_errors.rs.html b/src/leo_errors/errors/parser/parser_errors.rs.html
index a7e5b7ff15..dec6f3b8d5 100644
--- a/src/leo_errors/errors/parser/parser_errors.rs.html
+++ b/src/leo_errors/errors/parser/parser_errors.rs.html
@@ -1,4 +1,4 @@
-parser_errors.rs - source
1
+parser_errors.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/parser/parser_warnings.rs.html b/src/leo_errors/errors/parser/parser_warnings.rs.html
index 2abff9dac6..513f73e150 100644
--- a/src/leo_errors/errors/parser/parser_warnings.rs.html
+++ b/src/leo_errors/errors/parser/parser_warnings.rs.html
@@ -1,4 +1,4 @@
-parser_warnings.rs - source
1
+parser_warnings.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/type_checker/mod.rs.html b/src/leo_errors/errors/type_checker/mod.rs.html
index 4e78ca81e2..bf7cb14c05 100644
--- a/src/leo_errors/errors/type_checker/mod.rs.html
+++ b/src/leo_errors/errors/type_checker/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/errors/type_checker/type_checker_error.rs.html b/src/leo_errors/errors/type_checker/type_checker_error.rs.html
index 7da044b93c..1ed798c153 100644
--- a/src/leo_errors/errors/type_checker/type_checker_error.rs.html
+++ b/src/leo_errors/errors/type_checker/type_checker_error.rs.html
@@ -1,4 +1,4 @@
-type_checker_error.rs - source
1
+type_checker_error.rs - source
1
 2
 3
 4
diff --git a/src/leo_errors/lib.rs.html b/src/leo_errors/lib.rs.html
index 77ac5e1bba..6c85201fc0 100644
--- a/src/leo_errors/lib.rs.html
+++ b/src/leo_errors/lib.rs.html
@@ -1,4 +1,4 @@
-lib.rs - source
1
+lib.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/cli.rs.html b/src/leo_lang/cli/cli.rs.html
index 22ee8e41c2..dddc61ecc7 100644
--- a/src/leo_lang/cli/cli.rs.html
+++ b/src/leo_lang/cli/cli.rs.html
@@ -1,4 +1,4 @@
-cli.rs - source
1
+cli.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/commands/account.rs.html b/src/leo_lang/cli/commands/account.rs.html
index 96ae83c144..b44f6498b1 100644
--- a/src/leo_lang/cli/commands/account.rs.html
+++ b/src/leo_lang/cli/commands/account.rs.html
@@ -1,4 +1,4 @@
-account.rs - source
1
+account.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/commands/build.rs.html b/src/leo_lang/cli/commands/build.rs.html
index f19c413223..ebad3754a1 100644
--- a/src/leo_lang/cli/commands/build.rs.html
+++ b/src/leo_lang/cli/commands/build.rs.html
@@ -1,4 +1,4 @@
-build.rs - source
1
+build.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/commands/clean.rs.html b/src/leo_lang/cli/commands/clean.rs.html
index 4bef1f106f..3fa4402dd8 100644
--- a/src/leo_lang/cli/commands/clean.rs.html
+++ b/src/leo_lang/cli/commands/clean.rs.html
@@ -1,4 +1,4 @@
-clean.rs - source
1
+clean.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/commands/example.rs.html b/src/leo_lang/cli/commands/example.rs.html
index bcca1ef32c..f7c51c3189 100644
--- a/src/leo_lang/cli/commands/example.rs.html
+++ b/src/leo_lang/cli/commands/example.rs.html
@@ -1,4 +1,4 @@
-example.rs - source
1
+example.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/commands/execute.rs.html b/src/leo_lang/cli/commands/execute.rs.html
index 6d2f95afc8..3e8ca11851 100644
--- a/src/leo_lang/cli/commands/execute.rs.html
+++ b/src/leo_lang/cli/commands/execute.rs.html
@@ -1,4 +1,4 @@
-execute.rs - source
1
+execute.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/commands/mod.rs.html b/src/leo_lang/cli/commands/mod.rs.html
index ad5ad55455..8539e8c0af 100644
--- a/src/leo_lang/cli/commands/mod.rs.html
+++ b/src/leo_lang/cli/commands/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/commands/new.rs.html b/src/leo_lang/cli/commands/new.rs.html
index abc14e17ca..02050505e3 100644
--- a/src/leo_lang/cli/commands/new.rs.html
+++ b/src/leo_lang/cli/commands/new.rs.html
@@ -1,4 +1,4 @@
-new.rs - source
1
+new.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/commands/run.rs.html b/src/leo_lang/cli/commands/run.rs.html
index 4212b50077..2b2faad775 100644
--- a/src/leo_lang/cli/commands/run.rs.html
+++ b/src/leo_lang/cli/commands/run.rs.html
@@ -1,4 +1,4 @@
-run.rs - source
1
+run.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/commands/update.rs.html b/src/leo_lang/cli/commands/update.rs.html
index 501bb8efd7..e5e2d3c757 100644
--- a/src/leo_lang/cli/commands/update.rs.html
+++ b/src/leo_lang/cli/commands/update.rs.html
@@ -1,4 +1,4 @@
-update.rs - source
1
+update.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/helpers/context.rs.html b/src/leo_lang/cli/helpers/context.rs.html
index 05553563d4..cf3ee4a701 100644
--- a/src/leo_lang/cli/helpers/context.rs.html
+++ b/src/leo_lang/cli/helpers/context.rs.html
@@ -1,4 +1,4 @@
-context.rs - source
1
+context.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/helpers/logger.rs.html b/src/leo_lang/cli/helpers/logger.rs.html
index c16e912829..0f8d880644 100644
--- a/src/leo_lang/cli/helpers/logger.rs.html
+++ b/src/leo_lang/cli/helpers/logger.rs.html
@@ -1,4 +1,4 @@
-logger.rs - source
1
+logger.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/helpers/mod.rs.html b/src/leo_lang/cli/helpers/mod.rs.html
index 7f64f937fc..1b642e6349 100644
--- a/src/leo_lang/cli/helpers/mod.rs.html
+++ b/src/leo_lang/cli/helpers/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/helpers/updater.rs.html b/src/leo_lang/cli/helpers/updater.rs.html
index 1d9164a9bc..85618648fc 100644
--- a/src/leo_lang/cli/helpers/updater.rs.html
+++ b/src/leo_lang/cli/helpers/updater.rs.html
@@ -1,4 +1,4 @@
-updater.rs - source
1
+updater.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/cli/mod.rs.html b/src/leo_lang/cli/mod.rs.html
index 7564f231db..0a836e2a4b 100644
--- a/src/leo_lang/cli/mod.rs.html
+++ b/src/leo_lang/cli/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_lang/lib.rs.html b/src/leo_lang/lib.rs.html
index 041d0b2b47..9920bfc779 100644
--- a/src/leo_lang/lib.rs.html
+++ b/src/leo_lang/lib.rs.html
@@ -1,4 +1,4 @@
-lib.rs - source
1
+lib.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/build/directory.rs.html b/src/leo_package/build/directory.rs.html
index 3176485cec..faeb7d16ed 100644
--- a/src/leo_package/build/directory.rs.html
+++ b/src/leo_package/build/directory.rs.html
@@ -1,4 +1,4 @@
-directory.rs - source
1
+directory.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/build/mod.rs.html b/src/leo_package/build/mod.rs.html
index 43ea8488da..5697ae6fcb 100644
--- a/src/leo_package/build/mod.rs.html
+++ b/src/leo_package/build/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/imports/directory.rs.html b/src/leo_package/imports/directory.rs.html
index bec70e7447..7c53800e82 100644
--- a/src/leo_package/imports/directory.rs.html
+++ b/src/leo_package/imports/directory.rs.html
@@ -1,4 +1,4 @@
-directory.rs - source
1
+directory.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/imports/mod.rs.html b/src/leo_package/imports/mod.rs.html
index d6be1d2351..08d374469c 100644
--- a/src/leo_package/imports/mod.rs.html
+++ b/src/leo_package/imports/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/inputs/directory.rs.html b/src/leo_package/inputs/directory.rs.html
index 3fcec6b2f0..3796b22e1c 100644
--- a/src/leo_package/inputs/directory.rs.html
+++ b/src/leo_package/inputs/directory.rs.html
@@ -1,4 +1,4 @@
-directory.rs - source
1
+directory.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/inputs/input.rs.html b/src/leo_package/inputs/input.rs.html
index 872b39dff7..ecc2721b52 100644
--- a/src/leo_package/inputs/input.rs.html
+++ b/src/leo_package/inputs/input.rs.html
@@ -1,4 +1,4 @@
-input.rs - source
1
+input.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/inputs/mod.rs.html b/src/leo_package/inputs/mod.rs.html
index 661a28e7e0..f187e2a793 100644
--- a/src/leo_package/inputs/mod.rs.html
+++ b/src/leo_package/inputs/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/lib.rs.html b/src/leo_package/lib.rs.html
index fd7aa62d65..76e227717b 100644
--- a/src/leo_package/lib.rs.html
+++ b/src/leo_package/lib.rs.html
@@ -1,4 +1,4 @@
-lib.rs - source
1
+lib.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/outputs/ast_snapshot.rs.html b/src/leo_package/outputs/ast_snapshot.rs.html
index 2203267ea1..f928d0c09e 100644
--- a/src/leo_package/outputs/ast_snapshot.rs.html
+++ b/src/leo_package/outputs/ast_snapshot.rs.html
@@ -1,4 +1,4 @@
-ast_snapshot.rs - source
1
+ast_snapshot.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/outputs/checksum.rs.html b/src/leo_package/outputs/checksum.rs.html
index 4d27f834c5..95e41e494a 100644
--- a/src/leo_package/outputs/checksum.rs.html
+++ b/src/leo_package/outputs/checksum.rs.html
@@ -1,4 +1,4 @@
-checksum.rs - source
1
+checksum.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/outputs/circuit.rs.html b/src/leo_package/outputs/circuit.rs.html
index 8150ec9a79..17d7ace870 100644
--- a/src/leo_package/outputs/circuit.rs.html
+++ b/src/leo_package/outputs/circuit.rs.html
@@ -1,4 +1,4 @@
-circuit.rs - source
1
+circuit.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/outputs/directory.rs.html b/src/leo_package/outputs/directory.rs.html
index 1dee9cf007..ca31f7c636 100644
--- a/src/leo_package/outputs/directory.rs.html
+++ b/src/leo_package/outputs/directory.rs.html
@@ -1,4 +1,4 @@
-directory.rs - source
1
+directory.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/outputs/mod.rs.html b/src/leo_package/outputs/mod.rs.html
index 44aed3171f..797fab31cf 100644
--- a/src/leo_package/outputs/mod.rs.html
+++ b/src/leo_package/outputs/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/package.rs.html b/src/leo_package/package.rs.html
index 42deced0ff..8a19157a58 100644
--- a/src/leo_package/package.rs.html
+++ b/src/leo_package/package.rs.html
@@ -1,4 +1,4 @@
-package.rs - source
1
+package.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/root/env.rs.html b/src/leo_package/root/env.rs.html
index e18d5a951a..7a7c4aa8a3 100644
--- a/src/leo_package/root/env.rs.html
+++ b/src/leo_package/root/env.rs.html
@@ -1,4 +1,4 @@
-env.rs - source
1
+env.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/root/gitignore.rs.html b/src/leo_package/root/gitignore.rs.html
index 5e5553516d..f568d0cc33 100644
--- a/src/leo_package/root/gitignore.rs.html
+++ b/src/leo_package/root/gitignore.rs.html
@@ -1,4 +1,4 @@
-gitignore.rs - source
1
+gitignore.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/root/mod.rs.html b/src/leo_package/root/mod.rs.html
index 1fb1ce62e7..2ca7309a87 100644
--- a/src/leo_package/root/mod.rs.html
+++ b/src/leo_package/root/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/source/directory.rs.html b/src/leo_package/source/directory.rs.html
index dbe4e5d9e7..183efae375 100644
--- a/src/leo_package/source/directory.rs.html
+++ b/src/leo_package/source/directory.rs.html
@@ -1,4 +1,4 @@
-directory.rs - source
1
+directory.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/source/main.rs.html b/src/leo_package/source/main.rs.html
index eca4203af7..809c8dd20f 100644
--- a/src/leo_package/source/main.rs.html
+++ b/src/leo_package/source/main.rs.html
@@ -1,4 +1,4 @@
-main.rs - source
1
+main.rs - source
1
 2
 3
 4
diff --git a/src/leo_package/source/mod.rs.html b/src/leo_package/source/mod.rs.html
index 8c183dd16b..c6dd7cc96b 100644
--- a/src/leo_package/source/mod.rs.html
+++ b/src/leo_package/source/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_parser/lib.rs.html b/src/leo_parser/lib.rs.html
index 87581bf0f7..cb06e5f8f9 100644
--- a/src/leo_parser/lib.rs.html
+++ b/src/leo_parser/lib.rs.html
@@ -1,4 +1,4 @@
-lib.rs - source
1
+lib.rs - source
1
 2
 3
 4
diff --git a/src/leo_parser/parser/context.rs.html b/src/leo_parser/parser/context.rs.html
index c0398feccf..9a17a4cb4c 100644
--- a/src/leo_parser/parser/context.rs.html
+++ b/src/leo_parser/parser/context.rs.html
@@ -1,4 +1,4 @@
-context.rs - source
1
+context.rs - source
1
 2
 3
 4
diff --git a/src/leo_parser/parser/expression.rs.html b/src/leo_parser/parser/expression.rs.html
index e33f34d1cc..5df2adcefb 100644
--- a/src/leo_parser/parser/expression.rs.html
+++ b/src/leo_parser/parser/expression.rs.html
@@ -1,4 +1,4 @@
-expression.rs - source
1
+expression.rs - source
1
 2
 3
 4
diff --git a/src/leo_parser/parser/file.rs.html b/src/leo_parser/parser/file.rs.html
index cf1d0597af..7241cc14c6 100644
--- a/src/leo_parser/parser/file.rs.html
+++ b/src/leo_parser/parser/file.rs.html
@@ -1,4 +1,4 @@
-file.rs - source
1
+file.rs - source
1
 2
 3
 4
diff --git a/src/leo_parser/parser/input.rs.html b/src/leo_parser/parser/input.rs.html
index a47f0145da..ae042d94bd 100644
--- a/src/leo_parser/parser/input.rs.html
+++ b/src/leo_parser/parser/input.rs.html
@@ -1,4 +1,4 @@
-input.rs - source
1
+input.rs - source
1
 2
 3
 4
diff --git a/src/leo_parser/parser/mod.rs.html b/src/leo_parser/parser/mod.rs.html
index 641010bb10..aa7e262327 100644
--- a/src/leo_parser/parser/mod.rs.html
+++ b/src/leo_parser/parser/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_parser/parser/statement.rs.html b/src/leo_parser/parser/statement.rs.html
index 85f42fc04c..b7554933bc 100644
--- a/src/leo_parser/parser/statement.rs.html
+++ b/src/leo_parser/parser/statement.rs.html
@@ -1,4 +1,4 @@
-statement.rs - source
1
+statement.rs - source
1
 2
 3
 4
diff --git a/src/leo_parser/parser/type_.rs.html b/src/leo_parser/parser/type_.rs.html
index 409c73e005..4ef16bf7e1 100644
--- a/src/leo_parser/parser/type_.rs.html
+++ b/src/leo_parser/parser/type_.rs.html
@@ -1,4 +1,4 @@
-type_.rs - source
1
+type_.rs - source
1
 2
 3
 4
diff --git a/src/leo_parser/tokenizer/lexer.rs.html b/src/leo_parser/tokenizer/lexer.rs.html
index 0fee120f3f..9c15ef980c 100644
--- a/src/leo_parser/tokenizer/lexer.rs.html
+++ b/src/leo_parser/tokenizer/lexer.rs.html
@@ -1,4 +1,4 @@
-lexer.rs - source
1
+lexer.rs - source
1
 2
 3
 4
diff --git a/src/leo_parser/tokenizer/mod.rs.html b/src/leo_parser/tokenizer/mod.rs.html
index e6d0a47489..c06fae166b 100644
--- a/src/leo_parser/tokenizer/mod.rs.html
+++ b/src/leo_parser/tokenizer/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_parser/tokenizer/token.rs.html b/src/leo_parser/tokenizer/token.rs.html
index 3fc5e91154..481c05940f 100644
--- a/src/leo_parser/tokenizer/token.rs.html
+++ b/src/leo_parser/tokenizer/token.rs.html
@@ -1,4 +1,4 @@
-token.rs - source
1
+token.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/code_generation/generator.rs.html b/src/leo_passes/code_generation/generator.rs.html
index 4ded643555..0f39fe5a41 100644
--- a/src/leo_passes/code_generation/generator.rs.html
+++ b/src/leo_passes/code_generation/generator.rs.html
@@ -1,4 +1,4 @@
-generator.rs - source
1
+generator.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/code_generation/mod.rs.html b/src/leo_passes/code_generation/mod.rs.html
index 96621c4c74..bbd672d4bf 100644
--- a/src/leo_passes/code_generation/mod.rs.html
+++ b/src/leo_passes/code_generation/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/code_generation/visit_expressions.rs.html b/src/leo_passes/code_generation/visit_expressions.rs.html
index 416826da50..8807b874b2 100644
--- a/src/leo_passes/code_generation/visit_expressions.rs.html
+++ b/src/leo_passes/code_generation/visit_expressions.rs.html
@@ -1,4 +1,4 @@
-visit_expressions.rs - source
1
+visit_expressions.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/code_generation/visit_program.rs.html b/src/leo_passes/code_generation/visit_program.rs.html
index 932f6061c9..660731d8e4 100644
--- a/src/leo_passes/code_generation/visit_program.rs.html
+++ b/src/leo_passes/code_generation/visit_program.rs.html
@@ -1,4 +1,4 @@
-visit_program.rs - source
1
+visit_program.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/code_generation/visit_statements.rs.html b/src/leo_passes/code_generation/visit_statements.rs.html
index 28e72f144a..c68e6f00f1 100644
--- a/src/leo_passes/code_generation/visit_statements.rs.html
+++ b/src/leo_passes/code_generation/visit_statements.rs.html
@@ -1,4 +1,4 @@
-visit_statements.rs - source
1
+visit_statements.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/code_generation/visit_type.rs.html b/src/leo_passes/code_generation/visit_type.rs.html
index 73c3c4019b..a82232ed8e 100644
--- a/src/leo_passes/code_generation/visit_type.rs.html
+++ b/src/leo_passes/code_generation/visit_type.rs.html
@@ -1,4 +1,4 @@
-visit_type.rs - source
1
+visit_type.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/common/assigner/mod.rs.html b/src/leo_passes/common/assigner/mod.rs.html
index d1cb72ec15..66d94639b6 100644
--- a/src/leo_passes/common/assigner/mod.rs.html
+++ b/src/leo_passes/common/assigner/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/common/constant_propagation_table/mod.rs.html b/src/leo_passes/common/constant_propagation_table/mod.rs.html
index 48733d16e6..212ec722f6 100644
--- a/src/leo_passes/common/constant_propagation_table/mod.rs.html
+++ b/src/leo_passes/common/constant_propagation_table/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/common/graph/mod.rs.html b/src/leo_passes/common/graph/mod.rs.html
index 12186df178..81670f875a 100644
--- a/src/leo_passes/common/graph/mod.rs.html
+++ b/src/leo_passes/common/graph/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/common/mod.rs.html b/src/leo_passes/common/mod.rs.html
index 2e320eccfe..315d127269 100644
--- a/src/leo_passes/common/mod.rs.html
+++ b/src/leo_passes/common/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/common/rename_table/mod.rs.html b/src/leo_passes/common/rename_table/mod.rs.html
index 8a6741bae2..6def4b3218 100644
--- a/src/leo_passes/common/rename_table/mod.rs.html
+++ b/src/leo_passes/common/rename_table/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/common/replacer/mod.rs.html b/src/leo_passes/common/replacer/mod.rs.html
index 10aae0db7c..8b3d98bd7a 100644
--- a/src/leo_passes/common/replacer/mod.rs.html
+++ b/src/leo_passes/common/replacer/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/common/symbol_table/function_symbol.rs.html b/src/leo_passes/common/symbol_table/function_symbol.rs.html
index a2fc316103..e7faba3d5d 100644
--- a/src/leo_passes/common/symbol_table/function_symbol.rs.html
+++ b/src/leo_passes/common/symbol_table/function_symbol.rs.html
@@ -1,4 +1,4 @@
-function_symbol.rs - source
1
+function_symbol.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/common/symbol_table/mod.rs.html b/src/leo_passes/common/symbol_table/mod.rs.html
index 559889c9da..ab2183c35f 100644
--- a/src/leo_passes/common/symbol_table/mod.rs.html
+++ b/src/leo_passes/common/symbol_table/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/common/symbol_table/variable_symbol.rs.html b/src/leo_passes/common/symbol_table/variable_symbol.rs.html
index 84f78da929..afbf34424f 100644
--- a/src/leo_passes/common/symbol_table/variable_symbol.rs.html
+++ b/src/leo_passes/common/symbol_table/variable_symbol.rs.html
@@ -1,4 +1,4 @@
-variable_symbol.rs - source
1
+variable_symbol.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/common/type_table/mod.rs.html b/src/leo_passes/common/type_table/mod.rs.html
index 9823b8bd6c..9fa73d4d03 100644
--- a/src/leo_passes/common/type_table/mod.rs.html
+++ b/src/leo_passes/common/type_table/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/dead_code_elimination/dead_code_eliminator.rs.html b/src/leo_passes/dead_code_elimination/dead_code_eliminator.rs.html
index 3a26682165..ba9feaa564 100644
--- a/src/leo_passes/dead_code_elimination/dead_code_eliminator.rs.html
+++ b/src/leo_passes/dead_code_elimination/dead_code_eliminator.rs.html
@@ -1,4 +1,4 @@
-dead_code_eliminator.rs - source
1
+dead_code_eliminator.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/dead_code_elimination/eliminate_expression.rs.html b/src/leo_passes/dead_code_elimination/eliminate_expression.rs.html
index f238f83aff..47ec38976d 100644
--- a/src/leo_passes/dead_code_elimination/eliminate_expression.rs.html
+++ b/src/leo_passes/dead_code_elimination/eliminate_expression.rs.html
@@ -1,4 +1,4 @@
-eliminate_expression.rs - source
1
+eliminate_expression.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/dead_code_elimination/eliminate_program.rs.html b/src/leo_passes/dead_code_elimination/eliminate_program.rs.html
index 65d3ba7a89..3f0c9957a6 100644
--- a/src/leo_passes/dead_code_elimination/eliminate_program.rs.html
+++ b/src/leo_passes/dead_code_elimination/eliminate_program.rs.html
@@ -1,4 +1,4 @@
-eliminate_program.rs - source
1
+eliminate_program.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/dead_code_elimination/eliminate_statement.rs.html b/src/leo_passes/dead_code_elimination/eliminate_statement.rs.html
index e7094765c0..3d00de3cd6 100644
--- a/src/leo_passes/dead_code_elimination/eliminate_statement.rs.html
+++ b/src/leo_passes/dead_code_elimination/eliminate_statement.rs.html
@@ -1,4 +1,4 @@
-eliminate_statement.rs - source
1
+eliminate_statement.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/dead_code_elimination/mod.rs.html b/src/leo_passes/dead_code_elimination/mod.rs.html
index b90bfcd938..b521d4db7e 100644
--- a/src/leo_passes/dead_code_elimination/mod.rs.html
+++ b/src/leo_passes/dead_code_elimination/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/destructuring/destructure_expression.rs.html b/src/leo_passes/destructuring/destructure_expression.rs.html
index 58e79824eb..4615f0d5ae 100644
--- a/src/leo_passes/destructuring/destructure_expression.rs.html
+++ b/src/leo_passes/destructuring/destructure_expression.rs.html
@@ -1,4 +1,4 @@
-destructure_expression.rs - source
1
+destructure_expression.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/destructuring/destructure_program.rs.html b/src/leo_passes/destructuring/destructure_program.rs.html
index 70f265f14d..e39fc30fe0 100644
--- a/src/leo_passes/destructuring/destructure_program.rs.html
+++ b/src/leo_passes/destructuring/destructure_program.rs.html
@@ -1,4 +1,4 @@
-destructure_program.rs - source
1
+destructure_program.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/destructuring/destructure_statement.rs.html b/src/leo_passes/destructuring/destructure_statement.rs.html
index ce5cbbe98d..8a872a1923 100644
--- a/src/leo_passes/destructuring/destructure_statement.rs.html
+++ b/src/leo_passes/destructuring/destructure_statement.rs.html
@@ -1,4 +1,4 @@
-destructure_statement.rs - source
1
+destructure_statement.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/destructuring/destructurer.rs.html b/src/leo_passes/destructuring/destructurer.rs.html
index b0818feae3..5481f99753 100644
--- a/src/leo_passes/destructuring/destructurer.rs.html
+++ b/src/leo_passes/destructuring/destructurer.rs.html
@@ -1,4 +1,4 @@
-destructurer.rs - source
1
+destructurer.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/destructuring/mod.rs.html b/src/leo_passes/destructuring/mod.rs.html
index 390dc98718..0137ccc2da 100644
--- a/src/leo_passes/destructuring/mod.rs.html
+++ b/src/leo_passes/destructuring/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/flattening/flatten_expression.rs.html b/src/leo_passes/flattening/flatten_expression.rs.html
index ddff797d27..6b7354d05e 100644
--- a/src/leo_passes/flattening/flatten_expression.rs.html
+++ b/src/leo_passes/flattening/flatten_expression.rs.html
@@ -1,4 +1,4 @@
-flatten_expression.rs - source
1
+flatten_expression.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/flattening/flatten_program.rs.html b/src/leo_passes/flattening/flatten_program.rs.html
index 75e9948c90..7ac36a1326 100644
--- a/src/leo_passes/flattening/flatten_program.rs.html
+++ b/src/leo_passes/flattening/flatten_program.rs.html
@@ -1,4 +1,4 @@
-flatten_program.rs - source
1
+flatten_program.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/flattening/flatten_statement.rs.html b/src/leo_passes/flattening/flatten_statement.rs.html
index 883086c4cb..fdee09fd56 100644
--- a/src/leo_passes/flattening/flatten_statement.rs.html
+++ b/src/leo_passes/flattening/flatten_statement.rs.html
@@ -1,4 +1,4 @@
-flatten_statement.rs - source
1
+flatten_statement.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/flattening/flattener.rs.html b/src/leo_passes/flattening/flattener.rs.html
index 8047ccaf14..f380c1d86a 100644
--- a/src/leo_passes/flattening/flattener.rs.html
+++ b/src/leo_passes/flattening/flattener.rs.html
@@ -1,4 +1,4 @@
-flattener.rs - source
1
+flattener.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/flattening/mod.rs.html b/src/leo_passes/flattening/mod.rs.html
index 14364d4e19..8760fccc16 100644
--- a/src/leo_passes/flattening/mod.rs.html
+++ b/src/leo_passes/flattening/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/function_inlining/assignment_renamer.rs.html b/src/leo_passes/function_inlining/assignment_renamer.rs.html
index c9bd2c4a85..be78d40847 100644
--- a/src/leo_passes/function_inlining/assignment_renamer.rs.html
+++ b/src/leo_passes/function_inlining/assignment_renamer.rs.html
@@ -1,4 +1,4 @@
-assignment_renamer.rs - source
1
+assignment_renamer.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/function_inlining/function_inliner.rs.html b/src/leo_passes/function_inlining/function_inliner.rs.html
index 1c69012fe9..99a83aede2 100644
--- a/src/leo_passes/function_inlining/function_inliner.rs.html
+++ b/src/leo_passes/function_inlining/function_inliner.rs.html
@@ -1,4 +1,4 @@
-function_inliner.rs - source
1
+function_inliner.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/function_inlining/inline_expression.rs.html b/src/leo_passes/function_inlining/inline_expression.rs.html
index 2d6103623d..256cc49bf7 100644
--- a/src/leo_passes/function_inlining/inline_expression.rs.html
+++ b/src/leo_passes/function_inlining/inline_expression.rs.html
@@ -1,4 +1,4 @@
-inline_expression.rs - source
1
+inline_expression.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/function_inlining/inline_program.rs.html b/src/leo_passes/function_inlining/inline_program.rs.html
index 6e4a1b6895..92a19b642e 100644
--- a/src/leo_passes/function_inlining/inline_program.rs.html
+++ b/src/leo_passes/function_inlining/inline_program.rs.html
@@ -1,4 +1,4 @@
-inline_program.rs - source
1
+inline_program.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/function_inlining/inline_statement.rs.html b/src/leo_passes/function_inlining/inline_statement.rs.html
index 125a0a65c1..5cf506330f 100644
--- a/src/leo_passes/function_inlining/inline_statement.rs.html
+++ b/src/leo_passes/function_inlining/inline_statement.rs.html
@@ -1,4 +1,4 @@
-inline_statement.rs - source
1
+inline_statement.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/function_inlining/mod.rs.html b/src/leo_passes/function_inlining/mod.rs.html
index e8e080efd2..2f82d99427 100644
--- a/src/leo_passes/function_inlining/mod.rs.html
+++ b/src/leo_passes/function_inlining/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/lib.rs.html b/src/leo_passes/lib.rs.html
index 89dc345cf8..34bdeb592a 100644
--- a/src/leo_passes/lib.rs.html
+++ b/src/leo_passes/lib.rs.html
@@ -1,4 +1,4 @@
-lib.rs - source
1
+lib.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/loop_unrolling/mod.rs.html b/src/leo_passes/loop_unrolling/mod.rs.html
index f745ee2bba..c913ae9dd2 100644
--- a/src/leo_passes/loop_unrolling/mod.rs.html
+++ b/src/leo_passes/loop_unrolling/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/loop_unrolling/range_iterator.rs.html b/src/leo_passes/loop_unrolling/range_iterator.rs.html
index 1d871213ee..7c53434c43 100644
--- a/src/leo_passes/loop_unrolling/range_iterator.rs.html
+++ b/src/leo_passes/loop_unrolling/range_iterator.rs.html
@@ -1,4 +1,4 @@
-range_iterator.rs - source
1
+range_iterator.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/loop_unrolling/unroll_expression.rs.html b/src/leo_passes/loop_unrolling/unroll_expression.rs.html
index fbb6682e87..d14dceb2af 100644
--- a/src/leo_passes/loop_unrolling/unroll_expression.rs.html
+++ b/src/leo_passes/loop_unrolling/unroll_expression.rs.html
@@ -1,4 +1,4 @@
-unroll_expression.rs - source
1
+unroll_expression.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/loop_unrolling/unroll_program.rs.html b/src/leo_passes/loop_unrolling/unroll_program.rs.html
index f6184b1fbe..4ac4bf5744 100644
--- a/src/leo_passes/loop_unrolling/unroll_program.rs.html
+++ b/src/leo_passes/loop_unrolling/unroll_program.rs.html
@@ -1,4 +1,4 @@
-unroll_program.rs - source
1
+unroll_program.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/loop_unrolling/unroll_statement.rs.html b/src/leo_passes/loop_unrolling/unroll_statement.rs.html
index fef004b0b3..7f270773fe 100644
--- a/src/leo_passes/loop_unrolling/unroll_statement.rs.html
+++ b/src/leo_passes/loop_unrolling/unroll_statement.rs.html
@@ -1,4 +1,4 @@
-unroll_statement.rs - source
1
+unroll_statement.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/loop_unrolling/unroller.rs.html b/src/leo_passes/loop_unrolling/unroller.rs.html
index 3713c13381..00110af32d 100644
--- a/src/leo_passes/loop_unrolling/unroller.rs.html
+++ b/src/leo_passes/loop_unrolling/unroller.rs.html
@@ -1,4 +1,4 @@
-unroller.rs - source
1
+unroller.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/pass.rs.html b/src/leo_passes/pass.rs.html
index 0fc3f018fa..1a7c4045da 100644
--- a/src/leo_passes/pass.rs.html
+++ b/src/leo_passes/pass.rs.html
@@ -1,4 +1,4 @@
-pass.rs - source
1
+pass.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/static_single_assignment/mod.rs.html b/src/leo_passes/static_single_assignment/mod.rs.html
index 63e3d0f1dd..a70e773a74 100644
--- a/src/leo_passes/static_single_assignment/mod.rs.html
+++ b/src/leo_passes/static_single_assignment/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/static_single_assignment/rename_expression.rs.html b/src/leo_passes/static_single_assignment/rename_expression.rs.html
index b23291ad2c..440234e4eb 100644
--- a/src/leo_passes/static_single_assignment/rename_expression.rs.html
+++ b/src/leo_passes/static_single_assignment/rename_expression.rs.html
@@ -1,4 +1,4 @@
-rename_expression.rs - source
1
+rename_expression.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/static_single_assignment/rename_program.rs.html b/src/leo_passes/static_single_assignment/rename_program.rs.html
index f16d57308c..cefefd40b6 100644
--- a/src/leo_passes/static_single_assignment/rename_program.rs.html
+++ b/src/leo_passes/static_single_assignment/rename_program.rs.html
@@ -1,4 +1,4 @@
-rename_program.rs - source
1
+rename_program.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/static_single_assignment/rename_statement.rs.html b/src/leo_passes/static_single_assignment/rename_statement.rs.html
index 3f3b0e66ba..4e12209398 100644
--- a/src/leo_passes/static_single_assignment/rename_statement.rs.html
+++ b/src/leo_passes/static_single_assignment/rename_statement.rs.html
@@ -1,4 +1,4 @@
-rename_statement.rs - source
1
+rename_statement.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/static_single_assignment/static_single_assigner.rs.html b/src/leo_passes/static_single_assignment/static_single_assigner.rs.html
index 25dcc74a5e..26a1c935e8 100644
--- a/src/leo_passes/static_single_assignment/static_single_assigner.rs.html
+++ b/src/leo_passes/static_single_assignment/static_single_assigner.rs.html
@@ -1,4 +1,4 @@
-static_single_assigner.rs - source
1
+static_single_assigner.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/symbol_table_creation/creator.rs.html b/src/leo_passes/symbol_table_creation/creator.rs.html
index 058699efb0..ba07027bea 100644
--- a/src/leo_passes/symbol_table_creation/creator.rs.html
+++ b/src/leo_passes/symbol_table_creation/creator.rs.html
@@ -1,4 +1,4 @@
-creator.rs - source
1
+creator.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/symbol_table_creation/mod.rs.html b/src/leo_passes/symbol_table_creation/mod.rs.html
index 3f8c989a4e..e66d0fe798 100644
--- a/src/leo_passes/symbol_table_creation/mod.rs.html
+++ b/src/leo_passes/symbol_table_creation/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/type_checking/check_expressions.rs.html b/src/leo_passes/type_checking/check_expressions.rs.html
index 71aa1168ed..b912229442 100644
--- a/src/leo_passes/type_checking/check_expressions.rs.html
+++ b/src/leo_passes/type_checking/check_expressions.rs.html
@@ -1,4 +1,4 @@
-check_expressions.rs - source
1
+check_expressions.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/type_checking/check_program.rs.html b/src/leo_passes/type_checking/check_program.rs.html
index 73224a69ed..cd42152f4f 100644
--- a/src/leo_passes/type_checking/check_program.rs.html
+++ b/src/leo_passes/type_checking/check_program.rs.html
@@ -1,4 +1,4 @@
-check_program.rs - source
1
+check_program.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/type_checking/check_statements.rs.html b/src/leo_passes/type_checking/check_statements.rs.html
index 1b589d4f08..ade3ff776c 100644
--- a/src/leo_passes/type_checking/check_statements.rs.html
+++ b/src/leo_passes/type_checking/check_statements.rs.html
@@ -1,4 +1,4 @@
-check_statements.rs - source
1
+check_statements.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/type_checking/checker.rs.html b/src/leo_passes/type_checking/checker.rs.html
index 306cb95ca4..5fcd7160f7 100644
--- a/src/leo_passes/type_checking/checker.rs.html
+++ b/src/leo_passes/type_checking/checker.rs.html
@@ -1,4 +1,4 @@
-checker.rs - source
1
+checker.rs - source
1
 2
 3
 4
diff --git a/src/leo_passes/type_checking/mod.rs.html b/src/leo_passes/type_checking/mod.rs.html
index 169a8f8fd3..825fdfa46c 100644
--- a/src/leo_passes/type_checking/mod.rs.html
+++ b/src/leo_passes/type_checking/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/leo_span/lib.rs.html b/src/leo_span/lib.rs.html
index 0f08987570..00611a7bdc 100644
--- a/src/leo_span/lib.rs.html
+++ b/src/leo_span/lib.rs.html
@@ -1,4 +1,4 @@
-lib.rs - source
1
+lib.rs - source
1
 2
 3
 4
diff --git a/src/leo_span/source_map.rs.html b/src/leo_span/source_map.rs.html
index 637c9c2c1f..831fa3be5a 100644
--- a/src/leo_span/source_map.rs.html
+++ b/src/leo_span/source_map.rs.html
@@ -1,4 +1,4 @@
-source_map.rs - source
1
+source_map.rs - source
1
 2
 3
 4
diff --git a/src/leo_span/span.rs.html b/src/leo_span/span.rs.html
index d8941f80a9..faeb8d34e6 100644
--- a/src/leo_span/span.rs.html
+++ b/src/leo_span/span.rs.html
@@ -1,4 +1,4 @@
-span.rs - source
1
+span.rs - source
1
 2
 3
 4
diff --git a/src/leo_span/span_json.rs.html b/src/leo_span/span_json.rs.html
index dc677b1b9b..8056ac211e 100644
--- a/src/leo_span/span_json.rs.html
+++ b/src/leo_span/span_json.rs.html
@@ -1,4 +1,4 @@
-span_json.rs - source
1
+span_json.rs - source
1
 2
 3
 4
diff --git a/src/leo_span/symbol.rs.html b/src/leo_span/symbol.rs.html
index ab9822441e..a2f3234528 100644
--- a/src/leo_span/symbol.rs.html
+++ b/src/leo_span/symbol.rs.html
@@ -1,4 +1,4 @@
-symbol.rs - source
1
+symbol.rs - source
1
 2
 3
 4
diff --git a/src/leo_test_framework/error.rs.html b/src/leo_test_framework/error.rs.html
index c21b3c90bd..54221d8a9d 100644
--- a/src/leo_test_framework/error.rs.html
+++ b/src/leo_test_framework/error.rs.html
@@ -1,4 +1,4 @@
-error.rs - source
1
+error.rs - source
1
 2
 3
 4
diff --git a/src/leo_test_framework/fetch.rs.html b/src/leo_test_framework/fetch.rs.html
index f3155faa1e..12f87e92f5 100644
--- a/src/leo_test_framework/fetch.rs.html
+++ b/src/leo_test_framework/fetch.rs.html
@@ -1,4 +1,4 @@
-fetch.rs - source
1
+fetch.rs - source
1
 2
 3
 4
diff --git a/src/leo_test_framework/lib.rs.html b/src/leo_test_framework/lib.rs.html
index 6119d0e1c6..c1261b99bc 100644
--- a/src/leo_test_framework/lib.rs.html
+++ b/src/leo_test_framework/lib.rs.html
@@ -1,4 +1,4 @@
-lib.rs - source
1
+lib.rs - source
1
 2
 3
 4
diff --git a/src/leo_test_framework/output.rs.html b/src/leo_test_framework/output.rs.html
index 704f04acfe..1b88f6b167 100644
--- a/src/leo_test_framework/output.rs.html
+++ b/src/leo_test_framework/output.rs.html
@@ -1,4 +1,4 @@
-output.rs - source
1
+output.rs - source
1
 2
 3
 4
diff --git a/src/leo_test_framework/runner.rs.html b/src/leo_test_framework/runner.rs.html
index f5d3a0a642..0c24b1779e 100644
--- a/src/leo_test_framework/runner.rs.html
+++ b/src/leo_test_framework/runner.rs.html
@@ -1,4 +1,4 @@
-runner.rs - source
1
+runner.rs - source
1
 2
 3
 4
diff --git a/src/leo_test_framework/test.rs.html b/src/leo_test_framework/test.rs.html
index bcd3ebbb53..db01909b0e 100644
--- a/src/leo_test_framework/test.rs.html
+++ b/src/leo_test_framework/test.rs.html
@@ -1,4 +1,4 @@
-test.rs - source
1
+test.rs - source
1
 2
 3
 4
diff --git a/static.files/main-9dd44ab47b99a0fb.js b/static.files/main-9dd44ab47b99a0fb.js
new file mode 100644
index 0000000000..cfb9a38fca
--- /dev/null
+++ b/static.files/main-9dd44ab47b99a0fb.js
@@ -0,0 +1,12 @@
+"use strict";window.RUSTDOC_TOOLTIP_HOVER_MS=300;window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS=450;function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileTopbar=document.querySelector(".mobile-topbar");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileTopbar){const mobileTitle=document.createElement("h2");mobileTitle.className="location";if(hasClass(document.body,"crate")){mobileTitle.innerText=`Crate ${window.currentCrate}`}else if(locationTitle){mobileTitle.innerHTML=locationTitle.innerHTML}mobileTopbar.appendChild(mobileTitle)}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function preLoadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="preload";link.as="style";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadScript(getVar("static-root-path")+getVar("settings-js"));setTimeout(()=>{const themes=getVar("themes").split(",");for(const theme of themes){if(theme!==""){preLoadCss(getVar("root-path")+theme+".css")}}},0)};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},removeQueryParameters:()=>{document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.hash)}},hideResults:()=>{switchDisplayedElement(null);searchState.removeQueryParameters()},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="

"+searchState.loadingText+"

";searchState.showResults(search)},};const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}const pageId=window.location.hash.replace(/^#/,"");if(savedHash!==pageId){savedHash=pageId;if(pageId!==""){expandSection(pageId)}}if(savedHash.startsWith("impl-")){const splitAt=savedHash.indexOf("/");if(splitAt!==-1){const implId=savedHash.slice(0,splitAt);const assocId=savedHash.slice(splitAt+1);const implElem=document.getElementById(implId);if(implElem&&implElem.parentElement.tagName==="SUMMARY"&&implElem.parentElement.parentElement.tagName==="DETAILS"){onEachLazy(implElem.parentElement.parentElement.querySelectorAll(`[id^="${assocId}"]`),item=>{const numbered=/([^-]+)-([0-9]+)/.exec(item.id);if(item.id===assocId||(numbered&&numbered[1]===assocId)){openParentDetails(item);item.scrollIntoView();setTimeout(()=>{window.location.replace("#"+item.id)},0)}})}}}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();searchState.hideResults();ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"&&document.activeElement.type!=="radio"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const modpath=hasClass(document.body,"mod")?"../":"";const h3=document.createElement("h3");h3.innerHTML=`${longty}`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const name of filtered){let path;if(shortty==="mod"){path=`${modpath}${name}/index.html`}else{path=`${modpath}${shortty}.${name}.html`}let current_page=document.location.href.toString();if(current_page.endsWith("/")){current_page+="index.html"}const link=document.createElement("a");link.href=path;if(link.href===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Aliases");block("union","unions","Unions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("opaque","opaque-types","Opaque Types");block("attr","attributes","Attribute Macros");block("derive","derives","Derive Macros");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector(".main-heading h1 > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=new Set((script?script.getAttribute("data-ignore-extern-crates"):"").split(","));for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.has(lib)){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&!href.startsWith("#")&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}window.register_type_impls=imp=>{if(!imp||!imp[window.currentCrate]){return}window.pending_type_impls=null;const idMap=new Map();let implementations=document.getElementById("implementations-list");let trait_implementations=document.getElementById("trait-implementations-list");let trait_implementations_header=document.getElementById("trait-implementations");const script=document.querySelector("script[data-self-path]");const selfPath=script?script.getAttribute("data-self-path"):null;const mainContent=document.querySelector("#main-content");const sidebarSection=document.querySelector(".sidebar section");let methods=document.querySelector(".sidebar .block.method");let associatedTypes=document.querySelector(".sidebar .block.associatedtype");let associatedConstants=document.querySelector(".sidebar .block.associatedconstant");let sidebarTraitList=document.querySelector(".sidebar .block.trait-implementation");for(const impList of imp[window.currentCrate]){const types=impList.slice(2);const text=impList[0];const isTrait=impList[1]!==0;const traitName=impList[1];if(types.indexOf(selfPath)===-1){continue}let outputList=isTrait?trait_implementations:implementations;if(outputList===null){const outputListName=isTrait?"Trait Implementations":"Implementations";const outputListId=isTrait?"trait-implementations-list":"implementations-list";const outputListHeaderId=isTrait?"trait-implementations":"implementations";const outputListHeader=document.createElement("h2");outputListHeader.id=outputListHeaderId;outputListHeader.innerText=outputListName;outputList=document.createElement("div");outputList.id=outputListId;if(isTrait){const link=document.createElement("a");link.href=`#${outputListHeaderId}`;link.innerText="Trait Implementations";const h=document.createElement("h3");h.appendChild(link);trait_implementations=outputList;trait_implementations_header=outputListHeader;sidebarSection.appendChild(h);sidebarTraitList=document.createElement("ul");sidebarTraitList.className="block trait-implementation";sidebarSection.appendChild(sidebarTraitList);mainContent.appendChild(outputListHeader);mainContent.appendChild(outputList)}else{implementations=outputList;if(trait_implementations){mainContent.insertBefore(outputListHeader,trait_implementations_header);mainContent.insertBefore(outputList,trait_implementations_header)}else{const mainContent=document.querySelector("#main-content");mainContent.appendChild(outputListHeader);mainContent.appendChild(outputList)}}}const template=document.createElement("template");template.innerHTML=text;onEachLazy(template.content.querySelectorAll("a"),elem=>{const href=elem.getAttribute("href");if(href&&!href.startsWith("#")&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});onEachLazy(template.content.querySelectorAll("[id]"),el=>{let i=0;if(idMap.has(el.id)){i=idMap.get(el.id)}else if(document.getElementById(el.id)){i=1;while(document.getElementById(`${el.id}-${2 * i}`)){i=2*i}while(document.getElementById(`${el.id}-${i}`)){i+=1}}if(i!==0){const oldHref=`#${el.id}`;const newHref=`#${el.id}-${i}`;el.id=`${el.id}-${i}`;onEachLazy(template.content.querySelectorAll("a[href]"),link=>{if(link.getAttribute("href")===oldHref){link.href=newHref}})}idMap.set(el.id,i+1)});const templateAssocItems=template.content.querySelectorAll("section.tymethod, "+"section.method, section.associatedtype, section.associatedconstant");if(isTrait){const li=document.createElement("li");const a=document.createElement("a");a.href=`#${template.content.querySelector(".impl").id}`;a.textContent=traitName;li.appendChild(a);sidebarTraitList.append(li)}else{onEachLazy(templateAssocItems,item=>{let block=hasClass(item,"associatedtype")?associatedTypes:(hasClass(item,"associatedconstant")?associatedConstants:(methods));if(!block){const blockTitle=hasClass(item,"associatedtype")?"Associated Types":(hasClass(item,"associatedconstant")?"Associated Constants":("Methods"));const blockClass=hasClass(item,"associatedtype")?"associatedtype":(hasClass(item,"associatedconstant")?"associatedconstant":("method"));const blockHeader=document.createElement("h3");const blockLink=document.createElement("a");blockLink.href="#implementations";blockLink.innerText=blockTitle;blockHeader.appendChild(blockLink);block=document.createElement("ul");block.className=`block ${blockClass}`;const insertionReference=methods||sidebarTraitList;if(insertionReference){const insertionReferenceH=insertionReference.previousElementSibling;sidebarSection.insertBefore(blockHeader,insertionReferenceH);sidebarSection.insertBefore(block,insertionReferenceH)}else{sidebarSection.appendChild(blockHeader);sidebarSection.appendChild(block)}if(hasClass(item,"associatedtype")){associatedTypes=block}else if(hasClass(item,"associatedconstant")){associatedConstants=block}else{methods=block}}const li=document.createElement("li");const a=document.createElement("a");a.innerText=item.id.split("-")[0].split(".")[1];a.href=`#${item.id}`;li.appendChild(a);block.appendChild(li)})}outputList.appendChild(template.content)}for(const list of[methods,associatedTypes,associatedConstants,sidebarTraitList]){if(!list){continue}const newChildren=Array.prototype.slice.call(list.children);newChildren.sort((a,b)=>{const aI=a.innerText;const bI=b.innerText;return aIbI?1:0});list.replaceChildren(...newChildren)}};if(window.pending_type_impls){window.register_type_impls(window.pending_type_impls)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";if(window.rootPath!=="./"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}})}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}function showSidebar(){window.hideAllModals(false);const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.CURRENT_TOOLTIP_ELEMENT){const base=window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE;const force_visible=base.TOOLTIP_FORCE_VISIBLE;hideTooltip(false);if(force_visible){showTooltip(base);base.TOOLTIP_FORCE_VISIBLE=true}}});const mainElem=document.getElementById(MAIN_ID);if(mainElem){mainElem.addEventListener("click",hideSidebar)}onEachLazy(document.querySelectorAll("a[href^='#']"),el=>{el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})});onEachLazy(document.querySelectorAll(".toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showTooltip(e){const notable_ty=e.getAttribute("data-notable-ty");if(!window.NOTABLE_TRAITS&¬able_ty){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showTooltip() called with notable without any notable traits!")}}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE===e){clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);return}window.hideAllModals(false);const wrapper=document.createElement("div");if(notable_ty){wrapper.innerHTML="
"+window.NOTABLE_TRAITS[notable_ty]+"
"}else{if(e.getAttribute("title")!==null){e.setAttribute("data-title",e.getAttribute("title"));e.removeAttribute("title")}if(e.getAttribute("data-title")!==null){const titleContent=document.createElement("div");titleContent.className="content";titleContent.appendChild(document.createTextNode(e.getAttribute("data-title")));wrapper.appendChild(titleContent)}}wrapper.className="tooltip popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideTooltip;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_TOOLTIP_ELEMENT=wrapper;window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE=e;clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);wrapper.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}clearTooltipHoverTimeout(e)};wrapper.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,e)){setTooltipHoverTimeout(e,false);addClass(wrapper,"fade-out")}}}function setTooltipHoverTimeout(element,show){clearTooltipHoverTimeout(element);if(!show&&!window.CURRENT_TOOLTIP_ELEMENT){return}if(show&&window.CURRENT_TOOLTIP_ELEMENT){return}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE!==element){return}element.TOOLTIP_HOVER_TIMEOUT=setTimeout(()=>{if(show){showTooltip(element)}else if(!element.TOOLTIP_FORCE_VISIBLE){hideTooltip(false)}},show?window.RUSTDOC_TOOLTIP_HOVER_MS:window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS)}function clearTooltipHoverTimeout(element){if(element.TOOLTIP_HOVER_TIMEOUT!==undefined){removeClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out");clearTimeout(element.TOOLTIP_HOVER_TIMEOUT);delete element.TOOLTIP_HOVER_TIMEOUT}}function tooltipBlurHandler(event){if(window.CURRENT_TOOLTIP_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)){setTimeout(()=>hideTooltip(false),0)}}function hideTooltip(focus){if(window.CURRENT_TOOLTIP_ELEMENT){if(window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE){if(focus){window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.focus()}window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_TOOLTIP_ELEMENT);clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);window.CURRENT_TOOLTIP_ELEMENT=null}}onEachLazy(document.getElementsByClassName("tooltip"),e=>{e.onclick=()=>{e.TOOLTIP_FORCE_VISIBLE=e.TOOLTIP_FORCE_VISIBLE?false:true;if(window.CURRENT_TOOLTIP_ELEMENT&&!e.TOOLTIP_FORCE_VISIBLE){hideTooltip(true)}else{showTooltip(e);window.CURRENT_TOOLTIP_ELEMENT.setAttribute("tabindex","0");window.CURRENT_TOOLTIP_ELEMENT.focus();window.CURRENT_TOOLTIP_ELEMENT.onblur=tooltipBlurHandler}return false};e.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointermove=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)){setTooltipHoverTimeout(e,false);addClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out")}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");const channel=getVar("channel");book_info.className="top";book_info.innerHTML=`You can find more information in \ +the rustdoc book.`;const shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(x=>"
"+x[0].split(" ").map((y,index)=>((index&1)===0?""+y+"":" "+y+" ")).join("")+"
"+x[1]+"
").join("");const div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

Keyboard Shortcuts

"+shortcuts+"
";const infos=[`For a full list of all search features, take a look here.`,"Prefix searches with a type followed by a colon (e.g., fn:) to \ + restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ + enum, trait, type, macro, \ + and const.","Search functions by type signature (e.g., vec -> usize or \ + -> vec or String, enum:Cow -> bool)","You can look for items with an exact name by putting double quotes around \ + your request: \"string\"","Look for functions that accept or return \ + slices and \ + arrays by writing \ + square brackets (e.g., -> [u8] or [] -> Option)","Look for items inside another one by searching for a path: vec::Vec",].map(x=>"

"+x+"

").join("");const div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

Search Tricks

"+infos;const rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";const rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc "+getVar("rustdoc-version");rustdoc_version.appendChild(rustdoc_version_code);const container=document.createElement("div");if(!isHelpPage){container.className="popover"}container.id="help";container.style.display="none";const side_by_side=document.createElement("div");side_by_side.className="side-by-side";side_by_side.appendChild(div_shortcuts);side_by_side.appendChild(div_infos);container.appendChild(book_info);container.appendChild(side_by_side);container.appendChild(rustdoc_version);if(isHelpPage){const help_section=document.createElement("section");help_section.appendChild(container);document.getElementById("main-content").appendChild(help_section);container.style.display="block"}else{const help_button=getHelpButton();help_button.appendChild(container);container.onblur=helpBlurHandler;help_button.onblur=helpBlurHandler;help_button.children[0].onblur=helpBlurHandler}return container}window.hideAllModals=switchFocus=>{hideSidebar();window.hidePopoverMenus();hideTooltip(switchFocus)};window.hidePopoverMenus=()=>{onEachLazy(document.querySelectorAll(".search-form .popover"),elem=>{elem.style.display="none"})};function getHelpMenu(buildNeeded){let menu=getHelpButton().querySelector(".popover");if(!menu&&buildNeeded){menu=buildHelpMenu()}return menu}function showHelp(){getHelpButton().querySelector("a").focus();const menu=getHelpMenu(true);if(menu.style.display==="none"){window.hideAllModals();menu.style.display=""}}if(isHelpPage){showHelp();document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault()})}else{document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault();const menu=getHelpMenu(true);const shouldShowHelp=menu.style.display==="none";if(shouldShowHelp){showHelp()}else{window.hidePopoverMenus()}})}setMobileTopbar();addSidebarItems();addSidebarCrates();onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){let reset_button_timeout=null;const but=document.getElementById("copy-path");if(!but){return}but.onclick=()=>{const parent=but.parentElement;const path=[];onEach(parent.childNodes,child=>{if(child.tagName==="A"){path.push(child.textContent)}});const el=document.createElement("textarea");el.value=path.join("::");el.setAttribute("readonly","");el.style.position="absolute";el.style.left="-9999px";document.body.appendChild(el);el.select();document.execCommand("copy");document.body.removeChild(el);but.children[0].style.display="none";let tmp;if(but.childNodes.length<2){tmp=document.createTextNode("✓");but.appendChild(tmp)}else{onEachLazy(but.childNodes,e=>{if(e.nodeType===Node.TEXT_NODE){tmp=e;return true}});tmp.textContent="✓"}if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){tmp.textContent="";reset_button_timeout=null;but.children[0].style.display=""}reset_button_timeout=window.setTimeout(reset_button,1000)}}()) \ No newline at end of file diff --git a/static.files/main-c5bd66d33317d69f.js b/static.files/main-c5bd66d33317d69f.js deleted file mode 100644 index 43133d66ea..0000000000 --- a/static.files/main-c5bd66d33317d69f.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict";window.RUSTDOC_TOOLTIP_HOVER_MS=300;window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS=450;function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileTopbar=document.querySelector(".mobile-topbar");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileTopbar&&locationTitle){const mobileTitle=document.createElement("h2");mobileTitle.innerHTML=locationTitle.innerHTML;mobileTopbar.appendChild(mobileTitle)}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function preLoadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="preload";link.as="style";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadScript(getVar("static-root-path")+getVar("settings-js"));setTimeout(()=>{const themes=getVar("themes").split(",");for(const theme of themes){if(theme!==""){preLoadCss(getVar("root-path")+theme+".css")}}},0)};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},removeQueryParameters:()=>{document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.hash)}},hideResults:()=>{switchDisplayedElement(null);searchState.removeQueryParameters()},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="

"+searchState.loadingText+"

";searchState.showResults(search)},};const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}const pageId=window.location.hash.replace(/^#/,"");if(savedHash!==pageId){savedHash=pageId;if(pageId!==""){expandSection(pageId)}}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();searchState.hideResults();ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"&&document.activeElement.type!=="radio"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`${longty}`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const name of filtered){let path;if(shortty==="mod"){path=name+"/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("/").pop();const link=document.createElement("a");link.href=path;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Aliases");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector(".main-heading h1 > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=new Set((script?script.getAttribute("data-ignore-extern-crates"):"").split(","));for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.has(lib)){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";if(window.rootPath!=="./"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}})}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}function showSidebar(){window.hideAllModals(false);const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.CURRENT_TOOLTIP_ELEMENT){const base=window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE;const force_visible=base.TOOLTIP_FORCE_VISIBLE;hideTooltip(false);if(force_visible){showTooltip(base);base.TOOLTIP_FORCE_VISIBLE=true}}});const mainElem=document.getElementById(MAIN_ID);if(mainElem){mainElem.addEventListener("click",hideSidebar)}onEachLazy(document.querySelectorAll("a[href^='#']"),el=>{el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})});onEachLazy(document.querySelectorAll(".toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showTooltip(e){const notable_ty=e.getAttribute("data-notable-ty");if(!window.NOTABLE_TRAITS&¬able_ty){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showTooltip() called with notable without any notable traits!")}}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE===e){clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);return}window.hideAllModals(false);const wrapper=document.createElement("div");if(notable_ty){wrapper.innerHTML="
"+window.NOTABLE_TRAITS[notable_ty]+"
"}else{if(e.getAttribute("title")!==null){e.setAttribute("data-title",e.getAttribute("title"));e.removeAttribute("title")}if(e.getAttribute("data-title")!==null){const titleContent=document.createElement("div");titleContent.className="content";titleContent.appendChild(document.createTextNode(e.getAttribute("data-title")));wrapper.appendChild(titleContent)}}wrapper.className="tooltip popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideTooltip;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_TOOLTIP_ELEMENT=wrapper;window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE=e;clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);wrapper.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}clearTooltipHoverTimeout(e)};wrapper.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,e)){setTooltipHoverTimeout(e,false);addClass(wrapper,"fade-out")}}}function setTooltipHoverTimeout(element,show){clearTooltipHoverTimeout(element);if(!show&&!window.CURRENT_TOOLTIP_ELEMENT){return}if(show&&window.CURRENT_TOOLTIP_ELEMENT){return}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE!==element){return}element.TOOLTIP_HOVER_TIMEOUT=setTimeout(()=>{if(show){showTooltip(element)}else if(!element.TOOLTIP_FORCE_VISIBLE){hideTooltip(false)}},show?window.RUSTDOC_TOOLTIP_HOVER_MS:window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS)}function clearTooltipHoverTimeout(element){if(element.TOOLTIP_HOVER_TIMEOUT!==undefined){removeClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out");clearTimeout(element.TOOLTIP_HOVER_TIMEOUT);delete element.TOOLTIP_HOVER_TIMEOUT}}function tooltipBlurHandler(event){if(window.CURRENT_TOOLTIP_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)){setTimeout(()=>hideTooltip(false),0)}}function hideTooltip(focus){if(window.CURRENT_TOOLTIP_ELEMENT){if(window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE){if(focus){window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.focus()}window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_TOOLTIP_ELEMENT);clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);window.CURRENT_TOOLTIP_ELEMENT=null}}onEachLazy(document.getElementsByClassName("tooltip"),e=>{e.onclick=()=>{e.TOOLTIP_FORCE_VISIBLE=e.TOOLTIP_FORCE_VISIBLE?false:true;if(window.CURRENT_TOOLTIP_ELEMENT&&!e.TOOLTIP_FORCE_VISIBLE){hideTooltip(true)}else{showTooltip(e);window.CURRENT_TOOLTIP_ELEMENT.setAttribute("tabindex","0");window.CURRENT_TOOLTIP_ELEMENT.focus();window.CURRENT_TOOLTIP_ELEMENT.onblur=tooltipBlurHandler}return false};e.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointermove=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)){setTooltipHoverTimeout(e,false);addClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out")}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");const channel=getVar("channel");book_info.className="top";book_info.innerHTML=`You can find more information in \ -the rustdoc book.`;const shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(x=>"
"+x[0].split(" ").map((y,index)=>((index&1)===0?""+y+"":" "+y+" ")).join("")+"
"+x[1]+"
").join("");const div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

Keyboard Shortcuts

"+shortcuts+"
";const infos=[`For a full list of all search features, take a look here.`,"Prefix searches with a type followed by a colon (e.g., fn:) to \ - restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ - enum, trait, type, macro, \ - and const.","Search functions by type signature (e.g., vec -> usize or \ - -> vec or String, enum:Cow -> bool)","You can look for items with an exact name by putting double quotes around \ - your request: \"string\"","Look for functions that accept or return \ - slices and \ - arrays by writing \ - square brackets (e.g., -> [u8] or [] -> Option)","Look for items inside another one by searching for a path: vec::Vec",].map(x=>"

"+x+"

").join("");const div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

Search Tricks

"+infos;const rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";const rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc "+getVar("rustdoc-version");rustdoc_version.appendChild(rustdoc_version_code);const container=document.createElement("div");if(!isHelpPage){container.className="popover"}container.id="help";container.style.display="none";const side_by_side=document.createElement("div");side_by_side.className="side-by-side";side_by_side.appendChild(div_shortcuts);side_by_side.appendChild(div_infos);container.appendChild(book_info);container.appendChild(side_by_side);container.appendChild(rustdoc_version);if(isHelpPage){const help_section=document.createElement("section");help_section.appendChild(container);document.getElementById("main-content").appendChild(help_section);container.style.display="block"}else{const help_button=getHelpButton();help_button.appendChild(container);container.onblur=helpBlurHandler;help_button.onblur=helpBlurHandler;help_button.children[0].onblur=helpBlurHandler}return container}window.hideAllModals=switchFocus=>{hideSidebar();window.hidePopoverMenus();hideTooltip(switchFocus)};window.hidePopoverMenus=()=>{onEachLazy(document.querySelectorAll(".search-form .popover"),elem=>{elem.style.display="none"})};function getHelpMenu(buildNeeded){let menu=getHelpButton().querySelector(".popover");if(!menu&&buildNeeded){menu=buildHelpMenu()}return menu}function showHelp(){getHelpButton().querySelector("a").focus();const menu=getHelpMenu(true);if(menu.style.display==="none"){window.hideAllModals();menu.style.display=""}}if(isHelpPage){showHelp();document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault()})}else{document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault();const menu=getHelpMenu(true);const shouldShowHelp=menu.style.display==="none";if(shouldShowHelp){showHelp()}else{window.hidePopoverMenus()}})}setMobileTopbar();addSidebarItems();addSidebarCrates();onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){let reset_button_timeout=null;const but=document.getElementById("copy-path");if(!but){return}but.onclick=()=>{const parent=but.parentElement;const path=[];onEach(parent.childNodes,child=>{if(child.tagName==="A"){path.push(child.textContent)}});const el=document.createElement("textarea");el.value=path.join("::");el.setAttribute("readonly","");el.style.position="absolute";el.style.left="-9999px";document.body.appendChild(el);el.select();document.execCommand("copy");document.body.removeChild(el);but.children[0].style.display="none";let tmp;if(but.childNodes.length<2){tmp=document.createTextNode("✓");but.appendChild(tmp)}else{onEachLazy(but.childNodes,e=>{if(e.nodeType===Node.TEXT_NODE){tmp=e;return true}});tmp.textContent="✓"}if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){tmp.textContent="";reset_button_timeout=null;but.children[0].style.display=""}reset_button_timeout=window.setTimeout(reset_button,1000)}}()) \ No newline at end of file diff --git a/static.files/rustdoc-fa3bb1812debf86c.css b/static.files/rustdoc-9ee3a5e31a2afa3e.css similarity index 71% rename from static.files/rustdoc-fa3bb1812debf86c.css rename to static.files/rustdoc-9ee3a5e31a2afa3e.css index 2dd5cebcae..8749d0eb18 100644 --- a/static.files/rustdoc-fa3bb1812debf86c.css +++ b/static.files/rustdoc-9ee3a5e31a2afa3e.css @@ -1,9 +1,9 @@ - :root{--nav-sub-mobile-padding:8px;--search-typename-width:6.75rem;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-018c141bf0843ffd.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-8f9a781e4970d388.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-46f98efaafac5295.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;flex-grow:1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{display:flex;flex-wrap:wrap;padding-bottom:6px;margin-bottom:15px;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,span.since,a.src,#help-button>a,summary.hideme,.scraped-example-list,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.small-section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p,.docblock>.warning{margin:0 0 .75em 0;}p:last-child,.docblock>.warning:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap pre.src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.sub-logo-container,.logo-container{line-height:0;display:block;}.sub-logo-container{margin-right:32px;}.sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 200px;overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;}.rustdoc.src .sidebar{flex-basis:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;z-index:1;}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}#src-sidebar-toggle>button:hover,#src-sidebar-toggle>button:focus{background-color:var(--sidebar-background-color-hover);}.src .sidebar>*:not(#src-sidebar-toggle){visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:300px;}.src-sidebar-expanded .src .sidebar>*:not(#src-sidebar-toggle){visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.sidebar .logo-container{margin-top:10px;margin-bottom:10px;text-align:center;}.version{overflow-wrap:break-word;}.logo-container>img{height:100px;width:100px;}ul.block,.block li{padding:0;margin:0;list-style:none;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-left:-0.25rem;}.sidebar h2{overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>h2{padding-left:24px;}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.rustdoc:not(.src) .example-wrap pre{overflow:auto hidden;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap pre.src-line-numbers{flex-grow:0;min-width:fit-content;overflow:initial;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;color:var(--src-line-numbers-span-color);}.rustdoc .example-wrap pre.src-line-numbers{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.out-of-band{flex-grow:0;font-size:1.125rem;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap{background-color:var(--code-block-background-color);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.method .where,.fn .where,.where.fmt-newline{display:block;white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 25px 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;}.src nav.sub{margin:0 0 15px 0;}.small-section-header{display:block;position:relative;}.small-section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.docblock-short a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block a.current{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}#crate-search-div{position:relative;min-width:5em;}#crate-search{min-width:115px;padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml,h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;flex-grow:1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{display:flex;flex-wrap:wrap;padding-bottom:6px;margin-bottom:15px;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,span.since,a.src,#help-button>a,summary.hideme,.scraped-example-list,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.small-section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p,.docblock>.warning{margin:0 0 .75em 0;}p:last-child,.docblock>.warning:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap pre.src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.sub-logo-container,.logo-container{line-height:0;display:block;}.sub-logo-container{margin-right:32px;}.sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 200px;overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;}.rustdoc.src .sidebar{flex-basis:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;z-index:1;}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}#src-sidebar-toggle>button:hover,#src-sidebar-toggle>button:focus{background-color:var(--sidebar-background-color-hover);}.src .sidebar>*:not(#src-sidebar-toggle){visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:300px;}.src-sidebar-expanded .src .sidebar>*:not(#src-sidebar-toggle){visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.logo-container>img{height:48px;width:48px;}ul.block,.block li{padding:0;margin:0;list-style:none;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-left:-0.25rem;}.sidebar h2{overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>.version,.sidebar>h2{padding-left:24px;}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar .current a,.sidebar-crate a.logo-container:hover+h2 a,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.sidebar-crate{display:flex;align-items:center;justify-content:center;margin:14px 32px 1rem;row-gap:10px;column-gap:32px;flex-wrap:wrap;}.sidebar-crate h2{flex-grow:1;margin:0 -8px;align-self:start;}.sidebar-crate .logo-container{margin:0 -16px 0 -16px;text-align:center;}.sidebar-crate h2 a{display:block;margin:0 calc(-24px + 0.25rem) 0 -0.5rem;padding:calc((16px - 0.57rem ) / 2 ) 0.25rem;padding-left:0.5rem;}.sidebar-crate h2 .version{display:block;font-weight:normal;font-size:1rem;overflow-wrap:break-word;margin-top:calc((-16px + 0.57rem ) / 2 );}.sidebar-crate+.version{margin-top:-1rem;margin-bottom:1rem;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.rustdoc:not(.src) .example-wrap pre{overflow:auto hidden;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap pre.src-line-numbers{flex-grow:0;min-width:fit-content;overflow:initial;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;color:var(--src-line-numbers-span-color);}.rustdoc .example-wrap pre.src-line-numbers{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.out-of-band{flex-grow:0;font-size:1.125rem;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap{background-color:var(--code-block-background-color);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.method .where,.fn .where,.where.fmt-newline{display:block;white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 25px 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;}.src nav.sub{margin:0 0 15px 0;}.small-section-header{display:block;position:relative;}.small-section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.docblock-short a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block a.current{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}#crate-search-div{position:relative;min-width:5em;}#crate-search{min-width:115px;padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml, \ ');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;}.search-results>a{display:flex;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:2;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;flex:3;}.search-results .result-name .alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.search-results .result-name .path>*{display:inline;}.popover{position:absolute;top:100%;right:0;z-index:2;margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}.setting-line{margin:1.2em 0.6em;}.setting-radio input,.setting-check input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:2px solid var(--settings-input-border-color);outline:none;-webkit-appearance:none;cursor:pointer;}.setting-radio input{border-radius:50%;}.setting-radio span,.setting-check span{padding-bottom:1px;}.setting-radio{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:inline-flex;align-items:center;cursor:pointer;}.setting-radio+.setting-radio{margin-left:0.5em;}.setting-check{margin-right:20px;display:flex;align-items:center;cursor:pointer;}.setting-radio input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-check input:checked{background-color:var(--settings-input-color);border-width:1px;content:url('data:image/svg+xml,\ \ - ');}.setting-radio input:focus,.setting-check input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-radio input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-radio input:hover,.setting-check input:hover{border-color:var(--settings-input-color) !important;}#help.popover{max-width:600px;--popover-arrow-offset:48px;}#help dt{float:left;clear:left;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;}#help span.top{margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side>div{width:50%;float:left;padding:0 20px 20px 17px;}.item-info .stab{min-height:36px;display:flex;padding:3px;margin-bottom:5px;align-items:center;vertical-align:text-bottom;}.item-name .stab{margin-left:0.3125em;}.stab{padding:0 2px;font-size:0.875rem;font-weight:normal;color:var(--main-color);background-color:var(--stab-background-color);width:fit-content;white-space:pre-wrap;border-radius:3px;display:inline;}.stab.portability>code{background:none;color:var(--stab-code-color);}.stab .emoji{font-size:1.25rem;margin-right:0.3rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;float:right;}.rightside:not(a),.out-of-band{color:var(--right-side-color);}pre.rust{tab-size:4;-moz-tab-size:4;}pre.rust .kw{color:var(--code-highlight-kw-color);}pre.rust .kw-2{color:var(--code-highlight-kw-2-color);}pre.rust .lifetime{color:var(--code-highlight-lifetime-color);}pre.rust .prelude-ty{color:var(--code-highlight-prelude-color);}pre.rust .prelude-val{color:var(--code-highlight-prelude-val-color);}pre.rust .string{color:var(--code-highlight-string-color);}pre.rust .number{color:var(--code-highlight-number-color);}pre.rust .bool-val{color:var(--code-highlight-literal-color);}pre.rust .self{color:var(--code-highlight-self-color);}pre.rust .attr{color:var(--code-highlight-attribute-color);}pre.rust .macro,pre.rust .macro-nonterminal{color:var(--code-highlight-macro-color);}pre.rust .question-mark{font-weight:bold;color:var(--code-highlight-question-mark-color);}pre.rust .comment{color:var(--code-highlight-comment-color);}pre.rust .doccomment{color:var(--code-highlight-doc-comment-color);}.rustdoc.src .example-wrap pre.rust a{background:var(--codeblock-link-background);}.example-wrap.compile_fail,.example-wrap.should_panic{border-left:2px solid var(--codeblock-error-color);}.ignore.example-wrap{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover,.example-wrap.should_panic:hover{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap.ignore:hover{border-left:2px solid var(--codeblock-ignore-hover-color);}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip{color:var(--codeblock-error-color);}.example-wrap.ignore .tooltip{color:var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover .tooltip,.example-wrap.should_panic:hover .tooltip{color:var(--codeblock-error-hover-color);}.example-wrap.ignore:hover .tooltip{color:var(--codeblock-ignore-hover-color);}.example-wrap .tooltip{position:absolute;display:block;left:-25px;top:5px;margin:0;line-height:1;}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip,.example-wrap.ignore .tooltip{font-weight:bold;font-size:1.25rem;}.content .docblock .warning{border-left:2px solid var(--warning-border-color);padding:14px;position:relative;overflow-x:visible !important;}.content .docblock .warning::before{color:var(--warning-border-color);content:"ⓘ";position:absolute;left:-25px;top:5px;font-weight:bold;font-size:1.25rem;}a.test-arrow{visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.375rem;top:5px;right:5px;z-index:1;color:var(--test-arrow-color);background-color:var(--test-arrow-background-color);}a.test-arrow:hover{color:var(--test-arrow-hover-color);background-color:var(--test-arrow-hover-background-color);}.example-wrap:hover .test-arrow{visibility:visible;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;display:block;}.out-of-band>span.since{font-size:1.25rem;}.sub-variant h4{font-size:1rem;font-weight:400;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}:target{padding-right:3px;background-color:var(--target-background-color);border-right:3px solid var(--target-border-color);}.code-header a.tooltip{color:inherit;margin-right:15px;position:relative;}.code-header a.tooltip:hover{color:var(--link-color);}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}.fade-out{opacity:0;transition:opacity 0.45s cubic-bezier(0,0,0.1,1.0);}.popover.tooltip .content{margin:0.25em 0.5em;}.popover.tooltip .content pre,.popover.tooltip .content code{background:transparent;margin:0;padding:0;font-size:1.25rem;white-space:pre-wrap;}.popover.tooltip .content>h3:first-child{margin:0 0 5px 0;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#search-tabs{display:flex;flex-direction:row;gap:1px;margin-bottom:4px;}#search-tabs button{text-align:center;font-size:1.125rem;border:0;border-top:2px solid;flex:1;line-height:1.5;color:inherit;}#search-tabs button:not(.selected){background-color:var(--search-tab-button-not-selected-background);border-top-color:var(--search-tab-button-not-selected-border-top-color);}#search-tabs button:hover,#search-tabs button.selected{background-color:var(--search-tab-button-selected-background);border-top-color:var(--search-tab-button-selected-border-top-color);}#search-tabs .count{font-size:1rem;font-variant-numeric:tabular-nums;color:var(--search-tab-title-count-color);}#search .error code{border-radius:3px;background-color:var(--search-error-code-background-color);}.search-corrections{font-weight:normal;}#src-sidebar-toggle{position:sticky;top:0;left:0;font-size:1.25rem;border-bottom:1px solid;display:flex;height:40px;justify-content:stretch;align-items:stretch;z-index:10;}#src-sidebar{width:100%;overflow:auto;}#src-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid var(--border-color);margin-bottom:6px;}#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--src-sidebar-background-hover);}#src-sidebar div.files>a.selected{background-color:var(--src-sidebar-background-selected);}#src-sidebar-toggle>button{font-size:inherit;font-weight:bold;background:none;color:inherit;text-align:center;border:none;outline:none;flex:1 1;-webkit-appearance:none;opacity:1;}#settings-menu,#help-button{margin-left:4px;display:flex;}#settings-menu>a,#help-button>a{display:flex;align-items:center;justify-content:center;background-color:var(--button-background-color);border:1px solid var(--border-color);border-radius:2px;color:var(--settings-button-color);font-size:20px;width:33px;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>a:hover,#help-button>a:focus{border-color:var(--settings-button-border-focus);}#copy-path{color:var(--copy-path-button-color);background:var(--main-background-color);height:34px;margin-left:10px;padding:0;padding-left:2px;border:0;width:33px;}#copy-path>img{filter:var(--copy-path-img-filter);}#copy-path:hover>img{filter:var(--copy-path-img-hover-filter);}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px var(--border-color);border-radius:3px;color:var(--kbd-color);background-color:var(--kbd-background);box-shadow:inset 0 -1px 0 var(--kbd-box-shadow-color);}ul.all-items>li{list-style:none;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 -4px;padding:0 0 0 4px;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.toggle{contain:layout;position:relative;}details.toggle>summary.hideme{cursor:pointer;font-size:1rem;}details.toggle>summary{list-style:none;outline:none;}details.toggle>summary::-webkit-details-marker,details.toggle>summary::marker{display:none;}details.toggle>summary.hideme>span{margin-left:9px;}details.toggle>summary::before{background:url('data:image/svg+xml,');}.setting-radio input:focus,.setting-check input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-radio input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-radio input:hover,.setting-check input:hover{border-color:var(--settings-input-color) !important;}#help.popover{max-width:600px;--popover-arrow-offset:48px;}#help dt{float:left;clear:left;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;}#help span.top{margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side>div{width:50%;float:left;padding:0 20px 20px 17px;}.item-info .stab{min-height:36px;display:flex;padding:3px;margin-bottom:5px;align-items:center;vertical-align:text-bottom;}.item-name .stab{margin-left:0.3125em;}.stab{padding:0 2px;font-size:0.875rem;font-weight:normal;color:var(--main-color);background-color:var(--stab-background-color);width:fit-content;white-space:pre-wrap;border-radius:3px;display:inline;vertical-align:baseline;}.stab.portability>code{background:none;color:var(--stab-code-color);}.stab .emoji{font-size:1.25rem;margin-right:0.3rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;float:right;}.rightside:not(a),.out-of-band{color:var(--right-side-color);}pre.rust{tab-size:4;-moz-tab-size:4;}pre.rust .kw{color:var(--code-highlight-kw-color);}pre.rust .kw-2{color:var(--code-highlight-kw-2-color);}pre.rust .lifetime{color:var(--code-highlight-lifetime-color);}pre.rust .prelude-ty{color:var(--code-highlight-prelude-color);}pre.rust .prelude-val{color:var(--code-highlight-prelude-val-color);}pre.rust .string{color:var(--code-highlight-string-color);}pre.rust .number{color:var(--code-highlight-number-color);}pre.rust .bool-val{color:var(--code-highlight-literal-color);}pre.rust .self{color:var(--code-highlight-self-color);}pre.rust .attr{color:var(--code-highlight-attribute-color);}pre.rust .macro,pre.rust .macro-nonterminal{color:var(--code-highlight-macro-color);}pre.rust .question-mark{font-weight:bold;color:var(--code-highlight-question-mark-color);}pre.rust .comment{color:var(--code-highlight-comment-color);}pre.rust .doccomment{color:var(--code-highlight-doc-comment-color);}.rustdoc.src .example-wrap pre.rust a{background:var(--codeblock-link-background);}.example-wrap.compile_fail,.example-wrap.should_panic{border-left:2px solid var(--codeblock-error-color);}.ignore.example-wrap{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover,.example-wrap.should_panic:hover{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap.ignore:hover{border-left:2px solid var(--codeblock-ignore-hover-color);}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip{color:var(--codeblock-error-color);}.example-wrap.ignore .tooltip{color:var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover .tooltip,.example-wrap.should_panic:hover .tooltip{color:var(--codeblock-error-hover-color);}.example-wrap.ignore:hover .tooltip{color:var(--codeblock-ignore-hover-color);}.example-wrap .tooltip{position:absolute;display:block;left:-25px;top:5px;margin:0;line-height:1;}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip,.example-wrap.ignore .tooltip{font-weight:bold;font-size:1.25rem;}.content .docblock .warning{border-left:2px solid var(--warning-border-color);padding:14px;position:relative;overflow-x:visible !important;}.content .docblock .warning::before{color:var(--warning-border-color);content:"ⓘ";position:absolute;left:-25px;top:5px;font-weight:bold;font-size:1.25rem;}a.test-arrow{visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.375rem;top:5px;right:5px;z-index:1;color:var(--test-arrow-color);background-color:var(--test-arrow-background-color);}a.test-arrow:hover{color:var(--test-arrow-hover-color);background-color:var(--test-arrow-hover-background-color);}.example-wrap:hover .test-arrow{visibility:visible;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;display:block;}.out-of-band>span.since{font-size:1.25rem;}.sub-variant h4{font-size:1rem;font-weight:400;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}:target{padding-right:3px;background-color:var(--target-background-color);border-right:3px solid var(--target-border-color);}.code-header a.tooltip{color:inherit;margin-right:15px;position:relative;}.code-header a.tooltip:hover{color:var(--link-color);}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}.fade-out{opacity:0;transition:opacity 0.45s cubic-bezier(0,0,0.1,1.0);}.popover.tooltip .content{margin:0.25em 0.5em;}.popover.tooltip .content pre,.popover.tooltip .content code{background:transparent;margin:0;padding:0;font-size:1.25rem;white-space:pre-wrap;}.popover.tooltip .content>h3:first-child{margin:0 0 5px 0;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#search-tabs{display:flex;flex-direction:row;gap:1px;margin-bottom:4px;}#search-tabs button{text-align:center;font-size:1.125rem;border:0;border-top:2px solid;flex:1;line-height:1.5;color:inherit;}#search-tabs button:not(.selected){background-color:var(--search-tab-button-not-selected-background);border-top-color:var(--search-tab-button-not-selected-border-top-color);}#search-tabs button:hover,#search-tabs button.selected{background-color:var(--search-tab-button-selected-background);border-top-color:var(--search-tab-button-selected-border-top-color);}#search-tabs .count{font-size:1rem;font-variant-numeric:tabular-nums;color:var(--search-tab-title-count-color);}#search .error code{border-radius:3px;background-color:var(--search-error-code-background-color);}.search-corrections{font-weight:normal;}#src-sidebar-toggle{position:sticky;top:0;left:0;font-size:1.25rem;border-bottom:1px solid;display:flex;height:40px;justify-content:stretch;align-items:stretch;z-index:10;}#src-sidebar{width:100%;overflow:auto;}#src-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid var(--border-color);margin-bottom:6px;}#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--src-sidebar-background-hover);}#src-sidebar div.files>a.selected{background-color:var(--src-sidebar-background-selected);}#src-sidebar-toggle>button{font-size:inherit;font-weight:bold;background:none;color:inherit;text-align:center;border:none;outline:none;flex:1 1;-webkit-appearance:none;opacity:1;}#settings-menu,#help-button{margin-left:4px;display:flex;}#settings-menu>a,#help-button>a{display:flex;align-items:center;justify-content:center;background-color:var(--button-background-color);border:1px solid var(--border-color);border-radius:2px;color:var(--settings-button-color);font-size:20px;width:33px;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>a:hover,#help-button>a:focus{border-color:var(--settings-button-border-focus);}#copy-path{color:var(--copy-path-button-color);background:var(--main-background-color);height:34px;margin-left:10px;padding:0;padding-left:2px;border:0;width:33px;}#copy-path>img{filter:var(--copy-path-img-filter);}#copy-path:hover>img{filter:var(--copy-path-img-hover-filter);}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px var(--border-color);border-radius:3px;color:var(--kbd-color);background-color:var(--kbd-background);box-shadow:inset 0 -1px 0 var(--kbd-box-shadow-color);}ul.all-items>li{list-style:none;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 -4px;padding:0 0 0 4px;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.toggle{contain:layout;position:relative;}details.toggle>summary.hideme{cursor:pointer;font-size:1rem;}details.toggle>summary{list-style:none;outline:none;}details.toggle>summary::-webkit-details-marker,details.toggle>summary::marker{display:none;}details.toggle>summary.hideme>span{margin-left:9px;}details.toggle>summary::before{background:url('data:image/svg+xml,') no-repeat top left;content:"";cursor:pointer;width:16px;height:16px;display:inline-block;vertical-align:middle;opacity:.5;filter:var(--toggle-filter);}details.toggle>summary.hideme>span,.more-examples-toggle summary,.more-examples-toggle .hide-more{color:var(--toggles-color);}details.toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.toggle>summary.hideme::after{content:"";}details.toggle>summary:focus::before,details.toggle>summary:hover::before{opacity:1;}details.toggle>summary:focus-visible::before{outline:1px dotted #000;outline-offset:1px;}details.non-exhaustive{margin-bottom:8px;}details.toggle>summary.hideme::before{position:relative;}details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.toggle[open] >summary.hideme{position:absolute;}details.toggle[open] >summary.hideme>span{display:none;}details.toggle[open] >summary::before{background:url('data:image/svg+xml,{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}const editDistanceState={current:[],prev:[],prevPrev:[],calculate:function calculate(a,b,limit){if(a.lengthlimit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function initSearch(rawSearchIndex){const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;let typeNameIdMap;const ALIASES=new Map();let typeNameIdOfArray;let typeNameIdOfSlice;let typeNameIdOfArrayOrSlice;function buildTypeMapIndex(name){if(name===""||name===null){return null}if(typeNameIdMap.has(name)){return typeNameIdMap.get(name)}else{const id=typeNameIdMap.size;typeNameIdMap.set(name,id);return id}}function isWhitespace(c){return" \t\n\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-]".indexOf(c)!==-1}function isStopCharacter(c){return isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","}function isPathSeparator(c){return c===":"||isWhitespace(c)}function prevIs(parserState,lookingFor){let pos=parserState.pos;while(pos>0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(!isWhitespace(c)){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function skipWhitespace(parserState){while(parserState.pos0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}return{name:"never",id:null,fullPath:["never"],pathWithoutLast:[],pathLast:"never",generics:[],typeFilter:"primitive",}}if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(path.endsWith("::")){throw["Paths cannot end with ","::"]}else if(path.includes("::::")){throw["Unexpected ","::::"]}else if(path.includes(" ::")){throw["Unexpected "," ::"]}else if(path.includes(":: ")){throw["Unexpected ",":: "]}const pathSegments=path.split(/::|\s+/);if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name.trim(),id:null,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,typeFilter,}}function getIdentEndPosition(parserState){const start=parserState.pos;let end=parserState.pos;let foundExclamation=-1;while(parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let start=parserState.pos;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",","," or ",endChar,...extra,", found ",c,]}throw["Expected ",",",...extra,", found ",c,]}const posBefore=parserState.pos;start=parserState.pos;getNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;parserState.typeFilter=oldTypeFilter}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();for(const c in query){if(!isIdentCharacter(query[c])){throw["Unexpected ",query[c]," in type filter (before ",":",")",]}}}function parseInput(query,parserState){let foundStopChar=true;let start=parserState.pos;while(parserState.pos"){if(isReturnArrow(parserState)){break}throw["Unexpected ",c," (did you mean ","->","?)"]}throw["Unexpected ",c]}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}else if(query.elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=query.elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.name;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;foundStopChar=true;continue}else if(isWhitespace(c)){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;start=parserState.pos;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos"]}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,totalElems:0,literalSearch:false,error:null,correction:null,proposeCorrectionFrom:null,proposeCorrectionTo:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}}userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);for(const elem of query.elems){convertTypeFilterOnElem(elem)}for(const elem of query.returned){convertTypeFilterOnElem(elem)}}catch(err){query=newParsedQuery(userQuery);query.error=err;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;query.totalElems=parserState.totalElems;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function transformResults(results){const duplicates=new Set();const out=[];for(const result of results){if(result.id!==-1){const obj=searchIndex[result.id];obj.dist=result.dist;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}duplicates.add(obj.fullPath);obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){if(results.size===0){return[]}const userQuery=parsedQuery.userQuery;const result_list=[];for(const result of results.values()){result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=aaa.item.deprecated;b=bbb.item.deprecated;if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of result_list){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(result_list)}function checkGenerics(fnType,queryElem,whereClause,mgensInout){return unifyFunctionTypes(fnType.generics,queryElem.generics,whereClause,mgensInout,mgens=>{if(mgensInout){for(const[fid,qid]of mgens.entries()){mgensInout.set(fid,qid)}}return true})}function unifyFunctionTypes(fnTypesIn,queryElems,whereClause,mgensIn,solutionCb){let mgens=new Map(mgensIn);if(queryElems.length===0){return!solutionCb||solutionCb(mgens)}if(!fnTypesIn||fnTypesIn.length===0){return false}const ql=queryElems.length;let fl=fnTypesIn.length;let fnTypes=fnTypesIn.slice();const backtracking=[];let i=0;let j=0;const backtrack=()=>{while(backtracking.length!==0){const{fnTypesScratch,mgensScratch,queryElemsOffset,fnTypesOffset,unbox,}=backtracking.pop();mgens=new Map(mgensScratch);const fnType=fnTypesScratch[fnTypesOffset];const queryElem=queryElems[queryElemsOffset];if(unbox){if(fnType.id<0){if(mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){continue}mgens.set(fnType.id,0)}const generics=fnType.id<0?whereClause[(-fnType.id)-1]:fnType.generics;fnTypes=fnTypesScratch.toSpliced(fnTypesOffset,1,...generics);fl=fnTypes.length;i=queryElemsOffset-1}else{if(fnType.id<0){if(mgens.has(fnType.id)&&mgens.get(fnType.id)!==queryElem.id){continue}mgens.set(fnType.id,queryElem.id)}fnTypes=fnTypesScratch.slice();fl=fnTypes.length;const tmp=fnTypes[queryElemsOffset];fnTypes[queryElemsOffset]=fnTypes[fnTypesOffset];fnTypes[fnTypesOffset]=tmp;i=queryElemsOffset}return true}return false};for(i=0;i!==ql;++i){const queryElem=queryElems[i];const matchCandidates=[];let fnTypesScratch=null;let mgensScratch=null;for(j=i;j!==fl;++j){const fnType=fnTypes[j];if(unifyFunctionTypeIsMatchCandidate(fnType,queryElem,whereClause,mgens)){if(!fnTypesScratch){fnTypesScratch=fnTypes.slice()}unifyFunctionTypes(fnType.generics,queryElem.generics,whereClause,mgens,mgensScratch=>{matchCandidates.push({fnTypesScratch,mgensScratch,queryElemsOffset:i,fnTypesOffset:j,unbox:false,});return false})}if(unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens)){if(!fnTypesScratch){fnTypesScratch=fnTypes.slice()}if(!mgensScratch){mgensScratch=new Map(mgens)}backtracking.push({fnTypesScratch,mgensScratch,queryElemsOffset:i,fnTypesOffset:j,unbox:true,})}}if(matchCandidates.length===0){if(backtrack()){continue}else{return false}}const{fnTypesOffset:candidate,mgensScratch:mgensNew}=matchCandidates.pop();if(fnTypes[candidate].id<0&&queryElems[i].id<0){mgens.set(fnTypes[candidate].id,queryElems[i].id)}for(const[fid,qid]of mgensNew){mgens.set(fid,qid)}const tmp=fnTypes[candidate];fnTypes[candidate]=fnTypes[i];fnTypes[i]=tmp;for(const otherCandidate of matchCandidates){backtracking.push(otherCandidate)}while(i===(ql-1)&&solutionCb&&!solutionCb(mgens)){if(!backtrack()){return false}}}return true}function unifyFunctionTypeIsMatchCandidate(fnType,queryElem,whereClause,mgens){if(!typePassesFilter(queryElem.typeFilter,fnType.ty)){return false}if(fnType.id<0&&queryElem.id<0){if(mgens.has(fnType.id)&&mgens.get(fnType.id)!==queryElem.id){return false}for(const[fid,qid]of mgens.entries()){if(fnType.id!==fid&&queryElem.id===qid){return false}if(fnType.id===fid&&queryElem.id!==qid){return false}}}else if(fnType.id!==null){if(queryElem.id===typeNameIdOfArrayOrSlice&&(fnType.id===typeNameIdOfSlice||fnType.id===typeNameIdOfArray)){}else if(fnType.id!==queryElem.id){return false}if(fnType.generics.length===0&&queryElem.generics.length!==0){return false}const queryElemPathLength=queryElem.pathWithoutLast.length;if(queryElemPathLength>0){const fnTypePath=fnType.path!==undefined&&fnType.path!==null?fnType.path.split("::"):[];if(queryElemPathLength>fnTypePath.length){return false}let i=0;for(const path of fnTypePath){if(path===queryElem.pathWithoutLast[i]){i+=1;if(i>=queryElemPathLength){break}}}if(i=0){if(!whereClause){return false}if(mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){return false}return checkIfInList(whereClause[(-fnType.id)-1],queryElem,whereClause)}else if(fnType.generics&&fnType.generics.length>0){return checkIfInList(fnType.generics,queryElem,whereClause)}return false}function checkIfInList(list,elem,whereClause){for(const entry of list){if(checkType(entry,elem,whereClause)){return true}}return false}function checkType(row,elem,whereClause){if(row.id===null){return row.generics.length>0?checkIfInList(row.generics,elem,whereClause):false}if(row.id<0&&elem.id>=0){const gid=(-row.id)-1;return checkIfInList(whereClause[gid],elem,whereClause)}if(row.id<0&&elem.id<0){return true}const matchesExact=row.id===elem.id;const matchesArrayOrSlice=elem.id===typeNameIdOfArrayOrSlice&&(row.id===typeNameIdOfSlice||row.id===typeNameIdOfArray);if((matchesExact||matchesArrayOrSlice)&&typePassesFilter(elem.typeFilter,row.ty)){if(elem.generics.length>0){return checkGenerics(row,elem,whereClause,new Map())}return true}return checkIfInList(row.generics,elem,whereClause)}function checkPath(contains,ty,maxEditDistance){if(contains.length===0){return 0}let ret_dist=maxEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return maxEditDistance+1}for(let i=0;ilength){break}let dist_total=0;let aborted=false;for(let x=0;xmaxEditDistance){aborted=true;break}dist_total+=dist}if(!aborted){ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}}return ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,deprecated:item.deprecated,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES.has(filterCrates)&&ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){const inBounds=dist<=maxEditDistance||index!==-1;if(dist===0||(!parsedQuery.literalSearch&&inBounds)){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned,maxEditDistance){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let index=-1,path_dist=0;const fullId=row.id;const searchWord=searchWords[pos];const in_args=row.type&&row.type.inputs&&checkIfInList(row.type.inputs,elem,row.type.where_clause);if(in_args){addIntoResults(results_in_args,fullId,pos,-1,0,0,maxEditDistance)}const returned=row.type&&row.type.output&&checkIfInList(row.type.output,elem,row.type.where_clause);if(returned){addIntoResults(results_returned,fullId,pos,-1,0,0,maxEditDistance)}if(!typePassesFilter(elem.typeFilter,row.ty)){return}const row_index=row.normalizedName.indexOf(elem.pathLast);const word_index=searchWord.indexOf(elem.pathLast);if(row_index===-1){index=word_index}else if(word_index===-1){index=row_index}else if(word_index1){path_dist=checkPath(elem.pathWithoutLast,row,maxEditDistance);if(path_dist>maxEditDistance){return}}if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,index,0,path_dist)}return}const dist=editDistance(searchWord,elem.pathLast,maxEditDistance);if(index===-1&&dist+path_dist>maxEditDistance){return}addIntoResults(results_others,fullId,pos,index,dist,path_dist,maxEditDistance)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems,row.type.where_clause,null,mgens=>{return unifyFunctionTypes(row.type.output,parsedQuery.returned,row.type.where_clause,mgens)})){return}addIntoResults(results,row.id,pos,0,0,0,Number.MAX_VALUE)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;let queryLen=0;for(const elem of parsedQuery.elems){queryLen+=elem.name.length}for(const elem of parsedQuery.returned){queryLen+=elem.name.length}const maxEditDistance=Math.floor(queryLen/3);const genericSymbols=new Map();function convertNameToId(elem){if(typeNameIdMap.has(elem.pathLast)){elem.id=typeNameIdMap.get(elem.pathLast)}else if(!parsedQuery.literalSearch){let match=null;let matchDist=maxEditDistance+1;let matchName="";for(const[name,id]of typeNameIdMap){const dist=editDistance(name,elem.pathLast,maxEditDistance);if(dist<=matchDist&&dist<=maxEditDistance){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==null){parsedQuery.correction=matchName}elem.id=match}if((elem.id===null&&parsedQuery.totalElems>1&&elem.typeFilter===-1&&elem.generics.length===0)||elem.typeFilter===TY_GENERIC){if(genericSymbols.has(elem.name)){elem.id=genericSymbols.get(elem.name)}else{elem.id=-(genericSymbols.size+1);genericSymbols.set(elem.name,elem.id)}if(elem.typeFilter===-1&&elem.name.length>=3){const maxPartDistance=Math.floor(elem.name.length/3);let matchDist=maxPartDistance+1;let matchName="";for(const name of typeNameIdMap.keys()){const dist=editDistance(name,elem.name,maxPartDistance);if(dist<=matchDist&&dist<=maxPartDistance){if(dist===matchDist&&matchName>name){continue}matchDist=dist;matchName=name}}if(matchName!==""){parsedQuery.proposeCorrectionFrom=elem.name;parsedQuery.proposeCorrectionTo=matchName}}elem.typeFilter=TY_GENERIC}if(elem.generics.length>0&&elem.typeFilter===TY_GENERIC){parsedQuery.error=["Generic type parameter ",elem.name," does not accept generic parameters",]}for(const elem2 of elem.generics){convertNameToId(elem2)}}for(const elem of parsedQuery.elems){convertNameToId(elem)}for(const elem of parsedQuery.returned){convertNameToId(elem)}if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i0){for(i=0,nSearchWords=searchWords.length;i-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||editDistance(name,key,maxEditDistance)<=maxEditDistance)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";length+=1;const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=`
\ +"use strict";if(!Array.prototype.toSpliced){Array.prototype.toSpliced=function(){const me=this.slice();Array.prototype.splice.apply(me,arguments);return me}}(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias","generic",];const longItemTypes=["module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","primitive type","assoc type","constant","assoc const","union","foreign type","keyword","existential type","attribute macro","derive macro","trait alias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const TY_GENERIC=itemTypes.indexOf("generic");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}const editDistanceState={current:[],prev:[],prevPrev:[],calculate:function calculate(a,b,limit){if(a.lengthlimit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function initSearch(rawSearchIndex){const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;let typeNameIdMap;const ALIASES=new Map();let typeNameIdOfArray;let typeNameIdOfSlice;let typeNameIdOfArrayOrSlice;function buildTypeMapIndex(name){if(name===""||name===null){return null}if(typeNameIdMap.has(name)){return typeNameIdMap.get(name)}else{const id=typeNameIdMap.size;typeNameIdMap.set(name,id);return id}}function isWhitespace(c){return" \t\n\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-]".indexOf(c)!==-1}function isStopCharacter(c){return isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","}function isPathSeparator(c){return c===":"||isWhitespace(c)}function prevIs(parserState,lookingFor){let pos=parserState.pos;while(pos>0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(!isWhitespace(c)){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function skipWhitespace(parserState){while(parserState.pos0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}return{name:"never",id:null,fullPath:["never"],pathWithoutLast:[],pathLast:"never",generics:[],typeFilter:"primitive",}}if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(path.endsWith("::")){throw["Paths cannot end with ","::"]}else if(path.includes("::::")){throw["Unexpected ","::::"]}else if(path.includes(" ::")){throw["Unexpected "," ::"]}else if(path.includes(":: ")){throw["Unexpected ",":: "]}const pathSegments=path.split(/::|\s+/);if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name.trim(),id:null,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,typeFilter,}}function getIdentEndPosition(parserState){const start=parserState.pos;let end=parserState.pos;let foundExclamation=-1;while(parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let start=parserState.pos;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",","," or ",endChar,...extra,", found ",c,]}throw["Expected ",",",...extra,", found ",c,]}const posBefore=parserState.pos;start=parserState.pos;getNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;parserState.typeFilter=oldTypeFilter}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();for(const c in query){if(!isIdentCharacter(query[c])){throw["Unexpected ",query[c]," in type filter (before ",":",")",]}}}function parseInput(query,parserState){let foundStopChar=true;let start=parserState.pos;while(parserState.pos"){if(isReturnArrow(parserState)){break}throw["Unexpected ",c," (did you mean ","->","?)"]}throw["Unexpected ",c]}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}else if(query.elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=query.elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.name;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;foundStopChar=true;continue}else if(isWhitespace(c)){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;start=parserState.pos;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos"]}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,totalElems:0,literalSearch:false,error:null,correction:null,proposeCorrectionFrom:null,proposeCorrectionTo:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}}userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);for(const elem of query.elems){convertTypeFilterOnElem(elem)}for(const elem of query.returned){convertTypeFilterOnElem(elem)}}catch(err){query=newParsedQuery(userQuery);query.error=err;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;query.totalElems=parserState.totalElems;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function transformResults(results){const duplicates=new Set();const out=[];for(const result of results){if(result.id!==-1){const obj=searchIndex[result.id];obj.dist=result.dist;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}duplicates.add(obj.fullPath);obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){if(results.size===0){return[]}const userQuery=parsedQuery.userQuery;const result_list=[];for(const result of results.values()){result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=aaa.item.deprecated;b=bbb.item.deprecated;if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of result_list){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(result_list)}function checkGenerics(fnType,queryElem,whereClause,mgensInout){return unifyFunctionTypes(fnType.generics,queryElem.generics,whereClause,mgensInout,mgens=>{if(mgensInout){for(const[fid,qid]of mgens.entries()){mgensInout.set(fid,qid)}}return true})}function unifyFunctionTypes(fnTypesIn,queryElems,whereClause,mgensIn,solutionCb){let mgens=new Map(mgensIn);if(queryElems.length===0){return!solutionCb||solutionCb(mgens)}if(!fnTypesIn||fnTypesIn.length===0){return false}const ql=queryElems.length;let fl=fnTypesIn.length;let fnTypes=fnTypesIn.slice();const backtracking=[];let i=0;let j=0;const backtrack=()=>{while(backtracking.length!==0){const{fnTypesScratch,mgensScratch,queryElemsOffset,fnTypesOffset,unbox,}=backtracking.pop();mgens=new Map(mgensScratch);const fnType=fnTypesScratch[fnTypesOffset];const queryElem=queryElems[queryElemsOffset];if(unbox){if(fnType.id<0){if(mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){continue}mgens.set(fnType.id,0)}const generics=fnType.id<0?whereClause[(-fnType.id)-1]:fnType.generics;fnTypes=fnTypesScratch.toSpliced(fnTypesOffset,1,...generics);fl=fnTypes.length;i=queryElemsOffset-1}else{if(fnType.id<0){if(mgens.has(fnType.id)&&mgens.get(fnType.id)!==queryElem.id){continue}mgens.set(fnType.id,queryElem.id)}fnTypes=fnTypesScratch.slice();fl=fnTypes.length;const tmp=fnTypes[queryElemsOffset];fnTypes[queryElemsOffset]=fnTypes[fnTypesOffset];fnTypes[fnTypesOffset]=tmp;i=queryElemsOffset}return true}return false};for(i=0;i!==ql;++i){const queryElem=queryElems[i];const matchCandidates=[];let fnTypesScratch=null;let mgensScratch=null;for(j=i;j!==fl;++j){const fnType=fnTypes[j];if(unifyFunctionTypeIsMatchCandidate(fnType,queryElem,whereClause,mgens)){if(!fnTypesScratch){fnTypesScratch=fnTypes.slice()}unifyFunctionTypes(fnType.generics,queryElem.generics,whereClause,mgens,mgensScratch=>{matchCandidates.push({fnTypesScratch,mgensScratch,queryElemsOffset:i,fnTypesOffset:j,unbox:false,});return false})}if(unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens)){if(!fnTypesScratch){fnTypesScratch=fnTypes.slice()}if(!mgensScratch){mgensScratch=new Map(mgens)}backtracking.push({fnTypesScratch,mgensScratch,queryElemsOffset:i,fnTypesOffset:j,unbox:true,})}}if(matchCandidates.length===0){if(backtrack()){continue}else{return false}}const{fnTypesOffset:candidate,mgensScratch:mgensNew}=matchCandidates.pop();if(fnTypes[candidate].id<0&&queryElems[i].id<0){mgens.set(fnTypes[candidate].id,queryElems[i].id)}for(const[fid,qid]of mgensNew){mgens.set(fid,qid)}const tmp=fnTypes[candidate];fnTypes[candidate]=fnTypes[i];fnTypes[i]=tmp;for(const otherCandidate of matchCandidates){backtracking.push(otherCandidate)}while(i===(ql-1)&&solutionCb&&!solutionCb(mgens)){if(!backtrack()){return false}}}return true}function unifyFunctionTypeIsMatchCandidate(fnType,queryElem,whereClause,mgens){if(!typePassesFilter(queryElem.typeFilter,fnType.ty)){return false}if(fnType.id<0&&queryElem.id<0){if(mgens.has(fnType.id)&&mgens.get(fnType.id)!==queryElem.id){return false}for(const[fid,qid]of mgens.entries()){if(fnType.id!==fid&&queryElem.id===qid){return false}if(fnType.id===fid&&queryElem.id!==qid){return false}}}else{if(queryElem.id===typeNameIdOfArrayOrSlice&&(fnType.id===typeNameIdOfSlice||fnType.id===typeNameIdOfArray)){}else if(fnType.id!==queryElem.id){return false}if(fnType.generics.length===0&&queryElem.generics.length!==0){return false}const queryElemPathLength=queryElem.pathWithoutLast.length;if(queryElemPathLength>0){const fnTypePath=fnType.path!==undefined&&fnType.path!==null?fnType.path.split("::"):[];if(queryElemPathLength>fnTypePath.length){return false}let i=0;for(const path of fnTypePath){if(path===queryElem.pathWithoutLast[i]){i+=1;if(i>=queryElemPathLength){break}}}if(i=0){if(!whereClause){return false}if(mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){return false}return checkIfInList(whereClause[(-fnType.id)-1],queryElem,whereClause)}else if(fnType.generics&&fnType.generics.length>0){return checkIfInList(fnType.generics,queryElem,whereClause)}return false}function checkIfInList(list,elem,whereClause){for(const entry of list){if(checkType(entry,elem,whereClause)){return true}}return false}function checkType(row,elem,whereClause){if(row.id===null){return row.generics.length>0?checkIfInList(row.generics,elem,whereClause):false}if(row.id<0&&elem.id>=0){const gid=(-row.id)-1;return checkIfInList(whereClause[gid],elem,whereClause)}if(row.id<0&&elem.id<0){return true}const matchesExact=row.id===elem.id;const matchesArrayOrSlice=elem.id===typeNameIdOfArrayOrSlice&&(row.id===typeNameIdOfSlice||row.id===typeNameIdOfArray);if((matchesExact||matchesArrayOrSlice)&&typePassesFilter(elem.typeFilter,row.ty)){if(elem.generics.length>0){return checkGenerics(row,elem,whereClause,new Map())}return true}return checkIfInList(row.generics,elem,whereClause)}function checkPath(contains,ty,maxEditDistance){if(contains.length===0){return 0}let ret_dist=maxEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return maxEditDistance+1}for(let i=0;ilength){break}let dist_total=0;let aborted=false;for(let x=0;xmaxEditDistance){aborted=true;break}dist_total+=dist}if(!aborted){ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}}return ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,deprecated:item.deprecated,implDisambiguator:item.implDisambiguator,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES.has(filterCrates)&&ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){const inBounds=dist<=maxEditDistance||index!==-1;if(dist===0||(!parsedQuery.literalSearch&&inBounds)){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned,maxEditDistance){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let index=-1,path_dist=0;const fullId=row.id;const searchWord=searchWords[pos];const in_args=row.type&&row.type.inputs&&checkIfInList(row.type.inputs,elem,row.type.where_clause);if(in_args){addIntoResults(results_in_args,fullId,pos,-1,0,0,maxEditDistance)}const returned=row.type&&row.type.output&&checkIfInList(row.type.output,elem,row.type.where_clause);if(returned){addIntoResults(results_returned,fullId,pos,-1,0,0,maxEditDistance)}if(!typePassesFilter(elem.typeFilter,row.ty)){return}const row_index=row.normalizedName.indexOf(elem.pathLast);const word_index=searchWord.indexOf(elem.pathLast);if(row_index===-1){index=word_index}else if(word_index===-1){index=row_index}else if(word_index1){path_dist=checkPath(elem.pathWithoutLast,row,maxEditDistance);if(path_dist>maxEditDistance){return}}if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,index,0,path_dist)}return}const dist=editDistance(searchWord,elem.pathLast,maxEditDistance);if(index===-1&&dist+path_dist>maxEditDistance){return}addIntoResults(results_others,fullId,pos,index,dist,path_dist,maxEditDistance)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems,row.type.where_clause,null,mgens=>{return unifyFunctionTypes(row.type.output,parsedQuery.returned,row.type.where_clause,mgens)})){return}addIntoResults(results,row.id,pos,0,0,0,Number.MAX_VALUE)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;let queryLen=0;for(const elem of parsedQuery.elems){queryLen+=elem.name.length}for(const elem of parsedQuery.returned){queryLen+=elem.name.length}const maxEditDistance=Math.floor(queryLen/3);const genericSymbols=new Map();function convertNameToId(elem){if(typeNameIdMap.has(elem.pathLast)){elem.id=typeNameIdMap.get(elem.pathLast)}else if(!parsedQuery.literalSearch){let match=null;let matchDist=maxEditDistance+1;let matchName="";for(const[name,id]of typeNameIdMap){const dist=editDistance(name,elem.pathLast,maxEditDistance);if(dist<=matchDist&&dist<=maxEditDistance){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==null){parsedQuery.correction=matchName}elem.id=match}if((elem.id===null&&parsedQuery.totalElems>1&&elem.typeFilter===-1&&elem.generics.length===0)||elem.typeFilter===TY_GENERIC){if(genericSymbols.has(elem.name)){elem.id=genericSymbols.get(elem.name)}else{elem.id=-(genericSymbols.size+1);genericSymbols.set(elem.name,elem.id)}if(elem.typeFilter===-1&&elem.name.length>=3){const maxPartDistance=Math.floor(elem.name.length/3);let matchDist=maxPartDistance+1;let matchName="";for(const name of typeNameIdMap.keys()){const dist=editDistance(name,elem.name,maxPartDistance);if(dist<=matchDist&&dist<=maxPartDistance){if(dist===matchDist&&matchName>name){continue}matchDist=dist;matchName=name}}if(matchName!==""){parsedQuery.proposeCorrectionFrom=elem.name;parsedQuery.proposeCorrectionTo=matchName}}elem.typeFilter=TY_GENERIC}if(elem.generics.length>0&&elem.typeFilter===TY_GENERIC){parsedQuery.error=["Generic type parameter ",elem.name," does not accept generic parameters",]}for(const elem2 of elem.generics){convertNameToId(elem2)}}for(const elem of parsedQuery.elems){convertNameToId(elem)}for(const elem of parsedQuery.returned){convertNameToId(elem)}if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i0){for(i=0,nSearchWords=searchWords.length;i-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||editDistance(name,key,maxEditDistance)<=maxEditDistance)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor=type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}if(item.implDisambiguator!==null){anchor=item.implDisambiguator+"/"+anchor}href=ROOT_PATH+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html#"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";length+=1;const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=`
\ ${item.alias} - see \
`}resultName.insertAdjacentHTML("beforeend",`
${alias}\ ${item.displayPath}${name}\ -
`);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
"+"Try on DuckDuckGo?

"+"Or try looking in one of these:"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){const fmtNbElems=nbElems<10?`\u{2007}(${nbElems})\u{2007}\u{2007}`:nbElems<100?`\u{2007}(${nbElems})\u{2007}`:`\u{2007}(${nbElems})`;if(searchState.currentTab===tabNb){return""}return""}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in 
"}let output=`

Results${crates}

`;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

Query parser error: "${error.join("")}".

`;output+="
"+makeTabHeader(0,"In Names",ret_others[1])+"
";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

"+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

`}if(results.query.proposeCorrectionFrom!==null){const orig=results.query.proposeCorrectionFrom;const targ=results.query.proposeCorrectionTo;output+="

"+`Type "${orig}" not found and used as generic parameter. `+`Consider searching for "${targ}" instead.

`}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";updateSearchHistory(buildUrl(query.original,filterCrates));showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){return types.map(type=>buildItemSearchType(type,lowercasePaths))}function buildItemSearchType(type,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}if(pathIndex<0){return{id:pathIndex,ty:TY_GENERIC,path:null,generics,}}if(pathIndex===0){return{id:null,ty:null,path:null,generics,}}const item=lowercasePaths[pathIndex-1];return{id:buildTypeMapIndex(item.name),ty:item.ty,path:item.path,generics,}}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){inputs=[buildItemSearchType(functionSearchType[INPUTS_DATA],lowercasePaths)]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){output=[buildItemSearchType(functionSearchType[OUTPUT_DATA],lowercasePaths)]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}const where_clause=[];const l=functionSearchType.length;for(let i=2;i2){path=itemPaths.has(elem[2])?itemPaths.get(elem[2]):lastPath;lastPath=path}lowercasePaths.push({ty:ty,name:name.toLowerCase(),path:path});paths[i]={ty:ty,name:name,path:path}}lastPath="";len=itemTypes.length;for(let i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),deprecated:deprecatedItems.has(i),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){const currentCrateAliases=new Map();ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})() \ No newline at end of file +
`);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
"+"Try on DuckDuckGo?

"+"Or try looking in one of these:"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){const fmtNbElems=nbElems<10?`\u{2007}(${nbElems})\u{2007}\u{2007}`:nbElems<100?`\u{2007}(${nbElems})\u{2007}`:`\u{2007}(${nbElems})`;if(searchState.currentTab===tabNb){return""}return""}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in 
"}let output=`

Results${crates}

`;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

Query parser error: "${error.join("")}".

`;output+="
"+makeTabHeader(0,"In Names",ret_others[1])+"
";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

"+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

`}if(results.query.proposeCorrectionFrom!==null){const orig=results.query.proposeCorrectionFrom;const targ=results.query.proposeCorrectionTo;output+="

"+`Type "${orig}" not found and used as generic parameter. `+`Consider searching for "${targ}" instead.

`}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";updateSearchHistory(buildUrl(query.original,filterCrates));showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){return types.map(type=>buildItemSearchType(type,lowercasePaths))}function buildItemSearchType(type,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}if(pathIndex<0){return{id:pathIndex,ty:TY_GENERIC,path:null,generics,}}if(pathIndex===0){return{id:null,ty:null,path:null,generics,}}const item=lowercasePaths[pathIndex-1];return{id:buildTypeMapIndex(item.name),ty:item.ty,path:item.path,generics,}}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){inputs=[buildItemSearchType(functionSearchType[INPUTS_DATA],lowercasePaths)]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){output=[buildItemSearchType(functionSearchType[OUTPUT_DATA],lowercasePaths)]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}const where_clause=[];const l=functionSearchType.length;for(let i=2;i2){path=itemPaths.has(elem[2])?itemPaths.get(elem[2]):lastPath;lastPath=path}lowercasePaths.push({ty:ty,name:name.toLowerCase(),path:path});paths[i]={ty:ty,name:name,path:path}}lastPath="";len=itemTypes.length;for(let i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),deprecated:deprecatedItems.has(i),implDisambiguator:implDisambiguator.has(i)?implDisambiguator.get(i):null,};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){const currentCrateAliases=new Map();ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})() \ No newline at end of file diff --git a/trait.impl/clap_builder/derive/trait.Args.js b/trait.impl/clap_builder/derive/trait.Args.js new file mode 100644 index 0000000000..9c9a514572 --- /dev/null +++ b/trait.impl/clap_builder/derive/trait.Args.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_lang":[["impl Args for Update"],["impl Args for Clean"],["impl Args for Run"],["impl Args for Build"],["impl Args for CLI"],["impl Args for New"],["impl Args for BuildOptions"],["impl Args for Execute"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/clap_builder/derive/trait.CommandFactory.js b/trait.impl/clap_builder/derive/trait.CommandFactory.js new file mode 100644 index 0000000000..682580967a --- /dev/null +++ b/trait.impl/clap_builder/derive/trait.CommandFactory.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_lang":[["impl CommandFactory for BuildOptions"],["impl CommandFactory for Example"],["impl CommandFactory for Clean"],["impl CommandFactory for Update"],["impl CommandFactory for Build"],["impl CommandFactory for Run"],["impl CommandFactory for Account"],["impl CommandFactory for CLI"],["impl CommandFactory for Commands"],["impl CommandFactory for New"],["impl CommandFactory for Execute"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/clap_builder/derive/trait.FromArgMatches.js b/trait.impl/clap_builder/derive/trait.FromArgMatches.js new file mode 100644 index 0000000000..1ce8ed25a4 --- /dev/null +++ b/trait.impl/clap_builder/derive/trait.FromArgMatches.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_lang":[["impl FromArgMatches for Commands"],["impl FromArgMatches for Update"],["impl FromArgMatches for Build"],["impl FromArgMatches for Run"],["impl FromArgMatches for Clean"],["impl FromArgMatches for Execute"],["impl FromArgMatches for BuildOptions"],["impl FromArgMatches for CLI"],["impl FromArgMatches for Account"],["impl FromArgMatches for New"],["impl FromArgMatches for Example"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/clap_builder/derive/trait.Parser.js b/trait.impl/clap_builder/derive/trait.Parser.js new file mode 100644 index 0000000000..74be717c7c --- /dev/null +++ b/trait.impl/clap_builder/derive/trait.Parser.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_lang":[["impl Parser for Run"],["impl Parser for Build"],["impl Parser for New"],["impl Parser for Account"],["impl Parser for Execute"],["impl Parser for CLI"],["impl Parser for BuildOptions"],["impl Parser for Clean"],["impl Parser for Example"],["impl Parser for Update"],["impl Parser for Commands"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.Subcommand.js b/trait.impl/clap_builder/derive/trait.Subcommand.js similarity index 61% rename from implementors/clap_builder/derive/trait.Subcommand.js rename to trait.impl/clap_builder/derive/trait.Subcommand.js index 2fa9309149..152a0fd759 100644 --- a/implementors/clap_builder/derive/trait.Subcommand.js +++ b/trait.impl/clap_builder/derive/trait.Subcommand.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl Subcommand for Commands"],["impl Subcommand for Account"],["impl Subcommand for Example"]] +"leo_lang":[["impl Subcommand for Account"],["impl Subcommand for Commands"],["impl Subcommand for Example"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/borrow/trait.Borrow.js b/trait.impl/core/borrow/trait.Borrow.js similarity index 77% rename from implementors/core/borrow/trait.Borrow.js rename to trait.impl/core/borrow/trait.Borrow.js index 5dbd6c2540..7dc8330783 100644 --- a/implementors/core/borrow/trait.Borrow.js +++ b/trait.impl/core/borrow/trait.Borrow.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_span":[["impl Borrow<str> for InternedStr"]] +"leo_span":[["impl Borrow<str> for InternedStr"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/clone/trait.Clone.js b/trait.impl/core/clone/trait.Clone.js new file mode 100644 index 0000000000..7891a16149 --- /dev/null +++ b/trait.impl/core/clone/trait.Clone.js @@ -0,0 +1,11 @@ +(function() {var implementors = { +"leo_abnf":[["impl<'a> Clone for Processor<'a>"],["impl Clone for Scope"]], +"leo_ast":[["impl Clone for UnitExpression"],["impl Clone for Member"],["impl Clone for Definition"],["impl Clone for ArrayAccess"],["impl Clone for GroupLiteral"],["impl Clone for Variant"],["impl Clone for Function"],["impl Clone for ProgramInput"],["impl Clone for ArrayExpression"],["impl Clone for UnaryOperation"],["impl Clone for CoreConstant"],["impl Clone for InputData"],["impl Clone for Mode"],["impl Clone for ConditionalStatement"],["impl Clone for IterationStatement"],["impl Clone for BinaryOperation"],["impl Clone for TupleExpression"],["impl Clone for Literal"],["impl Clone for Ast"],["impl Clone for ProgramId"],["impl Clone for BinaryExpression"],["impl Clone for AssociatedFunction"],["impl Clone for Output"],["impl Clone for TupleAccess"],["impl Clone for GroupCoordinate"],["impl Clone for FunctionOutput"],["impl Clone for UnaryExpression"],["impl Clone for Mapping"],["impl Clone for IntegerType"],["impl Clone for TernaryExpression"],["impl Clone for TupleType"],["impl Clone for ProgramScope"],["impl Clone for NodeBuilder"],["impl Clone for Type"],["impl Clone for NodeBuilderInner"],["impl Clone for Identifier"],["impl Clone for DefinitionStatement"],["impl Clone for Block"],["impl Clone for Finalize"],["impl Clone for ConstDeclaration"],["impl Clone for Value"],["impl Clone for ReturnStatement"],["impl Clone for InputAst"],["impl Clone for InputValue"],["impl Clone for GroupTuple"],["impl Clone for CallExpression"],["impl Clone for Program"],["impl Clone for StructVariableInitializer"],["impl Clone for DeclarationType"],["impl Clone for ErrExpression"],["impl Clone for ConsoleStatement"],["impl Clone for Annotation"],["impl Clone for AssertVariant"],["impl Clone for Input"],["impl Clone for AssociatedConstant"],["impl Clone for CoreFunction"],["impl Clone for MappingType"],["impl Clone for Section"],["impl Clone for NonNegativeNumber"],["impl Clone for CastExpression"],["impl Clone for ConsoleFunction"],["impl Clone for ExpressionStatement"],["impl Clone for AccessExpression"],["impl Clone for ArrayType"],["impl Clone for StructExpression"],["impl Clone for External"],["impl Clone for MemberAccess"],["impl Clone for Expression"],["impl Clone for StaticString"],["impl Clone for Struct"],["impl Clone for AssignStatement"],["impl Clone for FunctionInput"],["impl Clone for Statement"],["impl Clone for AssertStatement"]], +"leo_compiler":[["impl Clone for BuildOptions"],["impl<'a> Clone for Compiler<'a>"],["impl Clone for OutputOptions"],["impl Clone for CompilerOptions"]], +"leo_errors":[["impl Clone for BufferEmitter"],["impl Clone for PackageError"],["impl Clone for CompilerError"],["impl Clone for LoopUnrollerError"],["impl Clone for TypeCheckerError"],["impl Clone for Formatted"],["impl Clone for CliError"],["impl Clone for AstError"],["impl Clone for Backtraced"],["impl Clone for FlattenError"],["impl Clone for ParserWarning"],["impl Clone for InputError"],["impl Clone for ParserError"]], +"leo_lang":[["impl Clone for Context"],["impl<F: Clone, T: Clone> Clone for Format<F, T>"],["impl Clone for BuildOptions"]], +"leo_parser":[["impl Clone for Delimiter"],["impl Clone for SpannedToken"],["impl Clone for Token"]], +"leo_passes":[["impl Clone for SymbolTable"],["impl Clone for VariableType"],["impl Clone for FunctionSymbol"],["impl Clone for FinalizeData"],["impl Clone for TypeTable"],["impl Clone for ConstantPropagationTable"],["impl Clone for RenameTable"],["impl Clone for AssignerInner"],["impl Clone for Assigner"],["impl Clone for VariableSymbol"]], +"leo_span":[["impl Clone for FileName"],["impl Clone for BytePos"],["impl Clone for MultiByteChar"],["impl Clone for Span"],["impl Clone for CharPos"],["impl Clone for Symbol"]], +"leo_test_framework":[["impl Clone for TestExpectation"],["impl Clone for TestExpectationMode"],["impl Clone for ParseType"],["impl Clone for TestConfig"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/cmp/trait.Eq.js b/trait.impl/core/cmp/trait.Eq.js new file mode 100644 index 0000000000..f1c8aee259 --- /dev/null +++ b/trait.impl/core/cmp/trait.Eq.js @@ -0,0 +1,7 @@ +(function() {var implementors = { +"leo_ast":[["impl Eq for TupleExpression"],["impl Eq for Value"],["impl Eq for NonNegativeNumber"],["impl Eq for Function"],["impl Eq for External"],["impl Eq for IntegerType"],["impl Eq for TupleAccess"],["impl Eq for Expression"],["impl Eq for IterationStatement"],["impl Eq for Block"],["impl Eq for DefinitionStatement"],["impl Eq for Finalize"],["impl Eq for FunctionInput"],["impl Eq for GroupLiteral"],["impl Eq for CoreFunction"],["impl Eq for AssociatedFunction"],["impl Eq for AccessExpression"],["impl Eq for ReturnStatement"],["impl Eq for Statement"],["impl Eq for Program"],["impl Eq for ArrayAccess"],["impl Eq for BinaryExpression"],["impl Eq for ProgramId"],["impl Eq for CastExpression"],["impl Eq for Input"],["impl Eq for Definition"],["impl Eq for Member"],["impl Eq for Output"],["impl Eq for GroupTuple"],["impl Eq for FunctionOutput"],["impl Eq for ConstDeclaration"],["impl Eq for ExpressionStatement"],["impl Eq for AssertVariant"],["impl Eq for Variant"],["impl Eq for InputValue"],["impl Eq for MappingType"],["impl Eq for DeclarationType"],["impl Eq for ArrayExpression"],["impl Eq for UnaryOperation"],["impl Eq for BinaryOperation"],["impl Eq for StructVariableInitializer"],["impl Eq for StaticString"],["impl Eq for CallExpression"],["impl Eq for AssignStatement"],["impl Eq for TernaryExpression"],["impl Eq for MemberAccess"],["impl Eq for TupleType"],["impl Eq for Ast"],["impl Eq for AssertStatement"],["impl Eq for ConsoleStatement"],["impl Eq for AssociatedConstant"],["impl Eq for Mode"],["impl Eq for ArrayType"],["impl Eq for ErrExpression"],["impl Eq for StructExpression"],["impl Eq for Identifier"],["impl Eq for ConditionalStatement"],["impl Eq for Annotation"],["impl Eq for UnaryExpression"],["impl Eq for CoreConstant"],["impl Eq for ConsoleFunction"],["impl Eq for Type"],["impl Eq for GroupCoordinate"],["impl Eq for Literal"],["impl Eq for ProgramScope"],["impl Eq for Mapping"],["impl Eq for UnitExpression"],["impl Eq for Struct"]], +"leo_parser":[["impl Eq for Token"]], +"leo_passes":[["impl Eq for VariableSymbol"],["impl Eq for RenameTable"],["impl Eq for VariableType"]], +"leo_span":[["impl Eq for InternedStr"],["impl Eq for CharPos"],["impl Eq for MultiByteChar"],["impl Eq for BytePos"],["impl Eq for Span"],["impl Eq for Symbol"]], +"leo_test_framework":[["impl Eq for ParseType"],["impl Eq for TestExpectationMode"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/cmp/trait.Ord.js b/trait.impl/core/cmp/trait.Ord.js new file mode 100644 index 0000000000..7cfd547e86 --- /dev/null +++ b/trait.impl/core/cmp/trait.Ord.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_span":[["impl Ord for Symbol"],["impl Ord for BytePos"],["impl Ord for CharPos"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/cmp/trait.PartialEq.js b/trait.impl/core/cmp/trait.PartialEq.js new file mode 100644 index 0000000000..27f9cd63e3 --- /dev/null +++ b/trait.impl/core/cmp/trait.PartialEq.js @@ -0,0 +1,8 @@ +(function() {var implementors = { +"leo_ast":[["impl PartialEq for Member"],["impl PartialEq for MappingType"],["impl PartialEq for IntegerType"],["impl PartialEq for ConsoleFunction"],["impl PartialEq for ExpressionStatement"],["impl PartialEq for FunctionInput"],["impl PartialEq for AssociatedFunction"],["impl PartialEq for StaticString"],["impl PartialEq for Value"],["impl PartialEq for UnaryExpression"],["impl PartialEq for MemberAccess"],["impl PartialEq for GroupCoordinate"],["impl PartialEq for FunctionOutput"],["impl PartialEq for Definition"],["impl PartialEq for CoreFunction"],["impl PartialEq for Annotation"],["impl PartialEq for TupleType"],["impl PartialEq for Literal"],["impl PartialEq for ReturnStatement"],["impl PartialEq for TupleAccess"],["impl PartialEq for BinaryExpression"],["impl PartialEq for Variant"],["impl PartialEq for DeclarationType"],["impl PartialEq for AssertStatement"],["impl PartialEq for AssertVariant"],["impl PartialEq for Input"],["impl PartialEq for BinaryOperation"],["impl PartialEq for StructExpression"],["impl PartialEq for DefinitionStatement"],["impl PartialEq for Finalize"],["impl PartialEq for Statement"],["impl PartialEq for ConsoleStatement"],["impl PartialEq for CoreConstant"],["impl PartialEq for StructVariableInitializer"],["impl PartialEq for GroupTuple"],["impl PartialEq for ProgramScope"],["impl PartialEq for Struct"],["impl PartialEq for TernaryExpression"],["impl PartialEq for TupleExpression"],["impl PartialEq for UnaryOperation"],["impl PartialEq for ProgramId"],["impl PartialEq for IterationStatement"],["impl PartialEq for Program"],["impl PartialEq for AssociatedConstant"],["impl PartialEq for Mapping"],["impl PartialEq for ArrayExpression"],["impl PartialEq for Identifier"],["impl PartialEq for Mode"],["impl PartialEq for CallExpression"],["impl PartialEq for External"],["impl PartialEq for AssignStatement"],["impl PartialEq for Block"],["impl PartialEq for InputValue"],["impl PartialEq for ErrExpression"],["impl PartialEq for Function"],["impl PartialEq for ArrayAccess"],["impl PartialEq for Type"],["impl PartialEq for Ast"],["impl PartialEq for CastExpression"],["impl PartialEq for ConditionalStatement"],["impl PartialEq for ConstDeclaration"],["impl PartialEq for Output"],["impl PartialEq for AccessExpression"],["impl PartialEq for ArrayType"],["impl PartialEq for Expression"],["impl PartialEq for NonNegativeNumber"],["impl PartialEq for GroupLiteral"],["impl PartialEq for UnitExpression"]], +"leo_errors":[["impl PartialEq for Backtraced"],["impl PartialEq for Formatted"]], +"leo_parser":[["impl PartialEq for Token"]], +"leo_passes":[["impl PartialEq for RenameTable"],["impl PartialEq for VariableType"],["impl PartialEq for VariableSymbol"]], +"leo_span":[["impl PartialEq for InternedStr"],["impl PartialEq for Span"],["impl PartialEq for CharPos"],["impl PartialEq for BytePos"],["impl PartialEq for MultiByteChar"],["impl PartialEq for Symbol"]], +"leo_test_framework":[["impl PartialEq for ParseType"],["impl PartialEq for TestExpectationMode"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/cmp/trait.PartialOrd.js b/trait.impl/core/cmp/trait.PartialOrd.js new file mode 100644 index 0000000000..4cdfc4b1fc --- /dev/null +++ b/trait.impl/core/cmp/trait.PartialOrd.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_span":[["impl PartialOrd for Symbol"],["impl PartialOrd for CharPos"],["impl PartialOrd for BytePos"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.AsRef.js b/trait.impl/core/convert/trait.AsRef.js similarity index 86% rename from implementors/core/convert/trait.AsRef.js rename to trait.impl/core/convert/trait.AsRef.js index c1ff90a98c..a6b98eca0e 100644 --- a/implementors/core/convert/trait.AsRef.js +++ b/trait.impl/core/convert/trait.AsRef.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_ast":[["impl AsRef<Value> for Value"],["impl AsRef<Program> for Ast"]] +"leo_ast":[["impl AsRef<Value> for Value"],["impl AsRef<Program> for Ast"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js new file mode 100644 index 0000000000..dde2edb682 --- /dev/null +++ b/trait.impl/core/convert/trait.From.js @@ -0,0 +1,5 @@ +(function() {var implementors = { +"leo_ast":[["impl From<Value> for Type"],["impl From<&Value> for Type"],["impl From<String> for NonNegativeNumber"],["impl From<usize> for NonNegativeNumber"]], +"leo_errors":[["impl From<PackageError> for LeoError"],["impl From<CompilerError> for LeoError"],["impl From<Backtraced> for CompilerError"],["impl From<TypeCheckerError> for LeoError"],["impl From<FlattenError> for LeoError"],["impl From<Formatted> for ParserWarning"],["impl From<Backtraced> for LoopUnrollerError"],["impl From<Backtraced> for ParserWarning"],["impl From<Formatted> for FlattenError"],["impl From<CliError> for LeoError"],["impl From<Backtraced> for CliError"],["impl From<Formatted> for LoopUnrollerError"],["impl From<Backtraced> for AstError"],["impl From<Formatted> for TypeCheckerError"],["impl From<Backtraced> for PackageError"],["impl From<Error> for LeoError"],["impl From<Backtraced> for TypeCheckerError"],["impl From<LoopUnrollerError> for LeoError"],["impl From<Backtraced> for InputError"],["impl From<ParserError> for LeoError"],["impl From<Formatted> for PackageError"],["impl From<InputError> for LeoError"],["impl From<Formatted> for CompilerError"],["impl From<ParserWarning> for LeoWarning"],["impl From<AstError> for LeoError"],["impl From<Formatted> for CliError"],["impl From<Formatted> for InputError"],["impl From<Formatted> for ParserError"],["impl From<Backtraced> for ParserError"],["impl From<Formatted> for AstError"],["impl From<Backtraced> for FlattenError"]], +"leo_lang":[["impl From<BuildOptions> for CompilerOptions"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/convert/trait.TryFrom.js b/trait.impl/core/convert/trait.TryFrom.js new file mode 100644 index 0000000000..cdbc39adde --- /dev/null +++ b/trait.impl/core/convert/trait.TryFrom.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_ast":[["impl TryFrom<&Value> for i128"],["impl TryFrom<InputAst> for ProgramInput"],["impl TryFrom<Value> for i128"],["impl TryFrom<&Literal> for Value"],["impl TryFrom<&Value> for u128"],["impl TryFrom<(Type, Expression)> for InputValue"],["impl TryFrom<Value> for u128"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/default/trait.Default.js b/trait.impl/core/default/trait.Default.js new file mode 100644 index 0000000000..78166ac39f --- /dev/null +++ b/trait.impl/core/default/trait.Default.js @@ -0,0 +1,9 @@ +(function() {var implementors = { +"leo_ast":[["impl Default for Program"],["impl Default for ProgramInput"],["impl Default for NodeBuilder"],["impl Default for InputData"],["impl Default for Ast"],["impl Default for StaticString"]], +"leo_compiler":[["impl Default for CompilerOptions"],["impl Default for BuildOptions"],["impl Default for OutputOptions"]], +"leo_errors":[["impl Default for Formatted"],["impl<T> Default for Buffer<T>"],["impl Default for Handler"],["impl Default for Backtraced"],["impl Default for BufferEmitter"]], +"leo_lang":[["impl Default for Format<Full, SystemTime>"],["impl Default for BuildOptions"]], +"leo_package":[["impl<N: Default + Network> Default for Env<N>"],["impl Default for Gitignore"]], +"leo_passes":[["impl Default for RenameTable"],["impl Default for ConstantPropagationTable"],["impl Default for SymbolTable"],["impl Default for TypeTable"],["impl Default for AssignerInner"],["impl Default for Assigner"]], +"leo_span":[["impl Default for Span"],["impl Default for SourceMap"],["impl Default for SessionGlobals"],["impl Default for BytePos"],["impl Default for SourceMapInner"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/error/trait.Error.js b/trait.impl/core/error/trait.Error.js new file mode 100644 index 0000000000..426af6f0be --- /dev/null +++ b/trait.impl/core/error/trait.Error.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_errors":[["impl Error for LeoWarning"],["impl Error for ParserWarning"],["impl Error for LeoError"],["impl Error for AstError"],["impl Error for Formatted"],["impl Error for CompilerError"],["impl Error for TypeCheckerError"],["impl Error for LoopUnrollerError"],["impl Error for ParserError"],["impl Error for PackageError"],["impl Error for Backtraced"],["impl Error for FlattenError"],["impl Error for CliError"],["impl Error for InputError"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/fmt/trait.Debug.js b/trait.impl/core/fmt/trait.Debug.js new file mode 100644 index 0000000000..26da749de3 --- /dev/null +++ b/trait.impl/core/fmt/trait.Debug.js @@ -0,0 +1,10 @@ +(function() {var implementors = { +"leo_abnf":[["impl<'a> Debug for Processor<'a>"],["impl Debug for Scope"]], +"leo_ast":[["impl Debug for AssociatedFunction"],["impl Debug for InputAst"],["impl Debug for Expression"],["impl Debug for Section"],["impl Debug for Output"],["impl Debug for Mapping"],["impl Debug for ArrayAccess"],["impl Debug for NodeBuilderInner"],["impl Debug for Block"],["impl Debug for AssertVariant"],["impl Debug for TupleType"],["impl Debug for StructExpression"],["impl Debug for TupleAccess"],["impl Debug for GroupTuple"],["impl Debug for ArrayType"],["impl Debug for Ast"],["impl Debug for TernaryExpression"],["impl Debug for AssertStatement"],["impl Debug for Annotation"],["impl Debug for GroupCoordinate"],["impl Debug for DefinitionStatement"],["impl Debug for ReturnStatement"],["impl Debug for Statement"],["impl Debug for Identifier"],["impl Debug for FunctionOutput"],["impl Debug for External"],["impl Debug for CallExpression"],["impl Debug for ProgramScope"],["impl Debug for Literal"],["impl Debug for TupleExpression"],["impl Debug for Definition"],["impl Debug for UnitExpression"],["impl Debug for ConsoleFunction"],["impl Debug for ConsoleStatement"],["impl Debug for AssignStatement"],["impl Debug for InputData"],["impl Debug for Mode"],["impl Debug for GroupLiteral"],["impl Debug for AssociatedConstant"],["impl Debug for Variant"],["impl Debug for CastExpression"],["impl Debug for BinaryOperation"],["impl Debug for UnaryOperation"],["impl Debug for NodeBuilder"],["impl Debug for ErrExpression"],["impl Debug for InputValue"],["impl Debug for IntegerType"],["impl Debug for ExpressionStatement"],["impl Debug for IterationStatement"],["impl Debug for DeclarationType"],["impl Debug for NonNegativeNumber"],["impl Debug for Struct"],["impl Debug for FunctionInput"],["impl Debug for ProgramId"],["impl Debug for MappingType"],["impl Debug for StaticString"],["impl Debug for UnaryExpression"],["impl Debug for Type"],["impl Debug for Value"],["impl Debug for ProgramInput"],["impl Debug for Finalize"],["impl Debug for Member"],["impl Debug for MemberAccess"],["impl Debug for ConstDeclaration"],["impl Debug for BinaryExpression"],["impl Debug for ArrayExpression"],["impl Debug for AccessExpression"],["impl Debug for ConditionalStatement"],["impl Debug for Program"],["impl Debug for StructVariableInitializer"],["impl Debug for Input"],["impl Debug for Function"]], +"leo_errors":[["impl Debug for LoopUnrollerError"],["impl Debug for Formatted"],["impl Debug for TypeCheckerError"],["impl Debug for FlattenError"],["impl Debug for LeoError"],["impl<T: Debug> Debug for Buffer<T>"],["impl Debug for AstError"],["impl Debug for ParserError"],["impl Debug for InputError"],["impl Debug for LeoWarning"],["impl Debug for PackageError"],["impl Debug for Backtraced"],["impl Debug for CliError"],["impl Debug for ParserWarning"],["impl Debug for CompilerError"]], +"leo_lang":[["impl Debug for CLI"],["impl Debug for Build"],["impl Debug for Account"],["impl Debug for BuildOptions"],["impl Debug for Commands"],["impl Debug for New"],["impl Debug for Clean"],["impl Debug for Run"],["impl Debug for Execute"],["impl Debug for Example"],["impl<F: Debug, T: Debug> Debug for Format<F, T>"],["impl Debug for Update"]], +"leo_parser":[["impl Debug for SpannedToken"],["impl Debug for Token"]], +"leo_passes":[["impl<N: Debug + Node> Debug for DiGraph<N>"],["impl Debug for Assigner"],["impl Debug for VariableSymbol"],["impl Debug for AssignerInner"],["impl<N: Debug + Node> Debug for DiGraphError<N>"],["impl Debug for ConstantPropagationTable"],["impl Debug for SymbolTable"],["impl Debug for VariableType"],["impl Debug for FunctionSymbol"],["impl Debug for RenameTable"],["impl Debug for FinalizeData"],["impl Debug for TypeTable"]], +"leo_span":[["impl Debug for BytePos"],["impl Debug for MultiByteChar"],["impl Debug for Symbol"],["impl Debug for CharPos"],["impl Debug for Span"]], +"leo_test_framework":[["impl Debug for TestExpectationMode"],["impl Debug for ParseType"],["impl Debug for TestConfig"],["impl Debug for TestError"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/fmt/trait.Display.js b/trait.impl/core/fmt/trait.Display.js new file mode 100644 index 0000000000..e02b76c6ee --- /dev/null +++ b/trait.impl/core/fmt/trait.Display.js @@ -0,0 +1,9 @@ +(function() {var implementors = { +"leo_ast":[["impl Display for InputValue"],["impl Display for TupleAccess"],["impl Display for Expression"],["impl Display for GroupCoordinate"],["impl Display for TupleExpression"],["impl Display for DefinitionStatement"],["impl Display for ConditionalStatement"],["impl Display for Member"],["impl Display for Mapping"],["impl Display for Annotation"],["impl Display for CastExpression"],["impl Display for AssertStatement"],["impl Display for AccessExpression"],["impl Display for ConsoleFunction"],["impl Display for FunctionInput"],["impl Display for Statement"],["impl Display for CallExpression"],["impl Display for AssociatedFunction"],["impl Display for BinaryExpression"],["impl Display for Type"],["impl Display for Value"],["impl Display for Mode"],["impl Display for ExpressionStatement"],["impl Display for Struct"],["impl Display for StructExpression"],["impl Display for Input"],["impl Display for AssociatedConstant"],["impl Display for ArrayType"],["impl Display for DeclarationType"],["impl Display for MappingType"],["impl Display for StaticString"],["impl Display for NonNegativeNumber"],["impl Display for StructVariableInitializer"],["impl Display for ReturnStatement"],["impl Display for Function"],["impl Display for Literal"],["impl Display for Program"],["impl Display for Block"],["impl Display for UnaryExpression"],["impl Display for BinaryOperation"],["impl Display for ErrExpression"],["impl Display for ConstDeclaration"],["impl Display for External"],["impl Display for IterationStatement"],["impl Display for GroupLiteral"],["impl Display for UnitExpression"],["impl Display for TernaryExpression"],["impl Display for ArrayExpression"],["impl Display for AssignStatement"],["impl Display for Identifier"],["impl Display for Output"],["impl Display for Finalize"],["impl Display for FunctionOutput"],["impl Display for IntegerType"],["impl Display for ConsoleStatement"],["impl Display for ArrayAccess"],["impl Display for TupleType"],["impl Display for ProgramScope"],["impl Display for ProgramId"],["impl Display for MemberAccess"]], +"leo_errors":[["impl Display for Backtraced"],["impl Display for LeoError"],["impl Display for ParserError"],["impl Display for CliError"],["impl Display for InputError"],["impl Display for PackageError"],["impl Display for Formatted"],["impl Display for LeoWarning"],["impl Display for CompilerError"],["impl Display for LoopUnrollerError"],["impl Display for AstError"],["impl<T: Display> Display for Buffer<T>"],["impl Display for FlattenError"],["impl Display for TypeCheckerError"],["impl Display for ParserWarning"]], +"leo_package":[["impl Display for Snapshot"]], +"leo_parser":[["impl Display for SpannedToken"],["impl Display for Token"]], +"leo_passes":[["impl Display for VariableType"],["impl Display for VariableSymbol"]], +"leo_span":[["impl Display for FileName"],["impl Display for Symbol"],["impl Display for Span"]], +"leo_test_framework":[["impl Display for TestError"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/hash/trait.Hash.js b/trait.impl/core/hash/trait.Hash.js new file mode 100644 index 0000000000..ab29b3b549 --- /dev/null +++ b/trait.impl/core/hash/trait.Hash.js @@ -0,0 +1,5 @@ +(function() {var implementors = { +"leo_ast":[["impl Hash for ArrayType"],["impl Hash for Type"],["impl Hash for TupleType"],["impl Hash for MappingType"],["impl Hash for ProgramId"],["impl Hash for IntegerType"],["impl Hash for NonNegativeNumber"],["impl Hash for Identifier"]], +"leo_errors":[["impl Hash for Formatted"],["impl Hash for Backtraced"]], +"leo_span":[["impl Hash for Span"],["impl Hash for InternedStr"],["impl Hash for Symbol"],["impl Hash for BytePos"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/iter/traits/iterator/trait.Iterator.js b/trait.impl/core/iter/traits/iterator/trait.Iterator.js similarity index 91% rename from implementors/core/iter/traits/iterator/trait.Iterator.js rename to trait.impl/core/iter/traits/iterator/trait.Iterator.js index 7fd9b693fb..5056e714cb 100644 --- a/implementors/core/iter/traits/iterator/trait.Iterator.js +++ b/trait.impl/core/iter/traits/iterator/trait.Iterator.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_passes":[["impl<I: LoopBound> Iterator for RangeIterator<I>"]] +"leo_passes":[["impl<I: LoopBound> Iterator for RangeIterator<I>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/marker/trait.Copy.js b/trait.impl/core/marker/trait.Copy.js new file mode 100644 index 0000000000..98a1e29c6e --- /dev/null +++ b/trait.impl/core/marker/trait.Copy.js @@ -0,0 +1,7 @@ +(function() {var implementors = { +"leo_ast":[["impl Copy for Identifier"],["impl Copy for Mode"],["impl Copy for IntegerType"],["impl Copy for DeclarationType"],["impl Copy for ProgramId"],["impl Copy for BinaryOperation"],["impl Copy for UnaryOperation"],["impl Copy for Variant"]], +"leo_parser":[["impl Copy for Delimiter"]], +"leo_passes":[["impl Copy for VariableType"]], +"leo_span":[["impl Copy for Symbol"],["impl Copy for CharPos"],["impl Copy for BytePos"],["impl Copy for MultiByteChar"],["impl Copy for Span"]], +"leo_test_framework":[["impl Copy for ParseType"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Freeze.js b/trait.impl/core/marker/trait.Freeze.js similarity index 81% rename from implementors/core/marker/trait.Freeze.js rename to trait.impl/core/marker/trait.Freeze.js index 3c274d07b9..2dfd79c288 100644 --- a/implementors/core/marker/trait.Freeze.js +++ b/trait.impl/core/marker/trait.Freeze.js @@ -1,12 +1,12 @@ (function() {var implementors = { -"leo_abnf":[["impl Freeze for Scope",1,["leo_abnf::Scope"]],["impl<'a> Freeze for Processor<'a>",1,["leo_abnf::Processor"]]], -"leo_ast":[["impl Freeze for ArrayAccess",1,["leo_ast::access::array_access::ArrayAccess"]],["impl Freeze for AssociatedConstant",1,["leo_ast::access::associated_constant_access::AssociatedConstant"]],["impl Freeze for AssociatedFunction",1,["leo_ast::access::associated_function_access::AssociatedFunction"]],["impl Freeze for MemberAccess",1,["leo_ast::access::member_access::MemberAccess"]],["impl Freeze for TupleAccess",1,["leo_ast::access::tuple_access::TupleAccess"]],["impl Freeze for Member",1,["leo_ast::struct::member::Member"]],["impl Freeze for Struct",1,["leo_ast::struct::Struct"]],["impl Freeze for Identifier",1,["leo_ast::common::identifier::Identifier"]],["impl Freeze for NonNegativeNumber",1,["leo_ast::common::positive_number::NonNegativeNumber"]],["impl !Freeze for NodeBuilder",1,["leo_ast::common::node_builder::NodeBuilder"]],["impl Freeze for NodeBuilderInner",1,["leo_ast::common::node_builder::NodeBuilderInner"]],["impl Freeze for StaticString",1,["leo_ast::common::static_string::StaticString"]],["impl Freeze for AccessExpression",1,["leo_ast::expressions::access::AccessExpression"]],["impl Freeze for ArrayExpression",1,["leo_ast::expressions::array::ArrayExpression"]],["impl Freeze for BinaryOperation",1,["leo_ast::expressions::binary::BinaryOperation"]],["impl Freeze for BinaryExpression",1,["leo_ast::expressions::binary::BinaryExpression"]],["impl Freeze for CallExpression",1,["leo_ast::expressions::call::CallExpression"]],["impl Freeze for CastExpression",1,["leo_ast::expressions::cast::CastExpression"]],["impl Freeze for StructVariableInitializer",1,["leo_ast::expressions::struct_init::StructVariableInitializer"]],["impl Freeze for StructExpression",1,["leo_ast::expressions::struct_init::StructExpression"]],["impl Freeze for ErrExpression",1,["leo_ast::expressions::err::ErrExpression"]],["impl Freeze for TernaryExpression",1,["leo_ast::expressions::ternary::TernaryExpression"]],["impl Freeze for TupleExpression",1,["leo_ast::expressions::tuple::TupleExpression"]],["impl Freeze for UnaryOperation",1,["leo_ast::expressions::unary::UnaryOperation"]],["impl Freeze for UnaryExpression",1,["leo_ast::expressions::unary::UnaryExpression"]],["impl Freeze for UnitExpression",1,["leo_ast::expressions::unit::UnitExpression"]],["impl Freeze for Literal",1,["leo_ast::expressions::literal::Literal"]],["impl Freeze for Expression",1,["leo_ast::expressions::Expression"]],["impl Freeze for Annotation",1,["leo_ast::functions::annotation::Annotation"]],["impl Freeze for CoreFunction",1,["leo_ast::functions::core_function::CoreFunction"]],["impl Freeze for Variant",1,["leo_ast::functions::variant::Variant"]],["impl Freeze for External",1,["leo_ast::functions::external::External"]],["impl Freeze for Finalize",1,["leo_ast::functions::finalize::Finalize"]],["impl Freeze for Input",1,["leo_ast::functions::input::Input"]],["impl Freeze for FunctionInput",1,["leo_ast::functions::input::FunctionInput"]],["impl Freeze for Output",1,["leo_ast::functions::output::Output"]],["impl Freeze for FunctionOutput",1,["leo_ast::functions::output::FunctionOutput"]],["impl Freeze for Mode",1,["leo_ast::functions::mode::Mode"]],["impl Freeze for Function",1,["leo_ast::functions::Function"]],["impl Freeze for GroupCoordinate",1,["leo_ast::groups::group_coordinate::GroupCoordinate"]],["impl Freeze for GroupLiteral",1,["leo_ast::groups::group_literal::GroupLiteral"]],["impl Freeze for GroupTuple",1,["leo_ast::groups::group_literal::GroupTuple"]],["impl Freeze for Definition",1,["leo_ast::input::definition::Definition"]],["impl Freeze for InputData",1,["leo_ast::input::input_ast::InputData"]],["impl Freeze for InputAst",1,["leo_ast::input::input_ast::InputAst"]],["impl Freeze for InputValue",1,["leo_ast::input::input_value::InputValue"]],["impl Freeze for ProgramInput",1,["leo_ast::input::program_input::ProgramInput"]],["impl Freeze for Section",1,["leo_ast::input::section::Section"]],["impl Freeze for Mapping",1,["leo_ast::mapping::Mapping"]],["impl Freeze for ProgramId",1,["leo_ast::program::program_id::ProgramId"]],["impl Freeze for ProgramScope",1,["leo_ast::program::program_scope::ProgramScope"]],["impl Freeze for Program",1,["leo_ast::program::Program"]],["impl Freeze for AssertVariant",1,["leo_ast::statement::assert::AssertVariant"]],["impl Freeze for AssertStatement",1,["leo_ast::statement::assert::AssertStatement"]],["impl Freeze for AssignStatement",1,["leo_ast::statement::assign::AssignStatement"]],["impl Freeze for Block",1,["leo_ast::statement::block::Block"]],["impl Freeze for ConditionalStatement",1,["leo_ast::statement::conditional::ConditionalStatement"]],["impl Freeze for ConsoleFunction",1,["leo_ast::statement::console::console_function::ConsoleFunction"]],["impl Freeze for ConsoleStatement",1,["leo_ast::statement::console::console_statement::ConsoleStatement"]],["impl Freeze for ConstDeclaration",1,["leo_ast::statement::const_::ConstDeclaration"]],["impl Freeze for DeclarationType",1,["leo_ast::statement::definition::declaration_type::DeclarationType"]],["impl Freeze for DefinitionStatement",1,["leo_ast::statement::definition::DefinitionStatement"]],["impl Freeze for ExpressionStatement",1,["leo_ast::statement::expression::ExpressionStatement"]],["impl !Freeze for IterationStatement",1,["leo_ast::statement::iteration::IterationStatement"]],["impl Freeze for ReturnStatement",1,["leo_ast::statement::return_::ReturnStatement"]],["impl Freeze for Statement",1,["leo_ast::statement::Statement"]],["impl Freeze for ArrayType",1,["leo_ast::types::array::ArrayType"]],["impl Freeze for CoreConstant",1,["leo_ast::types::core_constant::CoreConstant"]],["impl Freeze for IntegerType",1,["leo_ast::types::integer_type::IntegerType"]],["impl Freeze for MappingType",1,["leo_ast::types::mapping::MappingType"]],["impl Freeze for TupleType",1,["leo_ast::types::tuple::TupleType"]],["impl Freeze for Type",1,["leo_ast::types::type_::Type"]],["impl Freeze for Value",1,["leo_ast::value::Value"]],["impl Freeze for Ast",1,["leo_ast::Ast"]]], -"leo_compiler":[["impl<'a> !Freeze for Compiler<'a>",1,["leo_compiler::compiler::Compiler"]],["impl Freeze for CompilerOptions",1,["leo_compiler::options::CompilerOptions"]],["impl Freeze for BuildOptions",1,["leo_compiler::options::BuildOptions"]],["impl Freeze for OutputOptions",1,["leo_compiler::options::OutputOptions"]]], -"leo_errors":[["impl Freeze for Backtraced",1,["leo_errors::common::backtraced::Backtraced"]],["impl Freeze for Formatted",1,["leo_errors::common::formatted::Formatted"]],["impl Freeze for StderrEmitter",1,["leo_errors::emitter::StderrEmitter"]],["impl<T> Freeze for Buffer<T>",1,["leo_errors::emitter::Buffer"]],["impl Freeze for BufferEmitter",1,["leo_errors::emitter::BufferEmitter"]],["impl Freeze for HandlerInner",1,["leo_errors::emitter::HandlerInner"]],["impl !Freeze for Handler",1,["leo_errors::emitter::Handler"]],["impl Freeze for AstError",1,["leo_errors::errors::ast::ast_errors::AstError"]],["impl Freeze for CliError",1,["leo_errors::errors::cli::cli_errors::CliError"]],["impl Freeze for CompilerError",1,["leo_errors::errors::compiler::compiler_errors::CompilerError"]],["impl Freeze for FlattenError",1,["leo_errors::errors::flattener::flattener_errors::FlattenError"]],["impl Freeze for InputError",1,["leo_errors::errors::input::input_errors::InputError"]],["impl Freeze for LoopUnrollerError",1,["leo_errors::errors::loop_unroller::loop_unroller_errors::LoopUnrollerError"]],["impl Freeze for PackageError",1,["leo_errors::errors::package::package_errors::PackageError"]],["impl Freeze for ParserError",1,["leo_errors::errors::parser::parser_errors::ParserError"]],["impl Freeze for ParserWarning",1,["leo_errors::errors::parser::parser_warnings::ParserWarning"]],["impl Freeze for TypeCheckerError",1,["leo_errors::errors::type_checker::type_checker_error::TypeCheckerError"]],["impl Freeze for LeoError",1,["leo_errors::errors::LeoError"]],["impl Freeze for LeoWarning",1,["leo_errors::errors::LeoWarning"]]], -"leo_lang":[["impl Freeze for CLI",1,["leo_lang::cli::cli::CLI"]],["impl Freeze for Commands",1,["leo_lang::cli::cli::Commands"]],["impl Freeze for Account",1,["leo_lang::cli::commands::account::Account"]],["impl Freeze for Build",1,["leo_lang::cli::commands::build::Build"]],["impl Freeze for Clean",1,["leo_lang::cli::commands::clean::Clean"]],["impl Freeze for Example",1,["leo_lang::cli::commands::example::Example"]],["impl Freeze for Execute",1,["leo_lang::cli::commands::execute::Execute"]],["impl Freeze for New",1,["leo_lang::cli::commands::new::New"]],["impl Freeze for Run",1,["leo_lang::cli::commands::run::Run"]],["impl Freeze for Update",1,["leo_lang::cli::commands::update::Update"]],["impl Freeze for BuildOptions",1,["leo_lang::cli::commands::BuildOptions"]],["impl Freeze for Context",1,["leo_lang::cli::helpers::context::Context"]],["impl<F, T> Freeze for Format<F, T>where\n F: Freeze,\n T: Freeze,",1,["leo_lang::cli::helpers::logger::Format"]],["impl Freeze for Updater",1,["leo_lang::cli::helpers::updater::Updater"]]], -"leo_package":[["impl Freeze for BuildDirectory",1,["leo_package::build::directory::BuildDirectory"]],["impl Freeze for ImportsDirectory",1,["leo_package::imports::directory::ImportsDirectory"]],["impl Freeze for InputsDirectory",1,["leo_package::inputs::directory::InputsDirectory"]],["impl Freeze for InputFile",1,["leo_package::inputs::input::InputFile"]],["impl Freeze for Snapshot",1,["leo_package::outputs::ast_snapshot::Snapshot"]],["impl Freeze for SnapshotFile",1,["leo_package::outputs::ast_snapshot::SnapshotFile"]],["impl Freeze for CircuitFile",1,["leo_package::outputs::circuit::CircuitFile"]],["impl Freeze for ChecksumFile",1,["leo_package::outputs::checksum::ChecksumFile"]],["impl Freeze for OutputsDirectory",1,["leo_package::outputs::directory::OutputsDirectory"]],["impl<N> Freeze for Package<N>",1,["leo_package::package::Package"]],["impl<N> Freeze for Env<N>",1,["leo_package::root::env::Env"]],["impl Freeze for Gitignore",1,["leo_package::root::gitignore::Gitignore"]],["impl Freeze for SourceDirectory",1,["leo_package::source::directory::SourceDirectory"]],["impl Freeze for MainFile",1,["leo_package::source::main::MainFile"]]], -"leo_parser":[["impl Freeze for Token",1,["leo_parser::tokenizer::token::Token"]],["impl Freeze for Delimiter",1,["leo_parser::tokenizer::token::Delimiter"]],["impl Freeze for SpannedToken",1,["leo_parser::tokenizer::lexer::SpannedToken"]],["impl<'a> Freeze for ParserContext<'a>",1,["leo_parser::parser::context::ParserContext"]]], -"leo_passes":[["impl<'a> Freeze for CodeGenerator<'a>",1,["leo_passes::code_generation::generator::CodeGenerator"]],["impl !Freeze for Assigner",1,["leo_passes::common::assigner::Assigner"]],["impl Freeze for AssignerInner",1,["leo_passes::common::assigner::AssignerInner"]],["impl<N> Freeze for DiGraphError<N>",1,["leo_passes::common::graph::DiGraphError"]],["impl<N> Freeze for DiGraph<N>",1,["leo_passes::common::graph::DiGraph"]],["impl Freeze for RenameTable",1,["leo_passes::common::rename_table::RenameTable"]],["impl<F> Freeze for Replacer<F>where\n F: Freeze,",1,["leo_passes::common::replacer::Replacer"]],["impl Freeze for ConstantPropagationTable",1,["leo_passes::common::constant_propagation_table::ConstantPropagationTable"]],["impl Freeze for FinalizeData",1,["leo_passes::common::symbol_table::function_symbol::FinalizeData"]],["impl Freeze for FunctionSymbol",1,["leo_passes::common::symbol_table::function_symbol::FunctionSymbol"]],["impl Freeze for VariableType",1,["leo_passes::common::symbol_table::variable_symbol::VariableType"]],["impl Freeze for VariableSymbol",1,["leo_passes::common::symbol_table::variable_symbol::VariableSymbol"]],["impl Freeze for SymbolTable",1,["leo_passes::common::symbol_table::SymbolTable"]],["impl !Freeze for TypeTable",1,["leo_passes::common::type_table::TypeTable"]],["impl<'a> Freeze for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["impl<'a> Freeze for Destructurer<'a>",1,["leo_passes::destructuring::destructurer::Destructurer"]],["impl<'a> Freeze for Flattener<'a>",1,["leo_passes::flattening::flattener::Flattener"]],["impl<'a> Freeze for AssignmentRenamer<'a>",1,["leo_passes::function_inlining::assignment_renamer::AssignmentRenamer"]],["impl<'a> Freeze for FunctionInliner<'a>",1,["leo_passes::function_inlining::function_inliner::FunctionInliner"]],["impl Freeze for Clusivity",1,["leo_passes::loop_unrolling::range_iterator::Clusivity"]],["impl<I> Freeze for RangeIterator<I>where\n I: Freeze,",1,["leo_passes::loop_unrolling::range_iterator::RangeIterator"]],["impl<'a> !Freeze for Unroller<'a>",1,["leo_passes::loop_unrolling::unroller::Unroller"]],["impl<'a> Freeze for StaticSingleAssigner<'a>",1,["leo_passes::static_single_assignment::static_single_assigner::StaticSingleAssigner"]],["impl<'a> Freeze for SymbolTableCreator<'a>",1,["leo_passes::symbol_table_creation::creator::SymbolTableCreator"]],["impl<'a> !Freeze for TypeChecker<'a>",1,["leo_passes::type_checking::checker::TypeChecker"]]], -"leo_span":[["impl Freeze for Symbol",1,["leo_span::symbol::Symbol"]],["impl !Freeze for SessionGlobals",1,["leo_span::symbol::SessionGlobals"]],["impl Freeze for InternedStr",1,["leo_span::symbol::InternedStr"]],["impl Freeze for InnerInterner",1,["leo_span::symbol::InnerInterner"]],["impl !Freeze for Interner",1,["leo_span::symbol::Interner"]],["impl Freeze for Span",1,["leo_span::span::Span"]],["impl Freeze for BytePos",1,["leo_span::span::BytePos"]],["impl Freeze for CharPos",1,["leo_span::span::CharPos"]],["impl Freeze for SpanMapVisitor",1,["leo_span::span_json::SpanMapVisitor"]],["impl !Freeze for SourceMap",1,["leo_span::source_map::SourceMap"]],["impl Freeze for SourceMapInner",1,["leo_span::source_map::SourceMapInner"]],["impl Freeze for FileName",1,["leo_span::source_map::FileName"]],["impl Freeze for SourceFile",1,["leo_span::source_map::SourceFile"]],["impl Freeze for SpanLocation",1,["leo_span::source_map::SpanLocation"]],["impl Freeze for LineCol",1,["leo_span::source_map::LineCol"]],["impl Freeze for MultiByteChar",1,["leo_span::source_map::MultiByteChar"]]], -"leo_test_framework":[["impl Freeze for TestFailure",1,["leo_test_framework::error::TestFailure"]],["impl Freeze for TestError",1,["leo_test_framework::error::TestError"]],["impl Freeze for TestExpectation",1,["leo_test_framework::output::TestExpectation"]],["impl Freeze for ParseType",1,["leo_test_framework::runner::ParseType"]],["impl Freeze for Test",1,["leo_test_framework::runner::Test"]],["impl Freeze for TestCases",1,["leo_test_framework::runner::TestCases"]],["impl Freeze for TestExpectationMode",1,["leo_test_framework::test::TestExpectationMode"]],["impl Freeze for TestConfig",1,["leo_test_framework::test::TestConfig"]]] +"leo_abnf":[["impl Freeze for Scope",1,["leo_abnf::Scope"]],["impl<'a> Freeze for Processor<'a>",1,["leo_abnf::Processor"]]], +"leo_ast":[["impl Freeze for ArrayAccess",1,["leo_ast::access::array_access::ArrayAccess"]],["impl Freeze for AssociatedConstant",1,["leo_ast::access::associated_constant_access::AssociatedConstant"]],["impl Freeze for AssociatedFunction",1,["leo_ast::access::associated_function_access::AssociatedFunction"]],["impl Freeze for MemberAccess",1,["leo_ast::access::member_access::MemberAccess"]],["impl Freeze for TupleAccess",1,["leo_ast::access::tuple_access::TupleAccess"]],["impl Freeze for Member",1,["leo_ast::struct::member::Member"]],["impl Freeze for Struct",1,["leo_ast::struct::Struct"]],["impl Freeze for Identifier",1,["leo_ast::common::identifier::Identifier"]],["impl Freeze for NonNegativeNumber",1,["leo_ast::common::positive_number::NonNegativeNumber"]],["impl !Freeze for NodeBuilder",1,["leo_ast::common::node_builder::NodeBuilder"]],["impl Freeze for NodeBuilderInner",1,["leo_ast::common::node_builder::NodeBuilderInner"]],["impl Freeze for StaticString",1,["leo_ast::common::static_string::StaticString"]],["impl Freeze for AccessExpression",1,["leo_ast::expressions::access::AccessExpression"]],["impl Freeze for ArrayExpression",1,["leo_ast::expressions::array::ArrayExpression"]],["impl Freeze for BinaryOperation",1,["leo_ast::expressions::binary::BinaryOperation"]],["impl Freeze for BinaryExpression",1,["leo_ast::expressions::binary::BinaryExpression"]],["impl Freeze for CallExpression",1,["leo_ast::expressions::call::CallExpression"]],["impl Freeze for CastExpression",1,["leo_ast::expressions::cast::CastExpression"]],["impl Freeze for StructVariableInitializer",1,["leo_ast::expressions::struct_init::StructVariableInitializer"]],["impl Freeze for StructExpression",1,["leo_ast::expressions::struct_init::StructExpression"]],["impl Freeze for ErrExpression",1,["leo_ast::expressions::err::ErrExpression"]],["impl Freeze for TernaryExpression",1,["leo_ast::expressions::ternary::TernaryExpression"]],["impl Freeze for TupleExpression",1,["leo_ast::expressions::tuple::TupleExpression"]],["impl Freeze for UnaryOperation",1,["leo_ast::expressions::unary::UnaryOperation"]],["impl Freeze for UnaryExpression",1,["leo_ast::expressions::unary::UnaryExpression"]],["impl Freeze for UnitExpression",1,["leo_ast::expressions::unit::UnitExpression"]],["impl Freeze for Literal",1,["leo_ast::expressions::literal::Literal"]],["impl Freeze for Expression",1,["leo_ast::expressions::Expression"]],["impl Freeze for Annotation",1,["leo_ast::functions::annotation::Annotation"]],["impl Freeze for CoreFunction",1,["leo_ast::functions::core_function::CoreFunction"]],["impl Freeze for Variant",1,["leo_ast::functions::variant::Variant"]],["impl Freeze for External",1,["leo_ast::functions::external::External"]],["impl Freeze for Finalize",1,["leo_ast::functions::finalize::Finalize"]],["impl Freeze for Input",1,["leo_ast::functions::input::Input"]],["impl Freeze for FunctionInput",1,["leo_ast::functions::input::FunctionInput"]],["impl Freeze for Output",1,["leo_ast::functions::output::Output"]],["impl Freeze for FunctionOutput",1,["leo_ast::functions::output::FunctionOutput"]],["impl Freeze for Mode",1,["leo_ast::functions::mode::Mode"]],["impl Freeze for Function",1,["leo_ast::functions::Function"]],["impl Freeze for GroupCoordinate",1,["leo_ast::groups::group_coordinate::GroupCoordinate"]],["impl Freeze for GroupLiteral",1,["leo_ast::groups::group_literal::GroupLiteral"]],["impl Freeze for GroupTuple",1,["leo_ast::groups::group_literal::GroupTuple"]],["impl Freeze for Definition",1,["leo_ast::input::definition::Definition"]],["impl Freeze for InputData",1,["leo_ast::input::input_ast::InputData"]],["impl Freeze for InputAst",1,["leo_ast::input::input_ast::InputAst"]],["impl Freeze for InputValue",1,["leo_ast::input::input_value::InputValue"]],["impl Freeze for ProgramInput",1,["leo_ast::input::program_input::ProgramInput"]],["impl Freeze for Section",1,["leo_ast::input::section::Section"]],["impl Freeze for Mapping",1,["leo_ast::mapping::Mapping"]],["impl Freeze for ProgramId",1,["leo_ast::program::program_id::ProgramId"]],["impl Freeze for ProgramScope",1,["leo_ast::program::program_scope::ProgramScope"]],["impl Freeze for Program",1,["leo_ast::program::Program"]],["impl Freeze for AssertVariant",1,["leo_ast::statement::assert::AssertVariant"]],["impl Freeze for AssertStatement",1,["leo_ast::statement::assert::AssertStatement"]],["impl Freeze for AssignStatement",1,["leo_ast::statement::assign::AssignStatement"]],["impl Freeze for Block",1,["leo_ast::statement::block::Block"]],["impl Freeze for ConditionalStatement",1,["leo_ast::statement::conditional::ConditionalStatement"]],["impl Freeze for ConsoleFunction",1,["leo_ast::statement::console::console_function::ConsoleFunction"]],["impl Freeze for ConsoleStatement",1,["leo_ast::statement::console::console_statement::ConsoleStatement"]],["impl Freeze for ConstDeclaration",1,["leo_ast::statement::const_::ConstDeclaration"]],["impl Freeze for DeclarationType",1,["leo_ast::statement::definition::declaration_type::DeclarationType"]],["impl Freeze for DefinitionStatement",1,["leo_ast::statement::definition::DefinitionStatement"]],["impl Freeze for ExpressionStatement",1,["leo_ast::statement::expression::ExpressionStatement"]],["impl !Freeze for IterationStatement",1,["leo_ast::statement::iteration::IterationStatement"]],["impl Freeze for ReturnStatement",1,["leo_ast::statement::return_::ReturnStatement"]],["impl Freeze for Statement",1,["leo_ast::statement::Statement"]],["impl Freeze for ArrayType",1,["leo_ast::types::array::ArrayType"]],["impl Freeze for CoreConstant",1,["leo_ast::types::core_constant::CoreConstant"]],["impl Freeze for IntegerType",1,["leo_ast::types::integer_type::IntegerType"]],["impl Freeze for MappingType",1,["leo_ast::types::mapping::MappingType"]],["impl Freeze for TupleType",1,["leo_ast::types::tuple::TupleType"]],["impl Freeze for Type",1,["leo_ast::types::type_::Type"]],["impl Freeze for Value",1,["leo_ast::value::Value"]],["impl Freeze for Ast",1,["leo_ast::Ast"]]], +"leo_compiler":[["impl<'a> !Freeze for Compiler<'a>",1,["leo_compiler::compiler::Compiler"]],["impl Freeze for CompilerOptions",1,["leo_compiler::options::CompilerOptions"]],["impl Freeze for BuildOptions",1,["leo_compiler::options::BuildOptions"]],["impl Freeze for OutputOptions",1,["leo_compiler::options::OutputOptions"]]], +"leo_errors":[["impl Freeze for Backtraced",1,["leo_errors::common::backtraced::Backtraced"]],["impl Freeze for Formatted",1,["leo_errors::common::formatted::Formatted"]],["impl Freeze for StderrEmitter",1,["leo_errors::emitter::StderrEmitter"]],["impl<T> Freeze for Buffer<T>",1,["leo_errors::emitter::Buffer"]],["impl Freeze for BufferEmitter",1,["leo_errors::emitter::BufferEmitter"]],["impl Freeze for HandlerInner",1,["leo_errors::emitter::HandlerInner"]],["impl !Freeze for Handler",1,["leo_errors::emitter::Handler"]],["impl Freeze for AstError",1,["leo_errors::errors::ast::ast_errors::AstError"]],["impl Freeze for CliError",1,["leo_errors::errors::cli::cli_errors::CliError"]],["impl Freeze for CompilerError",1,["leo_errors::errors::compiler::compiler_errors::CompilerError"]],["impl Freeze for FlattenError",1,["leo_errors::errors::flattener::flattener_errors::FlattenError"]],["impl Freeze for InputError",1,["leo_errors::errors::input::input_errors::InputError"]],["impl Freeze for LoopUnrollerError",1,["leo_errors::errors::loop_unroller::loop_unroller_errors::LoopUnrollerError"]],["impl Freeze for PackageError",1,["leo_errors::errors::package::package_errors::PackageError"]],["impl Freeze for ParserError",1,["leo_errors::errors::parser::parser_errors::ParserError"]],["impl Freeze for ParserWarning",1,["leo_errors::errors::parser::parser_warnings::ParserWarning"]],["impl Freeze for TypeCheckerError",1,["leo_errors::errors::type_checker::type_checker_error::TypeCheckerError"]],["impl Freeze for LeoError",1,["leo_errors::errors::LeoError"]],["impl Freeze for LeoWarning",1,["leo_errors::errors::LeoWarning"]]], +"leo_lang":[["impl Freeze for CLI",1,["leo_lang::cli::cli::CLI"]],["impl Freeze for Commands",1,["leo_lang::cli::cli::Commands"]],["impl Freeze for Account",1,["leo_lang::cli::commands::account::Account"]],["impl Freeze for Build",1,["leo_lang::cli::commands::build::Build"]],["impl Freeze for Clean",1,["leo_lang::cli::commands::clean::Clean"]],["impl Freeze for Example",1,["leo_lang::cli::commands::example::Example"]],["impl Freeze for Execute",1,["leo_lang::cli::commands::execute::Execute"]],["impl Freeze for New",1,["leo_lang::cli::commands::new::New"]],["impl Freeze for Run",1,["leo_lang::cli::commands::run::Run"]],["impl Freeze for Update",1,["leo_lang::cli::commands::update::Update"]],["impl Freeze for BuildOptions",1,["leo_lang::cli::commands::BuildOptions"]],["impl Freeze for Context",1,["leo_lang::cli::helpers::context::Context"]],["impl<F, T> Freeze for Format<F, T>where\n F: Freeze,\n T: Freeze,",1,["leo_lang::cli::helpers::logger::Format"]],["impl Freeze for Updater",1,["leo_lang::cli::helpers::updater::Updater"]]], +"leo_package":[["impl Freeze for BuildDirectory",1,["leo_package::build::directory::BuildDirectory"]],["impl Freeze for ImportsDirectory",1,["leo_package::imports::directory::ImportsDirectory"]],["impl Freeze for InputsDirectory",1,["leo_package::inputs::directory::InputsDirectory"]],["impl Freeze for InputFile",1,["leo_package::inputs::input::InputFile"]],["impl Freeze for Snapshot",1,["leo_package::outputs::ast_snapshot::Snapshot"]],["impl Freeze for SnapshotFile",1,["leo_package::outputs::ast_snapshot::SnapshotFile"]],["impl Freeze for CircuitFile",1,["leo_package::outputs::circuit::CircuitFile"]],["impl Freeze for ChecksumFile",1,["leo_package::outputs::checksum::ChecksumFile"]],["impl Freeze for OutputsDirectory",1,["leo_package::outputs::directory::OutputsDirectory"]],["impl<N> Freeze for Package<N>",1,["leo_package::package::Package"]],["impl<N> Freeze for Env<N>",1,["leo_package::root::env::Env"]],["impl Freeze for Gitignore",1,["leo_package::root::gitignore::Gitignore"]],["impl Freeze for SourceDirectory",1,["leo_package::source::directory::SourceDirectory"]],["impl Freeze for MainFile",1,["leo_package::source::main::MainFile"]]], +"leo_parser":[["impl Freeze for Token",1,["leo_parser::tokenizer::token::Token"]],["impl Freeze for Delimiter",1,["leo_parser::tokenizer::token::Delimiter"]],["impl Freeze for SpannedToken",1,["leo_parser::tokenizer::lexer::SpannedToken"]],["impl<'a> Freeze for ParserContext<'a>",1,["leo_parser::parser::context::ParserContext"]]], +"leo_passes":[["impl<'a> Freeze for CodeGenerator<'a>",1,["leo_passes::code_generation::generator::CodeGenerator"]],["impl !Freeze for Assigner",1,["leo_passes::common::assigner::Assigner"]],["impl Freeze for AssignerInner",1,["leo_passes::common::assigner::AssignerInner"]],["impl<N> Freeze for DiGraphError<N>",1,["leo_passes::common::graph::DiGraphError"]],["impl<N> Freeze for DiGraph<N>",1,["leo_passes::common::graph::DiGraph"]],["impl Freeze for RenameTable",1,["leo_passes::common::rename_table::RenameTable"]],["impl<F> Freeze for Replacer<F>where\n F: Freeze,",1,["leo_passes::common::replacer::Replacer"]],["impl Freeze for ConstantPropagationTable",1,["leo_passes::common::constant_propagation_table::ConstantPropagationTable"]],["impl Freeze for FinalizeData",1,["leo_passes::common::symbol_table::function_symbol::FinalizeData"]],["impl Freeze for FunctionSymbol",1,["leo_passes::common::symbol_table::function_symbol::FunctionSymbol"]],["impl Freeze for VariableType",1,["leo_passes::common::symbol_table::variable_symbol::VariableType"]],["impl Freeze for VariableSymbol",1,["leo_passes::common::symbol_table::variable_symbol::VariableSymbol"]],["impl Freeze for SymbolTable",1,["leo_passes::common::symbol_table::SymbolTable"]],["impl !Freeze for TypeTable",1,["leo_passes::common::type_table::TypeTable"]],["impl<'a> Freeze for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["impl<'a> Freeze for Destructurer<'a>",1,["leo_passes::destructuring::destructurer::Destructurer"]],["impl<'a> Freeze for Flattener<'a>",1,["leo_passes::flattening::flattener::Flattener"]],["impl<'a> Freeze for AssignmentRenamer<'a>",1,["leo_passes::function_inlining::assignment_renamer::AssignmentRenamer"]],["impl<'a> Freeze for FunctionInliner<'a>",1,["leo_passes::function_inlining::function_inliner::FunctionInliner"]],["impl Freeze for Clusivity",1,["leo_passes::loop_unrolling::range_iterator::Clusivity"]],["impl<I> Freeze for RangeIterator<I>where\n I: Freeze,",1,["leo_passes::loop_unrolling::range_iterator::RangeIterator"]],["impl<'a> !Freeze for Unroller<'a>",1,["leo_passes::loop_unrolling::unroller::Unroller"]],["impl<'a> Freeze for StaticSingleAssigner<'a>",1,["leo_passes::static_single_assignment::static_single_assigner::StaticSingleAssigner"]],["impl<'a> Freeze for SymbolTableCreator<'a>",1,["leo_passes::symbol_table_creation::creator::SymbolTableCreator"]],["impl<'a> !Freeze for TypeChecker<'a>",1,["leo_passes::type_checking::checker::TypeChecker"]]], +"leo_span":[["impl Freeze for Symbol",1,["leo_span::symbol::Symbol"]],["impl !Freeze for SessionGlobals",1,["leo_span::symbol::SessionGlobals"]],["impl Freeze for InternedStr",1,["leo_span::symbol::InternedStr"]],["impl Freeze for InnerInterner",1,["leo_span::symbol::InnerInterner"]],["impl !Freeze for Interner",1,["leo_span::symbol::Interner"]],["impl Freeze for Span",1,["leo_span::span::Span"]],["impl Freeze for BytePos",1,["leo_span::span::BytePos"]],["impl Freeze for CharPos",1,["leo_span::span::CharPos"]],["impl Freeze for SpanMapVisitor",1,["leo_span::span_json::SpanMapVisitor"]],["impl !Freeze for SourceMap",1,["leo_span::source_map::SourceMap"]],["impl Freeze for SourceMapInner",1,["leo_span::source_map::SourceMapInner"]],["impl Freeze for FileName",1,["leo_span::source_map::FileName"]],["impl Freeze for SourceFile",1,["leo_span::source_map::SourceFile"]],["impl Freeze for SpanLocation",1,["leo_span::source_map::SpanLocation"]],["impl Freeze for LineCol",1,["leo_span::source_map::LineCol"]],["impl Freeze for MultiByteChar",1,["leo_span::source_map::MultiByteChar"]]], +"leo_test_framework":[["impl Freeze for TestFailure",1,["leo_test_framework::error::TestFailure"]],["impl Freeze for TestError",1,["leo_test_framework::error::TestError"]],["impl Freeze for TestExpectation",1,["leo_test_framework::output::TestExpectation"]],["impl Freeze for ParseType",1,["leo_test_framework::runner::ParseType"]],["impl Freeze for Test",1,["leo_test_framework::runner::Test"]],["impl Freeze for TestCases",1,["leo_test_framework::runner::TestCases"]],["impl Freeze for TestExpectationMode",1,["leo_test_framework::test::TestExpectationMode"]],["impl Freeze for TestConfig",1,["leo_test_framework::test::TestConfig"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Send.js b/trait.impl/core/marker/trait.Send.js similarity index 81% rename from implementors/core/marker/trait.Send.js rename to trait.impl/core/marker/trait.Send.js index b695359c45..927726a1fc 100644 --- a/implementors/core/marker/trait.Send.js +++ b/trait.impl/core/marker/trait.Send.js @@ -1,12 +1,12 @@ (function() {var implementors = { -"leo_abnf":[["impl Send for Scope",1,["leo_abnf::Scope"]],["impl<'a> Send for Processor<'a>",1,["leo_abnf::Processor"]]], -"leo_ast":[["impl Send for ArrayAccess",1,["leo_ast::access::array_access::ArrayAccess"]],["impl Send for AssociatedConstant",1,["leo_ast::access::associated_constant_access::AssociatedConstant"]],["impl Send for AssociatedFunction",1,["leo_ast::access::associated_function_access::AssociatedFunction"]],["impl Send for MemberAccess",1,["leo_ast::access::member_access::MemberAccess"]],["impl Send for TupleAccess",1,["leo_ast::access::tuple_access::TupleAccess"]],["impl Send for Member",1,["leo_ast::struct::member::Member"]],["impl Send for Struct",1,["leo_ast::struct::Struct"]],["impl Send for Identifier",1,["leo_ast::common::identifier::Identifier"]],["impl Send for NonNegativeNumber",1,["leo_ast::common::positive_number::NonNegativeNumber"]],["impl Send for NodeBuilder",1,["leo_ast::common::node_builder::NodeBuilder"]],["impl Send for NodeBuilderInner",1,["leo_ast::common::node_builder::NodeBuilderInner"]],["impl Send for StaticString",1,["leo_ast::common::static_string::StaticString"]],["impl Send for AccessExpression",1,["leo_ast::expressions::access::AccessExpression"]],["impl Send for ArrayExpression",1,["leo_ast::expressions::array::ArrayExpression"]],["impl Send for BinaryOperation",1,["leo_ast::expressions::binary::BinaryOperation"]],["impl Send for BinaryExpression",1,["leo_ast::expressions::binary::BinaryExpression"]],["impl Send for CallExpression",1,["leo_ast::expressions::call::CallExpression"]],["impl Send for CastExpression",1,["leo_ast::expressions::cast::CastExpression"]],["impl Send for StructVariableInitializer",1,["leo_ast::expressions::struct_init::StructVariableInitializer"]],["impl Send for StructExpression",1,["leo_ast::expressions::struct_init::StructExpression"]],["impl Send for ErrExpression",1,["leo_ast::expressions::err::ErrExpression"]],["impl Send for TernaryExpression",1,["leo_ast::expressions::ternary::TernaryExpression"]],["impl Send for TupleExpression",1,["leo_ast::expressions::tuple::TupleExpression"]],["impl Send for UnaryOperation",1,["leo_ast::expressions::unary::UnaryOperation"]],["impl Send for UnaryExpression",1,["leo_ast::expressions::unary::UnaryExpression"]],["impl Send for UnitExpression",1,["leo_ast::expressions::unit::UnitExpression"]],["impl Send for Literal",1,["leo_ast::expressions::literal::Literal"]],["impl Send for Expression",1,["leo_ast::expressions::Expression"]],["impl Send for Annotation",1,["leo_ast::functions::annotation::Annotation"]],["impl Send for CoreFunction",1,["leo_ast::functions::core_function::CoreFunction"]],["impl Send for Variant",1,["leo_ast::functions::variant::Variant"]],["impl Send for External",1,["leo_ast::functions::external::External"]],["impl Send for Finalize",1,["leo_ast::functions::finalize::Finalize"]],["impl Send for Input",1,["leo_ast::functions::input::Input"]],["impl Send for FunctionInput",1,["leo_ast::functions::input::FunctionInput"]],["impl Send for Output",1,["leo_ast::functions::output::Output"]],["impl Send for FunctionOutput",1,["leo_ast::functions::output::FunctionOutput"]],["impl Send for Mode",1,["leo_ast::functions::mode::Mode"]],["impl Send for Function",1,["leo_ast::functions::Function"]],["impl Send for GroupCoordinate",1,["leo_ast::groups::group_coordinate::GroupCoordinate"]],["impl Send for GroupLiteral",1,["leo_ast::groups::group_literal::GroupLiteral"]],["impl Send for GroupTuple",1,["leo_ast::groups::group_literal::GroupTuple"]],["impl Send for Definition",1,["leo_ast::input::definition::Definition"]],["impl Send for InputData",1,["leo_ast::input::input_ast::InputData"]],["impl Send for InputAst",1,["leo_ast::input::input_ast::InputAst"]],["impl Send for InputValue",1,["leo_ast::input::input_value::InputValue"]],["impl Send for ProgramInput",1,["leo_ast::input::program_input::ProgramInput"]],["impl Send for Section",1,["leo_ast::input::section::Section"]],["impl Send for Mapping",1,["leo_ast::mapping::Mapping"]],["impl Send for ProgramId",1,["leo_ast::program::program_id::ProgramId"]],["impl Send for ProgramScope",1,["leo_ast::program::program_scope::ProgramScope"]],["impl Send for Program",1,["leo_ast::program::Program"]],["impl Send for AssertVariant",1,["leo_ast::statement::assert::AssertVariant"]],["impl Send for AssertStatement",1,["leo_ast::statement::assert::AssertStatement"]],["impl Send for AssignStatement",1,["leo_ast::statement::assign::AssignStatement"]],["impl Send for Block",1,["leo_ast::statement::block::Block"]],["impl Send for ConditionalStatement",1,["leo_ast::statement::conditional::ConditionalStatement"]],["impl Send for ConsoleFunction",1,["leo_ast::statement::console::console_function::ConsoleFunction"]],["impl Send for ConsoleStatement",1,["leo_ast::statement::console::console_statement::ConsoleStatement"]],["impl Send for ConstDeclaration",1,["leo_ast::statement::const_::ConstDeclaration"]],["impl Send for DeclarationType",1,["leo_ast::statement::definition::declaration_type::DeclarationType"]],["impl Send for DefinitionStatement",1,["leo_ast::statement::definition::DefinitionStatement"]],["impl Send for ExpressionStatement",1,["leo_ast::statement::expression::ExpressionStatement"]],["impl Send for IterationStatement",1,["leo_ast::statement::iteration::IterationStatement"]],["impl Send for ReturnStatement",1,["leo_ast::statement::return_::ReturnStatement"]],["impl Send for Statement",1,["leo_ast::statement::Statement"]],["impl Send for ArrayType",1,["leo_ast::types::array::ArrayType"]],["impl Send for CoreConstant",1,["leo_ast::types::core_constant::CoreConstant"]],["impl Send for IntegerType",1,["leo_ast::types::integer_type::IntegerType"]],["impl Send for MappingType",1,["leo_ast::types::mapping::MappingType"]],["impl Send for TupleType",1,["leo_ast::types::tuple::TupleType"]],["impl Send for Type",1,["leo_ast::types::type_::Type"]],["impl Send for Value",1,["leo_ast::value::Value"]],["impl Send for Ast",1,["leo_ast::Ast"]]], -"leo_compiler":[["impl<'a> !Send for Compiler<'a>",1,["leo_compiler::compiler::Compiler"]],["impl Send for CompilerOptions",1,["leo_compiler::options::CompilerOptions"]],["impl Send for BuildOptions",1,["leo_compiler::options::BuildOptions"]],["impl Send for OutputOptions",1,["leo_compiler::options::OutputOptions"]]], -"leo_errors":[["impl Send for Backtraced",1,["leo_errors::common::backtraced::Backtraced"]],["impl Send for Formatted",1,["leo_errors::common::formatted::Formatted"]],["impl Send for StderrEmitter",1,["leo_errors::emitter::StderrEmitter"]],["impl<T> Send for Buffer<T>where\n T: Send,",1,["leo_errors::emitter::Buffer"]],["impl !Send for BufferEmitter",1,["leo_errors::emitter::BufferEmitter"]],["impl !Send for HandlerInner",1,["leo_errors::emitter::HandlerInner"]],["impl !Send for Handler",1,["leo_errors::emitter::Handler"]],["impl Send for AstError",1,["leo_errors::errors::ast::ast_errors::AstError"]],["impl Send for CliError",1,["leo_errors::errors::cli::cli_errors::CliError"]],["impl Send for CompilerError",1,["leo_errors::errors::compiler::compiler_errors::CompilerError"]],["impl Send for FlattenError",1,["leo_errors::errors::flattener::flattener_errors::FlattenError"]],["impl Send for InputError",1,["leo_errors::errors::input::input_errors::InputError"]],["impl Send for LoopUnrollerError",1,["leo_errors::errors::loop_unroller::loop_unroller_errors::LoopUnrollerError"]],["impl Send for PackageError",1,["leo_errors::errors::package::package_errors::PackageError"]],["impl Send for ParserError",1,["leo_errors::errors::parser::parser_errors::ParserError"]],["impl Send for ParserWarning",1,["leo_errors::errors::parser::parser_warnings::ParserWarning"]],["impl Send for TypeCheckerError",1,["leo_errors::errors::type_checker::type_checker_error::TypeCheckerError"]],["impl Send for LeoError",1,["leo_errors::errors::LeoError"]],["impl Send for LeoWarning",1,["leo_errors::errors::LeoWarning"]]], -"leo_lang":[["impl Send for CLI",1,["leo_lang::cli::cli::CLI"]],["impl Send for Commands",1,["leo_lang::cli::cli::Commands"]],["impl Send for Account",1,["leo_lang::cli::commands::account::Account"]],["impl Send for Build",1,["leo_lang::cli::commands::build::Build"]],["impl Send for Clean",1,["leo_lang::cli::commands::clean::Clean"]],["impl Send for Example",1,["leo_lang::cli::commands::example::Example"]],["impl Send for Execute",1,["leo_lang::cli::commands::execute::Execute"]],["impl Send for New",1,["leo_lang::cli::commands::new::New"]],["impl Send for Run",1,["leo_lang::cli::commands::run::Run"]],["impl Send for Update",1,["leo_lang::cli::commands::update::Update"]],["impl Send for BuildOptions",1,["leo_lang::cli::commands::BuildOptions"]],["impl Send for Context",1,["leo_lang::cli::helpers::context::Context"]],["impl<F, T> Send for Format<F, T>where\n F: Send,\n T: Send,",1,["leo_lang::cli::helpers::logger::Format"]],["impl Send for Updater",1,["leo_lang::cli::helpers::updater::Updater"]]], -"leo_package":[["impl Send for BuildDirectory",1,["leo_package::build::directory::BuildDirectory"]],["impl Send for ImportsDirectory",1,["leo_package::imports::directory::ImportsDirectory"]],["impl Send for InputsDirectory",1,["leo_package::inputs::directory::InputsDirectory"]],["impl Send for InputFile",1,["leo_package::inputs::input::InputFile"]],["impl Send for Snapshot",1,["leo_package::outputs::ast_snapshot::Snapshot"]],["impl Send for SnapshotFile",1,["leo_package::outputs::ast_snapshot::SnapshotFile"]],["impl Send for CircuitFile",1,["leo_package::outputs::circuit::CircuitFile"]],["impl Send for ChecksumFile",1,["leo_package::outputs::checksum::ChecksumFile"]],["impl Send for OutputsDirectory",1,["leo_package::outputs::directory::OutputsDirectory"]],["impl<N> Send for Package<N>",1,["leo_package::package::Package"]],["impl<N> Send for Env<N>",1,["leo_package::root::env::Env"]],["impl Send for Gitignore",1,["leo_package::root::gitignore::Gitignore"]],["impl Send for SourceDirectory",1,["leo_package::source::directory::SourceDirectory"]],["impl Send for MainFile",1,["leo_package::source::main::MainFile"]]], -"leo_parser":[["impl Send for Token",1,["leo_parser::tokenizer::token::Token"]],["impl Send for Delimiter",1,["leo_parser::tokenizer::token::Delimiter"]],["impl Send for SpannedToken",1,["leo_parser::tokenizer::lexer::SpannedToken"]],["impl<'a> !Send for ParserContext<'a>",1,["leo_parser::parser::context::ParserContext"]]], -"leo_passes":[["impl<'a> !Send for CodeGenerator<'a>",1,["leo_passes::code_generation::generator::CodeGenerator"]],["impl Send for Assigner",1,["leo_passes::common::assigner::Assigner"]],["impl Send for AssignerInner",1,["leo_passes::common::assigner::AssignerInner"]],["impl<N> Send for DiGraphError<N>where\n N: Send,",1,["leo_passes::common::graph::DiGraphError"]],["impl<N> Send for DiGraph<N>where\n N: Send,",1,["leo_passes::common::graph::DiGraph"]],["impl Send for RenameTable",1,["leo_passes::common::rename_table::RenameTable"]],["impl<F> Send for Replacer<F>where\n F: Send,",1,["leo_passes::common::replacer::Replacer"]],["impl Send for ConstantPropagationTable",1,["leo_passes::common::constant_propagation_table::ConstantPropagationTable"]],["impl Send for FinalizeData",1,["leo_passes::common::symbol_table::function_symbol::FinalizeData"]],["impl Send for FunctionSymbol",1,["leo_passes::common::symbol_table::function_symbol::FunctionSymbol"]],["impl Send for VariableType",1,["leo_passes::common::symbol_table::variable_symbol::VariableType"]],["impl Send for VariableSymbol",1,["leo_passes::common::symbol_table::variable_symbol::VariableSymbol"]],["impl Send for SymbolTable",1,["leo_passes::common::symbol_table::SymbolTable"]],["impl Send for TypeTable",1,["leo_passes::common::type_table::TypeTable"]],["impl<'a> !Send for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["impl<'a> !Send for Destructurer<'a>",1,["leo_passes::destructuring::destructurer::Destructurer"]],["impl<'a> !Send for Flattener<'a>",1,["leo_passes::flattening::flattener::Flattener"]],["impl<'a> !Send for AssignmentRenamer<'a>",1,["leo_passes::function_inlining::assignment_renamer::AssignmentRenamer"]],["impl<'a> !Send for FunctionInliner<'a>",1,["leo_passes::function_inlining::function_inliner::FunctionInliner"]],["impl Send for Clusivity",1,["leo_passes::loop_unrolling::range_iterator::Clusivity"]],["impl<I> Send for RangeIterator<I>where\n I: Send,",1,["leo_passes::loop_unrolling::range_iterator::RangeIterator"]],["impl<'a> !Send for Unroller<'a>",1,["leo_passes::loop_unrolling::unroller::Unroller"]],["impl<'a> !Send for StaticSingleAssigner<'a>",1,["leo_passes::static_single_assignment::static_single_assigner::StaticSingleAssigner"]],["impl<'a> !Send for SymbolTableCreator<'a>",1,["leo_passes::symbol_table_creation::creator::SymbolTableCreator"]],["impl<'a> !Send for TypeChecker<'a>",1,["leo_passes::type_checking::checker::TypeChecker"]]], -"leo_span":[["impl Send for Symbol",1,["leo_span::symbol::Symbol"]],["impl !Send for SessionGlobals",1,["leo_span::symbol::SessionGlobals"]],["impl Send for InternedStr",1,["leo_span::symbol::InternedStr"]],["impl Send for InnerInterner",1,["leo_span::symbol::InnerInterner"]],["impl Send for Interner",1,["leo_span::symbol::Interner"]],["impl Send for Span",1,["leo_span::span::Span"]],["impl Send for BytePos",1,["leo_span::span::BytePos"]],["impl Send for CharPos",1,["leo_span::span::CharPos"]],["impl Send for SpanMapVisitor",1,["leo_span::span_json::SpanMapVisitor"]],["impl !Send for SourceMap",1,["leo_span::source_map::SourceMap"]],["impl !Send for SourceMapInner",1,["leo_span::source_map::SourceMapInner"]],["impl Send for FileName",1,["leo_span::source_map::FileName"]],["impl Send for SourceFile",1,["leo_span::source_map::SourceFile"]],["impl !Send for SpanLocation",1,["leo_span::source_map::SpanLocation"]],["impl !Send for LineCol",1,["leo_span::source_map::LineCol"]],["impl Send for MultiByteChar",1,["leo_span::source_map::MultiByteChar"]]], -"leo_test_framework":[["impl Send for TestFailure",1,["leo_test_framework::error::TestFailure"]],["impl Send for TestError",1,["leo_test_framework::error::TestError"]],["impl Send for TestExpectation",1,["leo_test_framework::output::TestExpectation"]],["impl Send for ParseType",1,["leo_test_framework::runner::ParseType"]],["impl Send for Test",1,["leo_test_framework::runner::Test"]],["impl Send for TestCases",1,["leo_test_framework::runner::TestCases"]],["impl Send for TestExpectationMode",1,["leo_test_framework::test::TestExpectationMode"]],["impl Send for TestConfig",1,["leo_test_framework::test::TestConfig"]]] +"leo_abnf":[["impl Send for Scope",1,["leo_abnf::Scope"]],["impl<'a> Send for Processor<'a>",1,["leo_abnf::Processor"]]], +"leo_ast":[["impl Send for ArrayAccess",1,["leo_ast::access::array_access::ArrayAccess"]],["impl Send for AssociatedConstant",1,["leo_ast::access::associated_constant_access::AssociatedConstant"]],["impl Send for AssociatedFunction",1,["leo_ast::access::associated_function_access::AssociatedFunction"]],["impl Send for MemberAccess",1,["leo_ast::access::member_access::MemberAccess"]],["impl Send for TupleAccess",1,["leo_ast::access::tuple_access::TupleAccess"]],["impl Send for Member",1,["leo_ast::struct::member::Member"]],["impl Send for Struct",1,["leo_ast::struct::Struct"]],["impl Send for Identifier",1,["leo_ast::common::identifier::Identifier"]],["impl Send for NonNegativeNumber",1,["leo_ast::common::positive_number::NonNegativeNumber"]],["impl Send for NodeBuilder",1,["leo_ast::common::node_builder::NodeBuilder"]],["impl Send for NodeBuilderInner",1,["leo_ast::common::node_builder::NodeBuilderInner"]],["impl Send for StaticString",1,["leo_ast::common::static_string::StaticString"]],["impl Send for AccessExpression",1,["leo_ast::expressions::access::AccessExpression"]],["impl Send for ArrayExpression",1,["leo_ast::expressions::array::ArrayExpression"]],["impl Send for BinaryOperation",1,["leo_ast::expressions::binary::BinaryOperation"]],["impl Send for BinaryExpression",1,["leo_ast::expressions::binary::BinaryExpression"]],["impl Send for CallExpression",1,["leo_ast::expressions::call::CallExpression"]],["impl Send for CastExpression",1,["leo_ast::expressions::cast::CastExpression"]],["impl Send for StructVariableInitializer",1,["leo_ast::expressions::struct_init::StructVariableInitializer"]],["impl Send for StructExpression",1,["leo_ast::expressions::struct_init::StructExpression"]],["impl Send for ErrExpression",1,["leo_ast::expressions::err::ErrExpression"]],["impl Send for TernaryExpression",1,["leo_ast::expressions::ternary::TernaryExpression"]],["impl Send for TupleExpression",1,["leo_ast::expressions::tuple::TupleExpression"]],["impl Send for UnaryOperation",1,["leo_ast::expressions::unary::UnaryOperation"]],["impl Send for UnaryExpression",1,["leo_ast::expressions::unary::UnaryExpression"]],["impl Send for UnitExpression",1,["leo_ast::expressions::unit::UnitExpression"]],["impl Send for Literal",1,["leo_ast::expressions::literal::Literal"]],["impl Send for Expression",1,["leo_ast::expressions::Expression"]],["impl Send for Annotation",1,["leo_ast::functions::annotation::Annotation"]],["impl Send for CoreFunction",1,["leo_ast::functions::core_function::CoreFunction"]],["impl Send for Variant",1,["leo_ast::functions::variant::Variant"]],["impl Send for External",1,["leo_ast::functions::external::External"]],["impl Send for Finalize",1,["leo_ast::functions::finalize::Finalize"]],["impl Send for Input",1,["leo_ast::functions::input::Input"]],["impl Send for FunctionInput",1,["leo_ast::functions::input::FunctionInput"]],["impl Send for Output",1,["leo_ast::functions::output::Output"]],["impl Send for FunctionOutput",1,["leo_ast::functions::output::FunctionOutput"]],["impl Send for Mode",1,["leo_ast::functions::mode::Mode"]],["impl Send for Function",1,["leo_ast::functions::Function"]],["impl Send for GroupCoordinate",1,["leo_ast::groups::group_coordinate::GroupCoordinate"]],["impl Send for GroupLiteral",1,["leo_ast::groups::group_literal::GroupLiteral"]],["impl Send for GroupTuple",1,["leo_ast::groups::group_literal::GroupTuple"]],["impl Send for Definition",1,["leo_ast::input::definition::Definition"]],["impl Send for InputData",1,["leo_ast::input::input_ast::InputData"]],["impl Send for InputAst",1,["leo_ast::input::input_ast::InputAst"]],["impl Send for InputValue",1,["leo_ast::input::input_value::InputValue"]],["impl Send for ProgramInput",1,["leo_ast::input::program_input::ProgramInput"]],["impl Send for Section",1,["leo_ast::input::section::Section"]],["impl Send for Mapping",1,["leo_ast::mapping::Mapping"]],["impl Send for ProgramId",1,["leo_ast::program::program_id::ProgramId"]],["impl Send for ProgramScope",1,["leo_ast::program::program_scope::ProgramScope"]],["impl Send for Program",1,["leo_ast::program::Program"]],["impl Send for AssertVariant",1,["leo_ast::statement::assert::AssertVariant"]],["impl Send for AssertStatement",1,["leo_ast::statement::assert::AssertStatement"]],["impl Send for AssignStatement",1,["leo_ast::statement::assign::AssignStatement"]],["impl Send for Block",1,["leo_ast::statement::block::Block"]],["impl Send for ConditionalStatement",1,["leo_ast::statement::conditional::ConditionalStatement"]],["impl Send for ConsoleFunction",1,["leo_ast::statement::console::console_function::ConsoleFunction"]],["impl Send for ConsoleStatement",1,["leo_ast::statement::console::console_statement::ConsoleStatement"]],["impl Send for ConstDeclaration",1,["leo_ast::statement::const_::ConstDeclaration"]],["impl Send for DeclarationType",1,["leo_ast::statement::definition::declaration_type::DeclarationType"]],["impl Send for DefinitionStatement",1,["leo_ast::statement::definition::DefinitionStatement"]],["impl Send for ExpressionStatement",1,["leo_ast::statement::expression::ExpressionStatement"]],["impl Send for IterationStatement",1,["leo_ast::statement::iteration::IterationStatement"]],["impl Send for ReturnStatement",1,["leo_ast::statement::return_::ReturnStatement"]],["impl Send for Statement",1,["leo_ast::statement::Statement"]],["impl Send for ArrayType",1,["leo_ast::types::array::ArrayType"]],["impl Send for CoreConstant",1,["leo_ast::types::core_constant::CoreConstant"]],["impl Send for IntegerType",1,["leo_ast::types::integer_type::IntegerType"]],["impl Send for MappingType",1,["leo_ast::types::mapping::MappingType"]],["impl Send for TupleType",1,["leo_ast::types::tuple::TupleType"]],["impl Send for Type",1,["leo_ast::types::type_::Type"]],["impl Send for Value",1,["leo_ast::value::Value"]],["impl Send for Ast",1,["leo_ast::Ast"]]], +"leo_compiler":[["impl<'a> !Send for Compiler<'a>",1,["leo_compiler::compiler::Compiler"]],["impl Send for CompilerOptions",1,["leo_compiler::options::CompilerOptions"]],["impl Send for BuildOptions",1,["leo_compiler::options::BuildOptions"]],["impl Send for OutputOptions",1,["leo_compiler::options::OutputOptions"]]], +"leo_errors":[["impl Send for Backtraced",1,["leo_errors::common::backtraced::Backtraced"]],["impl Send for Formatted",1,["leo_errors::common::formatted::Formatted"]],["impl Send for StderrEmitter",1,["leo_errors::emitter::StderrEmitter"]],["impl<T> Send for Buffer<T>where\n T: Send,",1,["leo_errors::emitter::Buffer"]],["impl !Send for BufferEmitter",1,["leo_errors::emitter::BufferEmitter"]],["impl !Send for HandlerInner",1,["leo_errors::emitter::HandlerInner"]],["impl !Send for Handler",1,["leo_errors::emitter::Handler"]],["impl Send for AstError",1,["leo_errors::errors::ast::ast_errors::AstError"]],["impl Send for CliError",1,["leo_errors::errors::cli::cli_errors::CliError"]],["impl Send for CompilerError",1,["leo_errors::errors::compiler::compiler_errors::CompilerError"]],["impl Send for FlattenError",1,["leo_errors::errors::flattener::flattener_errors::FlattenError"]],["impl Send for InputError",1,["leo_errors::errors::input::input_errors::InputError"]],["impl Send for LoopUnrollerError",1,["leo_errors::errors::loop_unroller::loop_unroller_errors::LoopUnrollerError"]],["impl Send for PackageError",1,["leo_errors::errors::package::package_errors::PackageError"]],["impl Send for ParserError",1,["leo_errors::errors::parser::parser_errors::ParserError"]],["impl Send for ParserWarning",1,["leo_errors::errors::parser::parser_warnings::ParserWarning"]],["impl Send for TypeCheckerError",1,["leo_errors::errors::type_checker::type_checker_error::TypeCheckerError"]],["impl Send for LeoError",1,["leo_errors::errors::LeoError"]],["impl Send for LeoWarning",1,["leo_errors::errors::LeoWarning"]]], +"leo_lang":[["impl Send for CLI",1,["leo_lang::cli::cli::CLI"]],["impl Send for Commands",1,["leo_lang::cli::cli::Commands"]],["impl Send for Account",1,["leo_lang::cli::commands::account::Account"]],["impl Send for Build",1,["leo_lang::cli::commands::build::Build"]],["impl Send for Clean",1,["leo_lang::cli::commands::clean::Clean"]],["impl Send for Example",1,["leo_lang::cli::commands::example::Example"]],["impl Send for Execute",1,["leo_lang::cli::commands::execute::Execute"]],["impl Send for New",1,["leo_lang::cli::commands::new::New"]],["impl Send for Run",1,["leo_lang::cli::commands::run::Run"]],["impl Send for Update",1,["leo_lang::cli::commands::update::Update"]],["impl Send for BuildOptions",1,["leo_lang::cli::commands::BuildOptions"]],["impl Send for Context",1,["leo_lang::cli::helpers::context::Context"]],["impl<F, T> Send for Format<F, T>where\n F: Send,\n T: Send,",1,["leo_lang::cli::helpers::logger::Format"]],["impl Send for Updater",1,["leo_lang::cli::helpers::updater::Updater"]]], +"leo_package":[["impl Send for BuildDirectory",1,["leo_package::build::directory::BuildDirectory"]],["impl Send for ImportsDirectory",1,["leo_package::imports::directory::ImportsDirectory"]],["impl Send for InputsDirectory",1,["leo_package::inputs::directory::InputsDirectory"]],["impl Send for InputFile",1,["leo_package::inputs::input::InputFile"]],["impl Send for Snapshot",1,["leo_package::outputs::ast_snapshot::Snapshot"]],["impl Send for SnapshotFile",1,["leo_package::outputs::ast_snapshot::SnapshotFile"]],["impl Send for CircuitFile",1,["leo_package::outputs::circuit::CircuitFile"]],["impl Send for ChecksumFile",1,["leo_package::outputs::checksum::ChecksumFile"]],["impl Send for OutputsDirectory",1,["leo_package::outputs::directory::OutputsDirectory"]],["impl<N> Send for Package<N>",1,["leo_package::package::Package"]],["impl<N> Send for Env<N>",1,["leo_package::root::env::Env"]],["impl Send for Gitignore",1,["leo_package::root::gitignore::Gitignore"]],["impl Send for SourceDirectory",1,["leo_package::source::directory::SourceDirectory"]],["impl Send for MainFile",1,["leo_package::source::main::MainFile"]]], +"leo_parser":[["impl Send for Token",1,["leo_parser::tokenizer::token::Token"]],["impl Send for Delimiter",1,["leo_parser::tokenizer::token::Delimiter"]],["impl Send for SpannedToken",1,["leo_parser::tokenizer::lexer::SpannedToken"]],["impl<'a> !Send for ParserContext<'a>",1,["leo_parser::parser::context::ParserContext"]]], +"leo_passes":[["impl<'a> !Send for CodeGenerator<'a>",1,["leo_passes::code_generation::generator::CodeGenerator"]],["impl Send for Assigner",1,["leo_passes::common::assigner::Assigner"]],["impl Send for AssignerInner",1,["leo_passes::common::assigner::AssignerInner"]],["impl<N> Send for DiGraphError<N>where\n N: Send,",1,["leo_passes::common::graph::DiGraphError"]],["impl<N> Send for DiGraph<N>where\n N: Send,",1,["leo_passes::common::graph::DiGraph"]],["impl Send for RenameTable",1,["leo_passes::common::rename_table::RenameTable"]],["impl<F> Send for Replacer<F>where\n F: Send,",1,["leo_passes::common::replacer::Replacer"]],["impl Send for ConstantPropagationTable",1,["leo_passes::common::constant_propagation_table::ConstantPropagationTable"]],["impl Send for FinalizeData",1,["leo_passes::common::symbol_table::function_symbol::FinalizeData"]],["impl Send for FunctionSymbol",1,["leo_passes::common::symbol_table::function_symbol::FunctionSymbol"]],["impl Send for VariableType",1,["leo_passes::common::symbol_table::variable_symbol::VariableType"]],["impl Send for VariableSymbol",1,["leo_passes::common::symbol_table::variable_symbol::VariableSymbol"]],["impl Send for SymbolTable",1,["leo_passes::common::symbol_table::SymbolTable"]],["impl Send for TypeTable",1,["leo_passes::common::type_table::TypeTable"]],["impl<'a> !Send for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["impl<'a> !Send for Destructurer<'a>",1,["leo_passes::destructuring::destructurer::Destructurer"]],["impl<'a> !Send for Flattener<'a>",1,["leo_passes::flattening::flattener::Flattener"]],["impl<'a> !Send for AssignmentRenamer<'a>",1,["leo_passes::function_inlining::assignment_renamer::AssignmentRenamer"]],["impl<'a> !Send for FunctionInliner<'a>",1,["leo_passes::function_inlining::function_inliner::FunctionInliner"]],["impl Send for Clusivity",1,["leo_passes::loop_unrolling::range_iterator::Clusivity"]],["impl<I> Send for RangeIterator<I>where\n I: Send,",1,["leo_passes::loop_unrolling::range_iterator::RangeIterator"]],["impl<'a> !Send for Unroller<'a>",1,["leo_passes::loop_unrolling::unroller::Unroller"]],["impl<'a> !Send for StaticSingleAssigner<'a>",1,["leo_passes::static_single_assignment::static_single_assigner::StaticSingleAssigner"]],["impl<'a> !Send for SymbolTableCreator<'a>",1,["leo_passes::symbol_table_creation::creator::SymbolTableCreator"]],["impl<'a> !Send for TypeChecker<'a>",1,["leo_passes::type_checking::checker::TypeChecker"]]], +"leo_span":[["impl Send for Symbol",1,["leo_span::symbol::Symbol"]],["impl !Send for SessionGlobals",1,["leo_span::symbol::SessionGlobals"]],["impl Send for InternedStr",1,["leo_span::symbol::InternedStr"]],["impl Send for InnerInterner",1,["leo_span::symbol::InnerInterner"]],["impl Send for Interner",1,["leo_span::symbol::Interner"]],["impl Send for Span",1,["leo_span::span::Span"]],["impl Send for BytePos",1,["leo_span::span::BytePos"]],["impl Send for CharPos",1,["leo_span::span::CharPos"]],["impl Send for SpanMapVisitor",1,["leo_span::span_json::SpanMapVisitor"]],["impl !Send for SourceMap",1,["leo_span::source_map::SourceMap"]],["impl !Send for SourceMapInner",1,["leo_span::source_map::SourceMapInner"]],["impl Send for FileName",1,["leo_span::source_map::FileName"]],["impl Send for SourceFile",1,["leo_span::source_map::SourceFile"]],["impl !Send for SpanLocation",1,["leo_span::source_map::SpanLocation"]],["impl !Send for LineCol",1,["leo_span::source_map::LineCol"]],["impl Send for MultiByteChar",1,["leo_span::source_map::MultiByteChar"]]], +"leo_test_framework":[["impl Send for TestFailure",1,["leo_test_framework::error::TestFailure"]],["impl Send for TestError",1,["leo_test_framework::error::TestError"]],["impl Send for TestExpectation",1,["leo_test_framework::output::TestExpectation"]],["impl Send for ParseType",1,["leo_test_framework::runner::ParseType"]],["impl Send for Test",1,["leo_test_framework::runner::Test"]],["impl Send for TestCases",1,["leo_test_framework::runner::TestCases"]],["impl Send for TestExpectationMode",1,["leo_test_framework::test::TestExpectationMode"]],["impl Send for TestConfig",1,["leo_test_framework::test::TestConfig"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/marker/trait.StructuralEq.js b/trait.impl/core/marker/trait.StructuralEq.js new file mode 100644 index 0000000000..9c78c42230 --- /dev/null +++ b/trait.impl/core/marker/trait.StructuralEq.js @@ -0,0 +1,7 @@ +(function() {var implementors = { +"leo_ast":[["impl StructuralEq for IntegerType"],["impl StructuralEq for AssignStatement"],["impl StructuralEq for Member"],["impl StructuralEq for Value"],["impl StructuralEq for FunctionOutput"],["impl StructuralEq for Finalize"],["impl StructuralEq for ArrayAccess"],["impl StructuralEq for StructVariableInitializer"],["impl StructuralEq for External"],["impl StructuralEq for AssociatedFunction"],["impl StructuralEq for Block"],["impl StructuralEq for CoreConstant"],["impl StructuralEq for GroupCoordinate"],["impl StructuralEq for ConstDeclaration"],["impl StructuralEq for UnaryExpression"],["impl StructuralEq for Mapping"],["impl StructuralEq for GroupLiteral"],["impl StructuralEq for TupleType"],["impl StructuralEq for ConsoleFunction"],["impl StructuralEq for TupleExpression"],["impl StructuralEq for Ast"],["impl StructuralEq for ConsoleStatement"],["impl StructuralEq for Mode"],["impl StructuralEq for Type"],["impl StructuralEq for FunctionInput"],["impl StructuralEq for CallExpression"],["impl StructuralEq for CoreFunction"],["impl StructuralEq for TernaryExpression"],["impl StructuralEq for InputValue"],["impl StructuralEq for DeclarationType"],["impl StructuralEq for UnitExpression"],["impl StructuralEq for MappingType"],["impl StructuralEq for ArrayExpression"],["impl StructuralEq for TupleAccess"],["impl StructuralEq for Definition"],["impl StructuralEq for AssertStatement"],["impl StructuralEq for ConditionalStatement"],["impl StructuralEq for BinaryOperation"],["impl StructuralEq for DefinitionStatement"],["impl StructuralEq for BinaryExpression"],["impl StructuralEq for UnaryOperation"],["impl StructuralEq for Statement"],["impl StructuralEq for Expression"],["impl StructuralEq for NonNegativeNumber"],["impl StructuralEq for ErrExpression"],["impl StructuralEq for ArrayType"],["impl StructuralEq for Literal"],["impl StructuralEq for Variant"],["impl StructuralEq for ExpressionStatement"],["impl StructuralEq for ProgramScope"],["impl StructuralEq for StructExpression"],["impl StructuralEq for ProgramId"],["impl StructuralEq for Output"],["impl StructuralEq for IterationStatement"],["impl StructuralEq for Program"],["impl StructuralEq for ReturnStatement"],["impl StructuralEq for AccessExpression"],["impl StructuralEq for StaticString"],["impl StructuralEq for AssertVariant"],["impl StructuralEq for CastExpression"],["impl StructuralEq for Input"],["impl StructuralEq for Annotation"],["impl StructuralEq for AssociatedConstant"],["impl StructuralEq for GroupTuple"],["impl StructuralEq for MemberAccess"]], +"leo_parser":[["impl StructuralEq for Token"]], +"leo_passes":[["impl StructuralEq for VariableType"],["impl StructuralEq for VariableSymbol"],["impl StructuralEq for RenameTable"]], +"leo_span":[["impl StructuralEq for Span"],["impl StructuralEq for MultiByteChar"],["impl StructuralEq for CharPos"],["impl StructuralEq for Symbol"],["impl StructuralEq for BytePos"],["impl StructuralEq for InternedStr"]], +"leo_test_framework":[["impl StructuralEq for TestExpectationMode"],["impl StructuralEq for ParseType"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/marker/trait.StructuralPartialEq.js b/trait.impl/core/marker/trait.StructuralPartialEq.js new file mode 100644 index 0000000000..d903a76847 --- /dev/null +++ b/trait.impl/core/marker/trait.StructuralPartialEq.js @@ -0,0 +1,8 @@ +(function() {var implementors = { +"leo_ast":[["impl StructuralPartialEq for Block"],["impl StructuralPartialEq for BinaryExpression"],["impl StructuralPartialEq for Mode"],["impl StructuralPartialEq for ConsoleFunction"],["impl StructuralPartialEq for External"],["impl StructuralPartialEq for UnaryOperation"],["impl StructuralPartialEq for Annotation"],["impl StructuralPartialEq for ConsoleStatement"],["impl StructuralPartialEq for ConstDeclaration"],["impl StructuralPartialEq for ConditionalStatement"],["impl StructuralPartialEq for ArrayAccess"],["impl StructuralPartialEq for CoreConstant"],["impl StructuralPartialEq for IterationStatement"],["impl StructuralPartialEq for DeclarationType"],["impl StructuralPartialEq for TernaryExpression"],["impl StructuralPartialEq for AssignStatement"],["impl StructuralPartialEq for AssociatedFunction"],["impl StructuralPartialEq for Program"],["impl StructuralPartialEq for TupleExpression"],["impl StructuralPartialEq for CallExpression"],["impl StructuralPartialEq for CoreFunction"],["impl StructuralPartialEq for UnitExpression"],["impl StructuralPartialEq for GroupLiteral"],["impl StructuralPartialEq for ProgramId"],["impl StructuralPartialEq for Statement"],["impl StructuralPartialEq for Variant"],["impl StructuralPartialEq for Expression"],["impl StructuralPartialEq for CastExpression"],["impl StructuralPartialEq for UnaryExpression"],["impl StructuralPartialEq for Input"],["impl StructuralPartialEq for AssociatedConstant"],["impl StructuralPartialEq for StructExpression"],["impl StructuralPartialEq for StructVariableInitializer"],["impl StructuralPartialEq for Type"],["impl StructuralPartialEq for AssertVariant"],["impl StructuralPartialEq for TupleType"],["impl StructuralPartialEq for Mapping"],["impl StructuralPartialEq for FunctionInput"],["impl StructuralPartialEq for ExpressionStatement"],["impl StructuralPartialEq for FunctionOutput"],["impl StructuralPartialEq for NonNegativeNumber"],["impl StructuralPartialEq for Member"],["impl StructuralPartialEq for Value"],["impl StructuralPartialEq for IntegerType"],["impl StructuralPartialEq for ArrayType"],["impl StructuralPartialEq for Finalize"],["impl StructuralPartialEq for BinaryOperation"],["impl StructuralPartialEq for InputValue"],["impl StructuralPartialEq for GroupCoordinate"],["impl StructuralPartialEq for Definition"],["impl StructuralPartialEq for DefinitionStatement"],["impl StructuralPartialEq for Output"],["impl StructuralPartialEq for ErrExpression"],["impl StructuralPartialEq for MemberAccess"],["impl StructuralPartialEq for ArrayExpression"],["impl StructuralPartialEq for AccessExpression"],["impl StructuralPartialEq for ReturnStatement"],["impl StructuralPartialEq for ProgramScope"],["impl StructuralPartialEq for TupleAccess"],["impl StructuralPartialEq for Literal"],["impl StructuralPartialEq for MappingType"],["impl StructuralPartialEq for Ast"],["impl StructuralPartialEq for GroupTuple"],["impl StructuralPartialEq for StaticString"],["impl StructuralPartialEq for AssertStatement"]], +"leo_errors":[["impl StructuralPartialEq for Formatted"]], +"leo_parser":[["impl StructuralPartialEq for Token"]], +"leo_passes":[["impl StructuralPartialEq for RenameTable"],["impl StructuralPartialEq for VariableType"],["impl StructuralPartialEq for VariableSymbol"]], +"leo_span":[["impl StructuralPartialEq for BytePos"],["impl StructuralPartialEq for Span"],["impl StructuralPartialEq for CharPos"],["impl StructuralPartialEq for MultiByteChar"],["impl StructuralPartialEq for Symbol"]], +"leo_test_framework":[["impl StructuralPartialEq for TestExpectationMode"],["impl StructuralPartialEq for ParseType"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Sync.js b/trait.impl/core/marker/trait.Sync.js similarity index 81% rename from implementors/core/marker/trait.Sync.js rename to trait.impl/core/marker/trait.Sync.js index d30b6da9c5..ff7231d36a 100644 --- a/implementors/core/marker/trait.Sync.js +++ b/trait.impl/core/marker/trait.Sync.js @@ -1,12 +1,12 @@ (function() {var implementors = { -"leo_abnf":[["impl Sync for Scope",1,["leo_abnf::Scope"]],["impl<'a> Sync for Processor<'a>",1,["leo_abnf::Processor"]]], -"leo_ast":[["impl Sync for ArrayAccess",1,["leo_ast::access::array_access::ArrayAccess"]],["impl Sync for AssociatedConstant",1,["leo_ast::access::associated_constant_access::AssociatedConstant"]],["impl Sync for AssociatedFunction",1,["leo_ast::access::associated_function_access::AssociatedFunction"]],["impl Sync for MemberAccess",1,["leo_ast::access::member_access::MemberAccess"]],["impl Sync for TupleAccess",1,["leo_ast::access::tuple_access::TupleAccess"]],["impl Sync for Member",1,["leo_ast::struct::member::Member"]],["impl Sync for Struct",1,["leo_ast::struct::Struct"]],["impl Sync for Identifier",1,["leo_ast::common::identifier::Identifier"]],["impl Sync for NonNegativeNumber",1,["leo_ast::common::positive_number::NonNegativeNumber"]],["impl !Sync for NodeBuilder",1,["leo_ast::common::node_builder::NodeBuilder"]],["impl Sync for NodeBuilderInner",1,["leo_ast::common::node_builder::NodeBuilderInner"]],["impl Sync for StaticString",1,["leo_ast::common::static_string::StaticString"]],["impl Sync for AccessExpression",1,["leo_ast::expressions::access::AccessExpression"]],["impl Sync for ArrayExpression",1,["leo_ast::expressions::array::ArrayExpression"]],["impl Sync for BinaryOperation",1,["leo_ast::expressions::binary::BinaryOperation"]],["impl Sync for BinaryExpression",1,["leo_ast::expressions::binary::BinaryExpression"]],["impl Sync for CallExpression",1,["leo_ast::expressions::call::CallExpression"]],["impl Sync for CastExpression",1,["leo_ast::expressions::cast::CastExpression"]],["impl Sync for StructVariableInitializer",1,["leo_ast::expressions::struct_init::StructVariableInitializer"]],["impl Sync for StructExpression",1,["leo_ast::expressions::struct_init::StructExpression"]],["impl Sync for ErrExpression",1,["leo_ast::expressions::err::ErrExpression"]],["impl Sync for TernaryExpression",1,["leo_ast::expressions::ternary::TernaryExpression"]],["impl Sync for TupleExpression",1,["leo_ast::expressions::tuple::TupleExpression"]],["impl Sync for UnaryOperation",1,["leo_ast::expressions::unary::UnaryOperation"]],["impl Sync for UnaryExpression",1,["leo_ast::expressions::unary::UnaryExpression"]],["impl Sync for UnitExpression",1,["leo_ast::expressions::unit::UnitExpression"]],["impl Sync for Literal",1,["leo_ast::expressions::literal::Literal"]],["impl Sync for Expression",1,["leo_ast::expressions::Expression"]],["impl Sync for Annotation",1,["leo_ast::functions::annotation::Annotation"]],["impl Sync for CoreFunction",1,["leo_ast::functions::core_function::CoreFunction"]],["impl Sync for Variant",1,["leo_ast::functions::variant::Variant"]],["impl Sync for External",1,["leo_ast::functions::external::External"]],["impl !Sync for Finalize",1,["leo_ast::functions::finalize::Finalize"]],["impl Sync for Input",1,["leo_ast::functions::input::Input"]],["impl Sync for FunctionInput",1,["leo_ast::functions::input::FunctionInput"]],["impl Sync for Output",1,["leo_ast::functions::output::Output"]],["impl Sync for FunctionOutput",1,["leo_ast::functions::output::FunctionOutput"]],["impl Sync for Mode",1,["leo_ast::functions::mode::Mode"]],["impl !Sync for Function",1,["leo_ast::functions::Function"]],["impl Sync for GroupCoordinate",1,["leo_ast::groups::group_coordinate::GroupCoordinate"]],["impl Sync for GroupLiteral",1,["leo_ast::groups::group_literal::GroupLiteral"]],["impl Sync for GroupTuple",1,["leo_ast::groups::group_literal::GroupTuple"]],["impl Sync for Definition",1,["leo_ast::input::definition::Definition"]],["impl Sync for InputData",1,["leo_ast::input::input_ast::InputData"]],["impl Sync for InputAst",1,["leo_ast::input::input_ast::InputAst"]],["impl Sync for InputValue",1,["leo_ast::input::input_value::InputValue"]],["impl Sync for ProgramInput",1,["leo_ast::input::program_input::ProgramInput"]],["impl Sync for Section",1,["leo_ast::input::section::Section"]],["impl Sync for Mapping",1,["leo_ast::mapping::Mapping"]],["impl Sync for ProgramId",1,["leo_ast::program::program_id::ProgramId"]],["impl !Sync for ProgramScope",1,["leo_ast::program::program_scope::ProgramScope"]],["impl !Sync for Program",1,["leo_ast::program::Program"]],["impl Sync for AssertVariant",1,["leo_ast::statement::assert::AssertVariant"]],["impl Sync for AssertStatement",1,["leo_ast::statement::assert::AssertStatement"]],["impl Sync for AssignStatement",1,["leo_ast::statement::assign::AssignStatement"]],["impl !Sync for Block",1,["leo_ast::statement::block::Block"]],["impl !Sync for ConditionalStatement",1,["leo_ast::statement::conditional::ConditionalStatement"]],["impl Sync for ConsoleFunction",1,["leo_ast::statement::console::console_function::ConsoleFunction"]],["impl Sync for ConsoleStatement",1,["leo_ast::statement::console::console_statement::ConsoleStatement"]],["impl Sync for ConstDeclaration",1,["leo_ast::statement::const_::ConstDeclaration"]],["impl Sync for DeclarationType",1,["leo_ast::statement::definition::declaration_type::DeclarationType"]],["impl Sync for DefinitionStatement",1,["leo_ast::statement::definition::DefinitionStatement"]],["impl Sync for ExpressionStatement",1,["leo_ast::statement::expression::ExpressionStatement"]],["impl !Sync for IterationStatement",1,["leo_ast::statement::iteration::IterationStatement"]],["impl Sync for ReturnStatement",1,["leo_ast::statement::return_::ReturnStatement"]],["impl !Sync for Statement",1,["leo_ast::statement::Statement"]],["impl Sync for ArrayType",1,["leo_ast::types::array::ArrayType"]],["impl Sync for CoreConstant",1,["leo_ast::types::core_constant::CoreConstant"]],["impl Sync for IntegerType",1,["leo_ast::types::integer_type::IntegerType"]],["impl Sync for MappingType",1,["leo_ast::types::mapping::MappingType"]],["impl Sync for TupleType",1,["leo_ast::types::tuple::TupleType"]],["impl Sync for Type",1,["leo_ast::types::type_::Type"]],["impl Sync for Value",1,["leo_ast::value::Value"]],["impl !Sync for Ast",1,["leo_ast::Ast"]]], -"leo_compiler":[["impl<'a> !Sync for Compiler<'a>",1,["leo_compiler::compiler::Compiler"]],["impl Sync for CompilerOptions",1,["leo_compiler::options::CompilerOptions"]],["impl Sync for BuildOptions",1,["leo_compiler::options::BuildOptions"]],["impl Sync for OutputOptions",1,["leo_compiler::options::OutputOptions"]]], -"leo_errors":[["impl Sync for Backtraced",1,["leo_errors::common::backtraced::Backtraced"]],["impl Sync for Formatted",1,["leo_errors::common::formatted::Formatted"]],["impl Sync for StderrEmitter",1,["leo_errors::emitter::StderrEmitter"]],["impl<T> Sync for Buffer<T>where\n T: Sync,",1,["leo_errors::emitter::Buffer"]],["impl !Sync for BufferEmitter",1,["leo_errors::emitter::BufferEmitter"]],["impl !Sync for HandlerInner",1,["leo_errors::emitter::HandlerInner"]],["impl !Sync for Handler",1,["leo_errors::emitter::Handler"]],["impl Sync for AstError",1,["leo_errors::errors::ast::ast_errors::AstError"]],["impl Sync for CliError",1,["leo_errors::errors::cli::cli_errors::CliError"]],["impl Sync for CompilerError",1,["leo_errors::errors::compiler::compiler_errors::CompilerError"]],["impl Sync for FlattenError",1,["leo_errors::errors::flattener::flattener_errors::FlattenError"]],["impl Sync for InputError",1,["leo_errors::errors::input::input_errors::InputError"]],["impl Sync for LoopUnrollerError",1,["leo_errors::errors::loop_unroller::loop_unroller_errors::LoopUnrollerError"]],["impl Sync for PackageError",1,["leo_errors::errors::package::package_errors::PackageError"]],["impl Sync for ParserError",1,["leo_errors::errors::parser::parser_errors::ParserError"]],["impl Sync for ParserWarning",1,["leo_errors::errors::parser::parser_warnings::ParserWarning"]],["impl Sync for TypeCheckerError",1,["leo_errors::errors::type_checker::type_checker_error::TypeCheckerError"]],["impl Sync for LeoError",1,["leo_errors::errors::LeoError"]],["impl Sync for LeoWarning",1,["leo_errors::errors::LeoWarning"]]], -"leo_lang":[["impl Sync for CLI",1,["leo_lang::cli::cli::CLI"]],["impl Sync for Commands",1,["leo_lang::cli::cli::Commands"]],["impl Sync for Account",1,["leo_lang::cli::commands::account::Account"]],["impl Sync for Build",1,["leo_lang::cli::commands::build::Build"]],["impl Sync for Clean",1,["leo_lang::cli::commands::clean::Clean"]],["impl Sync for Example",1,["leo_lang::cli::commands::example::Example"]],["impl Sync for Execute",1,["leo_lang::cli::commands::execute::Execute"]],["impl Sync for New",1,["leo_lang::cli::commands::new::New"]],["impl Sync for Run",1,["leo_lang::cli::commands::run::Run"]],["impl Sync for Update",1,["leo_lang::cli::commands::update::Update"]],["impl Sync for BuildOptions",1,["leo_lang::cli::commands::BuildOptions"]],["impl Sync for Context",1,["leo_lang::cli::helpers::context::Context"]],["impl<F, T> Sync for Format<F, T>where\n F: Sync,\n T: Sync,",1,["leo_lang::cli::helpers::logger::Format"]],["impl Sync for Updater",1,["leo_lang::cli::helpers::updater::Updater"]]], -"leo_package":[["impl Sync for BuildDirectory",1,["leo_package::build::directory::BuildDirectory"]],["impl Sync for ImportsDirectory",1,["leo_package::imports::directory::ImportsDirectory"]],["impl Sync for InputsDirectory",1,["leo_package::inputs::directory::InputsDirectory"]],["impl Sync for InputFile",1,["leo_package::inputs::input::InputFile"]],["impl Sync for Snapshot",1,["leo_package::outputs::ast_snapshot::Snapshot"]],["impl Sync for SnapshotFile",1,["leo_package::outputs::ast_snapshot::SnapshotFile"]],["impl Sync for CircuitFile",1,["leo_package::outputs::circuit::CircuitFile"]],["impl Sync for ChecksumFile",1,["leo_package::outputs::checksum::ChecksumFile"]],["impl Sync for OutputsDirectory",1,["leo_package::outputs::directory::OutputsDirectory"]],["impl<N> Sync for Package<N>",1,["leo_package::package::Package"]],["impl<N> Sync for Env<N>",1,["leo_package::root::env::Env"]],["impl Sync for Gitignore",1,["leo_package::root::gitignore::Gitignore"]],["impl Sync for SourceDirectory",1,["leo_package::source::directory::SourceDirectory"]],["impl Sync for MainFile",1,["leo_package::source::main::MainFile"]]], -"leo_parser":[["impl Sync for Token",1,["leo_parser::tokenizer::token::Token"]],["impl Sync for Delimiter",1,["leo_parser::tokenizer::token::Delimiter"]],["impl Sync for SpannedToken",1,["leo_parser::tokenizer::lexer::SpannedToken"]],["impl<'a> !Sync for ParserContext<'a>",1,["leo_parser::parser::context::ParserContext"]]], -"leo_passes":[["impl<'a> !Sync for CodeGenerator<'a>",1,["leo_passes::code_generation::generator::CodeGenerator"]],["impl !Sync for Assigner",1,["leo_passes::common::assigner::Assigner"]],["impl Sync for AssignerInner",1,["leo_passes::common::assigner::AssignerInner"]],["impl<N> Sync for DiGraphError<N>where\n N: Sync,",1,["leo_passes::common::graph::DiGraphError"]],["impl<N> Sync for DiGraph<N>where\n N: Sync,",1,["leo_passes::common::graph::DiGraph"]],["impl Sync for RenameTable",1,["leo_passes::common::rename_table::RenameTable"]],["impl<F> Sync for Replacer<F>where\n F: Sync,",1,["leo_passes::common::replacer::Replacer"]],["impl !Sync for ConstantPropagationTable",1,["leo_passes::common::constant_propagation_table::ConstantPropagationTable"]],["impl Sync for FinalizeData",1,["leo_passes::common::symbol_table::function_symbol::FinalizeData"]],["impl Sync for FunctionSymbol",1,["leo_passes::common::symbol_table::function_symbol::FunctionSymbol"]],["impl Sync for VariableType",1,["leo_passes::common::symbol_table::variable_symbol::VariableType"]],["impl Sync for VariableSymbol",1,["leo_passes::common::symbol_table::variable_symbol::VariableSymbol"]],["impl !Sync for SymbolTable",1,["leo_passes::common::symbol_table::SymbolTable"]],["impl !Sync for TypeTable",1,["leo_passes::common::type_table::TypeTable"]],["impl<'a> !Sync for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["impl<'a> !Sync for Destructurer<'a>",1,["leo_passes::destructuring::destructurer::Destructurer"]],["impl<'a> !Sync for Flattener<'a>",1,["leo_passes::flattening::flattener::Flattener"]],["impl<'a> !Sync for AssignmentRenamer<'a>",1,["leo_passes::function_inlining::assignment_renamer::AssignmentRenamer"]],["impl<'a> !Sync for FunctionInliner<'a>",1,["leo_passes::function_inlining::function_inliner::FunctionInliner"]],["impl Sync for Clusivity",1,["leo_passes::loop_unrolling::range_iterator::Clusivity"]],["impl<I> Sync for RangeIterator<I>where\n I: Sync,",1,["leo_passes::loop_unrolling::range_iterator::RangeIterator"]],["impl<'a> !Sync for Unroller<'a>",1,["leo_passes::loop_unrolling::unroller::Unroller"]],["impl<'a> !Sync for StaticSingleAssigner<'a>",1,["leo_passes::static_single_assignment::static_single_assigner::StaticSingleAssigner"]],["impl<'a> !Sync for SymbolTableCreator<'a>",1,["leo_passes::symbol_table_creation::creator::SymbolTableCreator"]],["impl<'a> !Sync for TypeChecker<'a>",1,["leo_passes::type_checking::checker::TypeChecker"]]], -"leo_span":[["impl Sync for Symbol",1,["leo_span::symbol::Symbol"]],["impl !Sync for SessionGlobals",1,["leo_span::symbol::SessionGlobals"]],["impl Sync for InternedStr",1,["leo_span::symbol::InternedStr"]],["impl Sync for InnerInterner",1,["leo_span::symbol::InnerInterner"]],["impl !Sync for Interner",1,["leo_span::symbol::Interner"]],["impl Sync for Span",1,["leo_span::span::Span"]],["impl Sync for BytePos",1,["leo_span::span::BytePos"]],["impl Sync for CharPos",1,["leo_span::span::CharPos"]],["impl Sync for SpanMapVisitor",1,["leo_span::span_json::SpanMapVisitor"]],["impl !Sync for SourceMap",1,["leo_span::source_map::SourceMap"]],["impl !Sync for SourceMapInner",1,["leo_span::source_map::SourceMapInner"]],["impl Sync for FileName",1,["leo_span::source_map::FileName"]],["impl Sync for SourceFile",1,["leo_span::source_map::SourceFile"]],["impl !Sync for SpanLocation",1,["leo_span::source_map::SpanLocation"]],["impl !Sync for LineCol",1,["leo_span::source_map::LineCol"]],["impl Sync for MultiByteChar",1,["leo_span::source_map::MultiByteChar"]]], -"leo_test_framework":[["impl Sync for TestFailure",1,["leo_test_framework::error::TestFailure"]],["impl Sync for TestError",1,["leo_test_framework::error::TestError"]],["impl Sync for TestExpectation",1,["leo_test_framework::output::TestExpectation"]],["impl Sync for ParseType",1,["leo_test_framework::runner::ParseType"]],["impl Sync for Test",1,["leo_test_framework::runner::Test"]],["impl Sync for TestCases",1,["leo_test_framework::runner::TestCases"]],["impl Sync for TestExpectationMode",1,["leo_test_framework::test::TestExpectationMode"]],["impl Sync for TestConfig",1,["leo_test_framework::test::TestConfig"]]] +"leo_abnf":[["impl Sync for Scope",1,["leo_abnf::Scope"]],["impl<'a> Sync for Processor<'a>",1,["leo_abnf::Processor"]]], +"leo_ast":[["impl Sync for ArrayAccess",1,["leo_ast::access::array_access::ArrayAccess"]],["impl Sync for AssociatedConstant",1,["leo_ast::access::associated_constant_access::AssociatedConstant"]],["impl Sync for AssociatedFunction",1,["leo_ast::access::associated_function_access::AssociatedFunction"]],["impl Sync for MemberAccess",1,["leo_ast::access::member_access::MemberAccess"]],["impl Sync for TupleAccess",1,["leo_ast::access::tuple_access::TupleAccess"]],["impl Sync for Member",1,["leo_ast::struct::member::Member"]],["impl Sync for Struct",1,["leo_ast::struct::Struct"]],["impl Sync for Identifier",1,["leo_ast::common::identifier::Identifier"]],["impl Sync for NonNegativeNumber",1,["leo_ast::common::positive_number::NonNegativeNumber"]],["impl !Sync for NodeBuilder",1,["leo_ast::common::node_builder::NodeBuilder"]],["impl Sync for NodeBuilderInner",1,["leo_ast::common::node_builder::NodeBuilderInner"]],["impl Sync for StaticString",1,["leo_ast::common::static_string::StaticString"]],["impl Sync for AccessExpression",1,["leo_ast::expressions::access::AccessExpression"]],["impl Sync for ArrayExpression",1,["leo_ast::expressions::array::ArrayExpression"]],["impl Sync for BinaryOperation",1,["leo_ast::expressions::binary::BinaryOperation"]],["impl Sync for BinaryExpression",1,["leo_ast::expressions::binary::BinaryExpression"]],["impl Sync for CallExpression",1,["leo_ast::expressions::call::CallExpression"]],["impl Sync for CastExpression",1,["leo_ast::expressions::cast::CastExpression"]],["impl Sync for StructVariableInitializer",1,["leo_ast::expressions::struct_init::StructVariableInitializer"]],["impl Sync for StructExpression",1,["leo_ast::expressions::struct_init::StructExpression"]],["impl Sync for ErrExpression",1,["leo_ast::expressions::err::ErrExpression"]],["impl Sync for TernaryExpression",1,["leo_ast::expressions::ternary::TernaryExpression"]],["impl Sync for TupleExpression",1,["leo_ast::expressions::tuple::TupleExpression"]],["impl Sync for UnaryOperation",1,["leo_ast::expressions::unary::UnaryOperation"]],["impl Sync for UnaryExpression",1,["leo_ast::expressions::unary::UnaryExpression"]],["impl Sync for UnitExpression",1,["leo_ast::expressions::unit::UnitExpression"]],["impl Sync for Literal",1,["leo_ast::expressions::literal::Literal"]],["impl Sync for Expression",1,["leo_ast::expressions::Expression"]],["impl Sync for Annotation",1,["leo_ast::functions::annotation::Annotation"]],["impl Sync for CoreFunction",1,["leo_ast::functions::core_function::CoreFunction"]],["impl Sync for Variant",1,["leo_ast::functions::variant::Variant"]],["impl Sync for External",1,["leo_ast::functions::external::External"]],["impl !Sync for Finalize",1,["leo_ast::functions::finalize::Finalize"]],["impl Sync for Input",1,["leo_ast::functions::input::Input"]],["impl Sync for FunctionInput",1,["leo_ast::functions::input::FunctionInput"]],["impl Sync for Output",1,["leo_ast::functions::output::Output"]],["impl Sync for FunctionOutput",1,["leo_ast::functions::output::FunctionOutput"]],["impl Sync for Mode",1,["leo_ast::functions::mode::Mode"]],["impl !Sync for Function",1,["leo_ast::functions::Function"]],["impl Sync for GroupCoordinate",1,["leo_ast::groups::group_coordinate::GroupCoordinate"]],["impl Sync for GroupLiteral",1,["leo_ast::groups::group_literal::GroupLiteral"]],["impl Sync for GroupTuple",1,["leo_ast::groups::group_literal::GroupTuple"]],["impl Sync for Definition",1,["leo_ast::input::definition::Definition"]],["impl Sync for InputData",1,["leo_ast::input::input_ast::InputData"]],["impl Sync for InputAst",1,["leo_ast::input::input_ast::InputAst"]],["impl Sync for InputValue",1,["leo_ast::input::input_value::InputValue"]],["impl Sync for ProgramInput",1,["leo_ast::input::program_input::ProgramInput"]],["impl Sync for Section",1,["leo_ast::input::section::Section"]],["impl Sync for Mapping",1,["leo_ast::mapping::Mapping"]],["impl Sync for ProgramId",1,["leo_ast::program::program_id::ProgramId"]],["impl !Sync for ProgramScope",1,["leo_ast::program::program_scope::ProgramScope"]],["impl !Sync for Program",1,["leo_ast::program::Program"]],["impl Sync for AssertVariant",1,["leo_ast::statement::assert::AssertVariant"]],["impl Sync for AssertStatement",1,["leo_ast::statement::assert::AssertStatement"]],["impl Sync for AssignStatement",1,["leo_ast::statement::assign::AssignStatement"]],["impl !Sync for Block",1,["leo_ast::statement::block::Block"]],["impl !Sync for ConditionalStatement",1,["leo_ast::statement::conditional::ConditionalStatement"]],["impl Sync for ConsoleFunction",1,["leo_ast::statement::console::console_function::ConsoleFunction"]],["impl Sync for ConsoleStatement",1,["leo_ast::statement::console::console_statement::ConsoleStatement"]],["impl Sync for ConstDeclaration",1,["leo_ast::statement::const_::ConstDeclaration"]],["impl Sync for DeclarationType",1,["leo_ast::statement::definition::declaration_type::DeclarationType"]],["impl Sync for DefinitionStatement",1,["leo_ast::statement::definition::DefinitionStatement"]],["impl Sync for ExpressionStatement",1,["leo_ast::statement::expression::ExpressionStatement"]],["impl !Sync for IterationStatement",1,["leo_ast::statement::iteration::IterationStatement"]],["impl Sync for ReturnStatement",1,["leo_ast::statement::return_::ReturnStatement"]],["impl !Sync for Statement",1,["leo_ast::statement::Statement"]],["impl Sync for ArrayType",1,["leo_ast::types::array::ArrayType"]],["impl Sync for CoreConstant",1,["leo_ast::types::core_constant::CoreConstant"]],["impl Sync for IntegerType",1,["leo_ast::types::integer_type::IntegerType"]],["impl Sync for MappingType",1,["leo_ast::types::mapping::MappingType"]],["impl Sync for TupleType",1,["leo_ast::types::tuple::TupleType"]],["impl Sync for Type",1,["leo_ast::types::type_::Type"]],["impl Sync for Value",1,["leo_ast::value::Value"]],["impl !Sync for Ast",1,["leo_ast::Ast"]]], +"leo_compiler":[["impl<'a> !Sync for Compiler<'a>",1,["leo_compiler::compiler::Compiler"]],["impl Sync for CompilerOptions",1,["leo_compiler::options::CompilerOptions"]],["impl Sync for BuildOptions",1,["leo_compiler::options::BuildOptions"]],["impl Sync for OutputOptions",1,["leo_compiler::options::OutputOptions"]]], +"leo_errors":[["impl Sync for Backtraced",1,["leo_errors::common::backtraced::Backtraced"]],["impl Sync for Formatted",1,["leo_errors::common::formatted::Formatted"]],["impl Sync for StderrEmitter",1,["leo_errors::emitter::StderrEmitter"]],["impl<T> Sync for Buffer<T>where\n T: Sync,",1,["leo_errors::emitter::Buffer"]],["impl !Sync for BufferEmitter",1,["leo_errors::emitter::BufferEmitter"]],["impl !Sync for HandlerInner",1,["leo_errors::emitter::HandlerInner"]],["impl !Sync for Handler",1,["leo_errors::emitter::Handler"]],["impl Sync for AstError",1,["leo_errors::errors::ast::ast_errors::AstError"]],["impl Sync for CliError",1,["leo_errors::errors::cli::cli_errors::CliError"]],["impl Sync for CompilerError",1,["leo_errors::errors::compiler::compiler_errors::CompilerError"]],["impl Sync for FlattenError",1,["leo_errors::errors::flattener::flattener_errors::FlattenError"]],["impl Sync for InputError",1,["leo_errors::errors::input::input_errors::InputError"]],["impl Sync for LoopUnrollerError",1,["leo_errors::errors::loop_unroller::loop_unroller_errors::LoopUnrollerError"]],["impl Sync for PackageError",1,["leo_errors::errors::package::package_errors::PackageError"]],["impl Sync for ParserError",1,["leo_errors::errors::parser::parser_errors::ParserError"]],["impl Sync for ParserWarning",1,["leo_errors::errors::parser::parser_warnings::ParserWarning"]],["impl Sync for TypeCheckerError",1,["leo_errors::errors::type_checker::type_checker_error::TypeCheckerError"]],["impl Sync for LeoError",1,["leo_errors::errors::LeoError"]],["impl Sync for LeoWarning",1,["leo_errors::errors::LeoWarning"]]], +"leo_lang":[["impl Sync for CLI",1,["leo_lang::cli::cli::CLI"]],["impl Sync for Commands",1,["leo_lang::cli::cli::Commands"]],["impl Sync for Account",1,["leo_lang::cli::commands::account::Account"]],["impl Sync for Build",1,["leo_lang::cli::commands::build::Build"]],["impl Sync for Clean",1,["leo_lang::cli::commands::clean::Clean"]],["impl Sync for Example",1,["leo_lang::cli::commands::example::Example"]],["impl Sync for Execute",1,["leo_lang::cli::commands::execute::Execute"]],["impl Sync for New",1,["leo_lang::cli::commands::new::New"]],["impl Sync for Run",1,["leo_lang::cli::commands::run::Run"]],["impl Sync for Update",1,["leo_lang::cli::commands::update::Update"]],["impl Sync for BuildOptions",1,["leo_lang::cli::commands::BuildOptions"]],["impl Sync for Context",1,["leo_lang::cli::helpers::context::Context"]],["impl<F, T> Sync for Format<F, T>where\n F: Sync,\n T: Sync,",1,["leo_lang::cli::helpers::logger::Format"]],["impl Sync for Updater",1,["leo_lang::cli::helpers::updater::Updater"]]], +"leo_package":[["impl Sync for BuildDirectory",1,["leo_package::build::directory::BuildDirectory"]],["impl Sync for ImportsDirectory",1,["leo_package::imports::directory::ImportsDirectory"]],["impl Sync for InputsDirectory",1,["leo_package::inputs::directory::InputsDirectory"]],["impl Sync for InputFile",1,["leo_package::inputs::input::InputFile"]],["impl Sync for Snapshot",1,["leo_package::outputs::ast_snapshot::Snapshot"]],["impl Sync for SnapshotFile",1,["leo_package::outputs::ast_snapshot::SnapshotFile"]],["impl Sync for CircuitFile",1,["leo_package::outputs::circuit::CircuitFile"]],["impl Sync for ChecksumFile",1,["leo_package::outputs::checksum::ChecksumFile"]],["impl Sync for OutputsDirectory",1,["leo_package::outputs::directory::OutputsDirectory"]],["impl<N> Sync for Package<N>",1,["leo_package::package::Package"]],["impl<N> Sync for Env<N>",1,["leo_package::root::env::Env"]],["impl Sync for Gitignore",1,["leo_package::root::gitignore::Gitignore"]],["impl Sync for SourceDirectory",1,["leo_package::source::directory::SourceDirectory"]],["impl Sync for MainFile",1,["leo_package::source::main::MainFile"]]], +"leo_parser":[["impl Sync for Token",1,["leo_parser::tokenizer::token::Token"]],["impl Sync for Delimiter",1,["leo_parser::tokenizer::token::Delimiter"]],["impl Sync for SpannedToken",1,["leo_parser::tokenizer::lexer::SpannedToken"]],["impl<'a> !Sync for ParserContext<'a>",1,["leo_parser::parser::context::ParserContext"]]], +"leo_passes":[["impl<'a> !Sync for CodeGenerator<'a>",1,["leo_passes::code_generation::generator::CodeGenerator"]],["impl !Sync for Assigner",1,["leo_passes::common::assigner::Assigner"]],["impl Sync for AssignerInner",1,["leo_passes::common::assigner::AssignerInner"]],["impl<N> Sync for DiGraphError<N>where\n N: Sync,",1,["leo_passes::common::graph::DiGraphError"]],["impl<N> Sync for DiGraph<N>where\n N: Sync,",1,["leo_passes::common::graph::DiGraph"]],["impl Sync for RenameTable",1,["leo_passes::common::rename_table::RenameTable"]],["impl<F> Sync for Replacer<F>where\n F: Sync,",1,["leo_passes::common::replacer::Replacer"]],["impl !Sync for ConstantPropagationTable",1,["leo_passes::common::constant_propagation_table::ConstantPropagationTable"]],["impl Sync for FinalizeData",1,["leo_passes::common::symbol_table::function_symbol::FinalizeData"]],["impl Sync for FunctionSymbol",1,["leo_passes::common::symbol_table::function_symbol::FunctionSymbol"]],["impl Sync for VariableType",1,["leo_passes::common::symbol_table::variable_symbol::VariableType"]],["impl Sync for VariableSymbol",1,["leo_passes::common::symbol_table::variable_symbol::VariableSymbol"]],["impl !Sync for SymbolTable",1,["leo_passes::common::symbol_table::SymbolTable"]],["impl !Sync for TypeTable",1,["leo_passes::common::type_table::TypeTable"]],["impl<'a> !Sync for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["impl<'a> !Sync for Destructurer<'a>",1,["leo_passes::destructuring::destructurer::Destructurer"]],["impl<'a> !Sync for Flattener<'a>",1,["leo_passes::flattening::flattener::Flattener"]],["impl<'a> !Sync for AssignmentRenamer<'a>",1,["leo_passes::function_inlining::assignment_renamer::AssignmentRenamer"]],["impl<'a> !Sync for FunctionInliner<'a>",1,["leo_passes::function_inlining::function_inliner::FunctionInliner"]],["impl Sync for Clusivity",1,["leo_passes::loop_unrolling::range_iterator::Clusivity"]],["impl<I> Sync for RangeIterator<I>where\n I: Sync,",1,["leo_passes::loop_unrolling::range_iterator::RangeIterator"]],["impl<'a> !Sync for Unroller<'a>",1,["leo_passes::loop_unrolling::unroller::Unroller"]],["impl<'a> !Sync for StaticSingleAssigner<'a>",1,["leo_passes::static_single_assignment::static_single_assigner::StaticSingleAssigner"]],["impl<'a> !Sync for SymbolTableCreator<'a>",1,["leo_passes::symbol_table_creation::creator::SymbolTableCreator"]],["impl<'a> !Sync for TypeChecker<'a>",1,["leo_passes::type_checking::checker::TypeChecker"]]], +"leo_span":[["impl Sync for Symbol",1,["leo_span::symbol::Symbol"]],["impl !Sync for SessionGlobals",1,["leo_span::symbol::SessionGlobals"]],["impl Sync for InternedStr",1,["leo_span::symbol::InternedStr"]],["impl Sync for InnerInterner",1,["leo_span::symbol::InnerInterner"]],["impl !Sync for Interner",1,["leo_span::symbol::Interner"]],["impl Sync for Span",1,["leo_span::span::Span"]],["impl Sync for BytePos",1,["leo_span::span::BytePos"]],["impl Sync for CharPos",1,["leo_span::span::CharPos"]],["impl Sync for SpanMapVisitor",1,["leo_span::span_json::SpanMapVisitor"]],["impl !Sync for SourceMap",1,["leo_span::source_map::SourceMap"]],["impl !Sync for SourceMapInner",1,["leo_span::source_map::SourceMapInner"]],["impl Sync for FileName",1,["leo_span::source_map::FileName"]],["impl Sync for SourceFile",1,["leo_span::source_map::SourceFile"]],["impl !Sync for SpanLocation",1,["leo_span::source_map::SpanLocation"]],["impl !Sync for LineCol",1,["leo_span::source_map::LineCol"]],["impl Sync for MultiByteChar",1,["leo_span::source_map::MultiByteChar"]]], +"leo_test_framework":[["impl Sync for TestFailure",1,["leo_test_framework::error::TestFailure"]],["impl Sync for TestError",1,["leo_test_framework::error::TestError"]],["impl Sync for TestExpectation",1,["leo_test_framework::output::TestExpectation"]],["impl Sync for ParseType",1,["leo_test_framework::runner::ParseType"]],["impl Sync for Test",1,["leo_test_framework::runner::Test"]],["impl Sync for TestCases",1,["leo_test_framework::runner::TestCases"]],["impl Sync for TestExpectationMode",1,["leo_test_framework::test::TestExpectationMode"]],["impl Sync for TestConfig",1,["leo_test_framework::test::TestConfig"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Unpin.js b/trait.impl/core/marker/trait.Unpin.js similarity index 81% rename from implementors/core/marker/trait.Unpin.js rename to trait.impl/core/marker/trait.Unpin.js index 19c88f7c81..d222d87d86 100644 --- a/implementors/core/marker/trait.Unpin.js +++ b/trait.impl/core/marker/trait.Unpin.js @@ -1,12 +1,12 @@ (function() {var implementors = { -"leo_abnf":[["impl Unpin for Scope",1,["leo_abnf::Scope"]],["impl<'a> Unpin for Processor<'a>",1,["leo_abnf::Processor"]]], -"leo_ast":[["impl Unpin for ArrayAccess",1,["leo_ast::access::array_access::ArrayAccess"]],["impl Unpin for AssociatedConstant",1,["leo_ast::access::associated_constant_access::AssociatedConstant"]],["impl Unpin for AssociatedFunction",1,["leo_ast::access::associated_function_access::AssociatedFunction"]],["impl Unpin for MemberAccess",1,["leo_ast::access::member_access::MemberAccess"]],["impl Unpin for TupleAccess",1,["leo_ast::access::tuple_access::TupleAccess"]],["impl Unpin for Member",1,["leo_ast::struct::member::Member"]],["impl Unpin for Struct",1,["leo_ast::struct::Struct"]],["impl Unpin for Identifier",1,["leo_ast::common::identifier::Identifier"]],["impl Unpin for NonNegativeNumber",1,["leo_ast::common::positive_number::NonNegativeNumber"]],["impl Unpin for NodeBuilder",1,["leo_ast::common::node_builder::NodeBuilder"]],["impl Unpin for NodeBuilderInner",1,["leo_ast::common::node_builder::NodeBuilderInner"]],["impl Unpin for StaticString",1,["leo_ast::common::static_string::StaticString"]],["impl Unpin for AccessExpression",1,["leo_ast::expressions::access::AccessExpression"]],["impl Unpin for ArrayExpression",1,["leo_ast::expressions::array::ArrayExpression"]],["impl Unpin for BinaryOperation",1,["leo_ast::expressions::binary::BinaryOperation"]],["impl Unpin for BinaryExpression",1,["leo_ast::expressions::binary::BinaryExpression"]],["impl Unpin for CallExpression",1,["leo_ast::expressions::call::CallExpression"]],["impl Unpin for CastExpression",1,["leo_ast::expressions::cast::CastExpression"]],["impl Unpin for StructVariableInitializer",1,["leo_ast::expressions::struct_init::StructVariableInitializer"]],["impl Unpin for StructExpression",1,["leo_ast::expressions::struct_init::StructExpression"]],["impl Unpin for ErrExpression",1,["leo_ast::expressions::err::ErrExpression"]],["impl Unpin for TernaryExpression",1,["leo_ast::expressions::ternary::TernaryExpression"]],["impl Unpin for TupleExpression",1,["leo_ast::expressions::tuple::TupleExpression"]],["impl Unpin for UnaryOperation",1,["leo_ast::expressions::unary::UnaryOperation"]],["impl Unpin for UnaryExpression",1,["leo_ast::expressions::unary::UnaryExpression"]],["impl Unpin for UnitExpression",1,["leo_ast::expressions::unit::UnitExpression"]],["impl Unpin for Literal",1,["leo_ast::expressions::literal::Literal"]],["impl Unpin for Expression",1,["leo_ast::expressions::Expression"]],["impl Unpin for Annotation",1,["leo_ast::functions::annotation::Annotation"]],["impl Unpin for CoreFunction",1,["leo_ast::functions::core_function::CoreFunction"]],["impl Unpin for Variant",1,["leo_ast::functions::variant::Variant"]],["impl Unpin for External",1,["leo_ast::functions::external::External"]],["impl Unpin for Finalize",1,["leo_ast::functions::finalize::Finalize"]],["impl Unpin for Input",1,["leo_ast::functions::input::Input"]],["impl Unpin for FunctionInput",1,["leo_ast::functions::input::FunctionInput"]],["impl Unpin for Output",1,["leo_ast::functions::output::Output"]],["impl Unpin for FunctionOutput",1,["leo_ast::functions::output::FunctionOutput"]],["impl Unpin for Mode",1,["leo_ast::functions::mode::Mode"]],["impl Unpin for Function",1,["leo_ast::functions::Function"]],["impl Unpin for GroupCoordinate",1,["leo_ast::groups::group_coordinate::GroupCoordinate"]],["impl Unpin for GroupLiteral",1,["leo_ast::groups::group_literal::GroupLiteral"]],["impl Unpin for GroupTuple",1,["leo_ast::groups::group_literal::GroupTuple"]],["impl Unpin for Definition",1,["leo_ast::input::definition::Definition"]],["impl Unpin for InputData",1,["leo_ast::input::input_ast::InputData"]],["impl Unpin for InputAst",1,["leo_ast::input::input_ast::InputAst"]],["impl Unpin for InputValue",1,["leo_ast::input::input_value::InputValue"]],["impl Unpin for ProgramInput",1,["leo_ast::input::program_input::ProgramInput"]],["impl Unpin for Section",1,["leo_ast::input::section::Section"]],["impl Unpin for Mapping",1,["leo_ast::mapping::Mapping"]],["impl Unpin for ProgramId",1,["leo_ast::program::program_id::ProgramId"]],["impl Unpin for ProgramScope",1,["leo_ast::program::program_scope::ProgramScope"]],["impl Unpin for Program",1,["leo_ast::program::Program"]],["impl Unpin for AssertVariant",1,["leo_ast::statement::assert::AssertVariant"]],["impl Unpin for AssertStatement",1,["leo_ast::statement::assert::AssertStatement"]],["impl Unpin for AssignStatement",1,["leo_ast::statement::assign::AssignStatement"]],["impl Unpin for Block",1,["leo_ast::statement::block::Block"]],["impl Unpin for ConditionalStatement",1,["leo_ast::statement::conditional::ConditionalStatement"]],["impl Unpin for ConsoleFunction",1,["leo_ast::statement::console::console_function::ConsoleFunction"]],["impl Unpin for ConsoleStatement",1,["leo_ast::statement::console::console_statement::ConsoleStatement"]],["impl Unpin for ConstDeclaration",1,["leo_ast::statement::const_::ConstDeclaration"]],["impl Unpin for DeclarationType",1,["leo_ast::statement::definition::declaration_type::DeclarationType"]],["impl Unpin for DefinitionStatement",1,["leo_ast::statement::definition::DefinitionStatement"]],["impl Unpin for ExpressionStatement",1,["leo_ast::statement::expression::ExpressionStatement"]],["impl Unpin for IterationStatement",1,["leo_ast::statement::iteration::IterationStatement"]],["impl Unpin for ReturnStatement",1,["leo_ast::statement::return_::ReturnStatement"]],["impl Unpin for Statement",1,["leo_ast::statement::Statement"]],["impl Unpin for ArrayType",1,["leo_ast::types::array::ArrayType"]],["impl Unpin for CoreConstant",1,["leo_ast::types::core_constant::CoreConstant"]],["impl Unpin for IntegerType",1,["leo_ast::types::integer_type::IntegerType"]],["impl Unpin for MappingType",1,["leo_ast::types::mapping::MappingType"]],["impl Unpin for TupleType",1,["leo_ast::types::tuple::TupleType"]],["impl Unpin for Type",1,["leo_ast::types::type_::Type"]],["impl Unpin for Value",1,["leo_ast::value::Value"]],["impl Unpin for Ast",1,["leo_ast::Ast"]]], -"leo_compiler":[["impl<'a> Unpin for Compiler<'a>",1,["leo_compiler::compiler::Compiler"]],["impl Unpin for CompilerOptions",1,["leo_compiler::options::CompilerOptions"]],["impl Unpin for BuildOptions",1,["leo_compiler::options::BuildOptions"]],["impl Unpin for OutputOptions",1,["leo_compiler::options::OutputOptions"]]], -"leo_errors":[["impl Unpin for Backtraced",1,["leo_errors::common::backtraced::Backtraced"]],["impl Unpin for Formatted",1,["leo_errors::common::formatted::Formatted"]],["impl Unpin for StderrEmitter",1,["leo_errors::emitter::StderrEmitter"]],["impl<T> Unpin for Buffer<T>where\n T: Unpin,",1,["leo_errors::emitter::Buffer"]],["impl Unpin for BufferEmitter",1,["leo_errors::emitter::BufferEmitter"]],["impl Unpin for HandlerInner",1,["leo_errors::emitter::HandlerInner"]],["impl Unpin for Handler",1,["leo_errors::emitter::Handler"]],["impl Unpin for AstError",1,["leo_errors::errors::ast::ast_errors::AstError"]],["impl Unpin for CliError",1,["leo_errors::errors::cli::cli_errors::CliError"]],["impl Unpin for CompilerError",1,["leo_errors::errors::compiler::compiler_errors::CompilerError"]],["impl Unpin for FlattenError",1,["leo_errors::errors::flattener::flattener_errors::FlattenError"]],["impl Unpin for InputError",1,["leo_errors::errors::input::input_errors::InputError"]],["impl Unpin for LoopUnrollerError",1,["leo_errors::errors::loop_unroller::loop_unroller_errors::LoopUnrollerError"]],["impl Unpin for PackageError",1,["leo_errors::errors::package::package_errors::PackageError"]],["impl Unpin for ParserError",1,["leo_errors::errors::parser::parser_errors::ParserError"]],["impl Unpin for ParserWarning",1,["leo_errors::errors::parser::parser_warnings::ParserWarning"]],["impl Unpin for TypeCheckerError",1,["leo_errors::errors::type_checker::type_checker_error::TypeCheckerError"]],["impl Unpin for LeoError",1,["leo_errors::errors::LeoError"]],["impl Unpin for LeoWarning",1,["leo_errors::errors::LeoWarning"]]], -"leo_lang":[["impl Unpin for CLI",1,["leo_lang::cli::cli::CLI"]],["impl Unpin for Commands",1,["leo_lang::cli::cli::Commands"]],["impl Unpin for Account",1,["leo_lang::cli::commands::account::Account"]],["impl Unpin for Build",1,["leo_lang::cli::commands::build::Build"]],["impl Unpin for Clean",1,["leo_lang::cli::commands::clean::Clean"]],["impl Unpin for Example",1,["leo_lang::cli::commands::example::Example"]],["impl Unpin for Execute",1,["leo_lang::cli::commands::execute::Execute"]],["impl Unpin for New",1,["leo_lang::cli::commands::new::New"]],["impl Unpin for Run",1,["leo_lang::cli::commands::run::Run"]],["impl Unpin for Update",1,["leo_lang::cli::commands::update::Update"]],["impl Unpin for BuildOptions",1,["leo_lang::cli::commands::BuildOptions"]],["impl Unpin for Context",1,["leo_lang::cli::helpers::context::Context"]],["impl<F, T> Unpin for Format<F, T>where\n F: Unpin,\n T: Unpin,",1,["leo_lang::cli::helpers::logger::Format"]],["impl Unpin for Updater",1,["leo_lang::cli::helpers::updater::Updater"]]], -"leo_package":[["impl Unpin for BuildDirectory",1,["leo_package::build::directory::BuildDirectory"]],["impl Unpin for ImportsDirectory",1,["leo_package::imports::directory::ImportsDirectory"]],["impl Unpin for InputsDirectory",1,["leo_package::inputs::directory::InputsDirectory"]],["impl Unpin for InputFile",1,["leo_package::inputs::input::InputFile"]],["impl Unpin for Snapshot",1,["leo_package::outputs::ast_snapshot::Snapshot"]],["impl Unpin for SnapshotFile",1,["leo_package::outputs::ast_snapshot::SnapshotFile"]],["impl Unpin for CircuitFile",1,["leo_package::outputs::circuit::CircuitFile"]],["impl Unpin for ChecksumFile",1,["leo_package::outputs::checksum::ChecksumFile"]],["impl Unpin for OutputsDirectory",1,["leo_package::outputs::directory::OutputsDirectory"]],["impl<N> Unpin for Package<N>where\n N: Unpin,",1,["leo_package::package::Package"]],["impl<N> Unpin for Env<N>where\n N: Unpin,",1,["leo_package::root::env::Env"]],["impl Unpin for Gitignore",1,["leo_package::root::gitignore::Gitignore"]],["impl Unpin for SourceDirectory",1,["leo_package::source::directory::SourceDirectory"]],["impl Unpin for MainFile",1,["leo_package::source::main::MainFile"]]], -"leo_parser":[["impl Unpin for Token",1,["leo_parser::tokenizer::token::Token"]],["impl Unpin for Delimiter",1,["leo_parser::tokenizer::token::Delimiter"]],["impl Unpin for SpannedToken",1,["leo_parser::tokenizer::lexer::SpannedToken"]],["impl<'a> Unpin for ParserContext<'a>",1,["leo_parser::parser::context::ParserContext"]]], -"leo_passes":[["impl<'a> Unpin for CodeGenerator<'a>",1,["leo_passes::code_generation::generator::CodeGenerator"]],["impl Unpin for Assigner",1,["leo_passes::common::assigner::Assigner"]],["impl Unpin for AssignerInner",1,["leo_passes::common::assigner::AssignerInner"]],["impl<N> Unpin for DiGraphError<N>where\n N: Unpin,",1,["leo_passes::common::graph::DiGraphError"]],["impl<N> Unpin for DiGraph<N>where\n N: Unpin,",1,["leo_passes::common::graph::DiGraph"]],["impl Unpin for RenameTable",1,["leo_passes::common::rename_table::RenameTable"]],["impl<F> Unpin for Replacer<F>where\n F: Unpin,",1,["leo_passes::common::replacer::Replacer"]],["impl Unpin for ConstantPropagationTable",1,["leo_passes::common::constant_propagation_table::ConstantPropagationTable"]],["impl Unpin for FinalizeData",1,["leo_passes::common::symbol_table::function_symbol::FinalizeData"]],["impl Unpin for FunctionSymbol",1,["leo_passes::common::symbol_table::function_symbol::FunctionSymbol"]],["impl Unpin for VariableType",1,["leo_passes::common::symbol_table::variable_symbol::VariableType"]],["impl Unpin for VariableSymbol",1,["leo_passes::common::symbol_table::variable_symbol::VariableSymbol"]],["impl Unpin for SymbolTable",1,["leo_passes::common::symbol_table::SymbolTable"]],["impl Unpin for TypeTable",1,["leo_passes::common::type_table::TypeTable"]],["impl<'a> Unpin for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["impl<'a> Unpin for Destructurer<'a>",1,["leo_passes::destructuring::destructurer::Destructurer"]],["impl<'a> Unpin for Flattener<'a>",1,["leo_passes::flattening::flattener::Flattener"]],["impl<'a> Unpin for AssignmentRenamer<'a>",1,["leo_passes::function_inlining::assignment_renamer::AssignmentRenamer"]],["impl<'a> Unpin for FunctionInliner<'a>",1,["leo_passes::function_inlining::function_inliner::FunctionInliner"]],["impl Unpin for Clusivity",1,["leo_passes::loop_unrolling::range_iterator::Clusivity"]],["impl<I> Unpin for RangeIterator<I>where\n I: Unpin,",1,["leo_passes::loop_unrolling::range_iterator::RangeIterator"]],["impl<'a> Unpin for Unroller<'a>",1,["leo_passes::loop_unrolling::unroller::Unroller"]],["impl<'a> Unpin for StaticSingleAssigner<'a>",1,["leo_passes::static_single_assignment::static_single_assigner::StaticSingleAssigner"]],["impl<'a> Unpin for SymbolTableCreator<'a>",1,["leo_passes::symbol_table_creation::creator::SymbolTableCreator"]],["impl<'a> Unpin for TypeChecker<'a>",1,["leo_passes::type_checking::checker::TypeChecker"]]], -"leo_span":[["impl Unpin for Symbol",1,["leo_span::symbol::Symbol"]],["impl Unpin for SessionGlobals",1,["leo_span::symbol::SessionGlobals"]],["impl Unpin for InternedStr",1,["leo_span::symbol::InternedStr"]],["impl Unpin for InnerInterner",1,["leo_span::symbol::InnerInterner"]],["impl Unpin for Interner",1,["leo_span::symbol::Interner"]],["impl Unpin for Span",1,["leo_span::span::Span"]],["impl Unpin for BytePos",1,["leo_span::span::BytePos"]],["impl Unpin for CharPos",1,["leo_span::span::CharPos"]],["impl Unpin for SpanMapVisitor",1,["leo_span::span_json::SpanMapVisitor"]],["impl Unpin for SourceMap",1,["leo_span::source_map::SourceMap"]],["impl Unpin for SourceMapInner",1,["leo_span::source_map::SourceMapInner"]],["impl Unpin for FileName",1,["leo_span::source_map::FileName"]],["impl Unpin for SourceFile",1,["leo_span::source_map::SourceFile"]],["impl Unpin for SpanLocation",1,["leo_span::source_map::SpanLocation"]],["impl Unpin for LineCol",1,["leo_span::source_map::LineCol"]],["impl Unpin for MultiByteChar",1,["leo_span::source_map::MultiByteChar"]]], -"leo_test_framework":[["impl Unpin for TestFailure",1,["leo_test_framework::error::TestFailure"]],["impl Unpin for TestError",1,["leo_test_framework::error::TestError"]],["impl Unpin for TestExpectation",1,["leo_test_framework::output::TestExpectation"]],["impl Unpin for ParseType",1,["leo_test_framework::runner::ParseType"]],["impl Unpin for Test",1,["leo_test_framework::runner::Test"]],["impl Unpin for TestCases",1,["leo_test_framework::runner::TestCases"]],["impl Unpin for TestExpectationMode",1,["leo_test_framework::test::TestExpectationMode"]],["impl Unpin for TestConfig",1,["leo_test_framework::test::TestConfig"]]] +"leo_abnf":[["impl Unpin for Scope",1,["leo_abnf::Scope"]],["impl<'a> Unpin for Processor<'a>",1,["leo_abnf::Processor"]]], +"leo_ast":[["impl Unpin for ArrayAccess",1,["leo_ast::access::array_access::ArrayAccess"]],["impl Unpin for AssociatedConstant",1,["leo_ast::access::associated_constant_access::AssociatedConstant"]],["impl Unpin for AssociatedFunction",1,["leo_ast::access::associated_function_access::AssociatedFunction"]],["impl Unpin for MemberAccess",1,["leo_ast::access::member_access::MemberAccess"]],["impl Unpin for TupleAccess",1,["leo_ast::access::tuple_access::TupleAccess"]],["impl Unpin for Member",1,["leo_ast::struct::member::Member"]],["impl Unpin for Struct",1,["leo_ast::struct::Struct"]],["impl Unpin for Identifier",1,["leo_ast::common::identifier::Identifier"]],["impl Unpin for NonNegativeNumber",1,["leo_ast::common::positive_number::NonNegativeNumber"]],["impl Unpin for NodeBuilder",1,["leo_ast::common::node_builder::NodeBuilder"]],["impl Unpin for NodeBuilderInner",1,["leo_ast::common::node_builder::NodeBuilderInner"]],["impl Unpin for StaticString",1,["leo_ast::common::static_string::StaticString"]],["impl Unpin for AccessExpression",1,["leo_ast::expressions::access::AccessExpression"]],["impl Unpin for ArrayExpression",1,["leo_ast::expressions::array::ArrayExpression"]],["impl Unpin for BinaryOperation",1,["leo_ast::expressions::binary::BinaryOperation"]],["impl Unpin for BinaryExpression",1,["leo_ast::expressions::binary::BinaryExpression"]],["impl Unpin for CallExpression",1,["leo_ast::expressions::call::CallExpression"]],["impl Unpin for CastExpression",1,["leo_ast::expressions::cast::CastExpression"]],["impl Unpin for StructVariableInitializer",1,["leo_ast::expressions::struct_init::StructVariableInitializer"]],["impl Unpin for StructExpression",1,["leo_ast::expressions::struct_init::StructExpression"]],["impl Unpin for ErrExpression",1,["leo_ast::expressions::err::ErrExpression"]],["impl Unpin for TernaryExpression",1,["leo_ast::expressions::ternary::TernaryExpression"]],["impl Unpin for TupleExpression",1,["leo_ast::expressions::tuple::TupleExpression"]],["impl Unpin for UnaryOperation",1,["leo_ast::expressions::unary::UnaryOperation"]],["impl Unpin for UnaryExpression",1,["leo_ast::expressions::unary::UnaryExpression"]],["impl Unpin for UnitExpression",1,["leo_ast::expressions::unit::UnitExpression"]],["impl Unpin for Literal",1,["leo_ast::expressions::literal::Literal"]],["impl Unpin for Expression",1,["leo_ast::expressions::Expression"]],["impl Unpin for Annotation",1,["leo_ast::functions::annotation::Annotation"]],["impl Unpin for CoreFunction",1,["leo_ast::functions::core_function::CoreFunction"]],["impl Unpin for Variant",1,["leo_ast::functions::variant::Variant"]],["impl Unpin for External",1,["leo_ast::functions::external::External"]],["impl Unpin for Finalize",1,["leo_ast::functions::finalize::Finalize"]],["impl Unpin for Input",1,["leo_ast::functions::input::Input"]],["impl Unpin for FunctionInput",1,["leo_ast::functions::input::FunctionInput"]],["impl Unpin for Output",1,["leo_ast::functions::output::Output"]],["impl Unpin for FunctionOutput",1,["leo_ast::functions::output::FunctionOutput"]],["impl Unpin for Mode",1,["leo_ast::functions::mode::Mode"]],["impl Unpin for Function",1,["leo_ast::functions::Function"]],["impl Unpin for GroupCoordinate",1,["leo_ast::groups::group_coordinate::GroupCoordinate"]],["impl Unpin for GroupLiteral",1,["leo_ast::groups::group_literal::GroupLiteral"]],["impl Unpin for GroupTuple",1,["leo_ast::groups::group_literal::GroupTuple"]],["impl Unpin for Definition",1,["leo_ast::input::definition::Definition"]],["impl Unpin for InputData",1,["leo_ast::input::input_ast::InputData"]],["impl Unpin for InputAst",1,["leo_ast::input::input_ast::InputAst"]],["impl Unpin for InputValue",1,["leo_ast::input::input_value::InputValue"]],["impl Unpin for ProgramInput",1,["leo_ast::input::program_input::ProgramInput"]],["impl Unpin for Section",1,["leo_ast::input::section::Section"]],["impl Unpin for Mapping",1,["leo_ast::mapping::Mapping"]],["impl Unpin for ProgramId",1,["leo_ast::program::program_id::ProgramId"]],["impl Unpin for ProgramScope",1,["leo_ast::program::program_scope::ProgramScope"]],["impl Unpin for Program",1,["leo_ast::program::Program"]],["impl Unpin for AssertVariant",1,["leo_ast::statement::assert::AssertVariant"]],["impl Unpin for AssertStatement",1,["leo_ast::statement::assert::AssertStatement"]],["impl Unpin for AssignStatement",1,["leo_ast::statement::assign::AssignStatement"]],["impl Unpin for Block",1,["leo_ast::statement::block::Block"]],["impl Unpin for ConditionalStatement",1,["leo_ast::statement::conditional::ConditionalStatement"]],["impl Unpin for ConsoleFunction",1,["leo_ast::statement::console::console_function::ConsoleFunction"]],["impl Unpin for ConsoleStatement",1,["leo_ast::statement::console::console_statement::ConsoleStatement"]],["impl Unpin for ConstDeclaration",1,["leo_ast::statement::const_::ConstDeclaration"]],["impl Unpin for DeclarationType",1,["leo_ast::statement::definition::declaration_type::DeclarationType"]],["impl Unpin for DefinitionStatement",1,["leo_ast::statement::definition::DefinitionStatement"]],["impl Unpin for ExpressionStatement",1,["leo_ast::statement::expression::ExpressionStatement"]],["impl Unpin for IterationStatement",1,["leo_ast::statement::iteration::IterationStatement"]],["impl Unpin for ReturnStatement",1,["leo_ast::statement::return_::ReturnStatement"]],["impl Unpin for Statement",1,["leo_ast::statement::Statement"]],["impl Unpin for ArrayType",1,["leo_ast::types::array::ArrayType"]],["impl Unpin for CoreConstant",1,["leo_ast::types::core_constant::CoreConstant"]],["impl Unpin for IntegerType",1,["leo_ast::types::integer_type::IntegerType"]],["impl Unpin for MappingType",1,["leo_ast::types::mapping::MappingType"]],["impl Unpin for TupleType",1,["leo_ast::types::tuple::TupleType"]],["impl Unpin for Type",1,["leo_ast::types::type_::Type"]],["impl Unpin for Value",1,["leo_ast::value::Value"]],["impl Unpin for Ast",1,["leo_ast::Ast"]]], +"leo_compiler":[["impl<'a> Unpin for Compiler<'a>",1,["leo_compiler::compiler::Compiler"]],["impl Unpin for CompilerOptions",1,["leo_compiler::options::CompilerOptions"]],["impl Unpin for BuildOptions",1,["leo_compiler::options::BuildOptions"]],["impl Unpin for OutputOptions",1,["leo_compiler::options::OutputOptions"]]], +"leo_errors":[["impl Unpin for Backtraced",1,["leo_errors::common::backtraced::Backtraced"]],["impl Unpin for Formatted",1,["leo_errors::common::formatted::Formatted"]],["impl Unpin for StderrEmitter",1,["leo_errors::emitter::StderrEmitter"]],["impl<T> Unpin for Buffer<T>where\n T: Unpin,",1,["leo_errors::emitter::Buffer"]],["impl Unpin for BufferEmitter",1,["leo_errors::emitter::BufferEmitter"]],["impl Unpin for HandlerInner",1,["leo_errors::emitter::HandlerInner"]],["impl Unpin for Handler",1,["leo_errors::emitter::Handler"]],["impl Unpin for AstError",1,["leo_errors::errors::ast::ast_errors::AstError"]],["impl Unpin for CliError",1,["leo_errors::errors::cli::cli_errors::CliError"]],["impl Unpin for CompilerError",1,["leo_errors::errors::compiler::compiler_errors::CompilerError"]],["impl Unpin for FlattenError",1,["leo_errors::errors::flattener::flattener_errors::FlattenError"]],["impl Unpin for InputError",1,["leo_errors::errors::input::input_errors::InputError"]],["impl Unpin for LoopUnrollerError",1,["leo_errors::errors::loop_unroller::loop_unroller_errors::LoopUnrollerError"]],["impl Unpin for PackageError",1,["leo_errors::errors::package::package_errors::PackageError"]],["impl Unpin for ParserError",1,["leo_errors::errors::parser::parser_errors::ParserError"]],["impl Unpin for ParserWarning",1,["leo_errors::errors::parser::parser_warnings::ParserWarning"]],["impl Unpin for TypeCheckerError",1,["leo_errors::errors::type_checker::type_checker_error::TypeCheckerError"]],["impl Unpin for LeoError",1,["leo_errors::errors::LeoError"]],["impl Unpin for LeoWarning",1,["leo_errors::errors::LeoWarning"]]], +"leo_lang":[["impl Unpin for CLI",1,["leo_lang::cli::cli::CLI"]],["impl Unpin for Commands",1,["leo_lang::cli::cli::Commands"]],["impl Unpin for Account",1,["leo_lang::cli::commands::account::Account"]],["impl Unpin for Build",1,["leo_lang::cli::commands::build::Build"]],["impl Unpin for Clean",1,["leo_lang::cli::commands::clean::Clean"]],["impl Unpin for Example",1,["leo_lang::cli::commands::example::Example"]],["impl Unpin for Execute",1,["leo_lang::cli::commands::execute::Execute"]],["impl Unpin for New",1,["leo_lang::cli::commands::new::New"]],["impl Unpin for Run",1,["leo_lang::cli::commands::run::Run"]],["impl Unpin for Update",1,["leo_lang::cli::commands::update::Update"]],["impl Unpin for BuildOptions",1,["leo_lang::cli::commands::BuildOptions"]],["impl Unpin for Context",1,["leo_lang::cli::helpers::context::Context"]],["impl<F, T> Unpin for Format<F, T>where\n F: Unpin,\n T: Unpin,",1,["leo_lang::cli::helpers::logger::Format"]],["impl Unpin for Updater",1,["leo_lang::cli::helpers::updater::Updater"]]], +"leo_package":[["impl Unpin for BuildDirectory",1,["leo_package::build::directory::BuildDirectory"]],["impl Unpin for ImportsDirectory",1,["leo_package::imports::directory::ImportsDirectory"]],["impl Unpin for InputsDirectory",1,["leo_package::inputs::directory::InputsDirectory"]],["impl Unpin for InputFile",1,["leo_package::inputs::input::InputFile"]],["impl Unpin for Snapshot",1,["leo_package::outputs::ast_snapshot::Snapshot"]],["impl Unpin for SnapshotFile",1,["leo_package::outputs::ast_snapshot::SnapshotFile"]],["impl Unpin for CircuitFile",1,["leo_package::outputs::circuit::CircuitFile"]],["impl Unpin for ChecksumFile",1,["leo_package::outputs::checksum::ChecksumFile"]],["impl Unpin for OutputsDirectory",1,["leo_package::outputs::directory::OutputsDirectory"]],["impl<N> Unpin for Package<N>where\n N: Unpin,",1,["leo_package::package::Package"]],["impl<N> Unpin for Env<N>where\n N: Unpin,",1,["leo_package::root::env::Env"]],["impl Unpin for Gitignore",1,["leo_package::root::gitignore::Gitignore"]],["impl Unpin for SourceDirectory",1,["leo_package::source::directory::SourceDirectory"]],["impl Unpin for MainFile",1,["leo_package::source::main::MainFile"]]], +"leo_parser":[["impl Unpin for Token",1,["leo_parser::tokenizer::token::Token"]],["impl Unpin for Delimiter",1,["leo_parser::tokenizer::token::Delimiter"]],["impl Unpin for SpannedToken",1,["leo_parser::tokenizer::lexer::SpannedToken"]],["impl<'a> Unpin for ParserContext<'a>",1,["leo_parser::parser::context::ParserContext"]]], +"leo_passes":[["impl<'a> Unpin for CodeGenerator<'a>",1,["leo_passes::code_generation::generator::CodeGenerator"]],["impl Unpin for Assigner",1,["leo_passes::common::assigner::Assigner"]],["impl Unpin for AssignerInner",1,["leo_passes::common::assigner::AssignerInner"]],["impl<N> Unpin for DiGraphError<N>where\n N: Unpin,",1,["leo_passes::common::graph::DiGraphError"]],["impl<N> Unpin for DiGraph<N>where\n N: Unpin,",1,["leo_passes::common::graph::DiGraph"]],["impl Unpin for RenameTable",1,["leo_passes::common::rename_table::RenameTable"]],["impl<F> Unpin for Replacer<F>where\n F: Unpin,",1,["leo_passes::common::replacer::Replacer"]],["impl Unpin for ConstantPropagationTable",1,["leo_passes::common::constant_propagation_table::ConstantPropagationTable"]],["impl Unpin for FinalizeData",1,["leo_passes::common::symbol_table::function_symbol::FinalizeData"]],["impl Unpin for FunctionSymbol",1,["leo_passes::common::symbol_table::function_symbol::FunctionSymbol"]],["impl Unpin for VariableType",1,["leo_passes::common::symbol_table::variable_symbol::VariableType"]],["impl Unpin for VariableSymbol",1,["leo_passes::common::symbol_table::variable_symbol::VariableSymbol"]],["impl Unpin for SymbolTable",1,["leo_passes::common::symbol_table::SymbolTable"]],["impl Unpin for TypeTable",1,["leo_passes::common::type_table::TypeTable"]],["impl<'a> Unpin for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["impl<'a> Unpin for Destructurer<'a>",1,["leo_passes::destructuring::destructurer::Destructurer"]],["impl<'a> Unpin for Flattener<'a>",1,["leo_passes::flattening::flattener::Flattener"]],["impl<'a> Unpin for AssignmentRenamer<'a>",1,["leo_passes::function_inlining::assignment_renamer::AssignmentRenamer"]],["impl<'a> Unpin for FunctionInliner<'a>",1,["leo_passes::function_inlining::function_inliner::FunctionInliner"]],["impl Unpin for Clusivity",1,["leo_passes::loop_unrolling::range_iterator::Clusivity"]],["impl<I> Unpin for RangeIterator<I>where\n I: Unpin,",1,["leo_passes::loop_unrolling::range_iterator::RangeIterator"]],["impl<'a> Unpin for Unroller<'a>",1,["leo_passes::loop_unrolling::unroller::Unroller"]],["impl<'a> Unpin for StaticSingleAssigner<'a>",1,["leo_passes::static_single_assignment::static_single_assigner::StaticSingleAssigner"]],["impl<'a> Unpin for SymbolTableCreator<'a>",1,["leo_passes::symbol_table_creation::creator::SymbolTableCreator"]],["impl<'a> Unpin for TypeChecker<'a>",1,["leo_passes::type_checking::checker::TypeChecker"]]], +"leo_span":[["impl Unpin for Symbol",1,["leo_span::symbol::Symbol"]],["impl Unpin for SessionGlobals",1,["leo_span::symbol::SessionGlobals"]],["impl Unpin for InternedStr",1,["leo_span::symbol::InternedStr"]],["impl Unpin for InnerInterner",1,["leo_span::symbol::InnerInterner"]],["impl Unpin for Interner",1,["leo_span::symbol::Interner"]],["impl Unpin for Span",1,["leo_span::span::Span"]],["impl Unpin for BytePos",1,["leo_span::span::BytePos"]],["impl Unpin for CharPos",1,["leo_span::span::CharPos"]],["impl Unpin for SpanMapVisitor",1,["leo_span::span_json::SpanMapVisitor"]],["impl Unpin for SourceMap",1,["leo_span::source_map::SourceMap"]],["impl Unpin for SourceMapInner",1,["leo_span::source_map::SourceMapInner"]],["impl Unpin for FileName",1,["leo_span::source_map::FileName"]],["impl Unpin for SourceFile",1,["leo_span::source_map::SourceFile"]],["impl Unpin for SpanLocation",1,["leo_span::source_map::SpanLocation"]],["impl Unpin for LineCol",1,["leo_span::source_map::LineCol"]],["impl Unpin for MultiByteChar",1,["leo_span::source_map::MultiByteChar"]]], +"leo_test_framework":[["impl Unpin for TestFailure",1,["leo_test_framework::error::TestFailure"]],["impl Unpin for TestError",1,["leo_test_framework::error::TestError"]],["impl Unpin for TestExpectation",1,["leo_test_framework::output::TestExpectation"]],["impl Unpin for ParseType",1,["leo_test_framework::runner::ParseType"]],["impl Unpin for Test",1,["leo_test_framework::runner::Test"]],["impl Unpin for TestCases",1,["leo_test_framework::runner::TestCases"]],["impl Unpin for TestExpectationMode",1,["leo_test_framework::test::TestExpectationMode"]],["impl Unpin for TestConfig",1,["leo_test_framework::test::TestConfig"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/ops/arith/trait.Add.js b/trait.impl/core/ops/arith/trait.Add.js new file mode 100644 index 0000000000..5c41c98c0a --- /dev/null +++ b/trait.impl/core/ops/arith/trait.Add.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_span":[["impl Add for BytePos"],["impl Add for &Span"],["impl Add for Span"],["impl Add for CharPos"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/ops/arith/trait.Sub.js b/trait.impl/core/ops/arith/trait.Sub.js new file mode 100644 index 0000000000..6780f64dc8 --- /dev/null +++ b/trait.impl/core/ops/arith/trait.Sub.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_span":[["impl Sub for CharPos"],["impl Sub for BytePos"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/ops/deref/trait.Deref.js b/trait.impl/core/ops/deref/trait.Deref.js similarity index 86% rename from implementors/core/ops/deref/trait.Deref.js rename to trait.impl/core/ops/deref/trait.Deref.js index f2d22665d8..e508bbbab0 100644 --- a/implementors/core/ops/deref/trait.Deref.js +++ b/trait.impl/core/ops/deref/trait.Deref.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_span":[["impl Deref for InternedStr"]] +"leo_span":[["impl Deref for InternedStr"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js similarity index 82% rename from implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js rename to trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js index 41dfd60901..592649516c 100644 --- a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,12 +1,12 @@ (function() {var implementors = { -"leo_abnf":[["impl RefUnwindSafe for Scope",1,["leo_abnf::Scope"]],["impl<'a> RefUnwindSafe for Processor<'a>",1,["leo_abnf::Processor"]]], -"leo_ast":[["impl RefUnwindSafe for ArrayAccess",1,["leo_ast::access::array_access::ArrayAccess"]],["impl RefUnwindSafe for AssociatedConstant",1,["leo_ast::access::associated_constant_access::AssociatedConstant"]],["impl RefUnwindSafe for AssociatedFunction",1,["leo_ast::access::associated_function_access::AssociatedFunction"]],["impl RefUnwindSafe for MemberAccess",1,["leo_ast::access::member_access::MemberAccess"]],["impl RefUnwindSafe for TupleAccess",1,["leo_ast::access::tuple_access::TupleAccess"]],["impl RefUnwindSafe for Member",1,["leo_ast::struct::member::Member"]],["impl RefUnwindSafe for Struct",1,["leo_ast::struct::Struct"]],["impl RefUnwindSafe for Identifier",1,["leo_ast::common::identifier::Identifier"]],["impl RefUnwindSafe for NonNegativeNumber",1,["leo_ast::common::positive_number::NonNegativeNumber"]],["impl !RefUnwindSafe for NodeBuilder",1,["leo_ast::common::node_builder::NodeBuilder"]],["impl RefUnwindSafe for NodeBuilderInner",1,["leo_ast::common::node_builder::NodeBuilderInner"]],["impl RefUnwindSafe for StaticString",1,["leo_ast::common::static_string::StaticString"]],["impl RefUnwindSafe for AccessExpression",1,["leo_ast::expressions::access::AccessExpression"]],["impl RefUnwindSafe for ArrayExpression",1,["leo_ast::expressions::array::ArrayExpression"]],["impl RefUnwindSafe for BinaryOperation",1,["leo_ast::expressions::binary::BinaryOperation"]],["impl RefUnwindSafe for BinaryExpression",1,["leo_ast::expressions::binary::BinaryExpression"]],["impl RefUnwindSafe for CallExpression",1,["leo_ast::expressions::call::CallExpression"]],["impl RefUnwindSafe for CastExpression",1,["leo_ast::expressions::cast::CastExpression"]],["impl RefUnwindSafe for StructVariableInitializer",1,["leo_ast::expressions::struct_init::StructVariableInitializer"]],["impl RefUnwindSafe for StructExpression",1,["leo_ast::expressions::struct_init::StructExpression"]],["impl RefUnwindSafe for ErrExpression",1,["leo_ast::expressions::err::ErrExpression"]],["impl RefUnwindSafe for TernaryExpression",1,["leo_ast::expressions::ternary::TernaryExpression"]],["impl RefUnwindSafe for TupleExpression",1,["leo_ast::expressions::tuple::TupleExpression"]],["impl RefUnwindSafe for UnaryOperation",1,["leo_ast::expressions::unary::UnaryOperation"]],["impl RefUnwindSafe for UnaryExpression",1,["leo_ast::expressions::unary::UnaryExpression"]],["impl RefUnwindSafe for UnitExpression",1,["leo_ast::expressions::unit::UnitExpression"]],["impl RefUnwindSafe for Literal",1,["leo_ast::expressions::literal::Literal"]],["impl RefUnwindSafe for Expression",1,["leo_ast::expressions::Expression"]],["impl RefUnwindSafe for Annotation",1,["leo_ast::functions::annotation::Annotation"]],["impl RefUnwindSafe for CoreFunction",1,["leo_ast::functions::core_function::CoreFunction"]],["impl RefUnwindSafe for Variant",1,["leo_ast::functions::variant::Variant"]],["impl RefUnwindSafe for External",1,["leo_ast::functions::external::External"]],["impl !RefUnwindSafe for Finalize",1,["leo_ast::functions::finalize::Finalize"]],["impl RefUnwindSafe for Input",1,["leo_ast::functions::input::Input"]],["impl RefUnwindSafe for FunctionInput",1,["leo_ast::functions::input::FunctionInput"]],["impl RefUnwindSafe for Output",1,["leo_ast::functions::output::Output"]],["impl RefUnwindSafe for FunctionOutput",1,["leo_ast::functions::output::FunctionOutput"]],["impl RefUnwindSafe for Mode",1,["leo_ast::functions::mode::Mode"]],["impl !RefUnwindSafe for Function",1,["leo_ast::functions::Function"]],["impl RefUnwindSafe for GroupCoordinate",1,["leo_ast::groups::group_coordinate::GroupCoordinate"]],["impl RefUnwindSafe for GroupLiteral",1,["leo_ast::groups::group_literal::GroupLiteral"]],["impl RefUnwindSafe for GroupTuple",1,["leo_ast::groups::group_literal::GroupTuple"]],["impl RefUnwindSafe for Definition",1,["leo_ast::input::definition::Definition"]],["impl RefUnwindSafe for InputData",1,["leo_ast::input::input_ast::InputData"]],["impl RefUnwindSafe for InputAst",1,["leo_ast::input::input_ast::InputAst"]],["impl RefUnwindSafe for InputValue",1,["leo_ast::input::input_value::InputValue"]],["impl RefUnwindSafe for ProgramInput",1,["leo_ast::input::program_input::ProgramInput"]],["impl RefUnwindSafe for Section",1,["leo_ast::input::section::Section"]],["impl RefUnwindSafe for Mapping",1,["leo_ast::mapping::Mapping"]],["impl RefUnwindSafe for ProgramId",1,["leo_ast::program::program_id::ProgramId"]],["impl !RefUnwindSafe for ProgramScope",1,["leo_ast::program::program_scope::ProgramScope"]],["impl !RefUnwindSafe for Program",1,["leo_ast::program::Program"]],["impl RefUnwindSafe for AssertVariant",1,["leo_ast::statement::assert::AssertVariant"]],["impl RefUnwindSafe for AssertStatement",1,["leo_ast::statement::assert::AssertStatement"]],["impl RefUnwindSafe for AssignStatement",1,["leo_ast::statement::assign::AssignStatement"]],["impl !RefUnwindSafe for Block",1,["leo_ast::statement::block::Block"]],["impl !RefUnwindSafe for ConditionalStatement",1,["leo_ast::statement::conditional::ConditionalStatement"]],["impl RefUnwindSafe for ConsoleFunction",1,["leo_ast::statement::console::console_function::ConsoleFunction"]],["impl RefUnwindSafe for ConsoleStatement",1,["leo_ast::statement::console::console_statement::ConsoleStatement"]],["impl RefUnwindSafe for ConstDeclaration",1,["leo_ast::statement::const_::ConstDeclaration"]],["impl RefUnwindSafe for DeclarationType",1,["leo_ast::statement::definition::declaration_type::DeclarationType"]],["impl RefUnwindSafe for DefinitionStatement",1,["leo_ast::statement::definition::DefinitionStatement"]],["impl RefUnwindSafe for ExpressionStatement",1,["leo_ast::statement::expression::ExpressionStatement"]],["impl !RefUnwindSafe for IterationStatement",1,["leo_ast::statement::iteration::IterationStatement"]],["impl RefUnwindSafe for ReturnStatement",1,["leo_ast::statement::return_::ReturnStatement"]],["impl !RefUnwindSafe for Statement",1,["leo_ast::statement::Statement"]],["impl RefUnwindSafe for ArrayType",1,["leo_ast::types::array::ArrayType"]],["impl RefUnwindSafe for CoreConstant",1,["leo_ast::types::core_constant::CoreConstant"]],["impl RefUnwindSafe for IntegerType",1,["leo_ast::types::integer_type::IntegerType"]],["impl RefUnwindSafe for MappingType",1,["leo_ast::types::mapping::MappingType"]],["impl RefUnwindSafe for TupleType",1,["leo_ast::types::tuple::TupleType"]],["impl RefUnwindSafe for Type",1,["leo_ast::types::type_::Type"]],["impl RefUnwindSafe for Value",1,["leo_ast::value::Value"]],["impl !RefUnwindSafe for Ast",1,["leo_ast::Ast"]]], -"leo_compiler":[["impl<'a> !RefUnwindSafe for Compiler<'a>",1,["leo_compiler::compiler::Compiler"]],["impl RefUnwindSafe for CompilerOptions",1,["leo_compiler::options::CompilerOptions"]],["impl RefUnwindSafe for BuildOptions",1,["leo_compiler::options::BuildOptions"]],["impl RefUnwindSafe for OutputOptions",1,["leo_compiler::options::OutputOptions"]]], -"leo_errors":[["impl RefUnwindSafe for Backtraced",1,["leo_errors::common::backtraced::Backtraced"]],["impl RefUnwindSafe for Formatted",1,["leo_errors::common::formatted::Formatted"]],["impl RefUnwindSafe for StderrEmitter",1,["leo_errors::emitter::StderrEmitter"]],["impl<T> RefUnwindSafe for Buffer<T>where\n T: RefUnwindSafe,",1,["leo_errors::emitter::Buffer"]],["impl !RefUnwindSafe for BufferEmitter",1,["leo_errors::emitter::BufferEmitter"]],["impl !RefUnwindSafe for HandlerInner",1,["leo_errors::emitter::HandlerInner"]],["impl !RefUnwindSafe for Handler",1,["leo_errors::emitter::Handler"]],["impl RefUnwindSafe for AstError",1,["leo_errors::errors::ast::ast_errors::AstError"]],["impl RefUnwindSafe for CliError",1,["leo_errors::errors::cli::cli_errors::CliError"]],["impl RefUnwindSafe for CompilerError",1,["leo_errors::errors::compiler::compiler_errors::CompilerError"]],["impl RefUnwindSafe for FlattenError",1,["leo_errors::errors::flattener::flattener_errors::FlattenError"]],["impl RefUnwindSafe for InputError",1,["leo_errors::errors::input::input_errors::InputError"]],["impl RefUnwindSafe for LoopUnrollerError",1,["leo_errors::errors::loop_unroller::loop_unroller_errors::LoopUnrollerError"]],["impl RefUnwindSafe for PackageError",1,["leo_errors::errors::package::package_errors::PackageError"]],["impl RefUnwindSafe for ParserError",1,["leo_errors::errors::parser::parser_errors::ParserError"]],["impl RefUnwindSafe for ParserWarning",1,["leo_errors::errors::parser::parser_warnings::ParserWarning"]],["impl RefUnwindSafe for TypeCheckerError",1,["leo_errors::errors::type_checker::type_checker_error::TypeCheckerError"]],["impl RefUnwindSafe for LeoError",1,["leo_errors::errors::LeoError"]],["impl RefUnwindSafe for LeoWarning",1,["leo_errors::errors::LeoWarning"]]], -"leo_lang":[["impl RefUnwindSafe for CLI",1,["leo_lang::cli::cli::CLI"]],["impl RefUnwindSafe for Commands",1,["leo_lang::cli::cli::Commands"]],["impl RefUnwindSafe for Account",1,["leo_lang::cli::commands::account::Account"]],["impl RefUnwindSafe for Build",1,["leo_lang::cli::commands::build::Build"]],["impl RefUnwindSafe for Clean",1,["leo_lang::cli::commands::clean::Clean"]],["impl RefUnwindSafe for Example",1,["leo_lang::cli::commands::example::Example"]],["impl RefUnwindSafe for Execute",1,["leo_lang::cli::commands::execute::Execute"]],["impl RefUnwindSafe for New",1,["leo_lang::cli::commands::new::New"]],["impl RefUnwindSafe for Run",1,["leo_lang::cli::commands::run::Run"]],["impl RefUnwindSafe for Update",1,["leo_lang::cli::commands::update::Update"]],["impl RefUnwindSafe for BuildOptions",1,["leo_lang::cli::commands::BuildOptions"]],["impl RefUnwindSafe for Context",1,["leo_lang::cli::helpers::context::Context"]],["impl<F, T> RefUnwindSafe for Format<F, T>where\n F: RefUnwindSafe,\n T: RefUnwindSafe,",1,["leo_lang::cli::helpers::logger::Format"]],["impl RefUnwindSafe for Updater",1,["leo_lang::cli::helpers::updater::Updater"]]], -"leo_package":[["impl RefUnwindSafe for BuildDirectory",1,["leo_package::build::directory::BuildDirectory"]],["impl RefUnwindSafe for ImportsDirectory",1,["leo_package::imports::directory::ImportsDirectory"]],["impl RefUnwindSafe for InputsDirectory",1,["leo_package::inputs::directory::InputsDirectory"]],["impl RefUnwindSafe for InputFile",1,["leo_package::inputs::input::InputFile"]],["impl RefUnwindSafe for Snapshot",1,["leo_package::outputs::ast_snapshot::Snapshot"]],["impl RefUnwindSafe for SnapshotFile",1,["leo_package::outputs::ast_snapshot::SnapshotFile"]],["impl RefUnwindSafe for CircuitFile",1,["leo_package::outputs::circuit::CircuitFile"]],["impl RefUnwindSafe for ChecksumFile",1,["leo_package::outputs::checksum::ChecksumFile"]],["impl RefUnwindSafe for OutputsDirectory",1,["leo_package::outputs::directory::OutputsDirectory"]],["impl<N> RefUnwindSafe for Package<N>where\n N: RefUnwindSafe,",1,["leo_package::package::Package"]],["impl<N> RefUnwindSafe for Env<N>where\n N: RefUnwindSafe,",1,["leo_package::root::env::Env"]],["impl RefUnwindSafe for Gitignore",1,["leo_package::root::gitignore::Gitignore"]],["impl RefUnwindSafe for SourceDirectory",1,["leo_package::source::directory::SourceDirectory"]],["impl RefUnwindSafe for MainFile",1,["leo_package::source::main::MainFile"]]], -"leo_parser":[["impl RefUnwindSafe for Token",1,["leo_parser::tokenizer::token::Token"]],["impl RefUnwindSafe for Delimiter",1,["leo_parser::tokenizer::token::Delimiter"]],["impl RefUnwindSafe for SpannedToken",1,["leo_parser::tokenizer::lexer::SpannedToken"]],["impl<'a> !RefUnwindSafe for ParserContext<'a>",1,["leo_parser::parser::context::ParserContext"]]], -"leo_passes":[["impl<'a> !RefUnwindSafe for CodeGenerator<'a>",1,["leo_passes::code_generation::generator::CodeGenerator"]],["impl !RefUnwindSafe for Assigner",1,["leo_passes::common::assigner::Assigner"]],["impl RefUnwindSafe for AssignerInner",1,["leo_passes::common::assigner::AssignerInner"]],["impl<N> RefUnwindSafe for DiGraphError<N>where\n N: RefUnwindSafe,",1,["leo_passes::common::graph::DiGraphError"]],["impl<N> RefUnwindSafe for DiGraph<N>where\n N: RefUnwindSafe,",1,["leo_passes::common::graph::DiGraph"]],["impl RefUnwindSafe for RenameTable",1,["leo_passes::common::rename_table::RenameTable"]],["impl<F> RefUnwindSafe for Replacer<F>where\n F: RefUnwindSafe,",1,["leo_passes::common::replacer::Replacer"]],["impl !RefUnwindSafe for ConstantPropagationTable",1,["leo_passes::common::constant_propagation_table::ConstantPropagationTable"]],["impl RefUnwindSafe for FinalizeData",1,["leo_passes::common::symbol_table::function_symbol::FinalizeData"]],["impl RefUnwindSafe for FunctionSymbol",1,["leo_passes::common::symbol_table::function_symbol::FunctionSymbol"]],["impl RefUnwindSafe for VariableType",1,["leo_passes::common::symbol_table::variable_symbol::VariableType"]],["impl RefUnwindSafe for VariableSymbol",1,["leo_passes::common::symbol_table::variable_symbol::VariableSymbol"]],["impl !RefUnwindSafe for SymbolTable",1,["leo_passes::common::symbol_table::SymbolTable"]],["impl !RefUnwindSafe for TypeTable",1,["leo_passes::common::type_table::TypeTable"]],["impl<'a> !RefUnwindSafe for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["impl<'a> !RefUnwindSafe for Destructurer<'a>",1,["leo_passes::destructuring::destructurer::Destructurer"]],["impl<'a> !RefUnwindSafe for Flattener<'a>",1,["leo_passes::flattening::flattener::Flattener"]],["impl<'a> !RefUnwindSafe for AssignmentRenamer<'a>",1,["leo_passes::function_inlining::assignment_renamer::AssignmentRenamer"]],["impl<'a> !RefUnwindSafe for FunctionInliner<'a>",1,["leo_passes::function_inlining::function_inliner::FunctionInliner"]],["impl RefUnwindSafe for Clusivity",1,["leo_passes::loop_unrolling::range_iterator::Clusivity"]],["impl<I> RefUnwindSafe for RangeIterator<I>where\n I: RefUnwindSafe,",1,["leo_passes::loop_unrolling::range_iterator::RangeIterator"]],["impl<'a> !RefUnwindSafe for Unroller<'a>",1,["leo_passes::loop_unrolling::unroller::Unroller"]],["impl<'a> !RefUnwindSafe for StaticSingleAssigner<'a>",1,["leo_passes::static_single_assignment::static_single_assigner::StaticSingleAssigner"]],["impl<'a> !RefUnwindSafe for SymbolTableCreator<'a>",1,["leo_passes::symbol_table_creation::creator::SymbolTableCreator"]],["impl<'a> !RefUnwindSafe for TypeChecker<'a>",1,["leo_passes::type_checking::checker::TypeChecker"]]], -"leo_span":[["impl RefUnwindSafe for Symbol",1,["leo_span::symbol::Symbol"]],["impl !RefUnwindSafe for SessionGlobals",1,["leo_span::symbol::SessionGlobals"]],["impl RefUnwindSafe for InternedStr",1,["leo_span::symbol::InternedStr"]],["impl RefUnwindSafe for InnerInterner",1,["leo_span::symbol::InnerInterner"]],["impl !RefUnwindSafe for Interner",1,["leo_span::symbol::Interner"]],["impl RefUnwindSafe for Span",1,["leo_span::span::Span"]],["impl RefUnwindSafe for BytePos",1,["leo_span::span::BytePos"]],["impl RefUnwindSafe for CharPos",1,["leo_span::span::CharPos"]],["impl RefUnwindSafe for SpanMapVisitor",1,["leo_span::span_json::SpanMapVisitor"]],["impl !RefUnwindSafe for SourceMap",1,["leo_span::source_map::SourceMap"]],["impl RefUnwindSafe for SourceMapInner",1,["leo_span::source_map::SourceMapInner"]],["impl RefUnwindSafe for FileName",1,["leo_span::source_map::FileName"]],["impl RefUnwindSafe for SourceFile",1,["leo_span::source_map::SourceFile"]],["impl RefUnwindSafe for SpanLocation",1,["leo_span::source_map::SpanLocation"]],["impl RefUnwindSafe for LineCol",1,["leo_span::source_map::LineCol"]],["impl RefUnwindSafe for MultiByteChar",1,["leo_span::source_map::MultiByteChar"]]], -"leo_test_framework":[["impl RefUnwindSafe for TestFailure",1,["leo_test_framework::error::TestFailure"]],["impl RefUnwindSafe for TestError",1,["leo_test_framework::error::TestError"]],["impl RefUnwindSafe for TestExpectation",1,["leo_test_framework::output::TestExpectation"]],["impl RefUnwindSafe for ParseType",1,["leo_test_framework::runner::ParseType"]],["impl RefUnwindSafe for Test",1,["leo_test_framework::runner::Test"]],["impl RefUnwindSafe for TestCases",1,["leo_test_framework::runner::TestCases"]],["impl RefUnwindSafe for TestExpectationMode",1,["leo_test_framework::test::TestExpectationMode"]],["impl RefUnwindSafe for TestConfig",1,["leo_test_framework::test::TestConfig"]]] +"leo_abnf":[["impl RefUnwindSafe for Scope",1,["leo_abnf::Scope"]],["impl<'a> RefUnwindSafe for Processor<'a>",1,["leo_abnf::Processor"]]], +"leo_ast":[["impl RefUnwindSafe for ArrayAccess",1,["leo_ast::access::array_access::ArrayAccess"]],["impl RefUnwindSafe for AssociatedConstant",1,["leo_ast::access::associated_constant_access::AssociatedConstant"]],["impl RefUnwindSafe for AssociatedFunction",1,["leo_ast::access::associated_function_access::AssociatedFunction"]],["impl RefUnwindSafe for MemberAccess",1,["leo_ast::access::member_access::MemberAccess"]],["impl RefUnwindSafe for TupleAccess",1,["leo_ast::access::tuple_access::TupleAccess"]],["impl RefUnwindSafe for Member",1,["leo_ast::struct::member::Member"]],["impl RefUnwindSafe for Struct",1,["leo_ast::struct::Struct"]],["impl RefUnwindSafe for Identifier",1,["leo_ast::common::identifier::Identifier"]],["impl RefUnwindSafe for NonNegativeNumber",1,["leo_ast::common::positive_number::NonNegativeNumber"]],["impl !RefUnwindSafe for NodeBuilder",1,["leo_ast::common::node_builder::NodeBuilder"]],["impl RefUnwindSafe for NodeBuilderInner",1,["leo_ast::common::node_builder::NodeBuilderInner"]],["impl RefUnwindSafe for StaticString",1,["leo_ast::common::static_string::StaticString"]],["impl RefUnwindSafe for AccessExpression",1,["leo_ast::expressions::access::AccessExpression"]],["impl RefUnwindSafe for ArrayExpression",1,["leo_ast::expressions::array::ArrayExpression"]],["impl RefUnwindSafe for BinaryOperation",1,["leo_ast::expressions::binary::BinaryOperation"]],["impl RefUnwindSafe for BinaryExpression",1,["leo_ast::expressions::binary::BinaryExpression"]],["impl RefUnwindSafe for CallExpression",1,["leo_ast::expressions::call::CallExpression"]],["impl RefUnwindSafe for CastExpression",1,["leo_ast::expressions::cast::CastExpression"]],["impl RefUnwindSafe for StructVariableInitializer",1,["leo_ast::expressions::struct_init::StructVariableInitializer"]],["impl RefUnwindSafe for StructExpression",1,["leo_ast::expressions::struct_init::StructExpression"]],["impl RefUnwindSafe for ErrExpression",1,["leo_ast::expressions::err::ErrExpression"]],["impl RefUnwindSafe for TernaryExpression",1,["leo_ast::expressions::ternary::TernaryExpression"]],["impl RefUnwindSafe for TupleExpression",1,["leo_ast::expressions::tuple::TupleExpression"]],["impl RefUnwindSafe for UnaryOperation",1,["leo_ast::expressions::unary::UnaryOperation"]],["impl RefUnwindSafe for UnaryExpression",1,["leo_ast::expressions::unary::UnaryExpression"]],["impl RefUnwindSafe for UnitExpression",1,["leo_ast::expressions::unit::UnitExpression"]],["impl RefUnwindSafe for Literal",1,["leo_ast::expressions::literal::Literal"]],["impl RefUnwindSafe for Expression",1,["leo_ast::expressions::Expression"]],["impl RefUnwindSafe for Annotation",1,["leo_ast::functions::annotation::Annotation"]],["impl RefUnwindSafe for CoreFunction",1,["leo_ast::functions::core_function::CoreFunction"]],["impl RefUnwindSafe for Variant",1,["leo_ast::functions::variant::Variant"]],["impl RefUnwindSafe for External",1,["leo_ast::functions::external::External"]],["impl !RefUnwindSafe for Finalize",1,["leo_ast::functions::finalize::Finalize"]],["impl RefUnwindSafe for Input",1,["leo_ast::functions::input::Input"]],["impl RefUnwindSafe for FunctionInput",1,["leo_ast::functions::input::FunctionInput"]],["impl RefUnwindSafe for Output",1,["leo_ast::functions::output::Output"]],["impl RefUnwindSafe for FunctionOutput",1,["leo_ast::functions::output::FunctionOutput"]],["impl RefUnwindSafe for Mode",1,["leo_ast::functions::mode::Mode"]],["impl !RefUnwindSafe for Function",1,["leo_ast::functions::Function"]],["impl RefUnwindSafe for GroupCoordinate",1,["leo_ast::groups::group_coordinate::GroupCoordinate"]],["impl RefUnwindSafe for GroupLiteral",1,["leo_ast::groups::group_literal::GroupLiteral"]],["impl RefUnwindSafe for GroupTuple",1,["leo_ast::groups::group_literal::GroupTuple"]],["impl RefUnwindSafe for Definition",1,["leo_ast::input::definition::Definition"]],["impl RefUnwindSafe for InputData",1,["leo_ast::input::input_ast::InputData"]],["impl RefUnwindSafe for InputAst",1,["leo_ast::input::input_ast::InputAst"]],["impl RefUnwindSafe for InputValue",1,["leo_ast::input::input_value::InputValue"]],["impl RefUnwindSafe for ProgramInput",1,["leo_ast::input::program_input::ProgramInput"]],["impl RefUnwindSafe for Section",1,["leo_ast::input::section::Section"]],["impl RefUnwindSafe for Mapping",1,["leo_ast::mapping::Mapping"]],["impl RefUnwindSafe for ProgramId",1,["leo_ast::program::program_id::ProgramId"]],["impl !RefUnwindSafe for ProgramScope",1,["leo_ast::program::program_scope::ProgramScope"]],["impl !RefUnwindSafe for Program",1,["leo_ast::program::Program"]],["impl RefUnwindSafe for AssertVariant",1,["leo_ast::statement::assert::AssertVariant"]],["impl RefUnwindSafe for AssertStatement",1,["leo_ast::statement::assert::AssertStatement"]],["impl RefUnwindSafe for AssignStatement",1,["leo_ast::statement::assign::AssignStatement"]],["impl !RefUnwindSafe for Block",1,["leo_ast::statement::block::Block"]],["impl !RefUnwindSafe for ConditionalStatement",1,["leo_ast::statement::conditional::ConditionalStatement"]],["impl RefUnwindSafe for ConsoleFunction",1,["leo_ast::statement::console::console_function::ConsoleFunction"]],["impl RefUnwindSafe for ConsoleStatement",1,["leo_ast::statement::console::console_statement::ConsoleStatement"]],["impl RefUnwindSafe for ConstDeclaration",1,["leo_ast::statement::const_::ConstDeclaration"]],["impl RefUnwindSafe for DeclarationType",1,["leo_ast::statement::definition::declaration_type::DeclarationType"]],["impl RefUnwindSafe for DefinitionStatement",1,["leo_ast::statement::definition::DefinitionStatement"]],["impl RefUnwindSafe for ExpressionStatement",1,["leo_ast::statement::expression::ExpressionStatement"]],["impl !RefUnwindSafe for IterationStatement",1,["leo_ast::statement::iteration::IterationStatement"]],["impl RefUnwindSafe for ReturnStatement",1,["leo_ast::statement::return_::ReturnStatement"]],["impl !RefUnwindSafe for Statement",1,["leo_ast::statement::Statement"]],["impl RefUnwindSafe for ArrayType",1,["leo_ast::types::array::ArrayType"]],["impl RefUnwindSafe for CoreConstant",1,["leo_ast::types::core_constant::CoreConstant"]],["impl RefUnwindSafe for IntegerType",1,["leo_ast::types::integer_type::IntegerType"]],["impl RefUnwindSafe for MappingType",1,["leo_ast::types::mapping::MappingType"]],["impl RefUnwindSafe for TupleType",1,["leo_ast::types::tuple::TupleType"]],["impl RefUnwindSafe for Type",1,["leo_ast::types::type_::Type"]],["impl RefUnwindSafe for Value",1,["leo_ast::value::Value"]],["impl !RefUnwindSafe for Ast",1,["leo_ast::Ast"]]], +"leo_compiler":[["impl<'a> !RefUnwindSafe for Compiler<'a>",1,["leo_compiler::compiler::Compiler"]],["impl RefUnwindSafe for CompilerOptions",1,["leo_compiler::options::CompilerOptions"]],["impl RefUnwindSafe for BuildOptions",1,["leo_compiler::options::BuildOptions"]],["impl RefUnwindSafe for OutputOptions",1,["leo_compiler::options::OutputOptions"]]], +"leo_errors":[["impl RefUnwindSafe for Backtraced",1,["leo_errors::common::backtraced::Backtraced"]],["impl RefUnwindSafe for Formatted",1,["leo_errors::common::formatted::Formatted"]],["impl RefUnwindSafe for StderrEmitter",1,["leo_errors::emitter::StderrEmitter"]],["impl<T> RefUnwindSafe for Buffer<T>where\n T: RefUnwindSafe,",1,["leo_errors::emitter::Buffer"]],["impl !RefUnwindSafe for BufferEmitter",1,["leo_errors::emitter::BufferEmitter"]],["impl !RefUnwindSafe for HandlerInner",1,["leo_errors::emitter::HandlerInner"]],["impl !RefUnwindSafe for Handler",1,["leo_errors::emitter::Handler"]],["impl RefUnwindSafe for AstError",1,["leo_errors::errors::ast::ast_errors::AstError"]],["impl RefUnwindSafe for CliError",1,["leo_errors::errors::cli::cli_errors::CliError"]],["impl RefUnwindSafe for CompilerError",1,["leo_errors::errors::compiler::compiler_errors::CompilerError"]],["impl RefUnwindSafe for FlattenError",1,["leo_errors::errors::flattener::flattener_errors::FlattenError"]],["impl RefUnwindSafe for InputError",1,["leo_errors::errors::input::input_errors::InputError"]],["impl RefUnwindSafe for LoopUnrollerError",1,["leo_errors::errors::loop_unroller::loop_unroller_errors::LoopUnrollerError"]],["impl RefUnwindSafe for PackageError",1,["leo_errors::errors::package::package_errors::PackageError"]],["impl RefUnwindSafe for ParserError",1,["leo_errors::errors::parser::parser_errors::ParserError"]],["impl RefUnwindSafe for ParserWarning",1,["leo_errors::errors::parser::parser_warnings::ParserWarning"]],["impl RefUnwindSafe for TypeCheckerError",1,["leo_errors::errors::type_checker::type_checker_error::TypeCheckerError"]],["impl RefUnwindSafe for LeoError",1,["leo_errors::errors::LeoError"]],["impl RefUnwindSafe for LeoWarning",1,["leo_errors::errors::LeoWarning"]]], +"leo_lang":[["impl RefUnwindSafe for CLI",1,["leo_lang::cli::cli::CLI"]],["impl RefUnwindSafe for Commands",1,["leo_lang::cli::cli::Commands"]],["impl RefUnwindSafe for Account",1,["leo_lang::cli::commands::account::Account"]],["impl RefUnwindSafe for Build",1,["leo_lang::cli::commands::build::Build"]],["impl RefUnwindSafe for Clean",1,["leo_lang::cli::commands::clean::Clean"]],["impl RefUnwindSafe for Example",1,["leo_lang::cli::commands::example::Example"]],["impl RefUnwindSafe for Execute",1,["leo_lang::cli::commands::execute::Execute"]],["impl RefUnwindSafe for New",1,["leo_lang::cli::commands::new::New"]],["impl RefUnwindSafe for Run",1,["leo_lang::cli::commands::run::Run"]],["impl RefUnwindSafe for Update",1,["leo_lang::cli::commands::update::Update"]],["impl RefUnwindSafe for BuildOptions",1,["leo_lang::cli::commands::BuildOptions"]],["impl RefUnwindSafe for Context",1,["leo_lang::cli::helpers::context::Context"]],["impl<F, T> RefUnwindSafe for Format<F, T>where\n F: RefUnwindSafe,\n T: RefUnwindSafe,",1,["leo_lang::cli::helpers::logger::Format"]],["impl RefUnwindSafe for Updater",1,["leo_lang::cli::helpers::updater::Updater"]]], +"leo_package":[["impl RefUnwindSafe for BuildDirectory",1,["leo_package::build::directory::BuildDirectory"]],["impl RefUnwindSafe for ImportsDirectory",1,["leo_package::imports::directory::ImportsDirectory"]],["impl RefUnwindSafe for InputsDirectory",1,["leo_package::inputs::directory::InputsDirectory"]],["impl RefUnwindSafe for InputFile",1,["leo_package::inputs::input::InputFile"]],["impl RefUnwindSafe for Snapshot",1,["leo_package::outputs::ast_snapshot::Snapshot"]],["impl RefUnwindSafe for SnapshotFile",1,["leo_package::outputs::ast_snapshot::SnapshotFile"]],["impl RefUnwindSafe for CircuitFile",1,["leo_package::outputs::circuit::CircuitFile"]],["impl RefUnwindSafe for ChecksumFile",1,["leo_package::outputs::checksum::ChecksumFile"]],["impl RefUnwindSafe for OutputsDirectory",1,["leo_package::outputs::directory::OutputsDirectory"]],["impl<N> RefUnwindSafe for Package<N>where\n N: RefUnwindSafe,",1,["leo_package::package::Package"]],["impl<N> RefUnwindSafe for Env<N>where\n N: RefUnwindSafe,",1,["leo_package::root::env::Env"]],["impl RefUnwindSafe for Gitignore",1,["leo_package::root::gitignore::Gitignore"]],["impl RefUnwindSafe for SourceDirectory",1,["leo_package::source::directory::SourceDirectory"]],["impl RefUnwindSafe for MainFile",1,["leo_package::source::main::MainFile"]]], +"leo_parser":[["impl RefUnwindSafe for Token",1,["leo_parser::tokenizer::token::Token"]],["impl RefUnwindSafe for Delimiter",1,["leo_parser::tokenizer::token::Delimiter"]],["impl RefUnwindSafe for SpannedToken",1,["leo_parser::tokenizer::lexer::SpannedToken"]],["impl<'a> !RefUnwindSafe for ParserContext<'a>",1,["leo_parser::parser::context::ParserContext"]]], +"leo_passes":[["impl<'a> !RefUnwindSafe for CodeGenerator<'a>",1,["leo_passes::code_generation::generator::CodeGenerator"]],["impl !RefUnwindSafe for Assigner",1,["leo_passes::common::assigner::Assigner"]],["impl RefUnwindSafe for AssignerInner",1,["leo_passes::common::assigner::AssignerInner"]],["impl<N> RefUnwindSafe for DiGraphError<N>where\n N: RefUnwindSafe,",1,["leo_passes::common::graph::DiGraphError"]],["impl<N> RefUnwindSafe for DiGraph<N>where\n N: RefUnwindSafe,",1,["leo_passes::common::graph::DiGraph"]],["impl RefUnwindSafe for RenameTable",1,["leo_passes::common::rename_table::RenameTable"]],["impl<F> RefUnwindSafe for Replacer<F>where\n F: RefUnwindSafe,",1,["leo_passes::common::replacer::Replacer"]],["impl !RefUnwindSafe for ConstantPropagationTable",1,["leo_passes::common::constant_propagation_table::ConstantPropagationTable"]],["impl RefUnwindSafe for FinalizeData",1,["leo_passes::common::symbol_table::function_symbol::FinalizeData"]],["impl RefUnwindSafe for FunctionSymbol",1,["leo_passes::common::symbol_table::function_symbol::FunctionSymbol"]],["impl RefUnwindSafe for VariableType",1,["leo_passes::common::symbol_table::variable_symbol::VariableType"]],["impl RefUnwindSafe for VariableSymbol",1,["leo_passes::common::symbol_table::variable_symbol::VariableSymbol"]],["impl !RefUnwindSafe for SymbolTable",1,["leo_passes::common::symbol_table::SymbolTable"]],["impl !RefUnwindSafe for TypeTable",1,["leo_passes::common::type_table::TypeTable"]],["impl<'a> !RefUnwindSafe for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["impl<'a> !RefUnwindSafe for Destructurer<'a>",1,["leo_passes::destructuring::destructurer::Destructurer"]],["impl<'a> !RefUnwindSafe for Flattener<'a>",1,["leo_passes::flattening::flattener::Flattener"]],["impl<'a> !RefUnwindSafe for AssignmentRenamer<'a>",1,["leo_passes::function_inlining::assignment_renamer::AssignmentRenamer"]],["impl<'a> !RefUnwindSafe for FunctionInliner<'a>",1,["leo_passes::function_inlining::function_inliner::FunctionInliner"]],["impl RefUnwindSafe for Clusivity",1,["leo_passes::loop_unrolling::range_iterator::Clusivity"]],["impl<I> RefUnwindSafe for RangeIterator<I>where\n I: RefUnwindSafe,",1,["leo_passes::loop_unrolling::range_iterator::RangeIterator"]],["impl<'a> !RefUnwindSafe for Unroller<'a>",1,["leo_passes::loop_unrolling::unroller::Unroller"]],["impl<'a> !RefUnwindSafe for StaticSingleAssigner<'a>",1,["leo_passes::static_single_assignment::static_single_assigner::StaticSingleAssigner"]],["impl<'a> !RefUnwindSafe for SymbolTableCreator<'a>",1,["leo_passes::symbol_table_creation::creator::SymbolTableCreator"]],["impl<'a> !RefUnwindSafe for TypeChecker<'a>",1,["leo_passes::type_checking::checker::TypeChecker"]]], +"leo_span":[["impl RefUnwindSafe for Symbol",1,["leo_span::symbol::Symbol"]],["impl !RefUnwindSafe for SessionGlobals",1,["leo_span::symbol::SessionGlobals"]],["impl RefUnwindSafe for InternedStr",1,["leo_span::symbol::InternedStr"]],["impl RefUnwindSafe for InnerInterner",1,["leo_span::symbol::InnerInterner"]],["impl !RefUnwindSafe for Interner",1,["leo_span::symbol::Interner"]],["impl RefUnwindSafe for Span",1,["leo_span::span::Span"]],["impl RefUnwindSafe for BytePos",1,["leo_span::span::BytePos"]],["impl RefUnwindSafe for CharPos",1,["leo_span::span::CharPos"]],["impl RefUnwindSafe for SpanMapVisitor",1,["leo_span::span_json::SpanMapVisitor"]],["impl !RefUnwindSafe for SourceMap",1,["leo_span::source_map::SourceMap"]],["impl RefUnwindSafe for SourceMapInner",1,["leo_span::source_map::SourceMapInner"]],["impl RefUnwindSafe for FileName",1,["leo_span::source_map::FileName"]],["impl RefUnwindSafe for SourceFile",1,["leo_span::source_map::SourceFile"]],["impl RefUnwindSafe for SpanLocation",1,["leo_span::source_map::SpanLocation"]],["impl RefUnwindSafe for LineCol",1,["leo_span::source_map::LineCol"]],["impl RefUnwindSafe for MultiByteChar",1,["leo_span::source_map::MultiByteChar"]]], +"leo_test_framework":[["impl RefUnwindSafe for TestFailure",1,["leo_test_framework::error::TestFailure"]],["impl RefUnwindSafe for TestError",1,["leo_test_framework::error::TestError"]],["impl RefUnwindSafe for TestExpectation",1,["leo_test_framework::output::TestExpectation"]],["impl RefUnwindSafe for ParseType",1,["leo_test_framework::runner::ParseType"]],["impl RefUnwindSafe for Test",1,["leo_test_framework::runner::Test"]],["impl RefUnwindSafe for TestCases",1,["leo_test_framework::runner::TestCases"]],["impl RefUnwindSafe for TestExpectationMode",1,["leo_test_framework::test::TestExpectationMode"]],["impl RefUnwindSafe for TestConfig",1,["leo_test_framework::test::TestConfig"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js similarity index 83% rename from implementors/core/panic/unwind_safe/trait.UnwindSafe.js rename to trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js index a9a7346c46..6862b3f251 100644 --- a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,12 +1,12 @@ (function() {var implementors = { -"leo_abnf":[["impl UnwindSafe for Scope",1,["leo_abnf::Scope"]],["impl<'a> UnwindSafe for Processor<'a>",1,["leo_abnf::Processor"]]], -"leo_ast":[["impl UnwindSafe for ArrayAccess",1,["leo_ast::access::array_access::ArrayAccess"]],["impl UnwindSafe for AssociatedConstant",1,["leo_ast::access::associated_constant_access::AssociatedConstant"]],["impl UnwindSafe for AssociatedFunction",1,["leo_ast::access::associated_function_access::AssociatedFunction"]],["impl UnwindSafe for MemberAccess",1,["leo_ast::access::member_access::MemberAccess"]],["impl UnwindSafe for TupleAccess",1,["leo_ast::access::tuple_access::TupleAccess"]],["impl UnwindSafe for Member",1,["leo_ast::struct::member::Member"]],["impl UnwindSafe for Struct",1,["leo_ast::struct::Struct"]],["impl UnwindSafe for Identifier",1,["leo_ast::common::identifier::Identifier"]],["impl UnwindSafe for NonNegativeNumber",1,["leo_ast::common::positive_number::NonNegativeNumber"]],["impl UnwindSafe for NodeBuilder",1,["leo_ast::common::node_builder::NodeBuilder"]],["impl UnwindSafe for NodeBuilderInner",1,["leo_ast::common::node_builder::NodeBuilderInner"]],["impl UnwindSafe for StaticString",1,["leo_ast::common::static_string::StaticString"]],["impl UnwindSafe for AccessExpression",1,["leo_ast::expressions::access::AccessExpression"]],["impl UnwindSafe for ArrayExpression",1,["leo_ast::expressions::array::ArrayExpression"]],["impl UnwindSafe for BinaryOperation",1,["leo_ast::expressions::binary::BinaryOperation"]],["impl UnwindSafe for BinaryExpression",1,["leo_ast::expressions::binary::BinaryExpression"]],["impl UnwindSafe for CallExpression",1,["leo_ast::expressions::call::CallExpression"]],["impl UnwindSafe for CastExpression",1,["leo_ast::expressions::cast::CastExpression"]],["impl UnwindSafe for StructVariableInitializer",1,["leo_ast::expressions::struct_init::StructVariableInitializer"]],["impl UnwindSafe for StructExpression",1,["leo_ast::expressions::struct_init::StructExpression"]],["impl UnwindSafe for ErrExpression",1,["leo_ast::expressions::err::ErrExpression"]],["impl UnwindSafe for TernaryExpression",1,["leo_ast::expressions::ternary::TernaryExpression"]],["impl UnwindSafe for TupleExpression",1,["leo_ast::expressions::tuple::TupleExpression"]],["impl UnwindSafe for UnaryOperation",1,["leo_ast::expressions::unary::UnaryOperation"]],["impl UnwindSafe for UnaryExpression",1,["leo_ast::expressions::unary::UnaryExpression"]],["impl UnwindSafe for UnitExpression",1,["leo_ast::expressions::unit::UnitExpression"]],["impl UnwindSafe for Literal",1,["leo_ast::expressions::literal::Literal"]],["impl UnwindSafe for Expression",1,["leo_ast::expressions::Expression"]],["impl UnwindSafe for Annotation",1,["leo_ast::functions::annotation::Annotation"]],["impl UnwindSafe for CoreFunction",1,["leo_ast::functions::core_function::CoreFunction"]],["impl UnwindSafe for Variant",1,["leo_ast::functions::variant::Variant"]],["impl UnwindSafe for External",1,["leo_ast::functions::external::External"]],["impl UnwindSafe for Finalize",1,["leo_ast::functions::finalize::Finalize"]],["impl UnwindSafe for Input",1,["leo_ast::functions::input::Input"]],["impl UnwindSafe for FunctionInput",1,["leo_ast::functions::input::FunctionInput"]],["impl UnwindSafe for Output",1,["leo_ast::functions::output::Output"]],["impl UnwindSafe for FunctionOutput",1,["leo_ast::functions::output::FunctionOutput"]],["impl UnwindSafe for Mode",1,["leo_ast::functions::mode::Mode"]],["impl UnwindSafe for Function",1,["leo_ast::functions::Function"]],["impl UnwindSafe for GroupCoordinate",1,["leo_ast::groups::group_coordinate::GroupCoordinate"]],["impl UnwindSafe for GroupLiteral",1,["leo_ast::groups::group_literal::GroupLiteral"]],["impl UnwindSafe for GroupTuple",1,["leo_ast::groups::group_literal::GroupTuple"]],["impl UnwindSafe for Definition",1,["leo_ast::input::definition::Definition"]],["impl UnwindSafe for InputData",1,["leo_ast::input::input_ast::InputData"]],["impl UnwindSafe for InputAst",1,["leo_ast::input::input_ast::InputAst"]],["impl UnwindSafe for InputValue",1,["leo_ast::input::input_value::InputValue"]],["impl UnwindSafe for ProgramInput",1,["leo_ast::input::program_input::ProgramInput"]],["impl UnwindSafe for Section",1,["leo_ast::input::section::Section"]],["impl UnwindSafe for Mapping",1,["leo_ast::mapping::Mapping"]],["impl UnwindSafe for ProgramId",1,["leo_ast::program::program_id::ProgramId"]],["impl UnwindSafe for ProgramScope",1,["leo_ast::program::program_scope::ProgramScope"]],["impl UnwindSafe for Program",1,["leo_ast::program::Program"]],["impl UnwindSafe for AssertVariant",1,["leo_ast::statement::assert::AssertVariant"]],["impl UnwindSafe for AssertStatement",1,["leo_ast::statement::assert::AssertStatement"]],["impl UnwindSafe for AssignStatement",1,["leo_ast::statement::assign::AssignStatement"]],["impl UnwindSafe for Block",1,["leo_ast::statement::block::Block"]],["impl UnwindSafe for ConditionalStatement",1,["leo_ast::statement::conditional::ConditionalStatement"]],["impl UnwindSafe for ConsoleFunction",1,["leo_ast::statement::console::console_function::ConsoleFunction"]],["impl UnwindSafe for ConsoleStatement",1,["leo_ast::statement::console::console_statement::ConsoleStatement"]],["impl UnwindSafe for ConstDeclaration",1,["leo_ast::statement::const_::ConstDeclaration"]],["impl UnwindSafe for DeclarationType",1,["leo_ast::statement::definition::declaration_type::DeclarationType"]],["impl UnwindSafe for DefinitionStatement",1,["leo_ast::statement::definition::DefinitionStatement"]],["impl UnwindSafe for ExpressionStatement",1,["leo_ast::statement::expression::ExpressionStatement"]],["impl UnwindSafe for IterationStatement",1,["leo_ast::statement::iteration::IterationStatement"]],["impl UnwindSafe for ReturnStatement",1,["leo_ast::statement::return_::ReturnStatement"]],["impl UnwindSafe for Statement",1,["leo_ast::statement::Statement"]],["impl UnwindSafe for ArrayType",1,["leo_ast::types::array::ArrayType"]],["impl UnwindSafe for CoreConstant",1,["leo_ast::types::core_constant::CoreConstant"]],["impl UnwindSafe for IntegerType",1,["leo_ast::types::integer_type::IntegerType"]],["impl UnwindSafe for MappingType",1,["leo_ast::types::mapping::MappingType"]],["impl UnwindSafe for TupleType",1,["leo_ast::types::tuple::TupleType"]],["impl UnwindSafe for Type",1,["leo_ast::types::type_::Type"]],["impl UnwindSafe for Value",1,["leo_ast::value::Value"]],["impl UnwindSafe for Ast",1,["leo_ast::Ast"]]], -"leo_compiler":[["impl<'a> !UnwindSafe for Compiler<'a>",1,["leo_compiler::compiler::Compiler"]],["impl UnwindSafe for CompilerOptions",1,["leo_compiler::options::CompilerOptions"]],["impl UnwindSafe for BuildOptions",1,["leo_compiler::options::BuildOptions"]],["impl UnwindSafe for OutputOptions",1,["leo_compiler::options::OutputOptions"]]], -"leo_errors":[["impl UnwindSafe for Backtraced",1,["leo_errors::common::backtraced::Backtraced"]],["impl UnwindSafe for Formatted",1,["leo_errors::common::formatted::Formatted"]],["impl UnwindSafe for StderrEmitter",1,["leo_errors::emitter::StderrEmitter"]],["impl<T> UnwindSafe for Buffer<T>where\n T: UnwindSafe,",1,["leo_errors::emitter::Buffer"]],["impl !UnwindSafe for BufferEmitter",1,["leo_errors::emitter::BufferEmitter"]],["impl !UnwindSafe for HandlerInner",1,["leo_errors::emitter::HandlerInner"]],["impl !UnwindSafe for Handler",1,["leo_errors::emitter::Handler"]],["impl UnwindSafe for AstError",1,["leo_errors::errors::ast::ast_errors::AstError"]],["impl UnwindSafe for CliError",1,["leo_errors::errors::cli::cli_errors::CliError"]],["impl UnwindSafe for CompilerError",1,["leo_errors::errors::compiler::compiler_errors::CompilerError"]],["impl UnwindSafe for FlattenError",1,["leo_errors::errors::flattener::flattener_errors::FlattenError"]],["impl UnwindSafe for InputError",1,["leo_errors::errors::input::input_errors::InputError"]],["impl UnwindSafe for LoopUnrollerError",1,["leo_errors::errors::loop_unroller::loop_unroller_errors::LoopUnrollerError"]],["impl UnwindSafe for PackageError",1,["leo_errors::errors::package::package_errors::PackageError"]],["impl UnwindSafe for ParserError",1,["leo_errors::errors::parser::parser_errors::ParserError"]],["impl UnwindSafe for ParserWarning",1,["leo_errors::errors::parser::parser_warnings::ParserWarning"]],["impl UnwindSafe for TypeCheckerError",1,["leo_errors::errors::type_checker::type_checker_error::TypeCheckerError"]],["impl UnwindSafe for LeoError",1,["leo_errors::errors::LeoError"]],["impl UnwindSafe for LeoWarning",1,["leo_errors::errors::LeoWarning"]]], -"leo_lang":[["impl UnwindSafe for CLI",1,["leo_lang::cli::cli::CLI"]],["impl UnwindSafe for Commands",1,["leo_lang::cli::cli::Commands"]],["impl UnwindSafe for Account",1,["leo_lang::cli::commands::account::Account"]],["impl UnwindSafe for Build",1,["leo_lang::cli::commands::build::Build"]],["impl UnwindSafe for Clean",1,["leo_lang::cli::commands::clean::Clean"]],["impl UnwindSafe for Example",1,["leo_lang::cli::commands::example::Example"]],["impl UnwindSafe for Execute",1,["leo_lang::cli::commands::execute::Execute"]],["impl UnwindSafe for New",1,["leo_lang::cli::commands::new::New"]],["impl UnwindSafe for Run",1,["leo_lang::cli::commands::run::Run"]],["impl UnwindSafe for Update",1,["leo_lang::cli::commands::update::Update"]],["impl UnwindSafe for BuildOptions",1,["leo_lang::cli::commands::BuildOptions"]],["impl UnwindSafe for Context",1,["leo_lang::cli::helpers::context::Context"]],["impl<F, T> UnwindSafe for Format<F, T>where\n F: UnwindSafe,\n T: UnwindSafe,",1,["leo_lang::cli::helpers::logger::Format"]],["impl UnwindSafe for Updater",1,["leo_lang::cli::helpers::updater::Updater"]]], -"leo_package":[["impl UnwindSafe for BuildDirectory",1,["leo_package::build::directory::BuildDirectory"]],["impl UnwindSafe for ImportsDirectory",1,["leo_package::imports::directory::ImportsDirectory"]],["impl UnwindSafe for InputsDirectory",1,["leo_package::inputs::directory::InputsDirectory"]],["impl UnwindSafe for InputFile",1,["leo_package::inputs::input::InputFile"]],["impl UnwindSafe for Snapshot",1,["leo_package::outputs::ast_snapshot::Snapshot"]],["impl UnwindSafe for SnapshotFile",1,["leo_package::outputs::ast_snapshot::SnapshotFile"]],["impl UnwindSafe for CircuitFile",1,["leo_package::outputs::circuit::CircuitFile"]],["impl UnwindSafe for ChecksumFile",1,["leo_package::outputs::checksum::ChecksumFile"]],["impl UnwindSafe for OutputsDirectory",1,["leo_package::outputs::directory::OutputsDirectory"]],["impl<N> UnwindSafe for Package<N>where\n N: UnwindSafe,",1,["leo_package::package::Package"]],["impl<N> UnwindSafe for Env<N>where\n N: UnwindSafe,",1,["leo_package::root::env::Env"]],["impl UnwindSafe for Gitignore",1,["leo_package::root::gitignore::Gitignore"]],["impl UnwindSafe for SourceDirectory",1,["leo_package::source::directory::SourceDirectory"]],["impl UnwindSafe for MainFile",1,["leo_package::source::main::MainFile"]]], -"leo_parser":[["impl UnwindSafe for Token",1,["leo_parser::tokenizer::token::Token"]],["impl UnwindSafe for Delimiter",1,["leo_parser::tokenizer::token::Delimiter"]],["impl UnwindSafe for SpannedToken",1,["leo_parser::tokenizer::lexer::SpannedToken"]],["impl<'a> !UnwindSafe for ParserContext<'a>",1,["leo_parser::parser::context::ParserContext"]]], -"leo_passes":[["impl<'a> !UnwindSafe for CodeGenerator<'a>",1,["leo_passes::code_generation::generator::CodeGenerator"]],["impl UnwindSafe for Assigner",1,["leo_passes::common::assigner::Assigner"]],["impl UnwindSafe for AssignerInner",1,["leo_passes::common::assigner::AssignerInner"]],["impl<N> UnwindSafe for DiGraphError<N>where\n N: UnwindSafe,",1,["leo_passes::common::graph::DiGraphError"]],["impl<N> UnwindSafe for DiGraph<N>where\n N: UnwindSafe,",1,["leo_passes::common::graph::DiGraph"]],["impl UnwindSafe for RenameTable",1,["leo_passes::common::rename_table::RenameTable"]],["impl<F> UnwindSafe for Replacer<F>where\n F: UnwindSafe,",1,["leo_passes::common::replacer::Replacer"]],["impl UnwindSafe for ConstantPropagationTable",1,["leo_passes::common::constant_propagation_table::ConstantPropagationTable"]],["impl UnwindSafe for FinalizeData",1,["leo_passes::common::symbol_table::function_symbol::FinalizeData"]],["impl UnwindSafe for FunctionSymbol",1,["leo_passes::common::symbol_table::function_symbol::FunctionSymbol"]],["impl UnwindSafe for VariableType",1,["leo_passes::common::symbol_table::variable_symbol::VariableType"]],["impl UnwindSafe for VariableSymbol",1,["leo_passes::common::symbol_table::variable_symbol::VariableSymbol"]],["impl UnwindSafe for SymbolTable",1,["leo_passes::common::symbol_table::SymbolTable"]],["impl UnwindSafe for TypeTable",1,["leo_passes::common::type_table::TypeTable"]],["impl<'a> !UnwindSafe for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["impl<'a> !UnwindSafe for Destructurer<'a>",1,["leo_passes::destructuring::destructurer::Destructurer"]],["impl<'a> !UnwindSafe for Flattener<'a>",1,["leo_passes::flattening::flattener::Flattener"]],["impl<'a> !UnwindSafe for AssignmentRenamer<'a>",1,["leo_passes::function_inlining::assignment_renamer::AssignmentRenamer"]],["impl<'a> !UnwindSafe for FunctionInliner<'a>",1,["leo_passes::function_inlining::function_inliner::FunctionInliner"]],["impl UnwindSafe for Clusivity",1,["leo_passes::loop_unrolling::range_iterator::Clusivity"]],["impl<I> UnwindSafe for RangeIterator<I>where\n I: UnwindSafe,",1,["leo_passes::loop_unrolling::range_iterator::RangeIterator"]],["impl<'a> !UnwindSafe for Unroller<'a>",1,["leo_passes::loop_unrolling::unroller::Unroller"]],["impl<'a> !UnwindSafe for StaticSingleAssigner<'a>",1,["leo_passes::static_single_assignment::static_single_assigner::StaticSingleAssigner"]],["impl<'a> !UnwindSafe for SymbolTableCreator<'a>",1,["leo_passes::symbol_table_creation::creator::SymbolTableCreator"]],["impl<'a> !UnwindSafe for TypeChecker<'a>",1,["leo_passes::type_checking::checker::TypeChecker"]]], -"leo_span":[["impl UnwindSafe for Symbol",1,["leo_span::symbol::Symbol"]],["impl UnwindSafe for SessionGlobals",1,["leo_span::symbol::SessionGlobals"]],["impl UnwindSafe for InternedStr",1,["leo_span::symbol::InternedStr"]],["impl UnwindSafe for InnerInterner",1,["leo_span::symbol::InnerInterner"]],["impl UnwindSafe for Interner",1,["leo_span::symbol::Interner"]],["impl UnwindSafe for Span",1,["leo_span::span::Span"]],["impl UnwindSafe for BytePos",1,["leo_span::span::BytePos"]],["impl UnwindSafe for CharPos",1,["leo_span::span::CharPos"]],["impl UnwindSafe for SpanMapVisitor",1,["leo_span::span_json::SpanMapVisitor"]],["impl UnwindSafe for SourceMap",1,["leo_span::source_map::SourceMap"]],["impl UnwindSafe for SourceMapInner",1,["leo_span::source_map::SourceMapInner"]],["impl UnwindSafe for FileName",1,["leo_span::source_map::FileName"]],["impl UnwindSafe for SourceFile",1,["leo_span::source_map::SourceFile"]],["impl UnwindSafe for SpanLocation",1,["leo_span::source_map::SpanLocation"]],["impl UnwindSafe for LineCol",1,["leo_span::source_map::LineCol"]],["impl UnwindSafe for MultiByteChar",1,["leo_span::source_map::MultiByteChar"]]], -"leo_test_framework":[["impl UnwindSafe for TestFailure",1,["leo_test_framework::error::TestFailure"]],["impl UnwindSafe for TestError",1,["leo_test_framework::error::TestError"]],["impl UnwindSafe for TestExpectation",1,["leo_test_framework::output::TestExpectation"]],["impl UnwindSafe for ParseType",1,["leo_test_framework::runner::ParseType"]],["impl UnwindSafe for Test",1,["leo_test_framework::runner::Test"]],["impl UnwindSafe for TestCases",1,["leo_test_framework::runner::TestCases"]],["impl UnwindSafe for TestExpectationMode",1,["leo_test_framework::test::TestExpectationMode"]],["impl UnwindSafe for TestConfig",1,["leo_test_framework::test::TestConfig"]]] +"leo_abnf":[["impl UnwindSafe for Scope",1,["leo_abnf::Scope"]],["impl<'a> UnwindSafe for Processor<'a>",1,["leo_abnf::Processor"]]], +"leo_ast":[["impl UnwindSafe for ArrayAccess",1,["leo_ast::access::array_access::ArrayAccess"]],["impl UnwindSafe for AssociatedConstant",1,["leo_ast::access::associated_constant_access::AssociatedConstant"]],["impl UnwindSafe for AssociatedFunction",1,["leo_ast::access::associated_function_access::AssociatedFunction"]],["impl UnwindSafe for MemberAccess",1,["leo_ast::access::member_access::MemberAccess"]],["impl UnwindSafe for TupleAccess",1,["leo_ast::access::tuple_access::TupleAccess"]],["impl UnwindSafe for Member",1,["leo_ast::struct::member::Member"]],["impl UnwindSafe for Struct",1,["leo_ast::struct::Struct"]],["impl UnwindSafe for Identifier",1,["leo_ast::common::identifier::Identifier"]],["impl UnwindSafe for NonNegativeNumber",1,["leo_ast::common::positive_number::NonNegativeNumber"]],["impl UnwindSafe for NodeBuilder",1,["leo_ast::common::node_builder::NodeBuilder"]],["impl UnwindSafe for NodeBuilderInner",1,["leo_ast::common::node_builder::NodeBuilderInner"]],["impl UnwindSafe for StaticString",1,["leo_ast::common::static_string::StaticString"]],["impl UnwindSafe for AccessExpression",1,["leo_ast::expressions::access::AccessExpression"]],["impl UnwindSafe for ArrayExpression",1,["leo_ast::expressions::array::ArrayExpression"]],["impl UnwindSafe for BinaryOperation",1,["leo_ast::expressions::binary::BinaryOperation"]],["impl UnwindSafe for BinaryExpression",1,["leo_ast::expressions::binary::BinaryExpression"]],["impl UnwindSafe for CallExpression",1,["leo_ast::expressions::call::CallExpression"]],["impl UnwindSafe for CastExpression",1,["leo_ast::expressions::cast::CastExpression"]],["impl UnwindSafe for StructVariableInitializer",1,["leo_ast::expressions::struct_init::StructVariableInitializer"]],["impl UnwindSafe for StructExpression",1,["leo_ast::expressions::struct_init::StructExpression"]],["impl UnwindSafe for ErrExpression",1,["leo_ast::expressions::err::ErrExpression"]],["impl UnwindSafe for TernaryExpression",1,["leo_ast::expressions::ternary::TernaryExpression"]],["impl UnwindSafe for TupleExpression",1,["leo_ast::expressions::tuple::TupleExpression"]],["impl UnwindSafe for UnaryOperation",1,["leo_ast::expressions::unary::UnaryOperation"]],["impl UnwindSafe for UnaryExpression",1,["leo_ast::expressions::unary::UnaryExpression"]],["impl UnwindSafe for UnitExpression",1,["leo_ast::expressions::unit::UnitExpression"]],["impl UnwindSafe for Literal",1,["leo_ast::expressions::literal::Literal"]],["impl UnwindSafe for Expression",1,["leo_ast::expressions::Expression"]],["impl UnwindSafe for Annotation",1,["leo_ast::functions::annotation::Annotation"]],["impl UnwindSafe for CoreFunction",1,["leo_ast::functions::core_function::CoreFunction"]],["impl UnwindSafe for Variant",1,["leo_ast::functions::variant::Variant"]],["impl UnwindSafe for External",1,["leo_ast::functions::external::External"]],["impl UnwindSafe for Finalize",1,["leo_ast::functions::finalize::Finalize"]],["impl UnwindSafe for Input",1,["leo_ast::functions::input::Input"]],["impl UnwindSafe for FunctionInput",1,["leo_ast::functions::input::FunctionInput"]],["impl UnwindSafe for Output",1,["leo_ast::functions::output::Output"]],["impl UnwindSafe for FunctionOutput",1,["leo_ast::functions::output::FunctionOutput"]],["impl UnwindSafe for Mode",1,["leo_ast::functions::mode::Mode"]],["impl UnwindSafe for Function",1,["leo_ast::functions::Function"]],["impl UnwindSafe for GroupCoordinate",1,["leo_ast::groups::group_coordinate::GroupCoordinate"]],["impl UnwindSafe for GroupLiteral",1,["leo_ast::groups::group_literal::GroupLiteral"]],["impl UnwindSafe for GroupTuple",1,["leo_ast::groups::group_literal::GroupTuple"]],["impl UnwindSafe for Definition",1,["leo_ast::input::definition::Definition"]],["impl UnwindSafe for InputData",1,["leo_ast::input::input_ast::InputData"]],["impl UnwindSafe for InputAst",1,["leo_ast::input::input_ast::InputAst"]],["impl UnwindSafe for InputValue",1,["leo_ast::input::input_value::InputValue"]],["impl UnwindSafe for ProgramInput",1,["leo_ast::input::program_input::ProgramInput"]],["impl UnwindSafe for Section",1,["leo_ast::input::section::Section"]],["impl UnwindSafe for Mapping",1,["leo_ast::mapping::Mapping"]],["impl UnwindSafe for ProgramId",1,["leo_ast::program::program_id::ProgramId"]],["impl UnwindSafe for ProgramScope",1,["leo_ast::program::program_scope::ProgramScope"]],["impl UnwindSafe for Program",1,["leo_ast::program::Program"]],["impl UnwindSafe for AssertVariant",1,["leo_ast::statement::assert::AssertVariant"]],["impl UnwindSafe for AssertStatement",1,["leo_ast::statement::assert::AssertStatement"]],["impl UnwindSafe for AssignStatement",1,["leo_ast::statement::assign::AssignStatement"]],["impl UnwindSafe for Block",1,["leo_ast::statement::block::Block"]],["impl UnwindSafe for ConditionalStatement",1,["leo_ast::statement::conditional::ConditionalStatement"]],["impl UnwindSafe for ConsoleFunction",1,["leo_ast::statement::console::console_function::ConsoleFunction"]],["impl UnwindSafe for ConsoleStatement",1,["leo_ast::statement::console::console_statement::ConsoleStatement"]],["impl UnwindSafe for ConstDeclaration",1,["leo_ast::statement::const_::ConstDeclaration"]],["impl UnwindSafe for DeclarationType",1,["leo_ast::statement::definition::declaration_type::DeclarationType"]],["impl UnwindSafe for DefinitionStatement",1,["leo_ast::statement::definition::DefinitionStatement"]],["impl UnwindSafe for ExpressionStatement",1,["leo_ast::statement::expression::ExpressionStatement"]],["impl UnwindSafe for IterationStatement",1,["leo_ast::statement::iteration::IterationStatement"]],["impl UnwindSafe for ReturnStatement",1,["leo_ast::statement::return_::ReturnStatement"]],["impl UnwindSafe for Statement",1,["leo_ast::statement::Statement"]],["impl UnwindSafe for ArrayType",1,["leo_ast::types::array::ArrayType"]],["impl UnwindSafe for CoreConstant",1,["leo_ast::types::core_constant::CoreConstant"]],["impl UnwindSafe for IntegerType",1,["leo_ast::types::integer_type::IntegerType"]],["impl UnwindSafe for MappingType",1,["leo_ast::types::mapping::MappingType"]],["impl UnwindSafe for TupleType",1,["leo_ast::types::tuple::TupleType"]],["impl UnwindSafe for Type",1,["leo_ast::types::type_::Type"]],["impl UnwindSafe for Value",1,["leo_ast::value::Value"]],["impl UnwindSafe for Ast",1,["leo_ast::Ast"]]], +"leo_compiler":[["impl<'a> !UnwindSafe for Compiler<'a>",1,["leo_compiler::compiler::Compiler"]],["impl UnwindSafe for CompilerOptions",1,["leo_compiler::options::CompilerOptions"]],["impl UnwindSafe for BuildOptions",1,["leo_compiler::options::BuildOptions"]],["impl UnwindSafe for OutputOptions",1,["leo_compiler::options::OutputOptions"]]], +"leo_errors":[["impl UnwindSafe for Backtraced",1,["leo_errors::common::backtraced::Backtraced"]],["impl UnwindSafe for Formatted",1,["leo_errors::common::formatted::Formatted"]],["impl UnwindSafe for StderrEmitter",1,["leo_errors::emitter::StderrEmitter"]],["impl<T> UnwindSafe for Buffer<T>where\n T: UnwindSafe,",1,["leo_errors::emitter::Buffer"]],["impl !UnwindSafe for BufferEmitter",1,["leo_errors::emitter::BufferEmitter"]],["impl !UnwindSafe for HandlerInner",1,["leo_errors::emitter::HandlerInner"]],["impl !UnwindSafe for Handler",1,["leo_errors::emitter::Handler"]],["impl UnwindSafe for AstError",1,["leo_errors::errors::ast::ast_errors::AstError"]],["impl UnwindSafe for CliError",1,["leo_errors::errors::cli::cli_errors::CliError"]],["impl UnwindSafe for CompilerError",1,["leo_errors::errors::compiler::compiler_errors::CompilerError"]],["impl UnwindSafe for FlattenError",1,["leo_errors::errors::flattener::flattener_errors::FlattenError"]],["impl UnwindSafe for InputError",1,["leo_errors::errors::input::input_errors::InputError"]],["impl UnwindSafe for LoopUnrollerError",1,["leo_errors::errors::loop_unroller::loop_unroller_errors::LoopUnrollerError"]],["impl UnwindSafe for PackageError",1,["leo_errors::errors::package::package_errors::PackageError"]],["impl UnwindSafe for ParserError",1,["leo_errors::errors::parser::parser_errors::ParserError"]],["impl UnwindSafe for ParserWarning",1,["leo_errors::errors::parser::parser_warnings::ParserWarning"]],["impl UnwindSafe for TypeCheckerError",1,["leo_errors::errors::type_checker::type_checker_error::TypeCheckerError"]],["impl UnwindSafe for LeoError",1,["leo_errors::errors::LeoError"]],["impl UnwindSafe for LeoWarning",1,["leo_errors::errors::LeoWarning"]]], +"leo_lang":[["impl UnwindSafe for CLI",1,["leo_lang::cli::cli::CLI"]],["impl UnwindSafe for Commands",1,["leo_lang::cli::cli::Commands"]],["impl UnwindSafe for Account",1,["leo_lang::cli::commands::account::Account"]],["impl UnwindSafe for Build",1,["leo_lang::cli::commands::build::Build"]],["impl UnwindSafe for Clean",1,["leo_lang::cli::commands::clean::Clean"]],["impl UnwindSafe for Example",1,["leo_lang::cli::commands::example::Example"]],["impl UnwindSafe for Execute",1,["leo_lang::cli::commands::execute::Execute"]],["impl UnwindSafe for New",1,["leo_lang::cli::commands::new::New"]],["impl UnwindSafe for Run",1,["leo_lang::cli::commands::run::Run"]],["impl UnwindSafe for Update",1,["leo_lang::cli::commands::update::Update"]],["impl UnwindSafe for BuildOptions",1,["leo_lang::cli::commands::BuildOptions"]],["impl UnwindSafe for Context",1,["leo_lang::cli::helpers::context::Context"]],["impl<F, T> UnwindSafe for Format<F, T>where\n F: UnwindSafe,\n T: UnwindSafe,",1,["leo_lang::cli::helpers::logger::Format"]],["impl UnwindSafe for Updater",1,["leo_lang::cli::helpers::updater::Updater"]]], +"leo_package":[["impl UnwindSafe for BuildDirectory",1,["leo_package::build::directory::BuildDirectory"]],["impl UnwindSafe for ImportsDirectory",1,["leo_package::imports::directory::ImportsDirectory"]],["impl UnwindSafe for InputsDirectory",1,["leo_package::inputs::directory::InputsDirectory"]],["impl UnwindSafe for InputFile",1,["leo_package::inputs::input::InputFile"]],["impl UnwindSafe for Snapshot",1,["leo_package::outputs::ast_snapshot::Snapshot"]],["impl UnwindSafe for SnapshotFile",1,["leo_package::outputs::ast_snapshot::SnapshotFile"]],["impl UnwindSafe for CircuitFile",1,["leo_package::outputs::circuit::CircuitFile"]],["impl UnwindSafe for ChecksumFile",1,["leo_package::outputs::checksum::ChecksumFile"]],["impl UnwindSafe for OutputsDirectory",1,["leo_package::outputs::directory::OutputsDirectory"]],["impl<N> UnwindSafe for Package<N>where\n N: UnwindSafe,",1,["leo_package::package::Package"]],["impl<N> UnwindSafe for Env<N>where\n N: UnwindSafe,",1,["leo_package::root::env::Env"]],["impl UnwindSafe for Gitignore",1,["leo_package::root::gitignore::Gitignore"]],["impl UnwindSafe for SourceDirectory",1,["leo_package::source::directory::SourceDirectory"]],["impl UnwindSafe for MainFile",1,["leo_package::source::main::MainFile"]]], +"leo_parser":[["impl UnwindSafe for Token",1,["leo_parser::tokenizer::token::Token"]],["impl UnwindSafe for Delimiter",1,["leo_parser::tokenizer::token::Delimiter"]],["impl UnwindSafe for SpannedToken",1,["leo_parser::tokenizer::lexer::SpannedToken"]],["impl<'a> !UnwindSafe for ParserContext<'a>",1,["leo_parser::parser::context::ParserContext"]]], +"leo_passes":[["impl<'a> !UnwindSafe for CodeGenerator<'a>",1,["leo_passes::code_generation::generator::CodeGenerator"]],["impl UnwindSafe for Assigner",1,["leo_passes::common::assigner::Assigner"]],["impl UnwindSafe for AssignerInner",1,["leo_passes::common::assigner::AssignerInner"]],["impl<N> UnwindSafe for DiGraphError<N>where\n N: UnwindSafe,",1,["leo_passes::common::graph::DiGraphError"]],["impl<N> UnwindSafe for DiGraph<N>where\n N: UnwindSafe,",1,["leo_passes::common::graph::DiGraph"]],["impl UnwindSafe for RenameTable",1,["leo_passes::common::rename_table::RenameTable"]],["impl<F> UnwindSafe for Replacer<F>where\n F: UnwindSafe,",1,["leo_passes::common::replacer::Replacer"]],["impl UnwindSafe for ConstantPropagationTable",1,["leo_passes::common::constant_propagation_table::ConstantPropagationTable"]],["impl UnwindSafe for FinalizeData",1,["leo_passes::common::symbol_table::function_symbol::FinalizeData"]],["impl UnwindSafe for FunctionSymbol",1,["leo_passes::common::symbol_table::function_symbol::FunctionSymbol"]],["impl UnwindSafe for VariableType",1,["leo_passes::common::symbol_table::variable_symbol::VariableType"]],["impl UnwindSafe for VariableSymbol",1,["leo_passes::common::symbol_table::variable_symbol::VariableSymbol"]],["impl UnwindSafe for SymbolTable",1,["leo_passes::common::symbol_table::SymbolTable"]],["impl UnwindSafe for TypeTable",1,["leo_passes::common::type_table::TypeTable"]],["impl<'a> !UnwindSafe for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["impl<'a> !UnwindSafe for Destructurer<'a>",1,["leo_passes::destructuring::destructurer::Destructurer"]],["impl<'a> !UnwindSafe for Flattener<'a>",1,["leo_passes::flattening::flattener::Flattener"]],["impl<'a> !UnwindSafe for AssignmentRenamer<'a>",1,["leo_passes::function_inlining::assignment_renamer::AssignmentRenamer"]],["impl<'a> !UnwindSafe for FunctionInliner<'a>",1,["leo_passes::function_inlining::function_inliner::FunctionInliner"]],["impl UnwindSafe for Clusivity",1,["leo_passes::loop_unrolling::range_iterator::Clusivity"]],["impl<I> UnwindSafe for RangeIterator<I>where\n I: UnwindSafe,",1,["leo_passes::loop_unrolling::range_iterator::RangeIterator"]],["impl<'a> !UnwindSafe for Unroller<'a>",1,["leo_passes::loop_unrolling::unroller::Unroller"]],["impl<'a> !UnwindSafe for StaticSingleAssigner<'a>",1,["leo_passes::static_single_assignment::static_single_assigner::StaticSingleAssigner"]],["impl<'a> !UnwindSafe for SymbolTableCreator<'a>",1,["leo_passes::symbol_table_creation::creator::SymbolTableCreator"]],["impl<'a> !UnwindSafe for TypeChecker<'a>",1,["leo_passes::type_checking::checker::TypeChecker"]]], +"leo_span":[["impl UnwindSafe for Symbol",1,["leo_span::symbol::Symbol"]],["impl UnwindSafe for SessionGlobals",1,["leo_span::symbol::SessionGlobals"]],["impl UnwindSafe for InternedStr",1,["leo_span::symbol::InternedStr"]],["impl UnwindSafe for InnerInterner",1,["leo_span::symbol::InnerInterner"]],["impl UnwindSafe for Interner",1,["leo_span::symbol::Interner"]],["impl UnwindSafe for Span",1,["leo_span::span::Span"]],["impl UnwindSafe for BytePos",1,["leo_span::span::BytePos"]],["impl UnwindSafe for CharPos",1,["leo_span::span::CharPos"]],["impl UnwindSafe for SpanMapVisitor",1,["leo_span::span_json::SpanMapVisitor"]],["impl UnwindSafe for SourceMap",1,["leo_span::source_map::SourceMap"]],["impl UnwindSafe for SourceMapInner",1,["leo_span::source_map::SourceMapInner"]],["impl UnwindSafe for FileName",1,["leo_span::source_map::FileName"]],["impl UnwindSafe for SourceFile",1,["leo_span::source_map::SourceFile"]],["impl UnwindSafe for SpanLocation",1,["leo_span::source_map::SpanLocation"]],["impl UnwindSafe for LineCol",1,["leo_span::source_map::LineCol"]],["impl UnwindSafe for MultiByteChar",1,["leo_span::source_map::MultiByteChar"]]], +"leo_test_framework":[["impl UnwindSafe for TestFailure",1,["leo_test_framework::error::TestFailure"]],["impl UnwindSafe for TestError",1,["leo_test_framework::error::TestError"]],["impl UnwindSafe for TestExpectation",1,["leo_test_framework::output::TestExpectation"]],["impl UnwindSafe for ParseType",1,["leo_test_framework::runner::ParseType"]],["impl UnwindSafe for Test",1,["leo_test_framework::runner::Test"]],["impl UnwindSafe for TestCases",1,["leo_test_framework::runner::TestCases"]],["impl UnwindSafe for TestExpectationMode",1,["leo_test_framework::test::TestExpectationMode"]],["impl UnwindSafe for TestConfig",1,["leo_test_framework::test::TestConfig"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/leo_ast/common/node/trait.Node.js b/trait.impl/leo_ast/common/node/trait.Node.js similarity index 100% rename from implementors/leo_ast/common/node/trait.Node.js rename to trait.impl/leo_ast/common/node/trait.Node.js diff --git a/implementors/leo_ast/passes/consumer/trait.ExpressionConsumer.js b/trait.impl/leo_ast/passes/consumer/trait.ExpressionConsumer.js similarity index 100% rename from implementors/leo_ast/passes/consumer/trait.ExpressionConsumer.js rename to trait.impl/leo_ast/passes/consumer/trait.ExpressionConsumer.js diff --git a/implementors/leo_ast/passes/consumer/trait.FunctionConsumer.js b/trait.impl/leo_ast/passes/consumer/trait.FunctionConsumer.js similarity index 100% rename from implementors/leo_ast/passes/consumer/trait.FunctionConsumer.js rename to trait.impl/leo_ast/passes/consumer/trait.FunctionConsumer.js diff --git a/implementors/leo_ast/passes/consumer/trait.ProgramConsumer.js b/trait.impl/leo_ast/passes/consumer/trait.ProgramConsumer.js similarity index 100% rename from implementors/leo_ast/passes/consumer/trait.ProgramConsumer.js rename to trait.impl/leo_ast/passes/consumer/trait.ProgramConsumer.js diff --git a/implementors/leo_ast/passes/consumer/trait.ProgramScopeConsumer.js b/trait.impl/leo_ast/passes/consumer/trait.ProgramScopeConsumer.js similarity index 100% rename from implementors/leo_ast/passes/consumer/trait.ProgramScopeConsumer.js rename to trait.impl/leo_ast/passes/consumer/trait.ProgramScopeConsumer.js diff --git a/implementors/leo_ast/passes/consumer/trait.StatementConsumer.js b/trait.impl/leo_ast/passes/consumer/trait.StatementConsumer.js similarity index 100% rename from implementors/leo_ast/passes/consumer/trait.StatementConsumer.js rename to trait.impl/leo_ast/passes/consumer/trait.StatementConsumer.js diff --git a/implementors/leo_ast/passes/consumer/trait.StructConsumer.js b/trait.impl/leo_ast/passes/consumer/trait.StructConsumer.js similarity index 100% rename from implementors/leo_ast/passes/consumer/trait.StructConsumer.js rename to trait.impl/leo_ast/passes/consumer/trait.StructConsumer.js diff --git a/trait.impl/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js b/trait.impl/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js new file mode 100644 index 0000000000..1f08d95e3d --- /dev/null +++ b/trait.impl/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_passes":[["impl ExpressionReconstructor for Unroller<'_>"],["impl ExpressionReconstructor for AssignmentRenamer<'_>"],["impl ExpressionReconstructor for Flattener<'_>"],["impl ExpressionReconstructor for Destructurer<'_>"],["impl ExpressionReconstructor for DeadCodeEliminator<'_>"],["impl<F> ExpressionReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl ExpressionReconstructor for FunctionInliner<'_>"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js b/trait.impl/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js new file mode 100644 index 0000000000..3f19f9c8dd --- /dev/null +++ b/trait.impl/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_passes":[["impl ProgramReconstructor for Destructurer<'_>"],["impl ProgramReconstructor for FunctionInliner<'_>"],["impl ProgramReconstructor for Flattener<'_>"],["impl ProgramReconstructor for AssignmentRenamer<'_>"],["impl ProgramReconstructor for DeadCodeEliminator<'_>"],["impl ProgramReconstructor for Unroller<'_>"],["impl<F> ProgramReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/leo_ast/passes/reconstructor/trait.StatementReconstructor.js b/trait.impl/leo_ast/passes/reconstructor/trait.StatementReconstructor.js new file mode 100644 index 0000000000..b7f6985a3c --- /dev/null +++ b/trait.impl/leo_ast/passes/reconstructor/trait.StatementReconstructor.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_passes":[["impl StatementReconstructor for DeadCodeEliminator<'_>"],["impl StatementReconstructor for AssignmentRenamer<'_>"],["impl StatementReconstructor for Unroller<'_>"],["impl StatementReconstructor for FunctionInliner<'_>"],["impl StatementReconstructor for Destructurer<'_>"],["impl<F> StatementReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl StatementReconstructor for Flattener<'_>"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/leo_ast/passes/visitor/trait.ExpressionVisitor.js b/trait.impl/leo_ast/passes/visitor/trait.ExpressionVisitor.js new file mode 100644 index 0000000000..8db147f75b --- /dev/null +++ b/trait.impl/leo_ast/passes/visitor/trait.ExpressionVisitor.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_passes":[["impl<'a> ExpressionVisitor<'a> for SymbolTableCreator<'a>"],["impl<'a> ExpressionVisitor<'a> for TypeChecker<'a>"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/leo_ast/passes/visitor/trait.ProgramVisitor.js b/trait.impl/leo_ast/passes/visitor/trait.ProgramVisitor.js new file mode 100644 index 0000000000..994836c70c --- /dev/null +++ b/trait.impl/leo_ast/passes/visitor/trait.ProgramVisitor.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"leo_passes":[["impl<'a> ProgramVisitor<'a> for TypeChecker<'a>"],["impl<'a> ProgramVisitor<'a> for SymbolTableCreator<'a>"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/leo_ast/passes/visitor/trait.StatementVisitor.js b/trait.impl/leo_ast/passes/visitor/trait.StatementVisitor.js similarity index 100% rename from implementors/leo_ast/passes/visitor/trait.StatementVisitor.js rename to trait.impl/leo_ast/passes/visitor/trait.StatementVisitor.js diff --git a/implementors/leo_errors/common/traits/trait.LeoMessageCode.js b/trait.impl/leo_errors/common/traits/trait.LeoMessageCode.js similarity index 100% rename from implementors/leo_errors/common/traits/trait.LeoMessageCode.js rename to trait.impl/leo_errors/common/traits/trait.LeoMessageCode.js diff --git a/implementors/leo_errors/emitter/trait.Emitter.js b/trait.impl/leo_errors/emitter/trait.Emitter.js similarity index 100% rename from implementors/leo_errors/emitter/trait.Emitter.js rename to trait.impl/leo_errors/emitter/trait.Emitter.js diff --git a/implementors/leo_lang/cli/commands/trait.Command.js b/trait.impl/leo_lang/cli/commands/trait.Command.js similarity index 100% rename from implementors/leo_lang/cli/commands/trait.Command.js rename to trait.impl/leo_lang/cli/commands/trait.Command.js diff --git a/implementors/leo_passes/common/graph/trait.Node.js b/trait.impl/leo_passes/common/graph/trait.Node.js similarity index 100% rename from implementors/leo_passes/common/graph/trait.Node.js rename to trait.impl/leo_passes/common/graph/trait.Node.js diff --git a/implementors/leo_passes/loop_unrolling/range_iterator/trait.LoopBound.js b/trait.impl/leo_passes/loop_unrolling/range_iterator/trait.LoopBound.js similarity index 100% rename from implementors/leo_passes/loop_unrolling/range_iterator/trait.LoopBound.js rename to trait.impl/leo_passes/loop_unrolling/range_iterator/trait.LoopBound.js diff --git a/implementors/leo_passes/pass/trait.Pass.js b/trait.impl/leo_passes/pass/trait.Pass.js similarity index 100% rename from implementors/leo_passes/pass/trait.Pass.js rename to trait.impl/leo_passes/pass/trait.Pass.js diff --git a/implementors/leo_span/span/trait.Pos.js b/trait.impl/leo_span/span/trait.Pos.js similarity index 100% rename from implementors/leo_span/span/trait.Pos.js rename to trait.impl/leo_span/span/trait.Pos.js diff --git a/trait.impl/serde/de/trait.Deserialize.js b/trait.impl/serde/de/trait.Deserialize.js new file mode 100644 index 0000000000..c1fac028ff --- /dev/null +++ b/trait.impl/serde/de/trait.Deserialize.js @@ -0,0 +1,8 @@ +(function() {var implementors = { +"leo_ast":[["impl<'de> Deserialize<'de> for TupleExpression"],["impl<'de> Deserialize<'de> for GroupLiteral"],["impl<'de> Deserialize<'de> for ReturnStatement"],["impl<'de> Deserialize<'de> for Finalize"],["impl<'de> Deserialize<'de> for Struct"],["impl<'de> Deserialize<'de> for ProgramInput"],["impl<'de> Deserialize<'de> for UnaryExpression"],["impl<'de> Deserialize<'de> for Type"],["impl<'de> Deserialize<'de> for ConditionalStatement"],["impl<'de> Deserialize<'de> for CallExpression"],["impl<'de> Deserialize<'de> for AssertVariant"],["impl<'de> Deserialize<'de> for AssociatedConstant"],["impl<'de> Deserialize<'de> for FunctionOutput"],["impl<'de> Deserialize<'de> for ExpressionStatement"],["impl<'de> Deserialize<'de> for BinaryOperation"],["impl<'de> Deserialize<'de> for ConstDeclaration"],["impl<'de> Deserialize<'de> for Literal"],["impl<'de> Deserialize<'de> for BinaryExpression"],["impl<'de> Deserialize<'de> for Statement"],["impl<'de> Deserialize<'de> for ProgramScope"],["impl<'de> Deserialize<'de> for IntegerType"],["impl<'de> Deserialize<'de> for IterationStatement"],["impl<'de> Deserialize<'de> for StaticString"],["impl<'de> Deserialize<'de> for Mode"],["impl<'de> Deserialize<'de> for TupleAccess"],["impl<'de> Deserialize<'de> for ArrayAccess"],["impl<'de> Deserialize<'de> for DeclarationType"],["impl<'de> Deserialize<'de> for StructExpression"],["impl<'de> Deserialize<'de> for Member"],["impl<'de> Deserialize<'de> for ConsoleFunction"],["impl<'de> Deserialize<'de> for FunctionInput"],["impl<'de> Deserialize<'de> for ArrayExpression"],["impl<'de> Deserialize<'de> for ArrayType"],["impl<'de> Deserialize<'de> for Mapping"],["impl<'de> Deserialize<'de> for InputData"],["impl<'de> Deserialize<'de> for AccessExpression"],["impl<'de> Deserialize<'de> for NonNegativeNumber"],["impl<'de> Deserialize<'de> for TernaryExpression"],["impl<'de> Deserialize<'de> for CastExpression"],["impl<'de> Deserialize<'de> for InputAst"],["impl<'de> Deserialize<'de> for MemberAccess"],["impl<'de> Deserialize<'de> for Annotation"],["impl<'de> Deserialize<'de> for GroupTuple"],["impl<'de> Deserialize<'de> for AssignStatement"],["impl<'de> Deserialize<'de> for MappingType"],["impl<'de> Deserialize<'de> for Expression"],["impl<'de> Deserialize<'de> for GroupCoordinate"],["impl<'de> Deserialize<'de> for Variant"],["impl<'de> Deserialize<'de> for Block"],["impl<'de> Deserialize<'de> for Definition"],["impl<'de> Deserialize<'de> for Function"],["impl<'de> Deserialize<'de> for DefinitionStatement"],["impl<'de> Deserialize<'de> for ConsoleStatement"],["impl<'de> Deserialize<'de> for Output"],["impl<'de> Deserialize<'de> for TupleType"],["impl<'de> Deserialize<'de> for UnaryOperation"],["impl<'de> Deserialize<'de> for Program"],["impl<'de> Deserialize<'de> for External"],["impl<'de> Deserialize<'de> for AssociatedFunction"],["impl<'de> Deserialize<'de> for ProgramId"],["impl<'de> Deserialize<'de> for StructVariableInitializer"],["impl<'de> Deserialize<'de> for AssertStatement"],["impl<'de> Deserialize<'de> for Identifier"],["impl<'de> Deserialize<'de> for InputValue"],["impl<'de> Deserialize<'de> for ErrExpression"],["impl<'de> Deserialize<'de> for UnitExpression"],["impl<'de> Deserialize<'de> for Input"],["impl<'de> Deserialize<'de> for Section"]], +"leo_package":[["impl<'de> Deserialize<'de> for ChecksumFile"],["impl<'de> Deserialize<'de> for Snapshot"],["impl<'de, N: Network> Deserialize<'de> for Package<N>"],["impl<'de> Deserialize<'de> for MainFile"],["impl<'de> Deserialize<'de> for Gitignore"],["impl<'de, N: Network> Deserialize<'de> for Env<N>"],["impl<'de> Deserialize<'de> for CircuitFile"],["impl<'de> Deserialize<'de> for SnapshotFile"],["impl<'de> Deserialize<'de> for InputFile"]], +"leo_parser":[["impl<'de> Deserialize<'de> for SpannedToken"],["impl<'de> Deserialize<'de> for Token"]], +"leo_passes":[["impl<'de> Deserialize<'de> for FunctionSymbol"],["impl<'de> Deserialize<'de> for FinalizeData"],["impl<'de> Deserialize<'de> for ConstantPropagationTable"],["impl<'de> Deserialize<'de> for VariableType"],["impl<'de> Deserialize<'de> for SymbolTable"],["impl<'de> Deserialize<'de> for VariableSymbol"]], +"leo_span":[["impl<'de> Deserialize<'de> for BytePos"],["impl<'de> Deserialize<'de> for Span"],["impl<'de> Deserialize<'de> for Symbol"]], +"leo_test_framework":[["impl<'de> Deserialize<'de> for TestConfig"],["impl<'de> Deserialize<'de> for TestExpectation"],["impl<'de> Deserialize<'de> for TestExpectationMode"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/de/trait.Visitor.js b/trait.impl/serde/de/trait.Visitor.js similarity index 100% rename from implementors/serde/de/trait.Visitor.js rename to trait.impl/serde/de/trait.Visitor.js diff --git a/trait.impl/serde/ser/trait.Serialize.js b/trait.impl/serde/ser/trait.Serialize.js new file mode 100644 index 0000000000..fe30a0acf8 --- /dev/null +++ b/trait.impl/serde/ser/trait.Serialize.js @@ -0,0 +1,7 @@ +(function() {var implementors = { +"leo_ast":[["impl Serialize for Annotation"],["impl Serialize for ConsoleFunction"],["impl Serialize for UnaryOperation"],["impl Serialize for Struct"],["impl Serialize for ConditionalStatement"],["impl Serialize for Program"],["impl Serialize for ArrayType"],["impl Serialize for CastExpression"],["impl Serialize for Statement"],["impl Serialize for TernaryExpression"],["impl Serialize for StructExpression"],["impl Serialize for InputAst"],["impl Serialize for ArrayExpression"],["impl Serialize for ArrayAccess"],["impl Serialize for NonNegativeNumber"],["impl Serialize for Block"],["impl Serialize for StructVariableInitializer"],["impl Serialize for Expression"],["impl Serialize for Section"],["impl Serialize for MappingType"],["impl Serialize for ConstDeclaration"],["impl Serialize for AssociatedFunction"],["impl Serialize for DeclarationType"],["impl Serialize for ErrExpression"],["impl Serialize for GroupLiteral"],["impl Serialize for Variant"],["impl Serialize for Mapping"],["impl Serialize for Identifier"],["impl Serialize for ProgramId"],["impl Serialize for Mode"],["impl Serialize for ReturnStatement"],["impl Serialize for GroupCoordinate"],["impl Serialize for ConsoleStatement"],["impl Serialize for Function"],["impl Serialize for CallExpression"],["impl Serialize for DefinitionStatement"],["impl Serialize for TupleExpression"],["impl Serialize for ProgramInput"],["impl Serialize for Type"],["impl Serialize for ProgramScope"],["impl Serialize for Definition"],["impl Serialize for External"],["impl Serialize for UnitExpression"],["impl Serialize for Input"],["impl Serialize for MemberAccess"],["impl Serialize for AssertStatement"],["impl Serialize for BinaryExpression"],["impl Serialize for UnaryExpression"],["impl Serialize for AssignStatement"],["impl Serialize for InputValue"],["impl Serialize for AssertVariant"],["impl Serialize for IntegerType"],["impl Serialize for ExpressionStatement"],["impl Serialize for InputData"],["impl Serialize for FunctionInput"],["impl Serialize for AccessExpression"],["impl Serialize for Finalize"],["impl Serialize for TupleType"],["impl Serialize for IterationStatement"],["impl Serialize for AssociatedConstant"],["impl Serialize for GroupTuple"],["impl Serialize for StaticString"],["impl Serialize for Literal"],["impl Serialize for Output"],["impl Serialize for Member"],["impl Serialize for TupleAccess"],["impl Serialize for FunctionOutput"],["impl Serialize for BinaryOperation"]], +"leo_parser":[["impl Serialize for SpannedToken"],["impl Serialize for Token"]], +"leo_passes":[["impl Serialize for FunctionSymbol"],["impl Serialize for SymbolTable"],["impl Serialize for ConstantPropagationTable"],["impl Serialize for VariableType"],["impl Serialize for VariableSymbol"],["impl Serialize for FinalizeData"]], +"leo_span":[["impl Serialize for Span"],["impl Serialize for Symbol"],["impl Serialize for BytePos"]], +"leo_test_framework":[["impl Serialize for TestExpectationMode"],["impl Serialize for TestConfig"],["impl Serialize for TestExpectation"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/tracing_subscriber/fmt/format/trait.FormatEvent.js b/trait.impl/tracing_subscriber/fmt/format/trait.FormatEvent.js similarity index 100% rename from implementors/tracing_subscriber/fmt/format/trait.FormatEvent.js rename to trait.impl/tracing_subscriber/fmt/format/trait.FormatEvent.js diff --git a/type.impl/core/result/enum.Result.js b/type.impl/core/result/enum.Result.js new file mode 100644 index 0000000000..3a653b5d7e --- /dev/null +++ b/type.impl/core/result/enum.Result.js @@ -0,0 +1,3 @@ +(function() {var type_impls = { +"leo_errors":[["
source§

impl<T, E> Result<T, E>

1.0.0 (const: 1.48.0) · source

pub const fn is_ok(&self) -> bool

Returns true if the result is Ok.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_ok(), false);
\n
1.70.0 · source

pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

Returns true if the result is Ok and the value inside of it matches a predicate.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err("hey");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
\n
1.0.0 (const: 1.48.0) · source

pub const fn is_err(&self) -> bool

Returns true if the result is Err.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_err(), true);
\n
1.70.0 · source

pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

Returns true if the result is Err and the value inside of it matches a predicate.

\n
Examples
\n
use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
\n
1.0.0 · source

pub fn ok(self) -> Option<T>

Converts from Result<T, E> to Option<T>.

\n

Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.ok(), None);
\n
1.0.0 · source

pub fn err(self) -> Option<E>

Converts from Result<T, E> to Option<E>.

\n

Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.err(), Some("Nothing here"));
\n
1.0.0 (const: 1.48.0) · source

pub const fn as_ref(&self) -> Result<&T, &E>

Converts from &Result<T, E> to Result<&T, &E>.

\n

Produces a new Result, containing a reference\ninto the original, leaving the original in place.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err("Error");\nassert_eq!(x.as_ref(), Err(&"Error"));
\n
1.0.0 (const: unstable) · source

pub fn as_mut(&mut self) -> Result<&mut T, &mut E>

Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

\n
Examples
\n
fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
\n
1.0.0 · source

pub fn map<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> U,

Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

\n

This function can be used to compose the results of two functions.

\n
Examples
\n

Print the numbers on each line of a string multiplied by two.

\n\n
let line = "1\\n2\\n3\\n4\\n";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!("{n}"),\n        Err(..) => {}\n    }\n}
\n
1.41.0 · source

pub fn map_or<U, F>(self, default: U, f: F) -> Uwhere\n F: FnOnce(T) -> U,

Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

\n

Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let x: Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err("bar");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
\n
1.41.0 · source

pub fn map_or_else<U, D, F>(self, default: D, f: F) -> Uwhere\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

\n

This function can be used to unpack a successful result\nwhile handling an error.

\n
Examples
\n
let k = 21;\n\nlet x : Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err("bar");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
\n
1.0.0 · source

pub fn map_err<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> F,

Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

\n

This function can be used to pass through a successful result while handling\nan error.

\n
Examples
\n
fn stringify(x: u32) -> String { format!("error code: {x}") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err("error code: 13".to_string()));
\n
source

pub fn inspect<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&T),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained value (if Ok).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nlet x: u8 = "4"\n    .parse::<u8>()\n    .inspect(|x| println!("original: {x}"))\n    .map(|x| x.pow(3))\n    .expect("failed to parse number");
\n
source

pub fn inspect_err<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&E),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained error (if Err).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nuse std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string("address.txt")\n        .inspect_err(|e| eprintln!("failed to read file: {e}"))\n}
\n
1.47.0 · source

pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>where\n T: Deref,

Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

\n

Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

\n
Examples
\n
let x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&str, &u32> = Ok("hello");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
\n
1.47.0 · source

pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>where\n T: DerefMut,

Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

\n

Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

\n
Examples
\n
let mut s = "HELLO".to_string();\nlet mut x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
\n
1.0.0 · source

pub fn iter(&self) -> Iter<'_, T>

Returns an iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter().next(), None);
\n
1.0.0 · source

pub fn iter_mut(&mut self) -> IterMut<'_, T>

Returns a mutable iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter_mut().next(), None);
\n
1.4.0 · source

pub fn expect(self, msg: &str) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

\n
Examples
\n
let x: Result<u32, &str> = Err("emergency failure");\nx.expect("Testing expect"); // panics with `Testing expect: emergency failure`
\n
Recommended Message Style
\n

We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

\n\n
let path = std::env::var("IMPORTANT_PATH")\n    .expect("env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`");
\n

Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

\n

For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

\n
1.0.0 · source

pub fn unwrap(self) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message provided by the\nErr’s value.

\n
Examples
\n

Basic usage:

\n\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nx.unwrap(); // panics with `emergency failure`
\n
1.16.0 · source

pub fn unwrap_or_default(self) -> Twhere\n T: Default,

Returns the contained Ok value or a default

\n

Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

\n
Examples
\n

Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

\n\n
let good_year_from_input = "1909";\nlet bad_year_from_input = "190blarg";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
\n
1.17.0 · source

pub fn expect_err(self, msg: &str) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

\n
Examples
\n
let x: Result<u32, &str> = Ok(10);\nx.expect_err("Testing expect_err"); // panics with `Testing expect_err: 10`
\n
1.0.0 · source

pub fn unwrap_err(self) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(x.unwrap_err(), "emergency failure");
\n
source

pub fn into_ok(self) -> Twhere\n E: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Ok value, but never panics.

\n

Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

\n
Examples
\n
\nfn only_good_news() -> Result<String, !> {\n    Ok("this is fine".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!("{s}");
\n
source

pub fn into_err(self) -> Ewhere\n T: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Err value, but never panics.

\n

Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

\n
Examples
\n
\nfn only_bad_news() -> Result<!, String> {\n    Err("Oops, it failed".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!("{error}");
\n
1.0.0 · source

pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

Returns res if the result is Ok, otherwise returns the Err value of self.

\n

Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("late error"));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<&str, &str> = Ok("foo");\nassert_eq!(x.and(y), Err("early error"));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("not a 2"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok("different result type");\nassert_eq!(x.and(y), Ok("different result type"));
\n
1.0.0 · source

pub fn and_then<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> Result<U, E>,

Calls op if the result is Ok, otherwise returns the Err value of self.

\n

This function can be used for control flow based on Result values.

\n
Examples
\n
fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or("overflowed")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err("overflowed"));\nassert_eq!(Err("not a number").and_then(sq_then_to_string), Err("not a number"));
\n

Often used to chain fallible operations that may return Err.

\n\n
use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows "/" maps to "C:\\"\nlet root_modified_time = Path::new("/").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new("/bad/path").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
\n
1.0.0 · source

pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

Returns res if the result is Err, otherwise returns the Ok value of self.

\n

Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Err("late error"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
\n
1.0.0 · source

pub fn or_else<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> Result<T, F>,

Calls op if the result is Err, otherwise returns the Ok value of self.

\n

This function can be used for control flow based on result values.

\n
Examples
\n
fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
\n
1.0.0 · source

pub fn unwrap_or(self, default: T) -> T

Returns the contained Ok value or a provided default.

\n

Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err("error");\nassert_eq!(x.unwrap_or(default), default);
\n
1.0.0 · source

pub fn unwrap_or_else<F>(self, op: F) -> Twhere\n F: FnOnce(E) -> T,

Returns the contained Ok value or computes it from a closure.

\n
Examples
\n
fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err("foo").unwrap_or_else(count), 3);
\n
1.58.0 · source

pub unsafe fn unwrap_unchecked(self) -> T

Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

\n
Safety
\n

Calling this method on an Err is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
\n
1.58.0 · source

pub unsafe fn unwrap_err_unchecked(self) -> E

Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

\n
Safety
\n

Calling this method on an Ok is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, "emergency failure");
\n
",0,"leo_errors::errors::Result"],["
source§

impl<T, E> Result<&T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"leo_errors::errors::Result"],["
source§

impl<T, E> Result<&mut T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"leo_errors::errors::Result"],["
source§

impl<T, E> Result<Option<T>, E>

1.33.0 (const: unstable) · source

pub fn transpose(self) -> Option<Result<T, E>>

Transposes a Result of an Option into an Option of a Result.

\n

Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

\n
Examples
\n
#[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
\n
",0,"leo_errors::errors::Result"],["
source§

impl<T, E> Result<Result<T, E>, E>

source

pub fn flatten(self) -> Result<T, E>

🔬This is a nightly-only experimental API. (result_flattening)

Converts from Result<Result<T, E>, E> to Result<T, E>

\n
Examples
\n
#![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok("hello"));\nassert_eq!(Ok("hello"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
\n

Flattening only removes one level of nesting at a time:

\n\n
#![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok("hello")));\nassert_eq!(Ok(Ok("hello")), x.flatten());\nassert_eq!(Ok("hello"), x.flatten().flatten());
\n
",0,"leo_errors::errors::Result"],["
1.61.0 · source§

impl<T, E> Termination for Result<T, E>where\n T: Termination,\n E: Debug,

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code.\nThis status code is returned to the operating system.
","Termination","leo_errors::errors::Result"],["
source§

impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(_: Yeet<E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","leo_errors::errors::Result"],["
source§

impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","leo_errors::errors::Result"],["
source§

impl<T, E> Try for Result<T, E>

§

type Output = T

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value produced by ? when not short-circuiting.
§

type Residual = Result<Infallible, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
source§

fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from its Output type. Read more
source§

fn branch(\n self\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

🔬This is a nightly-only experimental API. (try_trait_v2)
Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
","Try","leo_errors::errors::Result"],["
1.0.0 · source§

impl<T, E> StructuralEq for Result<T, E>

","StructuralEq","leo_errors::errors::Result"],["
1.0.0 · source§

impl<T, E> Eq for Result<T, E>where\n T: Eq,\n E: Eq,

","Eq","leo_errors::errors::Result"],["
1.0.0 · source§

impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>where\n V: FromIterator<A>,

source§

fn from_iter<I>(iter: I) -> Result<V, E>where\n I: IntoIterator<Item = Result<A, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

\n

Here is an example which increments every integer in a vector,\nchecking for overflow:

\n\n
let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or("Overflow!")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
\n

Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

\n\n
let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or("Underflow!")\n).collect();\nassert_eq!(res, Err("Underflow!"));
\n

Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

\n\n
let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or("Underflow!")\n}).collect();\nassert_eq!(res, Err("Underflow!"));\nassert_eq!(shared, 6);
\n

Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

\n
","FromIterator>","leo_errors::errors::Result"],["
1.0.0 · source§

impl<T, E> Ord for Result<T, E>where\n T: Ord,\n E: Ord,

source§

fn cmp(&self, other: &Result<T, E>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","leo_errors::errors::Result"],["
1.0.0 · source§

impl<T, E> PartialEq for Result<T, E>where\n T: PartialEq,\n E: PartialEq,

source§

fn eq(&self, other: &Result<T, E>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","leo_errors::errors::Result"],["
1.0.0 · source§

impl<T, E> Clone for Result<T, E>where\n T: Clone,\n E: Clone,

source§

fn clone(&self) -> Result<T, E>

Returns a copy of the value. Read more
source§

fn clone_from(&mut self, source: &Result<T, E>)

Performs copy-assignment from source. Read more
","Clone","leo_errors::errors::Result"],["
1.0.0 · source§

impl<T, E> Hash for Result<T, E>where\n T: Hash,\n E: Hash,

source§

fn hash<__H>(&self, state: &mut __H)where\n __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","leo_errors::errors::Result"],["
1.0.0 · source§

impl<T, E> IntoIterator for Result<T, E>

source§

fn into_iter(self) -> IntoIter<T>

Returns a consuming iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err("nothing!");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
\n
§

type Item = T

The type of the elements being iterated over.
§

type IntoIter = IntoIter<T>

Which kind of iterator are we turning this into?
","IntoIterator","leo_errors::errors::Result"],["
source§

impl<T, E> Residual<T> for Result<Infallible, E>

§

type TryType = Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2_residual)
The “return” type of this meta-function.
","Residual","leo_errors::errors::Result"],["
1.0.0 · source§

impl<T, E> StructuralPartialEq for Result<T, E>

","StructuralPartialEq","leo_errors::errors::Result"],["
1.16.0 · source§

impl<T, U, E> Sum<Result<U, E>> for Result<T, E>where\n T: Sum<U>,

source§

fn sum<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

\n
Examples
\n

This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

\n\n
let f = |&x: &i32| if x < 0 { Err("Negative element found") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err("Negative element found"));
\n
","Sum>","leo_errors::errors::Result"],["
1.0.0 · source§

impl<T, E> Debug for Result<T, E>where\n T: Debug,\n E: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","leo_errors::errors::Result"],["
1.0.0 · source§

impl<T, E> PartialOrd for Result<T, E>where\n T: PartialOrd,\n E: PartialOrd,

source§

fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","leo_errors::errors::Result"],["
1.0.0 · source§

impl<T, E> Copy for Result<T, E>where\n T: Copy,\n E: Copy,

","Copy","leo_errors::errors::Result"],["
1.16.0 · source§

impl<T, U, E> Product<Result<U, E>> for Result<T, E>where\n T: Product<U>,

source§

fn product<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

\n
Examples
\n

This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

\n\n
let nums = vec!["5", "10", "1", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec!["5", "10", "one", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
\n
","Product>","leo_errors::errors::Result"],["
source§

impl From<&StreamResult> for Result<MZStatus, MZError>

source§

fn from(res: &StreamResult) -> Result<MZStatus, MZError>

Converts to this type from the input type.
","From<&StreamResult>","leo_errors::errors::Result"],["
source§

impl From<StreamResult> for Result<MZStatus, MZError>

source§

fn from(res: StreamResult) -> Result<MZStatus, MZError>

Converts to this type from the input type.
","From","leo_errors::errors::Result"],["
§

impl From<&StreamResult> for Result<MZStatus, MZError>

§

fn from(res: &StreamResult) -> Result<MZStatus, MZError>

Converts to this type from the input type.
","From<&StreamResult>","leo_errors::errors::Result"],["
§

impl From<StreamResult> for Result<MZStatus, MZError>

§

fn from(res: StreamResult) -> Result<MZStatus, MZError>

Converts to this type from the input type.
","From","leo_errors::errors::Result"],["
source§

impl<'de, T, E> Deserialize<'de> for Result<T, E>where\n T: Deserialize<'de>,\n E: Deserialize<'de>,

source§

fn deserialize<D>(\n deserializer: D\n) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","leo_errors::errors::Result"],["
source§

impl<T, E> Serialize for Result<T, E>where\n T: Serialize,\n E: Serialize,

source§

fn serialize<S>(\n &self,\n serializer: S\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","leo_errors::errors::Result"],["
source§

impl<T, E> Context<T, E> for Result<T, E>where\n E: StdError + Send + Sync + 'static,

source§

fn context<C>(self, context: C) -> Result<T, Error>where\n C: Display + Send + Sync + 'static,

Wrap the error value with additional context.
source§

fn with_context<C, F>(self, context: F) -> Result<T, Error>where\n C: Display + Send + Sync + 'static,\n F: FnOnce() -> C,

Wrap the error value with additional context that is evaluated lazily\nonly once an error does occur.
","Context","leo_errors::errors::Result"]] +};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/indexmap/map/struct.IndexMap.js b/type.impl/indexmap/map/struct.IndexMap.js new file mode 100644 index 0000000000..2cb4936288 --- /dev/null +++ b/type.impl/indexmap/map/struct.IndexMap.js @@ -0,0 +1,3 @@ +(function() {var type_impls = { +"leo_ast":[["
source§

impl<K, V> IndexMap<K, V>

source

pub fn new() -> IndexMap<K, V>

Create a new map. (Does not allocate.)

\n
source

pub fn with_capacity(n: usize) -> IndexMap<K, V>

Create a new map with capacity for n key-value pairs. (Does not\nallocate if n is zero.)

\n

Computes in O(n) time.

\n
",0,"leo_ast::input::Definitions"],["
source§

impl<K, V, S> IndexMap<K, V, S>

source

pub fn with_capacity_and_hasher(n: usize, hash_builder: S) -> IndexMap<K, V, S>

Create a new map with capacity for n key-value pairs. (Does not\nallocate if n is zero.)

\n

Computes in O(n) time.

\n
source

pub const fn with_hasher(hash_builder: S) -> IndexMap<K, V, S>

Create a new map with hash_builder.

\n

This function is const, so it\ncan be called in static contexts.

\n
source

pub fn capacity(&self) -> usize

Computes in O(1) time.

\n
source

pub fn hasher(&self) -> &S

Return a reference to the map’s BuildHasher.

\n
source

pub fn len(&self) -> usize

Return the number of key-value pairs in the map.

\n

Computes in O(1) time.

\n
source

pub fn is_empty(&self) -> bool

Returns true if the map contains no elements.

\n

Computes in O(1) time.

\n
source

pub fn iter(&self) -> Iter<'_, K, V>

Return an iterator over the key-value pairs of the map, in their order

\n
source

pub fn iter_mut(&mut self) -> IterMut<'_, K, V>

Return an iterator over the key-value pairs of the map, in their order

\n
source

pub fn keys(&self) -> Keys<'_, K, V>

Return an iterator over the keys of the map, in their order

\n
source

pub fn into_keys(self) -> IntoKeys<K, V>

Return an owning iterator over the keys of the map, in their order

\n
source

pub fn values(&self) -> Values<'_, K, V>

Return an iterator over the values of the map, in their order

\n
source

pub fn values_mut(&mut self) -> ValuesMut<'_, K, V>

Return an iterator over mutable references to the values of the map,\nin their order

\n
source

pub fn into_values(self) -> IntoValues<K, V>

Return an owning iterator over the values of the map, in their order

\n
source

pub fn clear(&mut self)

Remove all key-value pairs in the map, while preserving its capacity.

\n

Computes in O(n) time.

\n
source

pub fn truncate(&mut self, len: usize)

Shortens the map, keeping the first len elements and dropping the rest.

\n

If len is greater than the map’s current length, this has no effect.

\n
source

pub fn drain<R>(&mut self, range: R) -> Drain<'_, K, V>where\n R: RangeBounds<usize>,

Clears the IndexMap in the given index range, returning those\nkey-value pairs as a drain iterator.

\n

The range may be any type that implements RangeBounds<usize>,\nincluding all of the std::ops::Range* types, or even a tuple pair of\nBound start and end values. To drain the map entirely, use RangeFull\nlike map.drain(..).

\n

This shifts down all entries following the drained range to fill the\ngap, and keeps the allocated memory for reuse.

\n

Panics if the starting point is greater than the end point or if\nthe end point is greater than the length of the map.

\n
source

pub fn split_off(&mut self, at: usize) -> IndexMap<K, V, S>where\n S: Clone,

Splits the collection into two at the given index.

\n

Returns a newly allocated map containing the elements in the range\n[at, len). After the call, the original map will be left containing\nthe elements [0, at) with its previous capacity unchanged.

\n

Panics if at > len.

\n
",0,"leo_ast::input::Definitions"],["
source§

impl<K, V, S> IndexMap<K, V, S>where\n K: Hash + Eq,\n S: BuildHasher,

source

pub fn reserve(&mut self, additional: usize)

Reserve capacity for additional more key-value pairs.

\n

Computes in O(n) time.

\n
source

pub fn shrink_to_fit(&mut self)

Shrink the capacity of the map as much as possible.

\n

Computes in O(n) time.

\n
source

pub fn shrink_to(&mut self, min_capacity: usize)

Shrink the capacity of the map with a lower limit.

\n

Computes in O(n) time.

\n
source

pub fn insert(&mut self, key: K, value: V) -> Option<V>

Insert a key-value pair in the map.

\n

If an equivalent key already exists in the map: the key remains and\nretains in its place in the order, its corresponding value is updated\nwith value and the older value is returned inside Some(_).

\n

If no equivalent key existed in the map: the new key-value pair is\ninserted, last in order, and None is returned.

\n

Computes in O(1) time (amortized average).

\n

See also entry if you you want to insert or modify\nor if you need to get the index of the corresponding key-value pair.

\n
source

pub fn insert_full(&mut self, key: K, value: V) -> (usize, Option<V>)

Insert a key-value pair in the map, and get their index.

\n

If an equivalent key already exists in the map: the key remains and\nretains in its place in the order, its corresponding value is updated\nwith value and the older value is returned inside (index, Some(_)).

\n

If no equivalent key existed in the map: the new key-value pair is\ninserted, last in order, and (index, None) is returned.

\n

Computes in O(1) time (amortized average).

\n

See also entry if you you want to insert or modify\nor if you need to get the index of the corresponding key-value pair.

\n
source

pub fn entry(&mut self, key: K) -> Entry<'_, K, V>

Get the given key’s corresponding entry in the map for insertion and/or\nin-place manipulation.

\n

Computes in O(1) time (amortized average).

\n
source

pub fn contains_key<Q>(&self, key: &Q) -> boolwhere\n Q: Hash + Equivalent<K> + ?Sized,

Return true if an equivalent to key exists in the map.

\n

Computes in O(1) time (average).

\n
source

pub fn get<Q>(&self, key: &Q) -> Option<&V>where\n Q: Hash + Equivalent<K> + ?Sized,

Return a reference to the value stored for key, if it is present,\nelse None.

\n

Computes in O(1) time (average).

\n
source

pub fn get_key_value<Q>(&self, key: &Q) -> Option<(&K, &V)>where\n Q: Hash + Equivalent<K> + ?Sized,

Return references to the key-value pair stored for key,\nif it is present, else None.

\n

Computes in O(1) time (average).

\n
source

pub fn get_full<Q>(&self, key: &Q) -> Option<(usize, &K, &V)>where\n Q: Hash + Equivalent<K> + ?Sized,

Return item index, key and value

\n
source

pub fn get_index_of<Q>(&self, key: &Q) -> Option<usize>where\n Q: Hash + Equivalent<K> + ?Sized,

Return item index, if it exists in the map

\n

Computes in O(1) time (average).

\n
source

pub fn get_mut<Q>(&mut self, key: &Q) -> Option<&mut V>where\n Q: Hash + Equivalent<K> + ?Sized,

source

pub fn get_full_mut<Q>(&mut self, key: &Q) -> Option<(usize, &K, &mut V)>where\n Q: Hash + Equivalent<K> + ?Sized,

source

pub fn remove<Q>(&mut self, key: &Q) -> Option<V>where\n Q: Hash + Equivalent<K> + ?Sized,

Remove the key-value pair equivalent to key and return\nits value.

\n

NOTE: This is equivalent to .swap_remove(key), if you need to\npreserve the order of the keys in the map, use .shift_remove(key)\ninstead.

\n

Computes in O(1) time (average).

\n
source

pub fn remove_entry<Q>(&mut self, key: &Q) -> Option<(K, V)>where\n Q: Hash + Equivalent<K> + ?Sized,

Remove and return the key-value pair equivalent to key.

\n

NOTE: This is equivalent to .swap_remove_entry(key), if you need to\npreserve the order of the keys in the map, use .shift_remove_entry(key)\ninstead.

\n

Computes in O(1) time (average).

\n
source

pub fn swap_remove<Q>(&mut self, key: &Q) -> Option<V>where\n Q: Hash + Equivalent<K> + ?Sized,

Remove the key-value pair equivalent to key and return\nits value.

\n

Like Vec::swap_remove, the pair is removed by swapping it with the\nlast element of the map and popping it off. This perturbs\nthe position of what used to be the last element!

\n

Return None if key is not in map.

\n

Computes in O(1) time (average).

\n
source

pub fn swap_remove_entry<Q>(&mut self, key: &Q) -> Option<(K, V)>where\n Q: Hash + Equivalent<K> + ?Sized,

Remove and return the key-value pair equivalent to key.

\n

Like Vec::swap_remove, the pair is removed by swapping it with the\nlast element of the map and popping it off. This perturbs\nthe position of what used to be the last element!

\n

Return None if key is not in map.

\n

Computes in O(1) time (average).

\n
source

pub fn swap_remove_full<Q>(&mut self, key: &Q) -> Option<(usize, K, V)>where\n Q: Hash + Equivalent<K> + ?Sized,

Remove the key-value pair equivalent to key and return it and\nthe index it had.

\n

Like Vec::swap_remove, the pair is removed by swapping it with the\nlast element of the map and popping it off. This perturbs\nthe position of what used to be the last element!

\n

Return None if key is not in map.

\n

Computes in O(1) time (average).

\n
source

pub fn shift_remove<Q>(&mut self, key: &Q) -> Option<V>where\n Q: Hash + Equivalent<K> + ?Sized,

Remove the key-value pair equivalent to key and return\nits value.

\n

Like Vec::remove, the pair is removed by shifting all of the\nelements that follow it, preserving their relative order.\nThis perturbs the index of all of those elements!

\n

Return None if key is not in map.

\n

Computes in O(n) time (average).

\n
source

pub fn shift_remove_entry<Q>(&mut self, key: &Q) -> Option<(K, V)>where\n Q: Hash + Equivalent<K> + ?Sized,

Remove and return the key-value pair equivalent to key.

\n

Like Vec::remove, the pair is removed by shifting all of the\nelements that follow it, preserving their relative order.\nThis perturbs the index of all of those elements!

\n

Return None if key is not in map.

\n

Computes in O(n) time (average).

\n
source

pub fn shift_remove_full<Q>(&mut self, key: &Q) -> Option<(usize, K, V)>where\n Q: Hash + Equivalent<K> + ?Sized,

Remove the key-value pair equivalent to key and return it and\nthe index it had.

\n

Like Vec::remove, the pair is removed by shifting all of the\nelements that follow it, preserving their relative order.\nThis perturbs the index of all of those elements!

\n

Return None if key is not in map.

\n

Computes in O(n) time (average).

\n
source

pub fn pop(&mut self) -> Option<(K, V)>

Remove the last key-value pair

\n

This preserves the order of the remaining elements.

\n

Computes in O(1) time (average).

\n
source

pub fn retain<F>(&mut self, keep: F)where\n F: FnMut(&K, &mut V) -> bool,

Scan through each key-value pair in the map and keep those where the\nclosure keep returns true.

\n

The elements are visited in order, and remaining elements keep their\norder.

\n

Computes in O(n) time (average).

\n
source

pub fn sort_keys(&mut self)where\n K: Ord,

Sort the map’s key-value pairs by the default ordering of the keys.

\n

See sort_by for details.

\n
source

pub fn sort_by<F>(&mut self, cmp: F)where\n F: FnMut(&K, &V, &K, &V) -> Ordering,

Sort the map’s key-value pairs in place using the comparison\nfunction cmp.

\n

The comparison function receives two key and value pairs to compare (you\ncan sort by keys or values or their combination as needed).

\n

Computes in O(n log n + c) time and O(n) space where n is\nthe length of the map and c the capacity. The sort is stable.

\n
source

pub fn sorted_by<F>(self, cmp: F) -> IntoIter<K, V>where\n F: FnMut(&K, &V, &K, &V) -> Ordering,

Sort the key-value pairs of the map and return a by-value iterator of\nthe key-value pairs with the result.

\n

The sort is stable.

\n
source

pub fn sort_unstable_keys(&mut self)where\n K: Ord,

Sort the map’s key-value pairs by the default ordering of the keys, but\nmay not preserve the order of equal elements.

\n

See sort_unstable_by for details.

\n
source

pub fn sort_unstable_by<F>(&mut self, cmp: F)where\n F: FnMut(&K, &V, &K, &V) -> Ordering,

Sort the map’s key-value pairs in place using the comparison function cmp, but\nmay not preserve the order of equal elements.

\n

The comparison function receives two key and value pairs to compare (you\ncan sort by keys or values or their combination as needed).

\n

Computes in O(n log n + c) time where n is\nthe length of the map and c is the capacity. The sort is unstable.

\n
source

pub fn sorted_unstable_by<F>(self, cmp: F) -> IntoIter<K, V>where\n F: FnMut(&K, &V, &K, &V) -> Ordering,

Sort the key-value pairs of the map and return a by-value iterator of\nthe key-value pairs with the result.

\n

The sort is unstable.

\n
source

pub fn reverse(&mut self)

Reverses the order of the map’s key-value pairs in place.

\n

Computes in O(n) time and O(1) space.

\n
",0,"leo_ast::input::Definitions"],["
source§

impl<K, V, S> IndexMap<K, V, S>

source

pub fn get_index(&self, index: usize) -> Option<(&K, &V)>

Get a key-value pair by index

\n

Valid indices are 0 <= index < self.len()

\n

Computes in O(1) time.

\n
source

pub fn get_index_mut(&mut self, index: usize) -> Option<(&mut K, &mut V)>

Get a key-value pair by index

\n

Valid indices are 0 <= index < self.len()

\n

Computes in O(1) time.

\n
source

pub fn first(&self) -> Option<(&K, &V)>

Get the first key-value pair

\n

Computes in O(1) time.

\n
source

pub fn first_mut(&mut self) -> Option<(&K, &mut V)>

Get the first key-value pair, with mutable access to the value

\n

Computes in O(1) time.

\n
source

pub fn last(&self) -> Option<(&K, &V)>

Get the last key-value pair

\n

Computes in O(1) time.

\n
source

pub fn last_mut(&mut self) -> Option<(&K, &mut V)>

Get the last key-value pair, with mutable access to the value

\n

Computes in O(1) time.

\n
source

pub fn swap_remove_index(&mut self, index: usize) -> Option<(K, V)>

Remove the key-value pair by index

\n

Valid indices are 0 <= index < self.len()

\n

Like Vec::swap_remove, the pair is removed by swapping it with the\nlast element of the map and popping it off. This perturbs\nthe position of what used to be the last element!

\n

Computes in O(1) time (average).

\n
source

pub fn shift_remove_index(&mut self, index: usize) -> Option<(K, V)>

Remove the key-value pair by index

\n

Valid indices are 0 <= index < self.len()

\n

Like Vec::remove, the pair is removed by shifting all of the\nelements that follow it, preserving their relative order.\nThis perturbs the index of all of those elements!

\n

Computes in O(n) time (average).

\n
source

pub fn move_index(&mut self, from: usize, to: usize)

Moves the position of a key-value pair from one index to another\nby shifting all other pairs in-between.

\n
    \n
  • If from < to, the other pairs will shift down while the targeted pair moves up.
  • \n
  • If from > to, the other pairs will shift up while the targeted pair moves down.
  • \n
\n

Panics if from or to are out of bounds.

\n

Computes in O(n) time (average).

\n
source

pub fn swap_indices(&mut self, a: usize, b: usize)

Swaps the position of two key-value pairs in the map.

\n

Panics if a or b are out of bounds.

\n
",0,"leo_ast::input::Definitions"],["
source§

impl<K, V, S> Index<usize> for IndexMap<K, V, S>

Access IndexMap values at indexed positions.

\n

Examples

\n
use indexmap::IndexMap;\n\nlet mut map = IndexMap::new();\nfor word in "Lorem ipsum dolor sit amet".split_whitespace() {\n    map.insert(word.to_lowercase(), word.to_uppercase());\n}\nassert_eq!(map[0], "LOREM");\nassert_eq!(map[1], "IPSUM");\nmap.reverse();\nassert_eq!(map[0], "AMET");\nassert_eq!(map[1], "SIT");\nmap.sort_keys();\nassert_eq!(map[0], "AMET");\nassert_eq!(map[1], "DOLOR");
\n\n
use indexmap::IndexMap;\n\nlet mut map = IndexMap::new();\nmap.insert("foo", 1);\nprintln!("{:?}", map[10]); // panics!
\n
source§

fn index(&self, index: usize) -> &V

Returns a reference to the value at the supplied index.

\n

Panics if index is out of bounds.

\n
§

type Output = V

The returned type after indexing.
","Index","leo_ast::input::Definitions"],["
source§

impl<K, V, Q, S> Index<&Q> for IndexMap<K, V, S>where\n Q: Hash + Equivalent<K> + ?Sized,\n K: Hash + Eq,\n S: BuildHasher,

Access IndexMap values corresponding to a key.

\n

Examples

\n
use indexmap::IndexMap;\n\nlet mut map = IndexMap::new();\nfor word in "Lorem ipsum dolor sit amet".split_whitespace() {\n    map.insert(word.to_lowercase(), word.to_uppercase());\n}\nassert_eq!(map["lorem"], "LOREM");\nassert_eq!(map["ipsum"], "IPSUM");
\n\n
use indexmap::IndexMap;\n\nlet mut map = IndexMap::new();\nmap.insert("foo", 1);\nprintln!("{:?}", map["bar"]); // panics!
\n
source§

fn index(&self, key: &Q) -> &V

Returns a reference to the value corresponding to the supplied key.

\n

Panics if key is not present in the map.

\n
§

type Output = V

The returned type after indexing.
","Index<&Q>","leo_ast::input::Definitions"],["
source§

impl<'a, K, V, S> Extend<(&'a K, &'a V)> for IndexMap<K, V, S>where\n K: Hash + Eq + Copy,\n V: Copy,\n S: BuildHasher,

source§

fn extend<I>(&mut self, iterable: I)where\n I: IntoIterator<Item = (&'a K, &'a V)>,

Extend the map with all key-value pairs in the iterable.

\n

See the first extend method for more details.

\n
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
","Extend<(&'a K, &'a V)>","leo_ast::input::Definitions"],["
source§

impl<K, V, S> Extend<(K, V)> for IndexMap<K, V, S>where\n K: Hash + Eq,\n S: BuildHasher,

source§

fn extend<I>(&mut self, iterable: I)where\n I: IntoIterator<Item = (K, V)>,

Extend the map with all key-value pairs in the iterable.

\n

This is equivalent to calling insert for each of\nthem in order, which means that for keys that already existed\nin the map, their value is updated but it keeps the existing order.

\n

New keys are inserted in the order they appear in the sequence. If\nequivalents of a key occur more than once, the last corresponding value\nprevails.

\n
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
","Extend<(K, V)>","leo_ast::input::Definitions"],["
source§

impl<K, V, S> Default for IndexMap<K, V, S>where\n S: Default,

source§

fn default() -> IndexMap<K, V, S>

Return an empty IndexMap

\n
","Default","leo_ast::input::Definitions"],["
source§

impl<K, V, S> IntoIterator for IndexMap<K, V, S>

§

type Item = (K, V)

The type of the elements being iterated over.
§

type IntoIter = IntoIter<K, V>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> <IndexMap<K, V, S> as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
","IntoIterator","leo_ast::input::Definitions"],["
source§

impl<K, V, S> IndexMut<usize> for IndexMap<K, V, S>

Access IndexMap values at indexed positions.

\n

Mutable indexing allows changing / updating indexed values\nthat are already present.

\n

You can not insert new values with index syntax, use .insert().

\n

Examples

\n
use indexmap::IndexMap;\n\nlet mut map = IndexMap::new();\nfor word in "Lorem ipsum dolor sit amet".split_whitespace() {\n    map.insert(word.to_lowercase(), word.to_string());\n}\nlet lorem = &mut map[0];\nassert_eq!(lorem, "Lorem");\nlorem.retain(char::is_lowercase);\nassert_eq!(map["lorem"], "orem");
\n\n
use indexmap::IndexMap;\n\nlet mut map = IndexMap::new();\nmap.insert("foo", 1);\nmap[10] = 1; // panics!
\n
source§

fn index_mut(&mut self, index: usize) -> &mut V

Returns a mutable reference to the value at the supplied index.

\n

Panics if index is out of bounds.

\n
","IndexMut","leo_ast::input::Definitions"],["
source§

impl<K, V, Q, S> IndexMut<&Q> for IndexMap<K, V, S>where\n Q: Hash + Equivalent<K> + ?Sized,\n K: Hash + Eq,\n S: BuildHasher,

Access IndexMap values corresponding to a key.

\n

Mutable indexing allows changing / updating values of key-value\npairs that are already present.

\n

You can not insert new pairs with index syntax, use .insert().

\n

Examples

\n
use indexmap::IndexMap;\n\nlet mut map = IndexMap::new();\nfor word in "Lorem ipsum dolor sit amet".split_whitespace() {\n    map.insert(word.to_lowercase(), word.to_string());\n}\nlet lorem = &mut map["lorem"];\nassert_eq!(lorem, "Lorem");\nlorem.retain(char::is_lowercase);\nassert_eq!(map["lorem"], "orem");
\n\n
use indexmap::IndexMap;\n\nlet mut map = IndexMap::new();\nmap.insert("foo", 1);\nmap["bar"] = 1; // panics!
\n
source§

fn index_mut(&mut self, key: &Q) -> &mut V

Returns a mutable reference to the value corresponding to the supplied key.

\n

Panics if key is not present in the map.

\n
","IndexMut<&Q>","leo_ast::input::Definitions"],["
source§

impl<K, V, S> MutableKeys for IndexMap<K, V, S>where\n K: Eq + Hash,\n S: BuildHasher,

Opt-in mutable access to keys.

\n

See MutableKeys for more information.

\n
§

type Key = K

§

type Value = V

source§

fn get_full_mut2<Q>(&mut self, key: &Q) -> Option<(usize, &mut K, &mut V)>where\n Q: Hash + Equivalent<K> + ?Sized,

Return item index, mutable reference to key and value
source§

fn retain2<F>(&mut self, keep: F)where\n F: FnMut(&mut K, &mut V) -> bool,

Scan through each key-value pair in the map and keep those where the\nclosure keep returns true. Read more
source§

fn __private_marker(&self) -> PrivateMarker

This method is not useful in itself – it is there to “seal” the trait\nfor external implementation, so that we can add methods without\ncausing breaking changes.
","MutableKeys","leo_ast::input::Definitions"],["
source§

impl<'de, K, V, S> Deserialize<'de> for IndexMap<K, V, S>where\n K: Deserialize<'de> + Eq + Hash,\n V: Deserialize<'de>,\n S: Default + BuildHasher,

Requires crate feature "serde" or "serde-1"

\n
source§

fn deserialize<D>(\n deserializer: D\n) -> Result<IndexMap<K, V, S>, <D as Deserializer<'de>>::Error>where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","leo_ast::input::Definitions"],["
source§

impl<K, V, const N: usize> From<[(K, V); N]> for IndexMap<K, V>where\n K: Hash + Eq,

source§

fn from(arr: [(K, V); N]) -> IndexMap<K, V>

Examples
\n
use indexmap::IndexMap;\n\nlet map1 = IndexMap::from([(1, 2), (3, 4)]);\nlet map2: IndexMap<_, _> = [(1, 2), (3, 4)].into();\nassert_eq!(map1, map2);
\n
","From<[(K, V); N]>","leo_ast::input::Definitions"],["
source§

impl<K, V, S> Serialize for IndexMap<K, V, S>where\n K: Serialize + Hash + Eq,\n V: Serialize,\n S: BuildHasher,

Requires crate feature "serde" or "serde-1"

\n
source§

fn serialize<T>(\n &self,\n serializer: T\n) -> Result<<T as Serializer>::Ok, <T as Serializer>::Error>where\n T: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","leo_ast::input::Definitions"],["
source§

impl<K, V1, S1, V2, S2> PartialEq<IndexMap<K, V2, S2>> for IndexMap<K, V1, S1>where\n K: Hash + Eq,\n V1: PartialEq<V2>,\n S1: BuildHasher,\n S2: BuildHasher,

source§

fn eq(&self, other: &IndexMap<K, V2, S2>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq>","leo_ast::input::Definitions"],["
source§

impl<K, V, S> Eq for IndexMap<K, V, S>where\n K: Eq + Hash,\n V: Eq,\n S: BuildHasher,

","Eq","leo_ast::input::Definitions"],["
source§

impl<'de, K, V, S, E> IntoDeserializer<'de, E> for IndexMap<K, V, S>where\n K: IntoDeserializer<'de, E> + Eq + Hash,\n V: IntoDeserializer<'de, E>,\n S: BuildHasher,\n E: Error,

§

type Deserializer = MapDeserializer<'de, <IndexMap<K, V, S> as IntoIterator>::IntoIter, E>

The type of the deserializer being converted into.
source§

fn into_deserializer(\n self\n) -> <IndexMap<K, V, S> as IntoDeserializer<'de, E>>::Deserializer

Convert this value into a deserializer.
","IntoDeserializer<'de, E>","leo_ast::input::Definitions"],["
source§

impl<K, V, S> Debug for IndexMap<K, V, S>where\n K: Debug,\n V: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","leo_ast::input::Definitions"],["
source§

impl<K, V, S> Clone for IndexMap<K, V, S>where\n K: Clone,\n V: Clone,\n S: Clone,

source§

fn clone(&self) -> IndexMap<K, V, S>

Returns a copy of the value. Read more
source§

fn clone_from(&mut self, other: &IndexMap<K, V, S>)

Performs copy-assignment from source. Read more
","Clone","leo_ast::input::Definitions"],["
source§

impl<K, V, S> FromIterator<(K, V)> for IndexMap<K, V, S>where\n K: Hash + Eq,\n S: BuildHasher + Default,

source§

fn from_iter<I>(iterable: I) -> IndexMap<K, V, S>where\n I: IntoIterator<Item = (K, V)>,

Create an IndexMap from the sequence of key-value pairs in the\niterable.

\n

from_iter uses the same logic as extend. See\nextend for more details.

\n
","FromIterator<(K, V)>","leo_ast::input::Definitions"]] +};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/leo_errors/emitter/struct.Buffer.js b/type.impl/leo_errors/emitter/struct.Buffer.js new file mode 100644 index 0000000000..a5bc6cc335 --- /dev/null +++ b/type.impl/leo_errors/emitter/struct.Buffer.js @@ -0,0 +1,3 @@ +(function() {var type_impls = { +"leo_errors":[["
source§

impl<T> Buffer<T>

source

pub fn push(&mut self, x: T)

Push x to the buffer.

\n
source

pub fn into_inner(self) -> Vec<T>

Extract the underlying list of Ts.

\n
source

pub fn last_entry(&self) -> Option<&T>

Last entry to the buffer.

\n
",0,"leo_errors::emitter::ErrBuffer","leo_errors::emitter::WarningBuffer"],["
source§

impl<T: Debug> Debug for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Debug","leo_errors::emitter::ErrBuffer","leo_errors::emitter::WarningBuffer"],["
source§

impl<T> Default for Buffer<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
","Default","leo_errors::emitter::ErrBuffer","leo_errors::emitter::WarningBuffer"],["
source§

impl<T: Display> Display for Buffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Display","leo_errors::emitter::ErrBuffer","leo_errors::emitter::WarningBuffer"]] +};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/leo_passes/common/graph/struct.DiGraph.js b/type.impl/leo_passes/common/graph/struct.DiGraph.js new file mode 100644 index 0000000000..1f66914782 --- /dev/null +++ b/type.impl/leo_passes/common/graph/struct.DiGraph.js @@ -0,0 +1,3 @@ +(function() {var type_impls = { +"leo_passes":[["
source§

impl<N: Node> DiGraph<N>

source

pub fn new(nodes: IndexSet<N>) -> Self

Initializes a new DiGraph from a vector of source nodes.

\n
source

pub fn add_edge(&mut self, from: N, to: N)

Adds an edge to the graph.

\n
source

pub fn contains_node(&self, node: N) -> bool

Returns true if the graph contains the given node.

\n
source

pub fn post_order(&self) -> Result<IndexSet<N>, DiGraphError<N>>

Returns the post-order ordering of the graph.\nDetects if there is a cycle in the graph.

\n
source

fn contains_cycle_from(\n &self,\n node: N,\n discovered: &mut IndexSet<N>,\n finished: &mut IndexSet<N>\n) -> Option<N>

",0,"leo_passes::common::graph::StructGraph","leo_passes::common::graph::CallGraph","leo_passes::common::graph::ImportGraph"],["
source§

impl<N: Debug + Node> Debug for DiGraph<N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Debug","leo_passes::common::graph::StructGraph","leo_passes::common::graph::CallGraph","leo_passes::common::graph::ImportGraph"]] +};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/snarkvm_console_network/testnet3/struct.Testnet3.js b/type.impl/snarkvm_console_network/testnet3/struct.Testnet3.js new file mode 100644 index 0000000000..97bded3e76 --- /dev/null +++ b/type.impl/snarkvm_console_network/testnet3/struct.Testnet3.js @@ -0,0 +1,3 @@ +(function() {var type_impls = { +"leo_lang":[["
§

impl Debug for Testnet3

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","leo_lang::cli::CurrentNetwork"],["
§

impl Network for Testnet3

§

type BlockHash = AleoID<Field<Testnet3>, snarkvm_console_network::::testnet3::{impl#2}::BlockHash::{constant#0}>

The block hash type.

\n
§

type RatificationID = AleoID<Field<Testnet3>, snarkvm_console_network::::testnet3::{impl#2}::RatificationID::{constant#0}>

The ratification ID type.

\n
§

type StateRoot = AleoID<Field<Testnet3>, snarkvm_console_network::::testnet3::{impl#2}::StateRoot::{constant#0}>

The state root type.

\n
§

type TransactionID = AleoID<Field<Testnet3>, snarkvm_console_network::::testnet3::{impl#2}::TransactionID::{constant#0}>

The transaction ID type.

\n
§

type TransitionID = AleoID<Field<Testnet3>, snarkvm_console_network::::testnet3::{impl#2}::TransitionID::{constant#0}>

The transition ID type.

\n
§

const EDITION: u16 = 0u16

The network edition.

\n
§

const ID: u16 = 3u16

The network ID.

\n
§

const INCLUSION_FUNCTION_NAME: &'static str = snarkvm_parameters::testnet3::TESTNET3_INCLUSION_FUNCTION_NAME

The function name for the inclusion circuit.

\n
§

const NAME: &'static str = "Aleo Testnet 3"

The network name.

\n
§

fn genesis_bytes() -> &'static [u8]

Returns the genesis block bytes.

\n
§

fn get_credits_proving_key(\n function_name: String\n) -> Result<&'static Arc<CircuitProvingKey<<Testnet3 as Environment>::PairingCurve, VarunaHidingMode>>, Error>

Returns the proving key for the given function name in credits.aleo.

\n
§

fn get_credits_verifying_key(\n function_name: String\n) -> Result<&'static Arc<CircuitVerifyingKey<<Testnet3 as Environment>::PairingCurve>>, Error>

Returns the verifying key for the given function name in credits.aleo.

\n
§

fn inclusion_proving_key(\n) -> &'static Arc<CircuitProvingKey<<Testnet3 as Environment>::PairingCurve, VarunaHidingMode>>

Returns the proving key for the inclusion circuit.

\n
§

fn inclusion_verifying_key(\n) -> &'static Arc<CircuitVerifyingKey<<Testnet3 as Environment>::PairingCurve>>

Returns the verifying key for the inclusion circuit.

\n
§

fn g_powers() -> &'static Vec<Group<Testnet3>>

Returns the powers of G.

\n
§

fn g_scalar_multiply(scalar: &Scalar<Testnet3>) -> Group<Testnet3>

Returns the scalar multiplication on the generator G.

\n
§

fn varuna_universal_prover(\n) -> &'static UniversalProver<<Testnet3 as Environment>::PairingCurve>

Returns the Varuna universal prover.

\n
§

fn varuna_universal_verifier(\n) -> &'static UniversalVerifier<<Testnet3 as Environment>::PairingCurve>

Returns the Varuna universal verifier.

\n
§

fn varuna_fs_parameters(\n) -> &'static <PoseidonSponge<<<Testnet3 as Environment>::PairingCurve as PairingEngine>::Fq, 2, 1> as AlgebraicSponge<<<Testnet3 as Environment>::PairingCurve as PairingEngine>::Fq, 2>>::Parameters

Returns the sponge parameters used for the sponge in the Varuna SNARK.

\n
§

fn encryption_domain() -> Field<Testnet3>

Returns the encryption domain as a constant field element.

\n
§

fn graph_key_domain() -> Field<Testnet3>

Returns the graph key domain as a constant field element.

\n
§

fn serial_number_domain() -> Field<Testnet3>

Returns the serial number domain as a constant field element.

\n
§

fn commit_bhp256(\n input: &[bool],\n randomizer: &Scalar<Testnet3>\n) -> Result<Field<Testnet3>, Error>

Returns a BHP commitment with an input hasher of 256-bits and randomizer.

\n
§

fn commit_bhp512(\n input: &[bool],\n randomizer: &Scalar<Testnet3>\n) -> Result<Field<Testnet3>, Error>

Returns a BHP commitment with an input hasher of 512-bits and randomizer.

\n
§

fn commit_bhp768(\n input: &[bool],\n randomizer: &Scalar<Testnet3>\n) -> Result<Field<Testnet3>, Error>

Returns a BHP commitment with an input hasher of 768-bits and randomizer.

\n
§

fn commit_bhp1024(\n input: &[bool],\n randomizer: &Scalar<Testnet3>\n) -> Result<Field<Testnet3>, Error>

Returns a BHP commitment with an input hasher of 1024-bits and randomizer.

\n
§

fn commit_ped64(\n input: &[bool],\n randomizer: &Scalar<Testnet3>\n) -> Result<Field<Testnet3>, Error>

Returns a Pedersen commitment for the given (up to) 64-bit input and randomizer.

\n
§

fn commit_ped128(\n input: &[bool],\n randomizer: &Scalar<Testnet3>\n) -> Result<Field<Testnet3>, Error>

Returns a Pedersen commitment for the given (up to) 128-bit input and randomizer.

\n
§

fn commit_to_group_bhp256(\n input: &[bool],\n randomizer: &Scalar<Testnet3>\n) -> Result<Group<Testnet3>, Error>

Returns a BHP commitment with an input hasher of 256-bits and randomizer.

\n
§

fn commit_to_group_bhp512(\n input: &[bool],\n randomizer: &Scalar<Testnet3>\n) -> Result<Group<Testnet3>, Error>

Returns a BHP commitment with an input hasher of 512-bits and randomizer.

\n
§

fn commit_to_group_bhp768(\n input: &[bool],\n randomizer: &Scalar<Testnet3>\n) -> Result<Group<Testnet3>, Error>

Returns a BHP commitment with an input hasher of 768-bits and randomizer.

\n
§

fn commit_to_group_bhp1024(\n input: &[bool],\n randomizer: &Scalar<Testnet3>\n) -> Result<Group<Testnet3>, Error>

Returns a BHP commitment with an input hasher of 1024-bits and randomizer.

\n
§

fn commit_to_group_ped64(\n input: &[bool],\n randomizer: &Scalar<Testnet3>\n) -> Result<Group<Testnet3>, Error>

Returns a Pedersen commitment for the given (up to) 64-bit input and randomizer.

\n
§

fn commit_to_group_ped128(\n input: &[bool],\n randomizer: &Scalar<Testnet3>\n) -> Result<Group<Testnet3>, Error>

Returns a Pedersen commitment for the given (up to) 128-bit input and randomizer.

\n
§

fn hash_bhp256(input: &[bool]) -> Result<Field<Testnet3>, Error>

Returns the BHP hash with an input hasher of 256-bits.

\n
§

fn hash_bhp512(input: &[bool]) -> Result<Field<Testnet3>, Error>

Returns the BHP hash with an input hasher of 512-bits.

\n
§

fn hash_bhp768(input: &[bool]) -> Result<Field<Testnet3>, Error>

Returns the BHP hash with an input hasher of 768-bits.

\n
§

fn hash_bhp1024(input: &[bool]) -> Result<Field<Testnet3>, Error>

Returns the BHP hash with an input hasher of 1024-bits.

\n
§

fn hash_keccak256(input: &[bool]) -> Result<Vec<bool>, Error>

Returns the Keccak hash with a 256-bit output.

\n
§

fn hash_keccak384(input: &[bool]) -> Result<Vec<bool>, Error>

Returns the Keccak hash with a 384-bit output.

\n
§

fn hash_keccak512(input: &[bool]) -> Result<Vec<bool>, Error>

Returns the Keccak hash with a 512-bit output.

\n
§

fn hash_ped64(input: &[bool]) -> Result<Field<Testnet3>, Error>

Returns the Pedersen hash for a given (up to) 64-bit input.

\n
§

fn hash_ped128(input: &[bool]) -> Result<Field<Testnet3>, Error>

Returns the Pedersen hash for a given (up to) 128-bit input.

\n
§

fn hash_psd2(input: &[Field<Testnet3>]) -> Result<Field<Testnet3>, Error>

Returns the Poseidon hash with an input rate of 2.

\n
§

fn hash_psd4(input: &[Field<Testnet3>]) -> Result<Field<Testnet3>, Error>

Returns the Poseidon hash with an input rate of 4.

\n
§

fn hash_psd8(input: &[Field<Testnet3>]) -> Result<Field<Testnet3>, Error>

Returns the Poseidon hash with an input rate of 8.

\n
§

fn hash_sha3_256(input: &[bool]) -> Result<Vec<bool>, Error>

Returns the SHA-3 hash with a 256-bit output.

\n
§

fn hash_sha3_384(input: &[bool]) -> Result<Vec<bool>, Error>

Returns the SHA-3 hash with a 384-bit output.

\n
§

fn hash_sha3_512(input: &[bool]) -> Result<Vec<bool>, Error>

Returns the SHA-3 hash with a 512-bit output.

\n
§

fn hash_many_psd2(\n input: &[Field<Testnet3>],\n num_outputs: u16\n) -> Vec<Field<Testnet3>>

Returns the extended Poseidon hash with an input rate of 2.

\n
§

fn hash_many_psd4(\n input: &[Field<Testnet3>],\n num_outputs: u16\n) -> Vec<Field<Testnet3>>

Returns the extended Poseidon hash with an input rate of 4.

\n
§

fn hash_many_psd8(\n input: &[Field<Testnet3>],\n num_outputs: u16\n) -> Vec<Field<Testnet3>>

Returns the extended Poseidon hash with an input rate of 8.

\n
§

fn hash_to_group_bhp256(input: &[bool]) -> Result<Group<Testnet3>, Error>

Returns the BHP hash with an input hasher of 256-bits.

\n
§

fn hash_to_group_bhp512(input: &[bool]) -> Result<Group<Testnet3>, Error>

Returns the BHP hash with an input hasher of 512-bits.

\n
§

fn hash_to_group_bhp768(input: &[bool]) -> Result<Group<Testnet3>, Error>

Returns the BHP hash with an input hasher of 768-bits.

\n
§

fn hash_to_group_bhp1024(input: &[bool]) -> Result<Group<Testnet3>, Error>

Returns the BHP hash with an input hasher of 1024-bits.

\n
§

fn hash_to_group_ped64(input: &[bool]) -> Result<Group<Testnet3>, Error>

Returns the Pedersen hash for a given (up to) 64-bit input.

\n
§

fn hash_to_group_ped128(input: &[bool]) -> Result<Group<Testnet3>, Error>

Returns the Pedersen hash for a given (up to) 128-bit input.

\n
§

fn hash_to_group_psd2(\n input: &[Field<Testnet3>]\n) -> Result<Group<Testnet3>, Error>

Returns the Poseidon hash with an input rate of 2 on the affine curve.

\n
§

fn hash_to_group_psd4(\n input: &[Field<Testnet3>]\n) -> Result<Group<Testnet3>, Error>

Returns the Poseidon hash with an input rate of 4 on the affine curve.

\n
§

fn hash_to_group_psd8(\n input: &[Field<Testnet3>]\n) -> Result<Group<Testnet3>, Error>

Returns the Poseidon hash with an input rate of 8 on the affine curve.

\n
§

fn hash_to_scalar_psd2(\n input: &[Field<Testnet3>]\n) -> Result<Scalar<Testnet3>, Error>

Returns the Poseidon hash with an input rate of 2 on the scalar field.

\n
§

fn hash_to_scalar_psd4(\n input: &[Field<Testnet3>]\n) -> Result<Scalar<Testnet3>, Error>

Returns the Poseidon hash with an input rate of 4 on the scalar field.

\n
§

fn hash_to_scalar_psd8(\n input: &[Field<Testnet3>]\n) -> Result<Scalar<Testnet3>, Error>

Returns the Poseidon hash with an input rate of 8 on the scalar field.

\n
§

fn merkle_tree_bhp<const DEPTH: u8>(\n leaves: &[Vec<bool>]\n) -> Result<MerkleTree<Testnet3, BHP<Testnet3, 8, 54>, BHP<Testnet3, 6, 43>, DEPTH>, Error>

Returns a Merkle tree with a BHP leaf hasher of 1024-bits and a BHP path hasher of 512-bits.

\n
§

fn merkle_tree_psd<const DEPTH: u8>(\n leaves: &[Vec<Field<Testnet3>>]\n) -> Result<MerkleTree<Testnet3, Poseidon<Testnet3, 4>, Poseidon<Testnet3, 2>, DEPTH>, Error>

Returns a Merkle tree with a Poseidon leaf hasher with input rate of 4 and a Poseidon path hasher with input rate of 2.

\n
§

fn verify_merkle_path_bhp<const DEPTH: u8>(\n path: &MerklePath<Testnet3, DEPTH>,\n root: &Field<Testnet3>,\n leaf: &Vec<bool>\n) -> bool

Returns true if the given Merkle path is valid for the given root and leaf.

\n
§

fn verify_merkle_path_psd<const DEPTH: u8>(\n path: &MerklePath<Testnet3, DEPTH>,\n root: &Field<Testnet3>,\n leaf: &Vec<Field<Testnet3>>\n) -> bool

Returns true if the given Merkle path is valid for the given root and leaf.

\n
§

const GENESIS_TIMESTAMP: i64 = 1_696_118_400i64

The fixed timestamp of the genesis block.
§

const GENESIS_COINBASE_TARGET: u64 = 4_294_967_295u64

The genesis block coinbase target.
§

const GENESIS_PROOF_TARGET: u64 = 33_554_432u64

The genesis block proof target.
§

const STARTING_SUPPLY: u64 = 1_500_000_000_000_000u64

The starting supply of Aleo credits.
§

const DEPLOYMENT_FEE_MULTIPLIER: u64 = 1_000u64

The cost in microcredits per byte for the deployment transaction.
§

const MAX_FEE: u64 = 1_000_000_000_000_000u64

The maximum number of microcredits that can be spent as a fee.
§

const ANCHOR_HEIGHT: u32 = _

The anchor height, defined as the expected number of blocks to reach the coinbase target.
§

const ANCHOR_TIME: u16 = 25u16

The anchor time in seconds.
§

const BLOCK_TIME: u16 = 10u16

The expected time per block in seconds.
§

const COINBASE_PUZZLE_DEGREE: u32 = 8_191u32

The coinbase puzzle degree.
§

const MAX_SOLUTIONS: usize = 256usize

The maximum number of solutions that can be included per block.
§

const NUM_BLOCKS_PER_EPOCH: u32 = _

The number of blocks per epoch.
§

const MAX_DATA_ENTRIES: usize = 32usize

The maximum number of entries in data.
§

const MAX_DATA_DEPTH: usize = 32usize

The maximum recursive depth of an entry.\nNote: This value must be strictly less than u8::MAX.
§

const MAX_DATA_SIZE_IN_FIELDS: u32 = _

The maximum number of fields in data (must not exceed u16::MAX).
§

const MIN_STRUCT_ENTRIES: usize = 1usize

The minimum number of entries in a struct.
§

const MAX_STRUCT_ENTRIES: usize = Self::MAX_DATA_ENTRIES

The maximum number of entries in a struct.
§

const MIN_ARRAY_ELEMENTS: usize = 1usize

The minimum number of elements in an array.
§

const MAX_ARRAY_ELEMENTS: usize = Self::MAX_DATA_ENTRIES

The maximum number of elements in an array.
§

const MIN_RECORD_ENTRIES: usize = 1usize

The minimum number of entries in a record.
§

const MAX_RECORD_ENTRIES: usize = _

The maximum number of entries in a record.
§

const MAX_MAPPINGS: usize = 31usize

The maximum number of mappings in a program.
§

const MAX_FUNCTIONS: usize = 31usize

The maximum number of functions in a program.
§

const MAX_OPERANDS: usize = Self::MAX_INPUTS

The maximum number of operands in an instruction.
§

const MAX_INSTRUCTIONS: usize = 65_535usize

The maximum number of instructions in a closure or function.
§

const MAX_COMMANDS: usize = 65_535usize

The maximum number of commands in finalize.
§

const MAX_WRITES: u16 = 16u16

The maximum number of write commands in finalize.
§

const MAX_INPUTS: usize = 16usize

The maximum number of inputs per transition.
§

const MAX_OUTPUTS: usize = 16usize

The maximum number of outputs per transition.
","Network","leo_lang::cli::CurrentNetwork"],["
§

impl StructuralEq for Testnet3

","StructuralEq","leo_lang::cli::CurrentNetwork"],["
§

impl Clone for Testnet3

§

fn clone(&self) -> Testnet3

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","leo_lang::cli::CurrentNetwork"],["
§

impl Eq for Testnet3

","Eq","leo_lang::cli::CurrentNetwork"],["
§

impl<'de> Deserialize<'de> for Testnet3

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<Testnet3, <__D as Deserializer<'de>>::Error>where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","leo_lang::cli::CurrentNetwork"],["
§

impl StructuralPartialEq for Testnet3

","StructuralPartialEq","leo_lang::cli::CurrentNetwork"],["
§

impl Copy for Testnet3

","Copy","leo_lang::cli::CurrentNetwork"],["
§

impl PartialEq for Testnet3

§

fn eq(&self, other: &Testnet3) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","leo_lang::cli::CurrentNetwork"],["
§

impl Hash for Testnet3

§

fn hash<__H>(&self, state: &mut __H)where\n __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","leo_lang::cli::CurrentNetwork"],["
§

impl Serialize for Testnet3

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","leo_lang::cli::CurrentNetwork"],["
§

impl Environment for Testnet3

§

const EDWARDS_A: <Testnet3 as Environment>::Field = Console::EDWARDS_A

The coefficient A of the twisted Edwards curve.

\n
§

const EDWARDS_D: <Testnet3 as Environment>::Field = Console::EDWARDS_D

The coefficient D of the twisted Edwards curve.

\n
§

const MONTGOMERY_A: <Testnet3 as Environment>::Field = Console::MONTGOMERY_A

The coefficient A of the Montgomery curve.

\n
§

const MONTGOMERY_B: <Testnet3 as Environment>::Field = Console::MONTGOMERY_B

The coefficient B of the Montgomery curve.

\n
§

type Affine = <Console as Environment>::Affine

§

type BigInteger = <Console as Environment>::BigInteger

§

type Field = <Console as Environment>::Field

§

type PairingCurve = <Console as Environment>::PairingCurve

§

type Projective = <Console as Environment>::Projective

§

type Scalar = <Console as Environment>::Scalar

§

const MAX_STRING_BYTES: u32 = 255u32

The maximum number of bytes allowed in a string.
§

fn halt<S, T>(message: S) -> Twhere\n S: Into<String>,

Halts the program from further synthesis, evaluation, and execution in the current environment.
","Environment","leo_lang::cli::CurrentNetwork"]] +};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/std/primitive.usize.js b/type.impl/std/primitive.usize.js new file mode 100644 index 0000000000..2cc0d5fd8f --- /dev/null +++ b/type.impl/std/primitive.usize.js @@ -0,0 +1,3 @@ +(function() {var type_impls = { +"leo_ast":[] +};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file