From 10acdd6caa27486576e2d57cad53dd6de70cdcaa Mon Sep 17 00:00:00 2001 From: d0cd Date: Fri, 25 Aug 2023 20:16:26 +0000 Subject: [PATCH] deploy: de2b2a263bcd442bfd74b0f9faf3bebdb5cdf25b --- errcov/all.html | 2 +- errcov/fn.main.html | 2 +- errcov/index.html | 2 +- help.html | 2 +- .../clap_builder/derive/trait.Args.js | 2 +- .../derive/trait.CommandFactory.js | 2 +- .../derive/trait.FromArgMatches.js | 2 +- .../clap_builder/derive/trait.Parser.js | 2 +- .../clap_builder/derive/trait.Subcommand.js | 2 +- implementors/core/borrow/trait.Borrow.js | 2 +- implementors/core/clone/trait.Clone.js | 18 +- implementors/core/cmp/trait.Eq.js | 10 +- implementors/core/cmp/trait.Ord.js | 2 +- implementors/core/cmp/trait.PartialEq.js | 12 +- implementors/core/cmp/trait.PartialOrd.js | 2 +- implementors/core/convert/trait.AsRef.js | 2 +- implementors/core/convert/trait.From.js | 6 +- implementors/core/convert/trait.TryFrom.js | 2 +- implementors/core/default/trait.Default.js | 14 +- implementors/core/error/trait.Error.js | 2 +- implementors/core/fmt/trait.Debug.js | 16 +- implementors/core/fmt/trait.Display.js | 14 +- implementors/core/hash/trait.Hash.js | 6 +- .../iter/traits/iterator/trait.Iterator.js | 2 +- implementors/core/marker/trait.Copy.js | 10 +- implementors/core/marker/trait.Freeze.js | 20 +- implementors/core/marker/trait.Send.js | 20 +- .../core/marker/trait.StructuralEq.js | 10 +- .../core/marker/trait.StructuralPartialEq.js | 12 +- implementors/core/marker/trait.Sync.js | 20 +- implementors/core/marker/trait.Unpin.js | 20 +- implementors/core/ops/arith/trait.Add.js | 2 +- implementors/core/ops/arith/trait.Sub.js | 2 +- implementors/core/ops/deref/trait.Deref.js | 4 +- .../panic/unwind_safe/trait.RefUnwindSafe.js | 20 +- .../panic/unwind_safe/trait.UnwindSafe.js | 20 +- .../trait.ExpressionReconstructor.js | 2 +- .../trait.ProgramReconstructor.js | 2 +- .../trait.StatementReconstructor.js | 2 +- .../passes/visitor/trait.ProgramVisitor.js | 2 +- .../passes/visitor/trait.StatementVisitor.js | 2 +- implementors/serde/de/trait.Deserialize.js | 8 +- implementors/serde/ser/trait.Serialize.js | 8 +- index.html | 2 +- leo/all.html | 2 +- leo/fn.main.html | 2 +- leo/fn.set_panic_hook.html | 2 +- leo/index.html | 2 +- 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 | 2 +- leo_abnf/struct.Processor.html | 36 +- .../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.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 | 2 +- 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.PositiveNumber.html | 58 +- 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 +- .../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.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 | 74 +- 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 | 2 +- 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 | 46 +- 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 | 2 +- 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 | 2 +- .../consumer/trait.FunctionConsumer.html | 2 +- .../passes/consumer/trait.ImportConsumer.html | 2 +- .../consumer/trait.MappingConsumer.html | 2 +- .../consumer/trait.ProgramConsumer.html | 2 +- .../consumer/trait.ProgramScopeConsumer.html | 2 +- .../consumer/trait.StatementConsumer.html | 2 +- .../passes/consumer/trait.StructConsumer.html | 2 +- leo_ast/passes/index.html | 2 +- leo_ast/passes/reconstructor/index.html | 2 +- .../trait.ExpressionReconstructor.html | 6 +- .../trait.ProgramReconstructor.html | 2 +- .../trait.StatementReconstructor.html | 2 +- leo_ast/passes/visitor/index.html | 2 +- .../visitor/trait.ExpressionVisitor.html | 8 +- .../passes/visitor/trait.ProgramVisitor.html | 2 +- .../visitor/trait.StatementVisitor.html | 2 +- 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 | 46 +- 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 +- .../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 +- .../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.Tuple.html | 1194 ++++++++--------- 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 | 62 +- leo_compiler/compiler/struct.Compiler.html | 78 +- leo_compiler/compiler/struct.InputAst.html | 62 +- leo_compiler/compiler/struct.SymbolTable.html | 72 +- leo_compiler/index.html | 2 +- leo_compiler/options/index.html | 2 +- leo_compiler/options/struct.BuildOptions.html | 28 +- .../options/struct.CompilerOptions.html | 24 +- .../options/struct.OutputOptions.html | 56 +- leo_compiler/struct.Ast.html | 62 +- leo_compiler/struct.BuildOptions.html | 28 +- leo_compiler/struct.Compiler.html | 78 +- leo_compiler/struct.CompilerOptions.html | 24 +- leo_compiler/struct.InputAst.html | 62 +- leo_compiler/struct.OutputOptions.html | 56 +- leo_compiler/struct.SymbolTable.html | 72 +- leo_errors/all.html | 2 +- .../common/backtraced/constant.INDENT.html | 2 +- leo_errors/common/backtraced/index.html | 2 +- .../common/backtraced/struct.Backtraced.html | 82 +- leo_errors/common/formatted/index.html | 2 +- .../common/formatted/struct.Formatted.html | 56 +- 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 | 30 +- 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 | 6 +- leo_errors/emitter/type.ErrBuffer.html | 2 +- leo_errors/emitter/type.WarningBuffer.html | 2 +- .../errors/ast/ast_errors/enum.AstError.html | 58 +- leo_errors/errors/ast/ast_errors/index.html | 2 +- leo_errors/errors/ast/index.html | 2 +- .../errors/cli/cli_errors/enum.CliError.html | 44 +- leo_errors/errors/cli/cli_errors/index.html | 2 +- leo_errors/errors/cli/index.html | 2 +- .../compiler_errors/enum.CompilerError.html | 48 +- .../compiler/compiler_errors/index.html | 2 +- leo_errors/errors/compiler/index.html | 2 +- leo_errors/errors/enum.LeoError.html | 36 +- leo_errors/errors/enum.LeoWarning.html | 30 +- .../flattener_errors/enum.FlattenError.html | 46 +- .../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 | 44 +- .../errors/input/input_errors/index.html | 2 +- leo_errors/errors/package/index.html | 2 +- .../package_errors/enum.PackageError.html | 100 +- .../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 | 36 +- .../errors/parser/parser_warnings/index.html | 2 +- leo_errors/errors/type.Result.html | 2 +- leo_errors/errors/type_checker/index.html | 2 +- .../enum.TypeCheckerError.html | 136 +- .../type_checker_error/index.html | 2 +- leo_errors/index.html | 2 +- leo_errors/macro.create_messages.html | 2 +- leo_lang/all.html | 2 +- leo_lang/cli/account/enum.Account.html | 72 +- leo_lang/cli/account/index.html | 2 +- leo_lang/cli/build/index.html | 2 +- leo_lang/cli/build/struct.Build.html | 56 +- leo_lang/cli/clean/index.html | 2 +- leo_lang/cli/clean/struct.Clean.html | 56 +- leo_lang/cli/cli/enum.Commands.html | 46 +- 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 | 52 +- .../cli/commands/account/enum.Account.html | 72 +- .../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 | 56 +- leo_lang/cli/commands/clean/index.html | 2 +- leo_lang/cli/commands/clean/struct.Clean.html | 56 +- .../cli/commands/example/enum.Example.html | 58 +- leo_lang/cli/commands/example/index.html | 2 +- leo_lang/cli/commands/execute/index.html | 2 +- .../cli/commands/execute/struct.Execute.html | 62 +- leo_lang/cli/commands/index.html | 2 +- leo_lang/cli/commands/new/index.html | 2 +- leo_lang/cli/commands/new/struct.New.html | 58 +- leo_lang/cli/commands/run/index.html | 2 +- leo_lang/cli/commands/run/struct.Run.html | 60 +- .../cli/commands/struct.BuildOptions.html | 70 +- leo_lang/cli/commands/trait.Command.html | 24 +- leo_lang/cli/commands/update/index.html | 2 +- .../cli/commands/update/struct.Update.html | 66 +- leo_lang/cli/constant.SNARKVM_COMMAND.html | 2 +- leo_lang/cli/context/index.html | 2 +- leo_lang/cli/context/struct.Context.html | 32 +- leo_lang/cli/enum.Account.html | 72 +- leo_lang/cli/enum.Example.html | 58 +- leo_lang/cli/example/enum.Example.html | 58 +- leo_lang/cli/example/index.html | 2 +- leo_lang/cli/execute/index.html | 2 +- leo_lang/cli/execute/struct.Execute.html | 62 +- 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 | 32 +- 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 | 72 +- leo_lang/cli/helpers/updater/index.html | 2 +- .../cli/helpers/updater/struct.Updater.html | 28 +- 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 | 72 +- leo_lang/cli/new/index.html | 2 +- leo_lang/cli/new/struct.New.html | 58 +- leo_lang/cli/run/index.html | 2 +- leo_lang/cli/run/struct.Run.html | 60 +- leo_lang/cli/struct.Build.html | 56 +- leo_lang/cli/struct.BuildOptions.html | 70 +- leo_lang/cli/struct.CLI.html | 52 +- leo_lang/cli/struct.Clean.html | 56 +- leo_lang/cli/struct.Execute.html | 62 +- leo_lang/cli/struct.New.html | 58 +- leo_lang/cli/struct.Run.html | 60 +- leo_lang/cli/struct.Update.html | 66 +- 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 | 66 +- leo_lang/cli/updater/index.html | 2 +- leo_lang/cli/updater/struct.Updater.html | 28 +- leo_lang/index.html | 2 +- leo_package/all.html | 2 +- leo_package/build/directory/index.html | 2 +- .../static.BUILD_DIRECTORY_NAME.html | 2 +- .../directory/struct.BuildDirectory.html | 28 +- 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 | 30 +- leo_package/imports/index.html | 2 +- leo_package/index.html | 2 +- .../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 | 26 +- 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 | 38 +- .../outputs/ast_snapshot/enum.Snapshot.html | 34 +- leo_package/outputs/ast_snapshot/index.html | 2 +- .../static.AST_SNAPSHOT_FILE_EXTENSION.html | 2 +- .../ast_snapshot/struct.SnapshotFile.html | 38 +- leo_package/outputs/checksum/index.html | 2 +- .../static.CHECKSUM_FILE_EXTENSION.html | 2 +- .../outputs/checksum/struct.ChecksumFile.html | 40 +- leo_package/outputs/circuit/index.html | 2 +- .../static.CIRCUIT_FILE_EXTENSION.html | 2 +- .../outputs/circuit/struct.CircuitFile.html | 40 +- leo_package/outputs/directory/index.html | 2 +- .../static.OUTPUTS_DIRECTORY_NAME.html | 2 +- .../directory/struct.OutputsDirectory.html | 26 +- 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 | 56 +- leo_package/root/env/index.html | 2 +- leo_package/root/env/static.ENV_FILENAME.html | 2 +- leo_package/root/env/struct.Env.html | 42 +- leo_package/root/gitignore/index.html | 2 +- .../gitignore/static.GITIGNORE_FILENAME.html | 2 +- .../root/gitignore/struct.Gitignore.html | 30 +- leo_package/root/index.html | 2 +- leo_package/source/directory/index.html | 2 +- .../static.SOURCE_DIRECTORY_NAME.html | 2 +- .../directory/struct.SourceDirectory.html | 28 +- 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 | 34 +- 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 | 2 +- .../parser/context/constant.DUMMY_EOF.html | 2 +- leo_parser/parser/context/index.html | 2 +- .../parser/context/struct.ParserContext.html | 86 +- .../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 | 36 +- .../token/constant.KEYWORD_TOKENS.html | 2 +- .../tokenizer/token/enum.Delimiter.html | 24 +- leo_parser/tokenizer/token/enum.Token.html | 70 +- leo_parser/tokenizer/token/index.html | 2 +- leo_passes/all.html | 2 +- .../code_generation/generator/index.html | 2 +- .../generator/struct.CodeGenerator.html | 62 +- 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 | 32 +- .../common/assigner/struct.AssignerInner.html | 32 +- .../common/graph/enum.DiGraphError.html | 36 +- leo_passes/common/graph/index.html | 2 +- leo_passes/common/graph/struct.DiGraph.html | 36 +- leo_passes/common/graph/trait.Node.html | 2 +- leo_passes/common/graph/type.CallGraph.html | 2 +- leo_passes/common/graph/type.ImportGraph.html | 2 +- leo_passes/common/graph/type.StructGraph.html | 2 +- leo_passes/common/index.html | 2 +- leo_passes/common/rename_table/index.html | 2 +- .../rename_table/struct.RenameTable.html | 50 +- leo_passes/common/replacer/index.html | 2 +- .../common/replacer/struct.Replacer.html | 42 +- .../symbol_table/function_symbol/index.html | 2 +- .../function_symbol/struct.FinalizeData.html | 28 +- .../struct.FunctionSymbol.html | 36 +- leo_passes/common/symbol_table/index.html | 2 +- .../symbol_table/struct.SymbolTable.html | 64 +- .../variable_symbol/enum.VariableType.html | 42 +- .../symbol_table/variable_symbol/index.html | 2 +- .../struct.VariableSymbol.html | 42 +- .../dead_code_eliminator/index.html | 2 +- .../struct.DeadCodeEliminator.html | 30 +- .../eliminate_expression/index.html | 2 +- .../eliminate_program/index.html | 2 +- .../eliminate_statement/index.html | 2 +- leo_passes/dead_code_elimination/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 | 64 +- leo_passes/flattening/index.html | 2 +- .../assignment_renamer/index.html | 2 +- .../struct.AssignmentRenamer.html | 30 +- .../function_inliner/index.html | 2 +- .../struct.FunctionInliner.html | 26 +- 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 | 2 +- leo_passes/loop_unrolling/index.html | 2 +- .../range_iterator/enum.Clusivity.html | 22 +- .../loop_unrolling/range_iterator/index.html | 2 +- .../range_iterator/struct.RangeIterator.html | 1176 ++++++++-------- .../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 | 44 +- 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 | 54 +- .../symbol_table_creation/creator/index.html | 2 +- .../creator/struct.SymbolTableCreator.html | 24 +- 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.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 | 142 +- leo_passes/type_checking/index.html | 2 +- leo_span/all.html | 2 +- leo_span/index.html | 2 +- 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 | 446 +++--- .../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.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.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.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.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.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 | 2 +- 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 | 8 +- settings.html | 2 +- src/errcov/errcov.rs.html | 2 +- src/leo/main.rs.html | 2 +- src/leo_abnf/main.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/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 | 4 +- 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 +- .../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/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 +- 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 | 4 +- .../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 +- 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 +- .../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 +- .../flattening/flatten_expression.rs.html | 4 +- .../flattening/flatten_program.rs.html | 2 +- .../flattening/flatten_statement.rs.html | 40 +- 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 | 4 +- .../function_inlining/inline_program.rs.html | 2 +- .../inline_statement.rs.html | 4 +- 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 | 6 +- .../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 | 10 +- .../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-0795b7d26be81095.js | 12 + static.files/main-f0540c1d82cde29b.js | 7 - static.files/rustdoc-9bb858ba049f1f21.css | 8 + static.files/rustdoc-f3501f0f5ae15dfb.css | 8 - static.files/search-4926e5fc22a5646a.js | 1 - static.files/search-f6292fe389d70017.js | 5 + .../source-script-106908c7a7964ba4.js | 1 + .../source-script-11255107d0a65077.js | 1 - static.files/storage-59fd9b8ccb335783.js | 1 + static.files/storage-62ce34ea385b278a.js | 1 - 996 files changed, 7757 insertions(+), 7796 deletions(-) create mode 100644 static.files/main-0795b7d26be81095.js delete mode 100644 static.files/main-f0540c1d82cde29b.js create mode 100644 static.files/rustdoc-9bb858ba049f1f21.css delete mode 100644 static.files/rustdoc-f3501f0f5ae15dfb.css delete mode 100644 static.files/search-4926e5fc22a5646a.js create mode 100644 static.files/search-f6292fe389d70017.js create mode 100644 static.files/source-script-106908c7a7964ba4.js delete mode 100644 static.files/source-script-11255107d0a65077.js create mode 100644 static.files/storage-59fd9b8ccb335783.js delete mode 100644 static.files/storage-62ce34ea385b278a.js diff --git a/errcov/all.html b/errcov/all.html index 46063b358a..b9775f828a 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 2db67f3bb6..015985f040 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 d0a65bd7b3..47d1bca6ba 100644 --- a/errcov/index.html +++ b/errcov/index.html @@ -1 +1 @@ -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 a9da27b16b..57b89669df 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Rustdoc help

Rustdoc help

Back
\ No newline at end of file +Rustdoc 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 index ddb403e3ba..7686daf5ab 100644 --- a/implementors/clap_builder/derive/trait.Args.js +++ b/implementors/clap_builder/derive/trait.Args.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl Args for CLI"],["impl Args for Build"],["impl Args for Execute"],["impl Args for Update"],["impl Args for New"],["impl Args for Run"],["impl Args for BuildOptions"],["impl Args for Clean"]] +"leo_lang":[["impl Args for Build"],["impl Args for Execute"],["impl Args for CLI"],["impl Args for New"],["impl Args for Run"],["impl Args for Update"],["impl Args for BuildOptions"],["impl Args for Clean"]] };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 index e0385846bc..d9515d96f3 100644 --- a/implementors/clap_builder/derive/trait.CommandFactory.js +++ b/implementors/clap_builder/derive/trait.CommandFactory.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl CommandFactory for New"],["impl CommandFactory for Clean"],["impl CommandFactory for Account"],["impl CommandFactory for Update"],["impl CommandFactory for Build"],["impl CommandFactory for CLI"],["impl CommandFactory for Example"],["impl CommandFactory for Execute"],["impl CommandFactory for Run"],["impl CommandFactory for Commands"],["impl CommandFactory for BuildOptions"]] +"leo_lang":[["impl CommandFactory for Update"],["impl CommandFactory for New"],["impl CommandFactory for Commands"],["impl CommandFactory for BuildOptions"],["impl CommandFactory for Clean"],["impl CommandFactory for CLI"],["impl CommandFactory for Execute"],["impl CommandFactory for Account"],["impl CommandFactory for Run"],["impl CommandFactory for Example"],["impl CommandFactory 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.FromArgMatches.js b/implementors/clap_builder/derive/trait.FromArgMatches.js index 143fb1eda0..7939301cd6 100644 --- a/implementors/clap_builder/derive/trait.FromArgMatches.js +++ b/implementors/clap_builder/derive/trait.FromArgMatches.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl FromArgMatches for CLI"],["impl FromArgMatches for BuildOptions"],["impl FromArgMatches for Update"],["impl FromArgMatches for Example"],["impl FromArgMatches for Execute"],["impl FromArgMatches for Commands"],["impl FromArgMatches for Clean"],["impl FromArgMatches for New"],["impl FromArgMatches for Run"],["impl FromArgMatches for Account"],["impl FromArgMatches for Build"]] +"leo_lang":[["impl FromArgMatches for Account"],["impl FromArgMatches for Run"],["impl FromArgMatches for CLI"],["impl FromArgMatches for Commands"],["impl FromArgMatches for New"],["impl FromArgMatches for Clean"],["impl FromArgMatches for Update"],["impl FromArgMatches for Example"],["impl FromArgMatches for Execute"],["impl FromArgMatches for BuildOptions"],["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 index fd90f5f3bf..ed056725ff 100644 --- a/implementors/clap_builder/derive/trait.Parser.js +++ b/implementors/clap_builder/derive/trait.Parser.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl Parser for CLI"],["impl Parser for Clean"],["impl Parser for Commands"],["impl Parser for Build"],["impl Parser for Example"],["impl Parser for Run"],["impl Parser for Account"],["impl Parser for Execute"],["impl Parser for Update"],["impl Parser for New"],["impl Parser for BuildOptions"]] +"leo_lang":[["impl Parser for Example"],["impl Parser for Update"],["impl Parser for CLI"],["impl Parser for Account"],["impl Parser for Run"],["impl Parser for BuildOptions"],["impl Parser for Clean"],["impl Parser for Commands"],["impl Parser for Execute"],["impl Parser for Build"],["impl Parser 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.Subcommand.js b/implementors/clap_builder/derive/trait.Subcommand.js index 1fe037f5e3..152a0fd759 100644 --- a/implementors/clap_builder/derive/trait.Subcommand.js +++ b/implementors/clap_builder/derive/trait.Subcommand.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_lang":[["impl Subcommand for Example"],["impl Subcommand for Commands"],["impl Subcommand for Account"]] +"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/implementors/core/borrow/trait.Borrow.js index c41d33578d..d12ad9a2e2 100644 --- a/implementors/core/borrow/trait.Borrow.js +++ b/implementors/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/implementors/core/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js index 39052c180c..463aae3e74 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -1,11 +1,11 @@ (function() {var implementors = { -"leo_abnf":[["impl<'a> Clone for Processor<'a>"],["impl Clone for Scope"]], -"leo_ast":[["impl Clone for Block"],["impl Clone for TupleExpression"],["impl Clone for AccessExpression"],["impl Clone for GroupTuple"],["impl Clone for Output"],["impl Clone for TernaryExpression"],["impl Clone for CoreConstant"],["impl Clone for AssertVariant"],["impl Clone for Definition"],["impl Clone for Type"],["impl Clone for InputValue"],["impl Clone for StructExpression"],["impl Clone for Statement"],["impl Clone for UnaryExpression"],["impl Clone for DeclarationType"],["impl Clone for Section"],["impl Clone for BinaryExpression"],["impl Clone for ReturnStatement"],["impl Clone for StructVariableInitializer"],["impl Clone for PositiveNumber"],["impl Clone for Ast"],["impl Clone for TupleAccess"],["impl Clone for ProgramScope"],["impl Clone for AssociatedConstant"],["impl Clone for ConsoleStatement"],["impl Clone for Program"],["impl Clone for NodeBuilder"],["impl Clone for Struct"],["impl Clone for AssertStatement"],["impl Clone for Expression"],["impl Clone for Identifier"],["impl Clone for UnaryOperation"],["impl Clone for MemberAccess"],["impl Clone for MappingType"],["impl Clone for Function"],["impl Clone for FunctionOutput"],["impl Clone for CastExpression"],["impl Clone for Variant"],["impl Clone for StaticString"],["impl Clone for Literal"],["impl Clone for GroupCoordinate"],["impl Clone for ProgramInput"],["impl Clone for InputAst"],["impl Clone for InputData"],["impl Clone for External"],["impl Clone for NodeBuilderInner"],["impl Clone for CallExpression"],["impl Clone for ConditionalStatement"],["impl Clone for DefinitionStatement"],["impl Clone for FunctionInput"],["impl Clone for Tuple"],["impl Clone for AssociatedFunction"],["impl Clone for Mapping"],["impl Clone for Input"],["impl Clone for Annotation"],["impl Clone for ConsoleFunction"],["impl Clone for IntegerType"],["impl Clone for IterationStatement"],["impl Clone for Value"],["impl Clone for CoreFunction"],["impl Clone for Member"],["impl Clone for GroupLiteral"],["impl Clone for ExpressionStatement"],["impl Clone for BinaryOperation"],["impl Clone for AssignStatement"],["impl Clone for UnitExpression"],["impl Clone for ErrExpression"],["impl Clone for Finalize"],["impl Clone for ProgramId"],["impl Clone for Mode"]], -"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 Formatted"],["impl Clone for CompilerError"],["impl Clone for PackageError"],["impl Clone for BufferEmitter"],["impl Clone for ParserError"],["impl Clone for CliError"],["impl Clone for FlattenError"],["impl Clone for ParserWarning"],["impl Clone for InputError"],["impl Clone for Backtraced"],["impl Clone for AstError"],["impl Clone for TypeCheckerError"]], -"leo_lang":[["impl<F: Clone, T: Clone> Clone for Format<F, T>"],["impl Clone for BuildOptions"],["impl Clone for Context"]], -"leo_parser":[["impl Clone for SpannedToken"],["impl Clone for Token"],["impl Clone for Delimiter"]], -"leo_passes":[["impl Clone for Assigner"],["impl Clone for FunctionSymbol"],["impl Clone for VariableType"],["impl Clone for AssignerInner"],["impl Clone for SymbolTable"],["impl Clone for VariableSymbol"],["impl Clone for RenameTable"],["impl Clone for FinalizeData"]], -"leo_span":[["impl Clone for BytePos"],["impl Clone for MultiByteChar"],["impl Clone for Span"],["impl Clone for Symbol"],["impl Clone for CharPos"],["impl Clone for FileName"]], -"leo_test_framework":[["impl Clone for ParseType"],["impl Clone for TestExpectation"],["impl Clone for TestConfig"],["impl Clone for TestExpectationMode"]] +"leo_abnf":[["impl<'a> Clone for Processor<'a>"],["impl Clone for Scope"]], +"leo_ast":[["impl Clone for ProgramInput"],["impl Clone for MappingType"],["impl Clone for Ast"],["impl Clone for InputValue"],["impl Clone for IterationStatement"],["impl Clone for FunctionOutput"],["impl Clone for TupleExpression"],["impl Clone for UnitExpression"],["impl Clone for BinaryOperation"],["impl Clone for Definition"],["impl Clone for Statement"],["impl Clone for ProgramScope"],["impl Clone for UnaryOperation"],["impl Clone for ErrExpression"],["impl Clone for Tuple"],["impl Clone for DeclarationType"],["impl Clone for GroupTuple"],["impl Clone for StructVariableInitializer"],["impl Clone for ConsoleStatement"],["impl Clone for InputData"],["impl Clone for AssociatedFunction"],["impl Clone for AccessExpression"],["impl Clone for Identifier"],["impl Clone for ExpressionStatement"],["impl Clone for Section"],["impl Clone for Block"],["impl Clone for DefinitionStatement"],["impl Clone for StaticString"],["impl Clone for IntegerType"],["impl Clone for CoreFunction"],["impl Clone for Variant"],["impl Clone for ConsoleFunction"],["impl Clone for CallExpression"],["impl Clone for PositiveNumber"],["impl Clone for Value"],["impl Clone for Mapping"],["impl Clone for AssertVariant"],["impl Clone for Input"],["impl Clone for Finalize"],["impl Clone for InputAst"],["impl Clone for FunctionInput"],["impl Clone for Literal"],["impl Clone for NodeBuilder"],["impl Clone for Struct"],["impl Clone for Program"],["impl Clone for NodeBuilderInner"],["impl Clone for Mode"],["impl Clone for AssignStatement"],["impl Clone for StructExpression"],["impl Clone for TupleAccess"],["impl Clone for MemberAccess"],["impl Clone for TernaryExpression"],["impl Clone for CastExpression"],["impl Clone for External"],["impl Clone for GroupCoordinate"],["impl Clone for Annotation"],["impl Clone for BinaryExpression"],["impl Clone for AssertStatement"],["impl Clone for Member"],["impl Clone for UnaryExpression"],["impl Clone for Expression"],["impl Clone for ProgramId"],["impl Clone for AssociatedConstant"],["impl Clone for GroupLiteral"],["impl Clone for Function"],["impl Clone for ReturnStatement"],["impl Clone for Type"],["impl Clone for CoreConstant"],["impl Clone for ConditionalStatement"],["impl Clone for Output"]], +"leo_compiler":[["impl Clone for BuildOptions"],["impl<'a> Clone for Compiler<'a>"],["impl Clone for CompilerOptions"],["impl Clone for OutputOptions"]], +"leo_errors":[["impl Clone for AstError"],["impl Clone for InputError"],["impl Clone for CompilerError"],["impl Clone for FlattenError"],["impl Clone for TypeCheckerError"],["impl Clone for BufferEmitter"],["impl Clone for Formatted"],["impl Clone for CliError"],["impl Clone for Backtraced"],["impl Clone for PackageError"],["impl Clone for ParserError"],["impl Clone for ParserWarning"]], +"leo_lang":[["impl Clone for BuildOptions"],["impl<F: Clone, T: Clone> Clone for Format<F, T>"],["impl Clone for Context"]], +"leo_parser":[["impl Clone for SpannedToken"],["impl Clone for Delimiter"],["impl Clone for Token"]], +"leo_passes":[["impl Clone for SymbolTable"],["impl Clone for AssignerInner"],["impl Clone for Assigner"],["impl Clone for RenameTable"],["impl Clone for FinalizeData"],["impl Clone for VariableSymbol"],["impl Clone for VariableType"],["impl Clone for FunctionSymbol"]], +"leo_span":[["impl Clone for Symbol"],["impl Clone for CharPos"],["impl Clone for Span"],["impl Clone for MultiByteChar"],["impl Clone for BytePos"],["impl Clone for FileName"]], +"leo_test_framework":[["impl Clone for TestConfig"],["impl Clone for TestExpectation"],["impl Clone for TestExpectationMode"],["impl Clone 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.Eq.js b/implementors/core/cmp/trait.Eq.js index 8bf16d0c18..176e3be6ee 100644 --- a/implementors/core/cmp/trait.Eq.js +++ b/implementors/core/cmp/trait.Eq.js @@ -1,7 +1,7 @@ (function() {var implementors = { -"leo_ast":[["impl Eq for AccessExpression"],["impl Eq for Member"],["impl Eq for ProgramId"],["impl Eq for InputValue"],["impl Eq for BinaryExpression"],["impl Eq for Value"],["impl Eq for Identifier"],["impl Eq for CoreFunction"],["impl Eq for IterationStatement"],["impl Eq for Mode"],["impl Eq for ErrExpression"],["impl Eq for Function"],["impl Eq for ReturnStatement"],["impl Eq for Definition"],["impl Eq for UnaryExpression"],["impl Eq for TernaryExpression"],["impl Eq for Literal"],["impl Eq for ConditionalStatement"],["impl Eq for TupleExpression"],["impl Eq for AssertVariant"],["impl Eq for AssociatedConstant"],["impl Eq for StaticString"],["impl Eq for AssociatedFunction"],["impl Eq for GroupLiteral"],["impl Eq for IntegerType"],["impl Eq for GroupTuple"],["impl Eq for StructVariableInitializer"],["impl Eq for MappingType"],["impl Eq for BinaryOperation"],["impl Eq for CoreConstant"],["impl Eq for Finalize"],["impl Eq for PositiveNumber"],["impl Eq for MemberAccess"],["impl Eq for AssignStatement"],["impl Eq for Type"],["impl Eq for Annotation"],["impl Eq for Expression"],["impl Eq for TupleAccess"],["impl Eq for Struct"],["impl Eq for Ast"],["impl Eq for Statement"],["impl Eq for GroupCoordinate"],["impl Eq for ConsoleStatement"],["impl Eq for AssertStatement"],["impl Eq for Mapping"],["impl Eq for CallExpression"],["impl Eq for Variant"],["impl Eq for CastExpression"],["impl Eq for DeclarationType"],["impl Eq for UnitExpression"],["impl Eq for UnaryOperation"],["impl Eq for StructExpression"],["impl Eq for FunctionOutput"],["impl Eq for ConsoleFunction"],["impl Eq for ProgramScope"],["impl Eq for Tuple"],["impl Eq for DefinitionStatement"],["impl Eq for Input"],["impl Eq for Output"],["impl Eq for Program"],["impl Eq for FunctionInput"],["impl Eq for Block"],["impl Eq for External"],["impl Eq for ExpressionStatement"]], -"leo_parser":[["impl Eq for Token"]], -"leo_passes":[["impl Eq for VariableType"],["impl Eq for VariableSymbol"],["impl Eq for RenameTable"]], -"leo_span":[["impl Eq for InternedStr"],["impl Eq for Symbol"],["impl Eq for Span"],["impl Eq for CharPos"],["impl Eq for MultiByteChar"],["impl Eq for BytePos"]], -"leo_test_framework":[["impl Eq for ParseType"],["impl Eq for TestExpectationMode"]] +"leo_ast":[["impl Eq for IterationStatement"],["impl Eq for IntegerType"],["impl Eq for ExpressionStatement"],["impl Eq for Ast"],["impl Eq for StructExpression"],["impl Eq for GroupLiteral"],["impl Eq for InputValue"],["impl Eq for AssociatedConstant"],["impl Eq for DeclarationType"],["impl Eq for FunctionOutput"],["impl Eq for ConsoleFunction"],["impl Eq for Value"],["impl Eq for AssignStatement"],["impl Eq for Output"],["impl Eq for AssertVariant"],["impl Eq for CoreConstant"],["impl Eq for CastExpression"],["impl Eq for PositiveNumber"],["impl Eq for Mapping"],["impl Eq for Tuple"],["impl Eq for TernaryExpression"],["impl Eq for External"],["impl Eq for TupleAccess"],["impl Eq for Struct"],["impl Eq for GroupCoordinate"],["impl Eq for MappingType"],["impl Eq for ReturnStatement"],["impl Eq for DefinitionStatement"],["impl Eq for MemberAccess"],["impl Eq for Statement"],["impl Eq for AssertStatement"],["impl Eq for ErrExpression"],["impl Eq for UnaryExpression"],["impl Eq for Variant"],["impl Eq for Annotation"],["impl Eq for Function"],["impl Eq for Literal"],["impl Eq for BinaryExpression"],["impl Eq for BinaryOperation"],["impl Eq for ConditionalStatement"],["impl Eq for Program"],["impl Eq for ConsoleStatement"],["impl Eq for Type"],["impl Eq for Finalize"],["impl Eq for AssociatedFunction"],["impl Eq for UnaryOperation"],["impl Eq for StructVariableInitializer"],["impl Eq for GroupTuple"],["impl Eq for Identifier"],["impl Eq for CallExpression"],["impl Eq for Input"],["impl Eq for ProgramScope"],["impl Eq for FunctionInput"],["impl Eq for Definition"],["impl Eq for Member"],["impl Eq for UnitExpression"],["impl Eq for TupleExpression"],["impl Eq for ProgramId"],["impl Eq for Block"],["impl Eq for Mode"],["impl Eq for AccessExpression"],["impl Eq for Expression"],["impl Eq for StaticString"],["impl Eq for CoreFunction"]], +"leo_parser":[["impl Eq for Token"]], +"leo_passes":[["impl Eq for VariableType"],["impl Eq for RenameTable"],["impl Eq for VariableSymbol"]], +"leo_span":[["impl Eq for Symbol"],["impl Eq for InternedStr"],["impl Eq for CharPos"],["impl Eq for MultiByteChar"],["impl Eq for Span"],["impl Eq for BytePos"]], +"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 index 54e6f6ad0f..2e51c1478a 100644 --- a/implementors/core/cmp/trait.Ord.js +++ b/implementors/core/cmp/trait.Ord.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_span":[["impl Ord for Symbol"],["impl Ord for CharPos"],["impl Ord for BytePos"]] +"leo_span":[["impl Ord for BytePos"],["impl Ord for Symbol"],["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/implementors/core/cmp/trait.PartialEq.js b/implementors/core/cmp/trait.PartialEq.js index d4090a28b6..e837341347 100644 --- a/implementors/core/cmp/trait.PartialEq.js +++ b/implementors/core/cmp/trait.PartialEq.js @@ -1,8 +1,8 @@ (function() {var implementors = { -"leo_ast":[["impl PartialEq<IterationStatement> for IterationStatement"],["impl PartialEq<Ast> for Ast"],["impl PartialEq<ConsoleFunction> for ConsoleFunction"],["impl PartialEq<Value> for Value"],["impl PartialEq<PositiveNumber> for PositiveNumber"],["impl PartialEq<Input> for Input"],["impl PartialEq<ErrExpression> for ErrExpression"],["impl PartialEq<StaticString> for StaticString"],["impl PartialEq<ReturnStatement> for ReturnStatement"],["impl PartialEq<AssertStatement> for AssertStatement"],["impl PartialEq<ProgramScope> for ProgramScope"],["impl PartialEq<UnitExpression> for UnitExpression"],["impl PartialEq<Tuple> for Tuple"],["impl PartialEq<BinaryExpression> for BinaryExpression"],["impl PartialEq<Variant> for Variant"],["impl PartialEq<TupleExpression> for TupleExpression"],["impl PartialEq<UnaryExpression> for UnaryExpression"],["impl PartialEq<CastExpression> for CastExpression"],["impl PartialEq<GroupLiteral> for GroupLiteral"],["impl PartialEq<UnaryOperation> for UnaryOperation"],["impl PartialEq<ExpressionStatement> for ExpressionStatement"],["impl PartialEq<Statement> for Statement"],["impl PartialEq<AssertVariant> for AssertVariant"],["impl PartialEq<External> for External"],["impl PartialEq<DefinitionStatement> for DefinitionStatement"],["impl PartialEq<Definition> for Definition"],["impl PartialEq<CoreConstant> for CoreConstant"],["impl PartialEq<AccessExpression> for AccessExpression"],["impl PartialEq<ConsoleStatement> for ConsoleStatement"],["impl PartialEq<DeclarationType> for DeclarationType"],["impl PartialEq<AssignStatement> for AssignStatement"],["impl PartialEq<Finalize> for Finalize"],["impl PartialEq<FunctionOutput> for FunctionOutput"],["impl PartialEq<StructExpression> for StructExpression"],["impl PartialEq<Function> for Function"],["impl PartialEq<Output> for Output"],["impl PartialEq<Expression> for Expression"],["impl PartialEq<Mapping> for Mapping"],["impl PartialEq<MappingType> for MappingType"],["impl PartialEq<GroupTuple> for GroupTuple"],["impl PartialEq<CallExpression> for CallExpression"],["impl PartialEq<MemberAccess> for MemberAccess"],["impl PartialEq<ProgramId> for ProgramId"],["impl PartialEq<AssociatedConstant> for AssociatedConstant"],["impl PartialEq<IntegerType> for IntegerType"],["impl PartialEq<Block> for Block"],["impl PartialEq<CoreFunction> for CoreFunction"],["impl PartialEq<AssociatedFunction> for AssociatedFunction"],["impl PartialEq<Program> for Program"],["impl PartialEq<Member> for Member"],["impl PartialEq<ConditionalStatement> for ConditionalStatement"],["impl PartialEq<Identifier> for Identifier"],["impl PartialEq<StructVariableInitializer> for StructVariableInitializer"],["impl PartialEq<Mode> for Mode"],["impl PartialEq<FunctionInput> for FunctionInput"],["impl PartialEq<GroupCoordinate> for GroupCoordinate"],["impl PartialEq<Type> for Type"],["impl PartialEq<TupleAccess> for TupleAccess"],["impl PartialEq<Annotation> for Annotation"],["impl PartialEq<Literal> for Literal"],["impl PartialEq<Struct> for Struct"],["impl PartialEq<InputValue> for InputValue"],["impl PartialEq<TernaryExpression> for TernaryExpression"],["impl PartialEq<BinaryOperation> for BinaryOperation"]], -"leo_errors":[["impl PartialEq<Formatted> for Formatted"],["impl PartialEq<Backtraced> for Backtraced"]], -"leo_parser":[["impl PartialEq<Token> for Token"]], -"leo_passes":[["impl PartialEq<VariableSymbol> for VariableSymbol"],["impl PartialEq<VariableType> for VariableType"],["impl PartialEq<RenameTable> for RenameTable"]], -"leo_span":[["impl PartialEq<Span> for Span"],["impl PartialEq<MultiByteChar> for MultiByteChar"],["impl PartialEq<Symbol> for Symbol"],["impl PartialEq<BytePos> for BytePos"],["impl PartialEq<CharPos> for CharPos"],["impl PartialEq<InternedStr> for InternedStr"]], -"leo_test_framework":[["impl PartialEq<ParseType> for ParseType"],["impl PartialEq<TestExpectationMode> for TestExpectationMode"]] +"leo_ast":[["impl PartialEq<ConsoleStatement> for ConsoleStatement"],["impl PartialEq<ProgramId> for ProgramId"],["impl PartialEq<Variant> for Variant"],["impl PartialEq<DeclarationType> for DeclarationType"],["impl PartialEq<AssignStatement> for AssignStatement"],["impl PartialEq<Program> for Program"],["impl PartialEq<FunctionInput> for FunctionInput"],["impl PartialEq<GroupCoordinate> for GroupCoordinate"],["impl PartialEq<DefinitionStatement> for DefinitionStatement"],["impl PartialEq<Mode> for Mode"],["impl PartialEq<Mapping> for Mapping"],["impl PartialEq<Annotation> for Annotation"],["impl PartialEq<Ast> for Ast"],["impl PartialEq<Input> for Input"],["impl PartialEq<CastExpression> for CastExpression"],["impl PartialEq<AssertStatement> for AssertStatement"],["impl PartialEq<MemberAccess> for MemberAccess"],["impl PartialEq<CallExpression> for CallExpression"],["impl PartialEq<GroupTuple> for GroupTuple"],["impl PartialEq<Finalize> for Finalize"],["impl PartialEq<IntegerType> for IntegerType"],["impl PartialEq<ProgramScope> for ProgramScope"],["impl PartialEq<TernaryExpression> for TernaryExpression"],["impl PartialEq<Tuple> for Tuple"],["impl PartialEq<StructVariableInitializer> for StructVariableInitializer"],["impl PartialEq<Type> for Type"],["impl PartialEq<Definition> for Definition"],["impl PartialEq<Member> for Member"],["impl PartialEq<Value> for Value"],["impl PartialEq<UnaryOperation> for UnaryOperation"],["impl PartialEq<ExpressionStatement> for ExpressionStatement"],["impl PartialEq<CoreFunction> for CoreFunction"],["impl PartialEq<FunctionOutput> for FunctionOutput"],["impl PartialEq<AssertVariant> for AssertVariant"],["impl PartialEq<ConditionalStatement> for ConditionalStatement"],["impl PartialEq<PositiveNumber> for PositiveNumber"],["impl PartialEq<IterationStatement> for IterationStatement"],["impl PartialEq<External> for External"],["impl PartialEq<AssociatedConstant> for AssociatedConstant"],["impl PartialEq<AssociatedFunction> for AssociatedFunction"],["impl PartialEq<TupleExpression> for TupleExpression"],["impl PartialEq<Statement> for Statement"],["impl PartialEq<StructExpression> for StructExpression"],["impl PartialEq<Function> for Function"],["impl PartialEq<AccessExpression> for AccessExpression"],["impl PartialEq<InputValue> for InputValue"],["impl PartialEq<TupleAccess> for TupleAccess"],["impl PartialEq<MappingType> for MappingType"],["impl PartialEq<ReturnStatement> for ReturnStatement"],["impl PartialEq<BinaryExpression> for BinaryExpression"],["impl PartialEq<Identifier> for Identifier"],["impl PartialEq<ErrExpression> for ErrExpression"],["impl PartialEq<Literal> for Literal"],["impl PartialEq<Expression> for Expression"],["impl PartialEq<UnitExpression> for UnitExpression"],["impl PartialEq<BinaryOperation> for BinaryOperation"],["impl PartialEq<CoreConstant> for CoreConstant"],["impl PartialEq<Block> for Block"],["impl PartialEq<StaticString> for StaticString"],["impl PartialEq<UnaryExpression> for UnaryExpression"],["impl PartialEq<Output> for Output"],["impl PartialEq<ConsoleFunction> for ConsoleFunction"],["impl PartialEq<GroupLiteral> for GroupLiteral"],["impl PartialEq<Struct> for Struct"]], +"leo_errors":[["impl PartialEq<Backtraced> for Backtraced"],["impl PartialEq<Formatted> for Formatted"]], +"leo_parser":[["impl PartialEq<Token> for Token"]], +"leo_passes":[["impl PartialEq<RenameTable> for RenameTable"],["impl PartialEq<VariableSymbol> for VariableSymbol"],["impl PartialEq<VariableType> for VariableType"]], +"leo_span":[["impl PartialEq<BytePos> for BytePos"],["impl PartialEq<InternedStr> for InternedStr"],["impl PartialEq<MultiByteChar> for MultiByteChar"],["impl PartialEq<CharPos> for CharPos"],["impl PartialEq<Span> for Span"],["impl PartialEq<Symbol> for Symbol"]], +"leo_test_framework":[["impl PartialEq<ParseType> for ParseType"],["impl PartialEq<TestExpectationMode> 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/core/cmp/trait.PartialOrd.js b/implementors/core/cmp/trait.PartialOrd.js index 01ac55ed55..126d81133b 100644 --- a/implementors/core/cmp/trait.PartialOrd.js +++ b/implementors/core/cmp/trait.PartialOrd.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_span":[["impl PartialOrd<CharPos> for CharPos"],["impl PartialOrd<BytePos> for BytePos"],["impl PartialOrd<Symbol> for Symbol"]] +"leo_span":[["impl PartialOrd<CharPos> for CharPos"],["impl PartialOrd<Symbol> for Symbol"],["impl PartialOrd<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/core/convert/trait.AsRef.js b/implementors/core/convert/trait.AsRef.js index 044f296809..510d3af258 100644 --- a/implementors/core/convert/trait.AsRef.js +++ b/implementors/core/convert/trait.AsRef.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_ast":[["impl AsRef<Program> for Ast"],["impl AsRef<Value> for Value"]] +"leo_ast":[["impl AsRef<Program> for Ast"],["impl AsRef<Value> for Value"]] };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 index 0c1d390bdd..1a04084713 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"leo_ast":[["impl From<&Value> for Type"],["impl From<Value> for Type"]], -"leo_errors":[["impl From<AstError> for LeoError"],["impl From<ParserWarning> for LeoWarning"],["impl From<CliError> for LeoError"],["impl From<PackageError> for LeoError"],["impl From<Backtraced> for InputError"],["impl From<FlattenError> for LeoError"],["impl From<Formatted> for AstError"],["impl From<Formatted> for InputError"],["impl From<Backtraced> for CliError"],["impl From<Formatted> for ParserError"],["impl From<ParserError> for LeoError"],["impl From<Backtraced> for PackageError"],["impl From<TypeCheckerError> for LeoError"],["impl From<Backtraced> for ParserWarning"],["impl From<CompilerError> for LeoError"],["impl From<Backtraced> for CompilerError"],["impl From<Formatted> for ParserWarning"],["impl From<InputError> for LeoError"],["impl From<Formatted> for PackageError"],["impl From<Backtraced> for TypeCheckerError"],["impl From<Error> for LeoError"],["impl From<Backtraced> for AstError"],["impl From<Formatted> for FlattenError"],["impl From<Backtraced> for FlattenError"],["impl From<Formatted> for TypeCheckerError"],["impl From<Formatted> for CliError"],["impl From<Backtraced> for ParserError"],["impl From<Formatted> for CompilerError"]], -"leo_lang":[["impl From<BuildOptions> for CompilerOptions"]] +"leo_ast":[["impl From<&Value> for Type"],["impl From<Value> for Type"]], +"leo_errors":[["impl From<AstError> for LeoError"],["impl From<CompilerError> for LeoError"],["impl From<Backtraced> for ParserWarning"],["impl From<CliError> for LeoError"],["impl From<Backtraced> for PackageError"],["impl From<Error> for LeoError"],["impl From<Formatted> for TypeCheckerError"],["impl From<Backtraced> for CompilerError"],["impl From<Formatted> for CliError"],["impl From<Formatted> for ParserWarning"],["impl From<Backtraced> for CliError"],["impl From<Formatted> for AstError"],["impl From<Backtraced> for ParserError"],["impl From<Backtraced> for FlattenError"],["impl From<Formatted> for FlattenError"],["impl From<Backtraced> for InputError"],["impl From<Formatted> for CompilerError"],["impl From<InputError> for LeoError"],["impl From<ParserError> for LeoError"],["impl From<ParserWarning> for LeoWarning"],["impl From<Backtraced> for AstError"],["impl From<Backtraced> for TypeCheckerError"],["impl From<Formatted> for InputError"],["impl From<Formatted> for ParserError"],["impl From<Formatted> for PackageError"],["impl From<FlattenError> for LeoError"],["impl From<TypeCheckerError> for LeoError"],["impl From<PackageError> for LeoError"]], +"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 index fd012799c2..eb0b1da8a4 100644 --- a/implementors/core/convert/trait.TryFrom.js +++ b/implementors/core/convert/trait.TryFrom.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_ast":[["impl TryFrom<(Type, Expression)> for InputValue"],["impl TryFrom<Value> for i128"],["impl TryFrom<InputAst> for ProgramInput"],["impl TryFrom<Value> for u128"],["impl TryFrom<&Value> for u128"],["impl TryFrom<&Value> for i128"],["impl TryFrom<&Literal> for Value"]] +"leo_ast":[["impl TryFrom<&Value> for i128"],["impl TryFrom<Value> for i128"],["impl TryFrom<(Type, Expression)> for InputValue"],["impl TryFrom<&Value> for u128"],["impl TryFrom<Value> for u128"],["impl TryFrom<&Literal> for Value"],["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 index 157ecdc72c..08fe159484 100644 --- a/implementors/core/default/trait.Default.js +++ b/implementors/core/default/trait.Default.js @@ -1,9 +1,9 @@ (function() {var implementors = { -"leo_ast":[["impl Default for ProgramInput"],["impl Default for NodeBuilder"],["impl Default for Program"],["impl Default for StaticString"],["impl Default for Ast"],["impl Default for InputData"]], -"leo_compiler":[["impl Default for OutputOptions"],["impl Default for CompilerOptions"],["impl Default for BuildOptions"]], -"leo_errors":[["impl Default for Formatted"],["impl Default for Backtraced"],["impl Default for BufferEmitter"],["impl<T> Default for Buffer<T>"],["impl Default for Handler"]], -"leo_lang":[["impl Default for BuildOptions"],["impl Default for Format<Full, SystemTime>"]], -"leo_package":[["impl Default for Gitignore"],["impl<N: Default + Network> Default for Env<N>"]], -"leo_passes":[["impl Default for SymbolTable"],["impl Default for AssignerInner"],["impl Default for RenameTable"],["impl Default for Assigner"]], -"leo_span":[["impl Default for SessionGlobals"],["impl Default for Span"],["impl Default for SourceMapInner"],["impl Default for BytePos"],["impl Default for SourceMap"]] +"leo_ast":[["impl Default for Program"],["impl Default for ProgramInput"],["impl Default for Ast"],["impl Default for NodeBuilder"],["impl Default for InputData"],["impl Default for StaticString"]], +"leo_compiler":[["impl Default for BuildOptions"],["impl Default for OutputOptions"],["impl Default for CompilerOptions"]], +"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 Default for Gitignore"],["impl<N: Default + Network> Default for Env<N>"]], +"leo_passes":[["impl Default for RenameTable"],["impl Default for AssignerInner"],["impl Default for SymbolTable"],["impl Default for Assigner"]], +"leo_span":[["impl Default for SourceMapInner"],["impl Default for SessionGlobals"],["impl Default for BytePos"],["impl Default for SourceMap"],["impl Default 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/error/trait.Error.js b/implementors/core/error/trait.Error.js index 003feff3c2..839a321482 100644 --- a/implementors/core/error/trait.Error.js +++ b/implementors/core/error/trait.Error.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_errors":[["impl Error for Formatted"],["impl Error for LeoError"],["impl Error for InputError"],["impl Error for AstError"],["impl Error for CliError"],["impl Error for ParserWarning"],["impl Error for ParserError"],["impl Error for Backtraced"],["impl Error for TypeCheckerError"],["impl Error for LeoWarning"],["impl Error for CompilerError"],["impl Error for PackageError"],["impl Error for FlattenError"]] +"leo_errors":[["impl Error for CompilerError"],["impl Error for AstError"],["impl Error for CliError"],["impl Error for Backtraced"],["impl Error for Formatted"],["impl Error for FlattenError"],["impl Error for LeoError"],["impl Error for ParserError"],["impl Error for LeoWarning"],["impl Error for ParserWarning"],["impl Error for InputError"],["impl Error for PackageError"],["impl Error for TypeCheckerError"]] };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 index 637240a3ff..a14af5c48e 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -1,10 +1,10 @@ (function() {var implementors = { -"leo_abnf":[["impl Debug for Scope"],["impl<'a> Debug for Processor<'a>"]], -"leo_ast":[["impl Debug for InputAst"],["impl Debug for Value"],["impl Debug for TupleExpression"],["impl Debug for AssignStatement"],["impl Debug for BinaryExpression"],["impl Debug for FunctionInput"],["impl Debug for UnaryExpression"],["impl Debug for AssertVariant"],["impl Debug for ExpressionStatement"],["impl Debug for Identifier"],["impl Debug for Block"],["impl Debug for IterationStatement"],["impl Debug for TernaryExpression"],["impl Debug for Tuple"],["impl Debug for NodeBuilderInner"],["impl Debug for DefinitionStatement"],["impl Debug for Type"],["impl Debug for StructExpression"],["impl Debug for Ast"],["impl Debug for Input"],["impl Debug for ProgramInput"],["impl Debug for FunctionOutput"],["impl Debug for GroupTuple"],["impl Debug for External"],["impl Debug for ProgramId"],["impl Debug for GroupCoordinate"],["impl Debug for AssertStatement"],["impl Debug for MemberAccess"],["impl Debug for Struct"],["impl Debug for StructVariableInitializer"],["impl Debug for TupleAccess"],["impl Debug for InputValue"],["impl Debug for Function"],["impl Debug for ConditionalStatement"],["impl Debug for AccessExpression"],["impl Debug for AssociatedConstant"],["impl Debug for InputData"],["impl Debug for AssociatedFunction"],["impl Debug for Mapping"],["impl Debug for UnitExpression"],["impl Debug for Mode"],["impl Debug for ErrExpression"],["impl Debug for Member"],["impl Debug for BinaryOperation"],["impl Debug for MappingType"],["impl Debug for Literal"],["impl Debug for IntegerType"],["impl Debug for GroupLiteral"],["impl Debug for NodeBuilder"],["impl Debug for Statement"],["impl Debug for PositiveNumber"],["impl Debug for Variant"],["impl Debug for ConsoleStatement"],["impl Debug for UnaryOperation"],["impl Debug for ConsoleFunction"],["impl Debug for ReturnStatement"],["impl Debug for Program"],["impl Debug for CastExpression"],["impl Debug for Section"],["impl Debug for Annotation"],["impl Debug for Output"],["impl Debug for StaticString"],["impl Debug for Expression"],["impl Debug for DeclarationType"],["impl Debug for Definition"],["impl Debug for Finalize"],["impl Debug for ProgramScope"],["impl Debug for CallExpression"]], -"leo_errors":[["impl Debug for ParserWarning"],["impl Debug for CompilerError"],["impl Debug for Backtraced"],["impl Debug for LeoError"],["impl Debug for ParserError"],["impl Debug for LeoWarning"],["impl Debug for PackageError"],["impl Debug for InputError"],["impl Debug for AstError"],["impl Debug for Formatted"],["impl Debug for TypeCheckerError"],["impl Debug for FlattenError"],["impl<T: Debug> Debug for Buffer<T>"],["impl Debug for CliError"]], -"leo_lang":[["impl Debug for Run"],["impl Debug for Account"],["impl<F: Debug, T: Debug> Debug for Format<F, T>"],["impl Debug for Clean"],["impl Debug for Commands"],["impl Debug for Example"],["impl Debug for Execute"],["impl Debug for BuildOptions"],["impl Debug for New"],["impl Debug for Build"],["impl Debug for Update"],["impl Debug for CLI"]], -"leo_parser":[["impl Debug for SpannedToken"],["impl Debug for Token"]], -"leo_passes":[["impl Debug for AssignerInner"],["impl Debug for SymbolTable"],["impl Debug for Assigner"],["impl<N: Debug + Node> Debug for DiGraphError<N>"],["impl Debug for RenameTable"],["impl Debug for FinalizeData"],["impl Debug for VariableType"],["impl Debug for VariableSymbol"],["impl Debug for FunctionSymbol"],["impl<N: Debug + Node> Debug for DiGraph<N>"]], -"leo_span":[["impl Debug for BytePos"],["impl Debug for MultiByteChar"],["impl Debug for Span"],["impl Debug for Symbol"],["impl Debug for CharPos"]], -"leo_test_framework":[["impl Debug for TestError"],["impl Debug for TestExpectationMode"],["impl Debug for TestConfig"],["impl Debug for ParseType"]] +"leo_abnf":[["impl<'a> Debug for Processor<'a>"],["impl Debug for Scope"]], +"leo_ast":[["impl Debug for Output"],["impl Debug for NodeBuilder"],["impl Debug for ConditionalStatement"],["impl Debug for UnitExpression"],["impl Debug for Struct"],["impl Debug for MemberAccess"],["impl Debug for Member"],["impl Debug for Type"],["impl Debug for PositiveNumber"],["impl Debug for External"],["impl Debug for IterationStatement"],["impl Debug for CallExpression"],["impl Debug for AssertStatement"],["impl Debug for TernaryExpression"],["impl Debug for InputAst"],["impl Debug for IntegerType"],["impl Debug for Expression"],["impl Debug for Tuple"],["impl Debug for InputData"],["impl Debug for GroupCoordinate"],["impl Debug for AssociatedFunction"],["impl Debug for AssociatedConstant"],["impl Debug for Value"],["impl Debug for ConsoleStatement"],["impl Debug for ConsoleFunction"],["impl Debug for Statement"],["impl Debug for UnaryExpression"],["impl Debug for FunctionOutput"],["impl Debug for ProgramScope"],["impl Debug for ExpressionStatement"],["impl Debug for CastExpression"],["impl Debug for Variant"],["impl Debug for Block"],["impl Debug for Program"],["impl Debug for AssignStatement"],["impl Debug for Function"],["impl Debug for BinaryOperation"],["impl Debug for Mapping"],["impl Debug for DeclarationType"],["impl Debug for ProgramId"],["impl Debug for ProgramInput"],["impl Debug for TupleExpression"],["impl Debug for TupleAccess"],["impl Debug for GroupTuple"],["impl Debug for Literal"],["impl Debug for Input"],["impl Debug for Mode"],["impl Debug for GroupLiteral"],["impl Debug for Section"],["impl Debug for NodeBuilderInner"],["impl Debug for ErrExpression"],["impl Debug for StructVariableInitializer"],["impl Debug for Annotation"],["impl Debug for Finalize"],["impl Debug for AssertVariant"],["impl Debug for AccessExpression"],["impl Debug for FunctionInput"],["impl Debug for Ast"],["impl Debug for StructExpression"],["impl Debug for DefinitionStatement"],["impl Debug for MappingType"],["impl Debug for Definition"],["impl Debug for BinaryExpression"],["impl Debug for ReturnStatement"],["impl Debug for StaticString"],["impl Debug for InputValue"],["impl Debug for UnaryOperation"],["impl Debug for Identifier"]], +"leo_errors":[["impl Debug for CliError"],["impl Debug for FlattenError"],["impl Debug for AstError"],["impl Debug for ParserError"],["impl<T: Debug> Debug for Buffer<T>"],["impl Debug for PackageError"],["impl Debug for Backtraced"],["impl Debug for LeoWarning"],["impl Debug for Formatted"],["impl Debug for TypeCheckerError"],["impl Debug for ParserWarning"],["impl Debug for CompilerError"],["impl Debug for InputError"],["impl Debug for LeoError"]], +"leo_lang":[["impl Debug for Build"],["impl Debug for Run"],["impl Debug for Clean"],["impl Debug for New"],["impl Debug for Commands"],["impl Debug for BuildOptions"],["impl Debug for Account"],["impl<F: Debug, T: Debug> Debug for Format<F, T>"],["impl Debug for CLI"],["impl Debug for Update"],["impl Debug for Example"],["impl Debug for Execute"]], +"leo_parser":[["impl Debug for SpannedToken"],["impl Debug for Token"]], +"leo_passes":[["impl<N: Debug + Node> Debug for DiGraph<N>"],["impl Debug for FinalizeData"],["impl Debug for VariableSymbol"],["impl Debug for VariableType"],["impl Debug for SymbolTable"],["impl Debug for RenameTable"],["impl Debug for FunctionSymbol"],["impl<N: Debug + Node> Debug for DiGraphError<N>"],["impl Debug for Assigner"],["impl Debug for AssignerInner"]], +"leo_span":[["impl Debug for BytePos"],["impl Debug for MultiByteChar"],["impl Debug for Span"],["impl Debug for CharPos"],["impl Debug for Symbol"]], +"leo_test_framework":[["impl Debug for TestExpectationMode"],["impl Debug for TestConfig"],["impl Debug for TestError"],["impl Debug 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/fmt/trait.Display.js b/implementors/core/fmt/trait.Display.js index 638cb0c74e..381f264d64 100644 --- a/implementors/core/fmt/trait.Display.js +++ b/implementors/core/fmt/trait.Display.js @@ -1,9 +1,9 @@ (function() {var implementors = { -"leo_ast":[["impl Display for CallExpression"],["impl Display for ConsoleFunction"],["impl Display for CastExpression"],["impl Display for StructExpression"],["impl Display for BinaryExpression"],["impl Display for ExpressionStatement"],["impl Display for Statement"],["impl Display for MemberAccess"],["impl Display for GroupCoordinate"],["impl Display for DeclarationType"],["impl Display for Member"],["impl Display for TernaryExpression"],["impl Display for Function"],["impl Display for IterationStatement"],["impl Display for AssociatedFunction"],["impl Display for BinaryOperation"],["impl Display for Block"],["impl Display for Value"],["impl Display for Output"],["impl Display for Identifier"],["impl Display for ReturnStatement"],["impl Display for InputValue"],["impl Display for AssertStatement"],["impl Display for PositiveNumber"],["impl Display for External"],["impl Display for StaticString"],["impl Display for AccessExpression"],["impl Display for AssignStatement"],["impl Display for Annotation"],["impl Display for ConsoleStatement"],["impl Display for ProgramId"],["impl Display for StructVariableInitializer"],["impl Display for Expression"],["impl Display for Mode"],["impl Display for DefinitionStatement"],["impl Display for FunctionOutput"],["impl Display for TupleExpression"],["impl Display for Program"],["impl Display for Finalize"],["impl Display for ErrExpression"],["impl Display for ConditionalStatement"],["impl Display for Tuple"],["impl Display for Literal"],["impl Display for ProgramScope"],["impl Display for GroupLiteral"],["impl Display for Struct"],["impl Display for Type"],["impl Display for MappingType"],["impl Display for UnaryExpression"],["impl Display for IntegerType"],["impl Display for Mapping"],["impl Display for AssociatedConstant"],["impl Display for TupleAccess"],["impl Display for FunctionInput"],["impl Display for UnitExpression"],["impl Display for Input"]], -"leo_errors":[["impl Display for TypeCheckerError"],["impl Display for FlattenError"],["impl Display for CompilerError"],["impl Display for AstError"],["impl Display for CliError"],["impl<T: Display> Display for Buffer<T>"],["impl Display for LeoError"],["impl Display for LeoWarning"],["impl Display for Formatted"],["impl Display for InputError"],["impl Display for PackageError"],["impl Display for ParserError"],["impl Display for Backtraced"],["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 VariableSymbol"],["impl Display for VariableType"]], -"leo_span":[["impl Display for FileName"],["impl Display for Symbol"],["impl Display for Span"]], -"leo_test_framework":[["impl Display for TestError"]] +"leo_ast":[["impl Display for BinaryOperation"],["impl Display for DefinitionStatement"],["impl Display for InputValue"],["impl Display for Value"],["impl Display for ConsoleStatement"],["impl Display for StaticString"],["impl Display for ConsoleFunction"],["impl Display for Struct"],["impl Display for AssociatedFunction"],["impl Display for FunctionInput"],["impl Display for Type"],["impl Display for Mode"],["impl Display for Finalize"],["impl Display for Annotation"],["impl Display for AssignStatement"],["impl Display for Tuple"],["impl Display for AssertStatement"],["impl Display for UnaryExpression"],["impl Display for ProgramScope"],["impl Display for IntegerType"],["impl Display for CastExpression"],["impl Display for MemberAccess"],["impl Display for FunctionOutput"],["impl Display for Literal"],["impl Display for TupleAccess"],["impl Display for UnitExpression"],["impl Display for ProgramId"],["impl Display for Program"],["impl Display for Output"],["impl Display for External"],["impl Display for Mapping"],["impl Display for PositiveNumber"],["impl Display for ErrExpression"],["impl Display for Identifier"],["impl Display for ReturnStatement"],["impl Display for AssociatedConstant"],["impl Display for Statement"],["impl Display for TupleExpression"],["impl Display for Expression"],["impl Display for BinaryExpression"],["impl Display for TernaryExpression"],["impl Display for Input"],["impl Display for AccessExpression"],["impl Display for MappingType"],["impl Display for StructVariableInitializer"],["impl Display for Function"],["impl Display for CallExpression"],["impl Display for ConditionalStatement"],["impl Display for GroupLiteral"],["impl Display for GroupCoordinate"],["impl Display for StructExpression"],["impl Display for DeclarationType"],["impl Display for Member"],["impl Display for ExpressionStatement"],["impl Display for IterationStatement"],["impl Display for Block"]], +"leo_errors":[["impl<T: Display> Display for Buffer<T>"],["impl Display for FlattenError"],["impl Display for PackageError"],["impl Display for CompilerError"],["impl Display for AstError"],["impl Display for TypeCheckerError"],["impl Display for Formatted"],["impl Display for ParserError"],["impl Display for ParserWarning"],["impl Display for Backtraced"],["impl Display for CliError"],["impl Display for LeoError"],["impl Display for InputError"],["impl Display for LeoWarning"]], +"leo_package":[["impl Display for Snapshot"]], +"leo_parser":[["impl Display for Token"],["impl Display for SpannedToken"]], +"leo_passes":[["impl Display for VariableType"],["impl Display for VariableSymbol"]], +"leo_span":[["impl Display for Symbol"],["impl Display for FileName"],["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/implementors/core/hash/trait.Hash.js b/implementors/core/hash/trait.Hash.js index ac77ced0af..aa0cb67426 100644 --- a/implementors/core/hash/trait.Hash.js +++ b/implementors/core/hash/trait.Hash.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"leo_ast":[["impl Hash for ProgramId"],["impl Hash for IntegerType"],["impl Hash for Identifier"],["impl Hash for MappingType"],["impl Hash for Tuple"],["impl Hash for Type"],["impl Hash for PositiveNumber"]], -"leo_errors":[["impl Hash for Backtraced"],["impl Hash for Formatted"]], -"leo_span":[["impl Hash for BytePos"],["impl Hash for Symbol"],["impl Hash for Span"],["impl Hash for InternedStr"]] +"leo_ast":[["impl Hash for MappingType"],["impl Hash for Type"],["impl Hash for IntegerType"],["impl Hash for Identifier"],["impl Hash for PositiveNumber"],["impl Hash for ProgramId"],["impl Hash for Tuple"]], +"leo_errors":[["impl Hash for Formatted"],["impl Hash for Backtraced"]], +"leo_span":[["impl Hash for Symbol"],["impl Hash for BytePos"],["impl Hash for Span"],["impl Hash 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/iter/traits/iterator/trait.Iterator.js b/implementors/core/iter/traits/iterator/trait.Iterator.js index b6a6b381d4..d2210b2966 100644 --- a/implementors/core/iter/traits/iterator/trait.Iterator.js +++ b/implementors/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/implementors/core/marker/trait.Copy.js b/implementors/core/marker/trait.Copy.js index 1317925be7..6d42b907db 100644 --- a/implementors/core/marker/trait.Copy.js +++ b/implementors/core/marker/trait.Copy.js @@ -1,7 +1,7 @@ (function() {var implementors = { -"leo_ast":[["impl Copy for IntegerType"],["impl Copy for BinaryOperation"],["impl Copy for Variant"],["impl Copy for ProgramId"],["impl Copy for Identifier"],["impl Copy for UnaryOperation"],["impl Copy for DeclarationType"],["impl Copy for Mode"]], -"leo_parser":[["impl Copy for Delimiter"]], -"leo_passes":[["impl Copy for VariableType"]], -"leo_span":[["impl Copy for Symbol"],["impl Copy for Span"],["impl Copy for CharPos"],["impl Copy for BytePos"],["impl Copy for MultiByteChar"]], -"leo_test_framework":[["impl Copy for ParseType"]] +"leo_ast":[["impl Copy for Identifier"],["impl Copy for Variant"],["impl Copy for UnaryOperation"],["impl Copy for Mode"],["impl Copy for DeclarationType"],["impl Copy for BinaryOperation"],["impl Copy for IntegerType"],["impl Copy for ProgramId"]], +"leo_parser":[["impl Copy for Delimiter"]], +"leo_passes":[["impl Copy for VariableType"]], +"leo_span":[["impl Copy for MultiByteChar"],["impl Copy for Span"],["impl Copy for Symbol"],["impl Copy for CharPos"],["impl Copy for BytePos"]], +"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/implementors/core/marker/trait.Freeze.js index 277bca11dc..42fb50897a 100644 --- a/implementors/core/marker/trait.Freeze.js +++ b/implementors/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 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 PositiveNumber",1,["leo_ast::common::positive_number::PositiveNumber"]],["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 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 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 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 Tuple",1,["leo_ast::types::tuple::Tuple"]],["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 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 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<'a> Freeze for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["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 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 PositiveNumber",1,["leo_ast::common::positive_number::PositiveNumber"]],["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 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 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 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 Tuple",1,["leo_ast::types::tuple::Tuple"]],["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 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 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<'a> Freeze for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["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/implementors/core/marker/trait.Send.js index 50a9d6a459..ff3a212a6d 100644 --- a/implementors/core/marker/trait.Send.js +++ b/implementors/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 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 PositiveNumber",1,["leo_ast::common::positive_number::PositiveNumber"]],["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 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 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 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 Tuple",1,["leo_ast::types::tuple::Tuple"]],["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 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 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<'a> !Send for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["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 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 PositiveNumber",1,["leo_ast::common::positive_number::PositiveNumber"]],["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 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 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 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 Tuple",1,["leo_ast::types::tuple::Tuple"]],["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 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 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<'a> !Send for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["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/implementors/core/marker/trait.StructuralEq.js b/implementors/core/marker/trait.StructuralEq.js index 0d28b93384..c1fb57eeaf 100644 --- a/implementors/core/marker/trait.StructuralEq.js +++ b/implementors/core/marker/trait.StructuralEq.js @@ -1,7 +1,7 @@ (function() {var implementors = { -"leo_ast":[["impl StructuralEq for AssertVariant"],["impl StructuralEq for CoreFunction"],["impl StructuralEq for GroupLiteral"],["impl StructuralEq for CallExpression"],["impl StructuralEq for AssignStatement"],["impl StructuralEq for Member"],["impl StructuralEq for ProgramId"],["impl StructuralEq for AssociatedFunction"],["impl StructuralEq for ErrExpression"],["impl StructuralEq for Type"],["impl StructuralEq for ExpressionStatement"],["impl StructuralEq for BinaryExpression"],["impl StructuralEq for AssociatedConstant"],["impl StructuralEq for Annotation"],["impl StructuralEq for MemberAccess"],["impl StructuralEq for DeclarationType"],["impl StructuralEq for External"],["impl StructuralEq for InputValue"],["impl StructuralEq for ConsoleFunction"],["impl StructuralEq for Literal"],["impl StructuralEq for Output"],["impl StructuralEq for IntegerType"],["impl StructuralEq for Ast"],["impl StructuralEq for Value"],["impl StructuralEq for CoreConstant"],["impl StructuralEq for ReturnStatement"],["impl StructuralEq for AssertStatement"],["impl StructuralEq for Expression"],["impl StructuralEq for TupleAccess"],["impl StructuralEq for UnitExpression"],["impl StructuralEq for ProgramScope"],["impl StructuralEq for StaticString"],["impl StructuralEq for UnaryExpression"],["impl StructuralEq for ConsoleStatement"],["impl StructuralEq for Definition"],["impl StructuralEq for DefinitionStatement"],["impl StructuralEq for ConditionalStatement"],["impl StructuralEq for GroupCoordinate"],["impl StructuralEq for Statement"],["impl StructuralEq for StructVariableInitializer"],["impl StructuralEq for Program"],["impl StructuralEq for PositiveNumber"],["impl StructuralEq for IterationStatement"],["impl StructuralEq for Finalize"],["impl StructuralEq for FunctionInput"],["impl StructuralEq for Input"],["impl StructuralEq for FunctionOutput"],["impl StructuralEq for CastExpression"],["impl StructuralEq for Tuple"],["impl StructuralEq for BinaryOperation"],["impl StructuralEq for Mapping"],["impl StructuralEq for TernaryExpression"],["impl StructuralEq for Block"],["impl StructuralEq for StructExpression"],["impl StructuralEq for UnaryOperation"],["impl StructuralEq for GroupTuple"],["impl StructuralEq for TupleExpression"],["impl StructuralEq for Mode"],["impl StructuralEq for Variant"],["impl StructuralEq for AccessExpression"],["impl StructuralEq for MappingType"]], -"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 BytePos"],["impl StructuralEq for InternedStr"],["impl StructuralEq for CharPos"],["impl StructuralEq for Symbol"],["impl StructuralEq for MultiByteChar"],["impl StructuralEq for Span"]], -"leo_test_framework":[["impl StructuralEq for TestExpectationMode"],["impl StructuralEq for ParseType"]] +"leo_ast":[["impl StructuralEq for StructVariableInitializer"],["impl StructuralEq for GroupLiteral"],["impl StructuralEq for Output"],["impl StructuralEq for UnaryExpression"],["impl StructuralEq for FunctionInput"],["impl StructuralEq for Mode"],["impl StructuralEq for ConditionalStatement"],["impl StructuralEq for ReturnStatement"],["impl StructuralEq for AssociatedFunction"],["impl StructuralEq for Input"],["impl StructuralEq for ProgramScope"],["impl StructuralEq for AssertStatement"],["impl StructuralEq for CoreFunction"],["impl StructuralEq for ExpressionStatement"],["impl StructuralEq for PositiveNumber"],["impl StructuralEq for TupleExpression"],["impl StructuralEq for Mapping"],["impl StructuralEq for ConsoleStatement"],["impl StructuralEq for ProgramId"],["impl StructuralEq for BinaryExpression"],["impl StructuralEq for TupleAccess"],["impl StructuralEq for CallExpression"],["impl StructuralEq for CoreConstant"],["impl StructuralEq for ConsoleFunction"],["impl StructuralEq for Definition"],["impl StructuralEq for CastExpression"],["impl StructuralEq for GroupCoordinate"],["impl StructuralEq for StructExpression"],["impl StructuralEq for Tuple"],["impl StructuralEq for Type"],["impl StructuralEq for FunctionOutput"],["impl StructuralEq for InputValue"],["impl StructuralEq for Ast"],["impl StructuralEq for Variant"],["impl StructuralEq for MappingType"],["impl StructuralEq for AccessExpression"],["impl StructuralEq for AssociatedConstant"],["impl StructuralEq for Value"],["impl StructuralEq for BinaryOperation"],["impl StructuralEq for StaticString"],["impl StructuralEq for Annotation"],["impl StructuralEq for External"],["impl StructuralEq for IterationStatement"],["impl StructuralEq for DeclarationType"],["impl StructuralEq for Finalize"],["impl StructuralEq for GroupTuple"],["impl StructuralEq for TernaryExpression"],["impl StructuralEq for Expression"],["impl StructuralEq for UnitExpression"],["impl StructuralEq for DefinitionStatement"],["impl StructuralEq for Literal"],["impl StructuralEq for Program"],["impl StructuralEq for Statement"],["impl StructuralEq for IntegerType"],["impl StructuralEq for Member"],["impl StructuralEq for UnaryOperation"],["impl StructuralEq for MemberAccess"],["impl StructuralEq for ErrExpression"],["impl StructuralEq for AssertVariant"],["impl StructuralEq for Block"],["impl StructuralEq for AssignStatement"]], +"leo_parser":[["impl StructuralEq for Token"]], +"leo_passes":[["impl StructuralEq for VariableSymbol"],["impl StructuralEq for VariableType"],["impl StructuralEq for RenameTable"]], +"leo_span":[["impl StructuralEq for Symbol"],["impl StructuralEq for MultiByteChar"],["impl StructuralEq for BytePos"],["impl StructuralEq for Span"],["impl StructuralEq for InternedStr"],["impl StructuralEq for CharPos"]], +"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 index cf20c1c89d..17fa7f887c 100644 --- a/implementors/core/marker/trait.StructuralPartialEq.js +++ b/implementors/core/marker/trait.StructuralPartialEq.js @@ -1,8 +1,8 @@ (function() {var implementors = { -"leo_ast":[["impl StructuralPartialEq for DefinitionStatement"],["impl StructuralPartialEq for Variant"],["impl StructuralPartialEq for ProgramScope"],["impl StructuralPartialEq for Mapping"],["impl StructuralPartialEq for Output"],["impl StructuralPartialEq for Member"],["impl StructuralPartialEq for UnitExpression"],["impl StructuralPartialEq for TupleExpression"],["impl StructuralPartialEq for AssociatedConstant"],["impl StructuralPartialEq for MemberAccess"],["impl StructuralPartialEq for GroupLiteral"],["impl StructuralPartialEq for ConsoleStatement"],["impl StructuralPartialEq for ConditionalStatement"],["impl StructuralPartialEq for TernaryExpression"],["impl StructuralPartialEq for Block"],["impl StructuralPartialEq for TupleAccess"],["impl StructuralPartialEq for Definition"],["impl StructuralPartialEq for BinaryExpression"],["impl StructuralPartialEq for AssertVariant"],["impl StructuralPartialEq for AccessExpression"],["impl StructuralPartialEq for Mode"],["impl StructuralPartialEq for PositiveNumber"],["impl StructuralPartialEq for External"],["impl StructuralPartialEq for ReturnStatement"],["impl StructuralPartialEq for Tuple"],["impl StructuralPartialEq for BinaryOperation"],["impl StructuralPartialEq for CallExpression"],["impl StructuralPartialEq for AssertStatement"],["impl StructuralPartialEq for ConsoleFunction"],["impl StructuralPartialEq for CoreConstant"],["impl StructuralPartialEq for Program"],["impl StructuralPartialEq for Literal"],["impl StructuralPartialEq for ExpressionStatement"],["impl StructuralPartialEq for GroupTuple"],["impl StructuralPartialEq for FunctionOutput"],["impl StructuralPartialEq for ErrExpression"],["impl StructuralPartialEq for FunctionInput"],["impl StructuralPartialEq for DeclarationType"],["impl StructuralPartialEq for StructVariableInitializer"],["impl StructuralPartialEq for Type"],["impl StructuralPartialEq for UnaryExpression"],["impl StructuralPartialEq for AssignStatement"],["impl StructuralPartialEq for CastExpression"],["impl StructuralPartialEq for MappingType"],["impl StructuralPartialEq for IterationStatement"],["impl StructuralPartialEq for Finalize"],["impl StructuralPartialEq for InputValue"],["impl StructuralPartialEq for StructExpression"],["impl StructuralPartialEq for ProgramId"],["impl StructuralPartialEq for IntegerType"],["impl StructuralPartialEq for Statement"],["impl StructuralPartialEq for CoreFunction"],["impl StructuralPartialEq for Value"],["impl StructuralPartialEq for Annotation"],["impl StructuralPartialEq for GroupCoordinate"],["impl StructuralPartialEq for UnaryOperation"],["impl StructuralPartialEq for StaticString"],["impl StructuralPartialEq for Ast"],["impl StructuralPartialEq for Expression"],["impl StructuralPartialEq for AssociatedFunction"],["impl StructuralPartialEq for Input"]], -"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 CharPos"],["impl StructuralPartialEq for MultiByteChar"],["impl StructuralPartialEq for Symbol"],["impl StructuralPartialEq for Span"],["impl StructuralPartialEq for BytePos"]], -"leo_test_framework":[["impl StructuralPartialEq for TestExpectationMode"],["impl StructuralPartialEq for ParseType"]] +"leo_ast":[["impl StructuralPartialEq for MappingType"],["impl StructuralPartialEq for MemberAccess"],["impl StructuralPartialEq for Value"],["impl StructuralPartialEq for DefinitionStatement"],["impl StructuralPartialEq for CoreFunction"],["impl StructuralPartialEq for GroupTuple"],["impl StructuralPartialEq for UnaryExpression"],["impl StructuralPartialEq for CastExpression"],["impl StructuralPartialEq for ErrExpression"],["impl StructuralPartialEq for AssociatedConstant"],["impl StructuralPartialEq for ProgramId"],["impl StructuralPartialEq for StructExpression"],["impl StructuralPartialEq for AccessExpression"],["impl StructuralPartialEq for DeclarationType"],["impl StructuralPartialEq for Literal"],["impl StructuralPartialEq for CallExpression"],["impl StructuralPartialEq for FunctionOutput"],["impl StructuralPartialEq for AssociatedFunction"],["impl StructuralPartialEq for Statement"],["impl StructuralPartialEq for Block"],["impl StructuralPartialEq for External"],["impl StructuralPartialEq for AssertStatement"],["impl StructuralPartialEq for UnaryOperation"],["impl StructuralPartialEq for ExpressionStatement"],["impl StructuralPartialEq for ProgramScope"],["impl StructuralPartialEq for Annotation"],["impl StructuralPartialEq for ConditionalStatement"],["impl StructuralPartialEq for TupleAccess"],["impl StructuralPartialEq for UnitExpression"],["impl StructuralPartialEq for AssignStatement"],["impl StructuralPartialEq for TupleExpression"],["impl StructuralPartialEq for PositiveNumber"],["impl StructuralPartialEq for Output"],["impl StructuralPartialEq for Member"],["impl StructuralPartialEq for CoreConstant"],["impl StructuralPartialEq for IntegerType"],["impl StructuralPartialEq for Definition"],["impl StructuralPartialEq for Expression"],["impl StructuralPartialEq for ReturnStatement"],["impl StructuralPartialEq for Program"],["impl StructuralPartialEq for Ast"],["impl StructuralPartialEq for Mode"],["impl StructuralPartialEq for FunctionInput"],["impl StructuralPartialEq for Type"],["impl StructuralPartialEq for InputValue"],["impl StructuralPartialEq for IterationStatement"],["impl StructuralPartialEq for Tuple"],["impl StructuralPartialEq for Mapping"],["impl StructuralPartialEq for StaticString"],["impl StructuralPartialEq for StructVariableInitializer"],["impl StructuralPartialEq for ConsoleStatement"],["impl StructuralPartialEq for Variant"],["impl StructuralPartialEq for Finalize"],["impl StructuralPartialEq for ConsoleFunction"],["impl StructuralPartialEq for AssertVariant"],["impl StructuralPartialEq for TernaryExpression"],["impl StructuralPartialEq for GroupLiteral"],["impl StructuralPartialEq for BinaryExpression"],["impl StructuralPartialEq for BinaryOperation"],["impl StructuralPartialEq for GroupCoordinate"],["impl StructuralPartialEq for Input"]], +"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 CharPos"],["impl StructuralPartialEq for BytePos"],["impl StructuralPartialEq for Symbol"],["impl StructuralPartialEq for Span"],["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/marker/trait.Sync.js b/implementors/core/marker/trait.Sync.js index 29fa335cc4..a592276f26 100644 --- a/implementors/core/marker/trait.Sync.js +++ b/implementors/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 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 PositiveNumber",1,["leo_ast::common::positive_number::PositiveNumber"]],["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 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 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 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 Tuple",1,["leo_ast::types::tuple::Tuple"]],["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 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 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<'a> !Sync for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["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 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 PositiveNumber",1,["leo_ast::common::positive_number::PositiveNumber"]],["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 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 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 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 Tuple",1,["leo_ast::types::tuple::Tuple"]],["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 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 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<'a> !Sync for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["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/implementors/core/marker/trait.Unpin.js index e26eb6df36..a3c917a452 100644 --- a/implementors/core/marker/trait.Unpin.js +++ b/implementors/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 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 PositiveNumber",1,["leo_ast::common::positive_number::PositiveNumber"]],["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 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 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 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 Tuple",1,["leo_ast::types::tuple::Tuple"]],["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 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 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<'a> Unpin for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["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 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 PositiveNumber",1,["leo_ast::common::positive_number::PositiveNumber"]],["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 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 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 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 Tuple",1,["leo_ast::types::tuple::Tuple"]],["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 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 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<'a> Unpin for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["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/implementors/core/ops/arith/trait.Add.js b/implementors/core/ops/arith/trait.Add.js index 4ee0bc2b46..aa95d563e0 100644 --- a/implementors/core/ops/arith/trait.Add.js +++ b/implementors/core/ops/arith/trait.Add.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_span":[["impl Add<BytePos> for BytePos"],["impl Add<&Span> for &Span"],["impl Add<CharPos> for CharPos"],["impl Add<Span> for Span"]] +"leo_span":[["impl Add<Span> for Span"],["impl Add<&Span> for &Span"],["impl Add<BytePos> for BytePos"],["impl Add<CharPos> for CharPos"]] };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 index fb6a1dd27c..05192f9f3d 100644 --- a/implementors/core/ops/arith/trait.Sub.js +++ b/implementors/core/ops/arith/trait.Sub.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_span":[["impl Sub<BytePos> for BytePos"],["impl Sub<CharPos> for CharPos"]] +"leo_span":[["impl Sub<BytePos> for BytePos"],["impl Sub<CharPos> for CharPos"]] };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/implementors/core/ops/deref/trait.Deref.js index 2bcebeb7ee..d24389bcde 100644 --- a/implementors/core/ops/deref/trait.Deref.js +++ b/implementors/core/ops/deref/trait.Deref.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"leo_ast":[["impl Deref for Tuple"]], -"leo_span":[["impl Deref for InternedStr"]] +"leo_ast":[["impl Deref for Tuple"]], +"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/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js index 59e165ac31..03874b8875 100644 --- a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/implementors/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 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 PositiveNumber",1,["leo_ast::common::positive_number::PositiveNumber"]],["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 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 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 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 Tuple",1,["leo_ast::types::tuple::Tuple"]],["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 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 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<'a> !RefUnwindSafe for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["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 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 PositiveNumber",1,["leo_ast::common::positive_number::PositiveNumber"]],["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 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 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 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 Tuple",1,["leo_ast::types::tuple::Tuple"]],["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 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 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<'a> !RefUnwindSafe for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["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/implementors/core/panic/unwind_safe/trait.UnwindSafe.js index 5feb3939b5..88dd82e347 100644 --- a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/implementors/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 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 PositiveNumber",1,["leo_ast::common::positive_number::PositiveNumber"]],["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 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 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 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 Tuple",1,["leo_ast::types::tuple::Tuple"]],["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 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 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<'a> !UnwindSafe for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["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 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 PositiveNumber",1,["leo_ast::common::positive_number::PositiveNumber"]],["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 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 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 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 Tuple",1,["leo_ast::types::tuple::Tuple"]],["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 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 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<'a> !UnwindSafe for DeadCodeEliminator<'a>",1,["leo_passes::dead_code_elimination::dead_code_eliminator::DeadCodeEliminator"]],["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/passes/reconstructor/trait.ExpressionReconstructor.js b/implementors/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js index 77d2d39b16..7d179af34f 100644 --- a/implementors/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js +++ b/implementors/leo_ast/passes/reconstructor/trait.ExpressionReconstructor.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_passes":[["impl ExpressionReconstructor for FunctionInliner<'_>"],["impl<F> ExpressionReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl ExpressionReconstructor for Unroller<'_>"],["impl ExpressionReconstructor for Flattener<'_>"],["impl ExpressionReconstructor for DeadCodeEliminator<'_>"],["impl ExpressionReconstructor for AssignmentRenamer<'_>"]] +"leo_passes":[["impl<F> ExpressionReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl ExpressionReconstructor for Flattener<'_>"],["impl ExpressionReconstructor for DeadCodeEliminator<'_>"],["impl ExpressionReconstructor for Unroller<'_>"],["impl ExpressionReconstructor for FunctionInliner<'_>"],["impl ExpressionReconstructor for AssignmentRenamer<'_>"]] };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 index abe478a99f..49b512baff 100644 --- a/implementors/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js +++ b/implementors/leo_ast/passes/reconstructor/trait.ProgramReconstructor.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_passes":[["impl<F> ProgramReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl ProgramReconstructor for AssignmentRenamer<'_>"],["impl ProgramReconstructor for Unroller<'_>"],["impl ProgramReconstructor for DeadCodeEliminator<'_>"],["impl ProgramReconstructor for Flattener<'_>"],["impl ProgramReconstructor for FunctionInliner<'_>"]] +"leo_passes":[["impl ProgramReconstructor for Flattener<'_>"],["impl<F> ProgramReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl ProgramReconstructor for Unroller<'_>"],["impl ProgramReconstructor for FunctionInliner<'_>"],["impl ProgramReconstructor for DeadCodeEliminator<'_>"],["impl ProgramReconstructor for AssignmentRenamer<'_>"]] };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 index 8a19fb509e..dc1f1d833b 100644 --- a/implementors/leo_ast/passes/reconstructor/trait.StatementReconstructor.js +++ b/implementors/leo_ast/passes/reconstructor/trait.StatementReconstructor.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_passes":[["impl<F> StatementReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl StatementReconstructor for AssignmentRenamer<'_>"],["impl StatementReconstructor for Unroller<'_>"],["impl StatementReconstructor for DeadCodeEliminator<'_>"],["impl StatementReconstructor for Flattener<'_>"],["impl StatementReconstructor for FunctionInliner<'_>"]] +"leo_passes":[["impl StatementReconstructor for DeadCodeEliminator<'_>"],["impl StatementReconstructor for FunctionInliner<'_>"],["impl StatementReconstructor for Flattener<'_>"],["impl<F> StatementReconstructor for Replacer<F>where\n F: Fn(&Identifier) -> Expression,"],["impl StatementReconstructor for Unroller<'_>"],["impl StatementReconstructor for AssignmentRenamer<'_>"]] };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 index 994836c70c..a713a4e638 100644 --- a/implementors/leo_ast/passes/visitor/trait.ProgramVisitor.js +++ b/implementors/leo_ast/passes/visitor/trait.ProgramVisitor.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_passes":[["impl<'a> ProgramVisitor<'a> for TypeChecker<'a>"],["impl<'a> ProgramVisitor<'a> for SymbolTableCreator<'a>"]] +"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/leo_ast/passes/visitor/trait.StatementVisitor.js b/implementors/leo_ast/passes/visitor/trait.StatementVisitor.js index b5f97451ca..b9c6eedf7a 100644 --- a/implementors/leo_ast/passes/visitor/trait.StatementVisitor.js +++ b/implementors/leo_ast/passes/visitor/trait.StatementVisitor.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"leo_passes":[["impl<'a> StatementVisitor<'a> for TypeChecker<'a>"],["impl<'a> StatementVisitor<'a> for SymbolTableCreator<'a>"]] +"leo_passes":[["impl<'a> StatementVisitor<'a> for SymbolTableCreator<'a>"],["impl<'a> StatementVisitor<'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 index ff585574a1..846aeac670 100644 --- a/implementors/serde/de/trait.Deserialize.js +++ b/implementors/serde/de/trait.Deserialize.js @@ -1,7 +1,7 @@ (function() {var implementors = { -"leo_ast":[["impl<'de> Deserialize<'de> for IterationStatement"],["impl<'de> Deserialize<'de> for Input"],["impl<'de> Deserialize<'de> for Program"],["impl<'de> Deserialize<'de> for Block"],["impl<'de> Deserialize<'de> for InputData"],["impl<'de> Deserialize<'de> for ProgramScope"],["impl<'de> Deserialize<'de> for CastExpression"],["impl<'de> Deserialize<'de> for TupleAccess"],["impl<'de> Deserialize<'de> for Member"],["impl<'de> Deserialize<'de> for FunctionOutput"],["impl<'de> Deserialize<'de> for DeclarationType"],["impl<'de> Deserialize<'de> for AccessExpression"],["impl<'de> Deserialize<'de> for Section"],["impl<'de> Deserialize<'de> for Identifier"],["impl<'de> Deserialize<'de> for InputValue"],["impl<'de> Deserialize<'de> for UnaryOperation"],["impl<'de> Deserialize<'de> for Mapping"],["impl<'de> Deserialize<'de> for Definition"],["impl<'de> Deserialize<'de> for ReturnStatement"],["impl<'de> Deserialize<'de> for GroupTuple"],["impl<'de> Deserialize<'de> for BinaryExpression"],["impl<'de> Deserialize<'de> for ConditionalStatement"],["impl<'de> Deserialize<'de> for GroupLiteral"],["impl<'de> Deserialize<'de> for TernaryExpression"],["impl<'de> Deserialize<'de> for ErrExpression"],["impl<'de> Deserialize<'de> for Struct"],["impl<'de> Deserialize<'de> for External"],["impl<'de> Deserialize<'de> for Tuple"],["impl<'de> Deserialize<'de> for Literal"],["impl<'de> Deserialize<'de> for AssociatedConstant"],["impl<'de> Deserialize<'de> for DefinitionStatement"],["impl<'de> Deserialize<'de> for ExpressionStatement"],["impl<'de> Deserialize<'de> for IntegerType"],["impl<'de> Deserialize<'de> for MemberAccess"],["impl<'de> Deserialize<'de> for CallExpression"],["impl<'de> Deserialize<'de> for ProgramInput"],["impl<'de> Deserialize<'de> for AssignStatement"],["impl<'de> Deserialize<'de> for UnaryExpression"],["impl<'de> Deserialize<'de> for StructVariableInitializer"],["impl<'de> Deserialize<'de> for Type"],["impl<'de> Deserialize<'de> for Finalize"],["impl<'de> Deserialize<'de> for Expression"],["impl<'de> Deserialize<'de> for Mode"],["impl<'de> Deserialize<'de> for MappingType"],["impl<'de> Deserialize<'de> for TupleExpression"],["impl<'de> Deserialize<'de> for Statement"],["impl<'de> Deserialize<'de> for ConsoleFunction"],["impl<'de> Deserialize<'de> for Annotation"],["impl<'de> Deserialize<'de> for Function"],["impl<'de> Deserialize<'de> for InputAst"],["impl<'de> Deserialize<'de> for BinaryOperation"],["impl<'de> Deserialize<'de> for AssociatedFunction"],["impl<'de> Deserialize<'de> for FunctionInput"],["impl<'de> Deserialize<'de> for Output"],["impl<'de> Deserialize<'de> for Variant"],["impl<'de> Deserialize<'de> for UnitExpression"],["impl<'de> Deserialize<'de> for GroupCoordinate"],["impl<'de> Deserialize<'de> for ConsoleStatement"],["impl<'de> Deserialize<'de> for PositiveNumber"],["impl<'de> Deserialize<'de> for StructExpression"],["impl<'de> Deserialize<'de> for AssertVariant"],["impl<'de> Deserialize<'de> for ProgramId"],["impl<'de> Deserialize<'de> for StaticString"],["impl<'de> Deserialize<'de> for AssertStatement"]], -"leo_package":[["impl<'de> Deserialize<'de> for ChecksumFile"],["impl<'de> Deserialize<'de> for SnapshotFile"],["impl<'de> Deserialize<'de> for Snapshot"],["impl<'de> Deserialize<'de> for MainFile"],["impl<'de> Deserialize<'de> for CircuitFile"],["impl<'de, N: Network> Deserialize<'de> for Env<N>"],["impl<'de> Deserialize<'de> for InputFile"],["impl<'de> Deserialize<'de> for Gitignore"],["impl<'de, N: Network> Deserialize<'de> for Package<N>"]], -"leo_parser":[["impl<'de> Deserialize<'de> for SpannedToken"],["impl<'de> Deserialize<'de> for Token"]], +"leo_ast":[["impl<'de> Deserialize<'de> for IterationStatement"],["impl<'de> Deserialize<'de> for ConsoleFunction"],["impl<'de> Deserialize<'de> for Statement"],["impl<'de> Deserialize<'de> for GroupLiteral"],["impl<'de> Deserialize<'de> for UnaryOperation"],["impl<'de> Deserialize<'de> for StaticString"],["impl<'de> Deserialize<'de> for Expression"],["impl<'de> Deserialize<'de> for FunctionOutput"],["impl<'de> Deserialize<'de> for Program"],["impl<'de> Deserialize<'de> for BinaryOperation"],["impl<'de> Deserialize<'de> for Literal"],["impl<'de> Deserialize<'de> for FunctionInput"],["impl<'de> Deserialize<'de> for Output"],["impl<'de> Deserialize<'de> for TupleExpression"],["impl<'de> Deserialize<'de> for CallExpression"],["impl<'de> Deserialize<'de> for Annotation"],["impl<'de> Deserialize<'de> for AssertStatement"],["impl<'de> Deserialize<'de> for InputValue"],["impl<'de> Deserialize<'de> for ReturnStatement"],["impl<'de> Deserialize<'de> for External"],["impl<'de> Deserialize<'de> for Input"],["impl<'de> Deserialize<'de> for UnaryExpression"],["impl<'de> Deserialize<'de> for ErrExpression"],["impl<'de> Deserialize<'de> for BinaryExpression"],["impl<'de> Deserialize<'de> for StructExpression"],["impl<'de> Deserialize<'de> for Type"],["impl<'de> Deserialize<'de> for TupleAccess"],["impl<'de> Deserialize<'de> for Tuple"],["impl<'de> Deserialize<'de> for MemberAccess"],["impl<'de> Deserialize<'de> for StructVariableInitializer"],["impl<'de> Deserialize<'de> for Function"],["impl<'de> Deserialize<'de> for Mapping"],["impl<'de> Deserialize<'de> for MappingType"],["impl<'de> Deserialize<'de> for Member"],["impl<'de> Deserialize<'de> for IntegerType"],["impl<'de> Deserialize<'de> for ProgramId"],["impl<'de> Deserialize<'de> for AssertVariant"],["impl<'de> Deserialize<'de> for DeclarationType"],["impl<'de> Deserialize<'de> for CastExpression"],["impl<'de> Deserialize<'de> for GroupCoordinate"],["impl<'de> Deserialize<'de> for Identifier"],["impl<'de> Deserialize<'de> for Mode"],["impl<'de> Deserialize<'de> for ConditionalStatement"],["impl<'de> Deserialize<'de> for DefinitionStatement"],["impl<'de> Deserialize<'de> for PositiveNumber"],["impl<'de> Deserialize<'de> for AccessExpression"],["impl<'de> Deserialize<'de> for InputData"],["impl<'de> Deserialize<'de> for Section"],["impl<'de> Deserialize<'de> for GroupTuple"],["impl<'de> Deserialize<'de> for Definition"],["impl<'de> Deserialize<'de> for ConsoleStatement"],["impl<'de> Deserialize<'de> for TernaryExpression"],["impl<'de> Deserialize<'de> for Block"],["impl<'de> Deserialize<'de> for Variant"],["impl<'de> Deserialize<'de> for AssociatedFunction"],["impl<'de> Deserialize<'de> for Struct"],["impl<'de> Deserialize<'de> for ExpressionStatement"],["impl<'de> Deserialize<'de> for Finalize"],["impl<'de> Deserialize<'de> for ProgramScope"],["impl<'de> Deserialize<'de> for InputAst"],["impl<'de> Deserialize<'de> for AssignStatement"],["impl<'de> Deserialize<'de> for AssociatedConstant"],["impl<'de> Deserialize<'de> for UnitExpression"],["impl<'de> Deserialize<'de> for ProgramInput"]], +"leo_package":[["impl<'de, N: Network> Deserialize<'de> for Env<N>"],["impl<'de, N: Network> Deserialize<'de> for Package<N>"],["impl<'de> Deserialize<'de> for ChecksumFile"],["impl<'de> Deserialize<'de> for Gitignore"],["impl<'de> Deserialize<'de> for CircuitFile"],["impl<'de> Deserialize<'de> for Snapshot"],["impl<'de> Deserialize<'de> for InputFile"],["impl<'de> Deserialize<'de> for MainFile"],["impl<'de> Deserialize<'de> for SnapshotFile"]], +"leo_parser":[["impl<'de> Deserialize<'de> for Token"],["impl<'de> Deserialize<'de> for SpannedToken"]], "leo_span":[["impl<'de> Deserialize<'de> for Span"],["impl<'de> Deserialize<'de> for Symbol"],["impl<'de> Deserialize<'de> for BytePos"]], -"leo_test_framework":[["impl<'de> Deserialize<'de> for TestExpectationMode"],["impl<'de> Deserialize<'de> for TestConfig"],["impl<'de> Deserialize<'de> for TestExpectation"]] +"leo_test_framework":[["impl<'de> Deserialize<'de> for TestConfig"],["impl<'de> Deserialize<'de> for TestExpectationMode"],["impl<'de> Deserialize<'de> 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/serde/ser/trait.Serialize.js b/implementors/serde/ser/trait.Serialize.js index b27445942c..01f1c9f25f 100644 --- a/implementors/serde/ser/trait.Serialize.js +++ b/implementors/serde/ser/trait.Serialize.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"leo_ast":[["impl Serialize for TupleExpression"],["impl Serialize for ConditionalStatement"],["impl Serialize for MappingType"],["impl Serialize for FunctionInput"],["impl Serialize for ProgramScope"],["impl Serialize for AssertStatement"],["impl Serialize for ProgramInput"],["impl Serialize for UnaryOperation"],["impl Serialize for InputAst"],["impl Serialize for InputData"],["impl Serialize for TupleAccess"],["impl Serialize for Statement"],["impl Serialize for StructVariableInitializer"],["impl Serialize for ProgramId"],["impl Serialize for CastExpression"],["impl Serialize for PositiveNumber"],["impl Serialize for Block"],["impl Serialize for ReturnStatement"],["impl Serialize for StaticString"],["impl Serialize for DeclarationType"],["impl Serialize for IntegerType"],["impl Serialize for Input"],["impl Serialize for External"],["impl Serialize for CallExpression"],["impl Serialize for InputValue"],["impl Serialize for ConsoleFunction"],["impl Serialize for Identifier"],["impl Serialize for Expression"],["impl Serialize for Finalize"],["impl Serialize for IterationStatement"],["impl Serialize for Member"],["impl Serialize for Program"],["impl Serialize for ErrExpression"],["impl Serialize for Variant"],["impl Serialize for Struct"],["impl Serialize for Tuple"],["impl Serialize for ConsoleStatement"],["impl Serialize for AssignStatement"],["impl Serialize for Type"],["impl Serialize for Mapping"],["impl Serialize for Annotation"],["impl Serialize for FunctionOutput"],["impl Serialize for UnaryExpression"],["impl Serialize for BinaryOperation"],["impl Serialize for StructExpression"],["impl Serialize for TernaryExpression"],["impl Serialize for AccessExpression"],["impl Serialize for Literal"],["impl Serialize for AssociatedFunction"],["impl Serialize for GroupCoordinate"],["impl Serialize for GroupLiteral"],["impl Serialize for Function"],["impl Serialize for UnitExpression"],["impl Serialize for MemberAccess"],["impl Serialize for Mode"],["impl Serialize for AssertVariant"],["impl Serialize for AssociatedConstant"],["impl Serialize for Output"],["impl Serialize for BinaryExpression"],["impl Serialize for ExpressionStatement"],["impl Serialize for DefinitionStatement"],["impl Serialize for GroupTuple"],["impl Serialize for Definition"],["impl Serialize for Section"]], -"leo_parser":[["impl Serialize for SpannedToken"],["impl Serialize for Token"]], -"leo_span":[["impl Serialize for Span"],["impl Serialize for BytePos"],["impl Serialize for Symbol"]], -"leo_test_framework":[["impl Serialize for TestExpectation"],["impl Serialize for TestExpectationMode"],["impl Serialize for TestConfig"]] +"leo_ast":[["impl Serialize for AssociatedFunction"],["impl Serialize for AssertStatement"],["impl Serialize for Output"],["impl Serialize for UnaryExpression"],["impl Serialize for InputValue"],["impl Serialize for CastExpression"],["impl Serialize for IntegerType"],["impl Serialize for GroupLiteral"],["impl Serialize for External"],["impl Serialize for Variant"],["impl Serialize for Program"],["impl Serialize for Mode"],["impl Serialize for InputData"],["impl Serialize for Tuple"],["impl Serialize for ErrExpression"],["impl Serialize for StructExpression"],["impl Serialize for StaticString"],["impl Serialize for TernaryExpression"],["impl Serialize for CallExpression"],["impl Serialize for AccessExpression"],["impl Serialize for Struct"],["impl Serialize for Literal"],["impl Serialize for BinaryExpression"],["impl Serialize for UnaryOperation"],["impl Serialize for Annotation"],["impl Serialize for IterationStatement"],["impl Serialize for DefinitionStatement"],["impl Serialize for ConsoleStatement"],["impl Serialize for Mapping"],["impl Serialize for ProgramScope"],["impl Serialize for ReturnStatement"],["impl Serialize for GroupTuple"],["impl Serialize for AssertVariant"],["impl Serialize for ProgramId"],["impl Serialize for Type"],["impl Serialize for Finalize"],["impl Serialize for FunctionOutput"],["impl Serialize for MappingType"],["impl Serialize for Input"],["impl Serialize for StructVariableInitializer"],["impl Serialize for Statement"],["impl Serialize for TupleExpression"],["impl Serialize for Function"],["impl Serialize for MemberAccess"],["impl Serialize for Member"],["impl Serialize for ConditionalStatement"],["impl Serialize for UnitExpression"],["impl Serialize for TupleAccess"],["impl Serialize for InputAst"],["impl Serialize for DeclarationType"],["impl Serialize for AssociatedConstant"],["impl Serialize for Block"],["impl Serialize for PositiveNumber"],["impl Serialize for ExpressionStatement"],["impl Serialize for Definition"],["impl Serialize for Section"],["impl Serialize for ProgramInput"],["impl Serialize for Identifier"],["impl Serialize for AssignStatement"],["impl Serialize for BinaryOperation"],["impl Serialize for FunctionInput"],["impl Serialize for Expression"],["impl Serialize for ConsoleFunction"],["impl Serialize for GroupCoordinate"]], +"leo_parser":[["impl Serialize for Token"],["impl Serialize for SpannedToken"]], +"leo_span":[["impl Serialize for Symbol"],["impl Serialize for Span"],["impl Serialize for BytePos"]], +"leo_test_framework":[["impl Serialize for TestConfig"],["impl Serialize for TestExpectation"],["impl Serialize for TestExpectationMode"]] };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 3d2c84c85f..93cdb39006 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 0d33bd2f37..463e3826a4 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 fd1e0442a1..42fbdd154d 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 d5e8fc2c84..8652a9a841 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 d229c8a980..b256e5ca7c 100644 --- a/leo/index.html +++ b/leo/index.html @@ -1 +1 @@ -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 ad481c85f0..67447dac46 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 b55b0d851a..072665f74b 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 59ec8e06a3..4295f4f20a 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 b6009ade4e..f19d179434 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 79ad9787da..9f9e44d229 100644 --- a/leo_abnf/index.html +++ b/leo_abnf/index.html @@ -1 +1 @@ -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 70472f771f..9bb8da0ce0 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/associated_constant_access/index.html b/leo_ast/access/associated_constant_access/index.html index dcf22629cb..a8081269ef 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 53843c35fd..1b721af874 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 a9264b235c..288491ec8d 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 a484b098f7..c23687fe74 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 632264540d..b193b13bb4 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 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 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 5ff67f38bd..a2982fce95 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 1249da9d9e..ed86a81727 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 5798880c1f..04c2c4a6db 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 0b362d5687..5f8dedeac3 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 bcd5e10ff7..f618cc5cc7 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 d9bfe385df..9ad3c71462 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: PositiveNumber,
     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: PositiveNumber

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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 0730245bd4..45da626af0 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 0e22471299..1aaeed0c6b 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: PositiveNumber,
     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: PositiveNumber

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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 37201ff523..4295933fcd 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 Definitions

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

List of all items

Structs

Enums

Traits

Macros

Functions

Type Definitions

\ No newline at end of file diff --git a/leo_ast/common/identifier/index.html b/leo_ast/common/identifier/index.html index 776ed7f684..76876b5b8e 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 cb291e9f5d..a22b039e37 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 48dc329e4c..b56deeb7cb 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 2354a56d48..33cdcfa755 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 a9cef33e4c..f627e5bc7a 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 02d7b57c80..40d6792530 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 6a167872aa..90bd503104 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 Definitions

\ No newline at end of file +leo_ast::common::node - Rust

Module leo_ast::common::node

source ·

Traits

  • A node in the AST.

Type Definitions

\ 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 a8318a0f1d..1b20e0e545 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);
diff --git a/leo_ast/common/node/type.NodeID.html b/leo_ast/common/node/type.NodeID.html
index 0b747252d9..b9bc195a3c 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 Definition leo_ast::common::node::NodeID

source ·
pub type NodeID = usize;
Expand description

A node ID.

+NodeID in leo_ast::common::node - Rust

Type Definition 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 307afd4c43..451d54530f 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 = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 8b004636dc..bbcbb71680 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 = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 cb497c5228..1a104c6059 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.PositiveNumber.html b/leo_ast/common/positive_number/struct.PositiveNumber.html index 6fcfa83f5f..b34ab4dabb 100644 --- a/leo_ast/common/positive_number/struct.PositiveNumber.html +++ b/leo_ast/common/positive_number/struct.PositiveNumber.html @@ -1,32 +1,32 @@ -PositiveNumber in leo_ast::common::positive_number - Rust
pub struct PositiveNumber {
-    pub value: String,
+PositiveNumber in leo_ast::common::positive_number - Rust
pub struct PositiveNumber {
+    pub value: String,
 }
Expand description

A number string guaranteed to be positive.

-

Fields§

§value: String

The string representation of the positive number.

-

Implementations§

source§

impl PositiveNumber

source

pub fn is_zero(&self) -> bool

Returns true if this number is zero.

-
source

pub fn to_usize(&self) -> usize

Converts the positive number into a usize or panics if it was malformed.

-

Trait Implementations§

source§

impl Clone for PositiveNumber

source§

fn clone(&self) -> PositiveNumber

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 PositiveNumber

source§

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

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

impl<'de> Deserialize<'de> for PositiveNumber

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 PositiveNumber

source§

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

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

impl Hash for PositiveNumber

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<PositiveNumber> for PositiveNumber

source§

fn eq(&self, other: &PositiveNumber) -> 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 PositiveNumber

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 PositiveNumber

source§

impl StructuralEq for PositiveNumber

source§

impl StructuralPartialEq for PositiveNumber

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§

§value: String

The string representation of the positive number.

+

Implementations§

source§

impl PositiveNumber

source

pub fn is_zero(&self) -> bool

Returns true if this number is zero.

+
source

pub fn to_usize(&self) -> usize

Converts the positive number into a usize or panics if it was malformed.

+

Trait Implementations§

source§

impl Clone for PositiveNumber

source§

fn clone(&self) -> PositiveNumber

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 PositiveNumber

source§

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

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

impl<'de> Deserialize<'de> for PositiveNumber

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 PositiveNumber

source§

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

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

impl Hash for PositiveNumber

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<PositiveNumber> for PositiveNumber

source§

fn eq(&self, other: &PositiveNumber) -> 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 PositiveNumber

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 PositiveNumber

source§

impl StructuralEq for PositiveNumber

source§

impl StructuralPartialEq for PositiveNumber

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 = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 d0b163e153..1146a79bd1 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 dd0d4708c1..9efe87b6ac 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 d8907f2eb9..7abda24ee8 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 {
     AssociatedConstant(AssociatedConstant),
     AssociatedFunction(AssociatedFunction),
     Member(MemberAccess),
@@ -8,27 +8,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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 1c22d5f453..d29d976e33 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/binary/enum.BinaryOperation.html b/leo_ast/expressions/binary/enum.BinaryOperation.html index 944be3c0e0..1d74ea9b7e 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 3b8b49cbcc..5f9fd3970f 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 3cc7d58e50..b80d01d8a8 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 060779b73f..ee0d54c799 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 15158376be..6753a3d8a8 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 dc277c6289..5dcd6287d5 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 25a58abec8..df43fedd30 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 f534fbf7bd..6ceb36e72f 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/types/core_constant/index.html b/leo_ast/types/core_constant/index.html index b18f147847..e6bbfa3989 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 231d6caf53..c2a23b975f 100644 --- a/leo_ast/types/index.html +++ b/leo_ast/types/index.html @@ -1 +1 @@ -leo_ast::types - Rust
\ No newline at end of file +leo_ast::types - Rust
\ 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 242bccea23..eaba9b7fd9 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 7d659f6e39..48e1c3758c 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 569a81ea07..8f3b75c704 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 cd375d31f9..900744097c 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<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).

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

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 = mem::align_of::<T>()

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 c44bb66b8f..2605e9e20f 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

  • A type list of at least two types.
\ No newline at end of file +leo_ast::types::tuple - Rust

Module leo_ast::types::tuple

source ·

Structs

  • A type list of at least two types.
\ No newline at end of file diff --git a/leo_ast/types/tuple/struct.Tuple.html b/leo_ast/types/tuple/struct.Tuple.html index 9c4893eeea..3bfac51af1 100644 --- a/leo_ast/types/tuple/struct.Tuple.html +++ b/leo_ast/types/tuple/struct.Tuple.html @@ -1,17 +1,17 @@ -Tuple in leo_ast::types::tuple - Rust

Struct leo_ast::types::tuple::Tuple

source ·
pub struct Tuple(pub Vec<Type>);
Expand description

A type list of at least two types.

-

Tuple Fields§

§0: Vec<Type>

Methods from Deref<Target = Vec<Type>>§

1.0.0 · source

pub fn capacity(&self) -> usize

Returns the total number of elements the vector can hold without +Tuple in leo_ast::types::tuple - Rust

Struct leo_ast::types::tuple::Tuple

source ·
pub struct Tuple(pub Vec<Type>);
Expand description

A type list of at least two types.

+

Tuple Fields§

§0: Vec<Type>

Methods from Deref<Target = Vec<Type>>§

1.0.0 · source

pub fn capacity(&self) -> usize

Returns the total number of elements the vector can hold without reallocating.

Examples
let mut vec: Vec<i32> = Vec::with_capacity(10);
 vec.push(42);
 assert!(vec.capacity() >= 10);
-
1.7.0 · source

pub fn as_slice(&self) -> &[T]

Extracts a slice containing the entire vector.

+
1.7.0 · source

pub fn as_slice(&self) -> &[T]

Extracts a slice containing the entire vector.

Equivalent to &s[..].

Examples
use std::io::{self, Write};
 let buffer = vec![1, 2, 3, 5, 8];
 io::sink().write(buffer.as_slice()).unwrap();
-
1.37.0 · source

pub fn as_ptr(&self) -> *const T

Returns a raw pointer to the vector’s buffer, or a dangling raw pointer +

1.37.0 · source

pub fn as_ptr(&self) -> *const T

Returns a raw pointer to the vector’s buffer, or a dangling raw pointer valid for zero sized reads if the vector didn’t allocate.

The caller must ensure that the vector outlives the pointer this function returns, or else it will end up pointing to garbage. @@ -19,7 +19,7 @@

Examples
which would also make any pointers to it invalid.

The caller must also ensure that the memory the pointer (non-transitively) points to is never written to (except inside an UnsafeCell) using this pointer or any pointer -derived from it. If you need to mutate the contents of the slice, use as_mut_ptr.

+derived from it. If you need to mutate the contents of the slice, use as_mut_ptr.

Examples
let x = vec![1, 2, 4];
 let x_ptr = x.as_ptr();
@@ -29,24 +29,26 @@ 
Examples
assert_eq!(*x_ptr.add(i), 1 << i); } }
-
source

pub fn allocator(&self) -> &A

🔬This is a nightly-only experimental API. (allocator_api)

Returns a reference to the underlying allocator.

-
1.0.0 · source

pub fn len(&self) -> usize

Returns the number of elements in the vector, also referred to +

source

pub fn allocator(&self) -> &A

🔬This is a nightly-only experimental API. (allocator_api)

Returns a reference to the underlying allocator.

+
1.0.0 · source

pub fn len(&self) -> usize

Returns the number of elements in the vector, also referred to as its ‘length’.

Examples
let a = vec![1, 2, 3];
 assert_eq!(a.len(), 3);
-
1.0.0 · source

pub fn is_empty(&self) -> bool

Returns true if the vector contains no elements.

+
1.0.0 · source

pub fn is_empty(&self) -> bool

Returns true if the vector contains no elements.

Examples
let mut v = Vec::new();
 assert!(v.is_empty());
 
 v.push(1);
 assert!(!v.is_empty());
-

Methods from Deref<Target = [T]>§

source

pub fn sort_floats(&mut self)

🔬This is a nightly-only experimental API. (sort_floats)

Sorts the slice of floats.

+

Methods from Deref<Target = [T]>§

source

pub fn as_str(&self) -> &str

🔬This is a nightly-only experimental API. (ascii_char)

Views this slice of ASCII characters as a UTF-8 str.

+
source

pub fn as_bytes(&self) -> &[u8]

🔬This is a nightly-only experimental API. (ascii_char)

Views this slice of ASCII characters as a slice of u8 bytes.

+
source

pub fn sort_floats(&mut self)

🔬This is a nightly-only experimental API. (sort_floats)

Sorts the slice of floats.

This sort is in-place (i.e. does not allocate), O(n * log(n)) worst-case, and uses -the ordering defined by f32::total_cmp.

+the ordering defined by f32::total_cmp.

Current implementation
-

This uses the same sorting algorithm as sort_unstable_by.

+

This uses the same sorting algorithm as sort_unstable_by.

Examples
#![feature(sort_floats)]
 let mut v = [2.6, -5e-8, f32::NAN, 8.29, f32::INFINITY, -1.0, 0.0, -f32::INFINITY, -0.0];
@@ -55,39 +57,146 @@ 
Examples
let sorted = [-f32::INFINITY, -1.0, -5e-8, -0.0, 0.0, 2.6, 8.29, f32::INFINITY, f32::NAN]; assert_eq!(&v[..8], &sorted[..8]); assert!(v[8].is_nan());
-
1.0.0 · source

pub fn len(&self) -> usize

Returns the number of elements in the slice.

+
source

pub fn flatten(&self) -> &[T]

🔬This is a nightly-only experimental API. (slice_flatten)

Takes a &[[T; N]], and flattens it to a &[T].

+
Panics
+

This panics if the length of the resulting slice would overflow a usize.

+

This is only possible when flattening a slice of arrays of zero-sized +types, and thus tends to be irrelevant in practice. If +size_of::<T>() > 0, this will never panic.

Examples
+
#![feature(slice_flatten)]
+
+assert_eq!([[1, 2, 3], [4, 5, 6]].flatten(), &[1, 2, 3, 4, 5, 6]);
+
+assert_eq!(
+    [[1, 2, 3], [4, 5, 6]].flatten(),
+    [[1, 2], [3, 4], [5, 6]].flatten(),
+);
+
+let slice_of_empty_arrays: &[[i32; 0]] = &[[], [], [], [], []];
+assert!(slice_of_empty_arrays.flatten().is_empty());
+
+let empty_slice_of_arrays: &[[u32; 10]] = &[];
+assert!(empty_slice_of_arrays.flatten().is_empty());
+
source

pub fn flatten_mut(&mut self) -> &mut [T]

🔬This is a nightly-only experimental API. (slice_flatten)

Takes a &mut [[T; N]], and flattens it to a &mut [T].

+
Panics
+

This panics if the length of the resulting slice would overflow a usize.

+

This is only possible when flattening a slice of arrays of zero-sized +types, and thus tends to be irrelevant in practice. If +size_of::<T>() > 0, this will never panic.

+
Examples
+
#![feature(slice_flatten)]
+
+fn add_5_to_all(slice: &mut [i32]) {
+    for i in slice {
+        *i += 5;
+    }
+}
+
+let mut array = [[1, 2, 3], [4, 5, 6], [7, 8, 9]];
+add_5_to_all(array.flatten_mut());
+assert_eq!(array, [[6, 7, 8], [9, 10, 11], [12, 13, 14]]);
+
source

pub fn sort_floats(&mut self)

🔬This is a nightly-only experimental API. (sort_floats)

Sorts the slice of floats.

+

This sort is in-place (i.e. does not allocate), O(n * log(n)) worst-case, and uses +the ordering defined by f64::total_cmp.

+
Current implementation
+

This uses the same sorting algorithm as sort_unstable_by.

+
Examples
+
#![feature(sort_floats)]
+let mut v = [2.6, -5e-8, f64::NAN, 8.29, f64::INFINITY, -1.0, 0.0, -f64::INFINITY, -0.0];
+
+v.sort_floats();
+let sorted = [-f64::INFINITY, -1.0, -5e-8, -0.0, 0.0, 2.6, 8.29, f64::INFINITY, f64::NAN];
+assert_eq!(&v[..8], &sorted[..8]);
+assert!(v[8].is_nan());
+
1.23.0 · source

pub fn is_ascii(&self) -> bool

Checks if all bytes in this slice are within the ASCII range.

+
source

pub fn as_ascii(&self) -> Option<&[AsciiChar]>

🔬This is a nightly-only experimental API. (ascii_char)

If this slice is_ascii, returns it as a slice of +ASCII characters, otherwise returns None.

+
source

pub unsafe fn as_ascii_unchecked(&self) -> &[AsciiChar]

🔬This is a nightly-only experimental API. (ascii_char)

Converts this slice of bytes into a slice of ASCII characters, +without checking whether they’re valid.

+
Safety
+

Every byte in the slice must be in 0..=127, or else this is UB.

+
1.23.0 · source

pub fn eq_ignore_ascii_case(&self, other: &[u8]) -> bool

Checks that two slices are an ASCII case-insensitive match.

+

Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), +but without allocating and copying temporaries.

+
1.23.0 · source

pub fn make_ascii_uppercase(&mut self)

Converts this slice to its ASCII upper case equivalent in-place.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To return a new uppercased value without modifying the existing one, use +to_ascii_uppercase.

+
1.23.0 · source

pub fn make_ascii_lowercase(&mut self)

Converts this slice to its ASCII lower case equivalent in-place.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To return a new lowercased value without modifying the existing one, use +to_ascii_lowercase.

+
1.60.0 · source

pub fn escape_ascii(&self) -> EscapeAscii<'_>

Returns an iterator that produces an escaped version of this slice, +treating it as an ASCII string.

+
Examples
+

+let s = b"0\t\r\n'\"\\\x9d";
+let escaped = s.escape_ascii().to_string();
+assert_eq!(escaped, "0\\t\\r\\n\\'\\\"\\\\\\x9d");
+
source

pub fn trim_ascii_start(&self) -> &[u8]

🔬This is a nightly-only experimental API. (byte_slice_trim_ascii)

Returns a byte slice with leading ASCII whitespace bytes removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
Examples
+
#![feature(byte_slice_trim_ascii)]
+
+assert_eq!(b" \t hello world\n".trim_ascii_start(), b"hello world\n");
+assert_eq!(b"  ".trim_ascii_start(), b"");
+assert_eq!(b"".trim_ascii_start(), b"");
+
source

pub fn trim_ascii_end(&self) -> &[u8]

🔬This is a nightly-only experimental API. (byte_slice_trim_ascii)

Returns a byte slice with trailing ASCII whitespace bytes removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
Examples
+
#![feature(byte_slice_trim_ascii)]
+
+assert_eq!(b"\r hello world\n ".trim_ascii_end(), b"\r hello world");
+assert_eq!(b"  ".trim_ascii_end(), b"");
+assert_eq!(b"".trim_ascii_end(), b"");
+
source

pub fn trim_ascii(&self) -> &[u8]

🔬This is a nightly-only experimental API. (byte_slice_trim_ascii)

Returns a byte slice with leading and trailing ASCII whitespace bytes +removed.

+

‘Whitespace’ refers to the definition used by +u8::is_ascii_whitespace.

+
Examples
+
#![feature(byte_slice_trim_ascii)]
+
+assert_eq!(b"\r hello world\n ".trim_ascii(), b"hello world");
+assert_eq!(b"  ".trim_ascii(), b"");
+assert_eq!(b"".trim_ascii(), b"");
+
1.0.0 · source

pub fn len(&self) -> usize

Returns the number of elements in the slice.

+
Examples
let a = [1, 2, 3];
 assert_eq!(a.len(), 3);
-
1.0.0 · source

pub fn is_empty(&self) -> bool

Returns true if the slice has a length of 0.

-
Examples
+
1.0.0 · source

pub fn is_empty(&self) -> bool

Returns true if the slice has a length of 0.

+
Examples
let a = [1, 2, 3];
 assert!(!a.is_empty());
-
1.0.0 · source

pub fn first(&self) -> Option<&T>

Returns the first element of the slice, or None if it is empty.

-
Examples
+
1.0.0 · source

pub fn first(&self) -> Option<&T>

Returns the first element of the slice, or None if it is empty.

+
Examples
let v = [10, 40, 30];
 assert_eq!(Some(&10), v.first());
 
 let w: &[i32] = &[];
 assert_eq!(None, w.first());
-
1.0.0 · source

pub fn first_mut(&mut self) -> Option<&mut T>

Returns a mutable pointer to the first element of the slice, or None if it is empty.

-
Examples
+
1.0.0 · source

pub fn first_mut(&mut self) -> Option<&mut T>

Returns a mutable pointer to the first element of the slice, or None if it is empty.

+
Examples
let x = &mut [0, 1, 2];
 
 if let Some(first) = x.first_mut() {
     *first = 5;
 }
 assert_eq!(x, &[5, 1, 2]);
-
1.5.0 · source

pub fn split_first(&self) -> Option<(&T, &[T])>

Returns the first and all the rest of the elements of the slice, or None if it is empty.

-
Examples
+
1.5.0 · source

pub fn split_first(&self) -> Option<(&T, &[T])>

Returns the first and all the rest of the elements of the slice, or None if it is empty.

+
Examples
let x = &[0, 1, 2];
 
 if let Some((first, elements)) = x.split_first() {
     assert_eq!(first, &0);
     assert_eq!(elements, &[1, 2]);
 }
-
1.5.0 · source

pub fn split_first_mut(&mut self) -> Option<(&mut T, &mut [T])>

Returns the first and all the rest of the elements of the slice, or None if it is empty.

-
Examples
+
1.5.0 · source

pub fn split_first_mut(&mut self) -> Option<(&mut T, &mut [T])>

Returns the first and all the rest of the elements of the slice, or None if it is empty.

+
Examples
let x = &mut [0, 1, 2];
 
 if let Some((first, elements)) = x.split_first_mut() {
@@ -96,16 +205,16 @@ 
Examples
elements[1] = 5; } assert_eq!(x, &[3, 4, 5]);
-
1.5.0 · source

pub fn split_last(&self) -> Option<(&T, &[T])>

Returns the last and all the rest of the elements of the slice, or None if it is empty.

-
Examples
+
1.5.0 · source

pub fn split_last(&self) -> Option<(&T, &[T])>

Returns the last and all the rest of the elements of the slice, or None if it is empty.

+
Examples
let x = &[0, 1, 2];
 
 if let Some((last, elements)) = x.split_last() {
     assert_eq!(last, &2);
     assert_eq!(elements, &[0, 1]);
 }
-
1.5.0 · source

pub fn split_last_mut(&mut self) -> Option<(&mut T, &mut [T])>

Returns the last and all the rest of the elements of the slice, or None if it is empty.

-
Examples
+
1.5.0 · source

pub fn split_last_mut(&mut self) -> Option<(&mut T, &mut [T])>

Returns the last and all the rest of the elements of the slice, or None if it is empty.

+
Examples
let x = &mut [0, 1, 2];
 
 if let Some((last, elements)) = x.split_last_mut() {
@@ -114,23 +223,23 @@ 
Examples
elements[1] = 5; } assert_eq!(x, &[4, 5, 3]);
-
1.0.0 · source

pub fn last(&self) -> Option<&T>

Returns the last element of the slice, or None if it is empty.

-
Examples
+
1.0.0 · source

pub fn last(&self) -> Option<&T>

Returns the last element of the slice, or None if it is empty.

+
Examples
let v = [10, 40, 30];
 assert_eq!(Some(&30), v.last());
 
 let w: &[i32] = &[];
 assert_eq!(None, w.last());
-
1.0.0 · source

pub fn last_mut(&mut self) -> Option<&mut T>

Returns a mutable pointer to the last item in the slice.

-
Examples
+
1.0.0 · source

pub fn last_mut(&mut self) -> Option<&mut T>

Returns a mutable pointer to the last item in the slice.

+
Examples
let x = &mut [0, 1, 2];
 
 if let Some(last) = x.last_mut() {
     *last = 10;
 }
 assert_eq!(x, &[0, 1, 10]);
-
source

pub fn first_chunk<const N: usize>(&self) -> Option<&[T; N]>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns the first N elements of the slice, or None if it has fewer than N elements.

-
Examples
+
source

pub fn first_chunk<const N: usize>(&self) -> Option<&[T; N]>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns the first N elements of the slice, or None if it has fewer than N elements.

+
Examples
#![feature(slice_first_last_chunk)]
 
 let u = [10, 40, 30];
@@ -141,9 +250,9 @@ 
Examples
let w: &[i32] = &[]; assert_eq!(Some(&[]), w.first_chunk::<0>());
-
source

pub fn first_chunk_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns a mutable reference to the first N elements of the slice, +

source

pub fn first_chunk_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns a mutable reference to the first N elements of the slice, or None if it has fewer than N elements.

-
Examples
+
Examples
#![feature(slice_first_last_chunk)]
 
 let x = &mut [0, 1, 2];
@@ -153,9 +262,9 @@ 
Examples
first[1] = 4; } assert_eq!(x, &[5, 4, 2]);
-
source

pub fn split_first_chunk<const N: usize>(&self) -> Option<(&[T; N], &[T])>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns the first N elements of the slice and the remainder, +

source

pub fn split_first_chunk<const N: usize>(&self) -> Option<(&[T; N], &[T])>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns the first N elements of the slice and the remainder, or None if it has fewer than N elements.

-
Examples
+
Examples
#![feature(slice_first_last_chunk)]
 
 let x = &[0, 1, 2];
@@ -164,11 +273,11 @@ 
Examples
assert_eq!(first, &[0, 1]); assert_eq!(elements, &[2]); }
-
source

pub fn split_first_chunk_mut<const N: usize>( +

source

pub fn split_first_chunk_mut<const N: usize>( &mut self -) -> Option<(&mut [T; N], &mut [T])>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns a mutable reference to the first N elements of the slice and the remainder, +) -> Option<(&mut [T; N], &mut [T])>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns a mutable reference to the first N elements of the slice and the remainder, or None if it has fewer than N elements.

-
Examples
+
Examples
#![feature(slice_first_last_chunk)]
 
 let x = &mut [0, 1, 2];
@@ -179,9 +288,9 @@ 
Examples
elements[0] = 5; } assert_eq!(x, &[3, 4, 5]);
-
source

pub fn split_last_chunk<const N: usize>(&self) -> Option<(&[T; N], &[T])>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns the last N elements of the slice and the remainder, +

source

pub fn split_last_chunk<const N: usize>(&self) -> Option<(&[T; N], &[T])>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns the last N elements of the slice and the remainder, or None if it has fewer than N elements.

-
Examples
+
Examples
#![feature(slice_first_last_chunk)]
 
 let x = &[0, 1, 2];
@@ -190,10 +299,10 @@ 
Examples
assert_eq!(last, &[1, 2]); assert_eq!(elements, &[0]); }
-
source

pub fn split_last_chunk_mut<const N: usize>( +

source

pub fn split_last_chunk_mut<const N: usize>( &mut self -) -> Option<(&mut [T; N], &mut [T])>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns the last and all the rest of the elements of the slice, or None if it is empty.

-
Examples
+) -> Option<(&mut [T; N], &mut [T])>
🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns the last and all the rest of the elements of the slice, or None if it is empty.

+
Examples
#![feature(slice_first_last_chunk)]
 
 let x = &mut [0, 1, 2];
@@ -204,8 +313,8 @@ 
Examples
elements[0] = 5; } assert_eq!(x, &[5, 3, 4]);
-
source

pub fn last_chunk<const N: usize>(&self) -> Option<&[T; N]>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns the last element of the slice, or None if it is empty.

-
Examples
+
source

pub fn last_chunk<const N: usize>(&self) -> Option<&[T; N]>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns the last element of the slice, or None if it is empty.

+
Examples
#![feature(slice_first_last_chunk)]
 
 let u = [10, 40, 30];
@@ -216,8 +325,8 @@ 
Examples
let w: &[i32] = &[]; assert_eq!(Some(&[]), w.last_chunk::<0>());
-
source

pub fn last_chunk_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns a mutable pointer to the last item in the slice.

-
Examples
+
source

pub fn last_chunk_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>

🔬This is a nightly-only experimental API. (slice_first_last_chunk)

Returns a mutable pointer to the last item in the slice.

+
Examples
#![feature(slice_first_last_chunk)]
 
 let x = &mut [0, 1, 2];
@@ -227,8 +336,8 @@ 
Examples
last[1] = 20; } assert_eq!(x, &[0, 10, 20]);
-
1.0.0 · source

pub fn get<I>(&self, index: I) -> Option<&<I as SliceIndex<[T]>>::Output>where - I: SliceIndex<[T]>,

Returns a reference to an element or subslice depending on the type of +

1.0.0 · source

pub fn get<I>(&self, index: I) -> Option<&<I as SliceIndex<[T]>>::Output>where + I: SliceIndex<[T]>,

Returns a reference to an element or subslice depending on the type of index.

  • If given a position, returns a reference to the element at that @@ -236,52 +345,52 @@
    Examples
  • If given a range, returns the subslice corresponding to that range, or None if out of bounds.
-
Examples
+
Examples
let v = [10, 40, 30];
 assert_eq!(Some(&40), v.get(1));
 assert_eq!(Some(&[10, 40][..]), v.get(0..2));
 assert_eq!(None, v.get(3));
 assert_eq!(None, v.get(0..4));
-
1.0.0 · source

pub fn get_mut<I>( +

1.0.0 · source

pub fn get_mut<I>( &mut self, index: I -) -> Option<&mut <I as SliceIndex<[T]>>::Output>where - I: SliceIndex<[T]>,

Returns a mutable reference to an element or subslice depending on the -type of index (see get) or None if the index is out of bounds.

-
Examples
+) -> Option<&mut <I as SliceIndex<[T]>>::Output>where + I: SliceIndex<[T]>,

Returns a mutable reference to an element or subslice depending on the +type of index (see get) or None if the index is out of bounds.

+
Examples
let x = &mut [0, 1, 2];
 
 if let Some(elem) = x.get_mut(1) {
     *elem = 42;
 }
 assert_eq!(x, &[0, 42, 2]);
-
1.0.0 · source

pub unsafe fn get_unchecked<I>( +

1.0.0 · source

pub unsafe fn get_unchecked<I>( &self, index: I -) -> &<I as SliceIndex<[T]>>::Outputwhere - I: SliceIndex<[T]>,

Returns a reference to an element or subslice, without doing bounds +) -> &<I as SliceIndex<[T]>>::Outputwhere + I: SliceIndex<[T]>,

Returns a reference to an element or subslice, without doing bounds checking.

-

For a safe alternative see get.

-
Safety
+

For a safe alternative see get.

+
Safety

Calling this method with an out-of-bounds index is undefined behavior even if the resulting reference is not used.

-
Examples
+
Examples
let x = &[1, 2, 4];
 
 unsafe {
     assert_eq!(x.get_unchecked(1), &2);
 }
-
1.0.0 · source

pub unsafe fn get_unchecked_mut<I>( +

1.0.0 · source

pub unsafe fn get_unchecked_mut<I>( &mut self, index: I -) -> &mut <I as SliceIndex<[T]>>::Outputwhere - I: SliceIndex<[T]>,

Returns a mutable reference to an element or subslice, without doing +) -> &mut <I as SliceIndex<[T]>>::Outputwhere + I: SliceIndex<[T]>,

Returns a mutable reference to an element or subslice, without doing bounds checking.

-

For a safe alternative see get_mut.

-
Safety
+

For a safe alternative see get_mut.

+
Safety

Calling this method with an out-of-bounds index is undefined behavior even if the resulting reference is not used.

-
Examples
+
Examples
let x = &mut [1, 2, 4];
 
 unsafe {
@@ -289,15 +398,15 @@ 
Examples
*elem = 13; } assert_eq!(x, &[1, 13, 4]);
-
1.0.0 · source

pub fn as_ptr(&self) -> *const T

Returns a raw pointer to the slice’s buffer.

+
1.0.0 · source

pub fn as_ptr(&self) -> *const T

Returns a raw pointer to the slice’s buffer.

The caller must ensure that the slice outlives the pointer this function returns, or else it will end up pointing to garbage.

The caller must also ensure that the memory the pointer (non-transitively) points to is never written to (except inside an UnsafeCell) using this pointer or any pointer -derived from it. If you need to mutate the contents of the slice, use as_mut_ptr.

+derived from it. If you need to mutate the contents of the slice, use as_mut_ptr.

Modifying the container referenced by this slice may cause its buffer to be reallocated, which would also make any pointers to it invalid.

-
Examples
+
Examples
let x = &[1, 2, 4];
 let x_ptr = x.as_ptr();
 
@@ -306,12 +415,12 @@ 
Examples
assert_eq!(x.get_unchecked(i), &*x_ptr.add(i)); } }
-
1.0.0 · source

pub fn as_mut_ptr(&mut self) -> *mut T

Returns an unsafe mutable pointer to the slice’s buffer.

+
1.0.0 · source

pub fn as_mut_ptr(&mut self) -> *mut T

Returns an unsafe mutable pointer to the slice’s buffer.

The caller must ensure that the slice outlives the pointer this function returns, or else it will end up pointing to garbage.

Modifying the container referenced by this slice may cause its buffer to be reallocated, which would also make any pointers to it invalid.

-
Examples
+
Examples
let x = &mut [1, 2, 4];
 let x_ptr = x.as_mut_ptr();
 
@@ -321,12 +430,12 @@ 
Examples
} } assert_eq!(x, &[3, 4, 6]);
-
1.48.0 · source

pub fn as_ptr_range(&self) -> Range<*const T>

Returns the two raw pointers spanning the slice.

+
1.48.0 · source

pub fn as_ptr_range(&self) -> Range<*const T>

Returns the two raw pointers spanning the slice.

The returned range is half-open, which means that the end pointer points one past the last element of the slice. This way, an empty slice is represented by two equal pointers, and the difference between the two pointers represents the size of the slice.

-

See as_ptr for warnings on using these pointers. The end pointer +

See as_ptr for warnings on using these pointers. The end pointer requires extra caution, as it does not point to a valid element in the slice.

This function is useful for interacting with foreign interfaces which @@ -341,54 +450,55 @@

Examples
assert!(a.as_ptr_range().contains(&x)); assert!(!a.as_ptr_range().contains(&y));
-
1.48.0 · source

pub fn as_mut_ptr_range(&mut self) -> Range<*mut T>

Returns the two unsafe mutable pointers spanning the slice.

+
1.48.0 · source

pub fn as_mut_ptr_range(&mut self) -> Range<*mut T>

Returns the two unsafe mutable pointers spanning the slice.

The returned range is half-open, which means that the end pointer points one past the last element of the slice. This way, an empty slice is represented by two equal pointers, and the difference between the two pointers represents the size of the slice.

-

See as_mut_ptr for warnings on using these pointers. The end +

See as_mut_ptr for warnings on using these pointers. The end pointer requires extra caution, as it does not point to a valid element in the slice.

This function is useful for interacting with foreign interfaces which use two pointers to refer to a range of elements in memory, as is common in C++.

-
1.0.0 · source

pub fn swap(&mut self, a: usize, b: usize)

Swaps two elements in the slice.

+
1.0.0 · source

pub fn swap(&mut self, a: usize, b: usize)

Swaps two elements in the slice.

+

If a equals to b, it’s guaranteed that elements won’t change value.

Arguments
  • a - The index of the first element
  • b - The index of the second element
-
Panics
+
Panics

Panics if a or b are out of bounds.

-
Examples
+
Examples
let mut v = ["a", "b", "c", "d", "e"];
 v.swap(2, 4);
 assert!(v == ["a", "b", "e", "d", "c"]);
-
source

pub unsafe fn swap_unchecked(&mut self, a: usize, b: usize)

🔬This is a nightly-only experimental API. (slice_swap_unchecked)

Swaps two elements in the slice, without doing bounds checking.

-

For a safe alternative see swap.

+
source

pub unsafe fn swap_unchecked(&mut self, a: usize, b: usize)

🔬This is a nightly-only experimental API. (slice_swap_unchecked)

Swaps two elements in the slice, without doing bounds checking.

+

For a safe alternative see swap.

Arguments
  • a - The index of the first element
  • b - The index of the second element
-
Safety
+
Safety

Calling this method with an out-of-bounds index is undefined behavior. The caller has to ensure that a < self.len() and b < self.len().

-
Examples
+
Examples
#![feature(slice_swap_unchecked)]
 
 let mut v = ["a", "b", "c", "d"];
 // SAFETY: we know that 1 and 3 are both indices of the slice
 unsafe { v.swap_unchecked(1, 3) };
 assert!(v == ["a", "d", "c", "b"]);
-
1.0.0 · source

pub fn reverse(&mut self)

Reverses the order of elements in the slice, in place.

-
Examples
+
1.0.0 · source

pub fn reverse(&mut self)

Reverses the order of elements in the slice, in place.

+
Examples
let mut v = [1, 2, 3];
 v.reverse();
 assert!(v == [3, 2, 1]);
-
1.0.0 · source

pub fn iter(&self) -> Iter<'_, T>

Returns an iterator over the slice.

+
1.0.0 · source

pub fn iter(&self) -> Iter<'_, T>

Returns an iterator over the slice.

The iterator yields all items from start to end.

-
Examples
+
Examples
let x = &[1, 2, 4];
 let mut iterator = x.iter();
 
@@ -396,20 +506,20 @@ 
Examples
assert_eq!(iterator.next(), Some(&2)); assert_eq!(iterator.next(), Some(&4)); assert_eq!(iterator.next(), None);
-
1.0.0 · source

pub fn iter_mut(&mut self) -> IterMut<'_, T>

Returns an iterator that allows modifying each value.

+
1.0.0 · source

pub fn iter_mut(&mut self) -> IterMut<'_, T>

Returns an iterator that allows modifying each value.

The iterator yields all items from start to end.

-
Examples
+
Examples
let x = &mut [1, 2, 4];
 for elem in x.iter_mut() {
     *elem += 2;
 }
 assert_eq!(x, &[3, 4, 6]);
-
1.0.0 · source

pub fn windows(&self, size: usize) -> Windows<'_, T>

Returns an iterator over all contiguous windows of length +

1.0.0 · source

pub fn windows(&self, size: usize) -> Windows<'_, T>

Returns an iterator over all contiguous windows of length size. The windows overlap. If the slice is shorter than size, the iterator returns no values.

-
Panics
+
Panics

Panics if size is 0.

-
Examples
+
Examples
let slice = ['r', 'u', 's', 't'];
 let mut iter = slice.windows(2);
 assert_eq!(iter.next().unwrap(), &['r', 'u']);
@@ -423,7 +533,7 @@ 
Examples
assert!(iter.next().is_none());

There’s no windows_mut, as that existing would let safe code violate the “only one &mut at a time to the same thing” rule. However, you can sometimes -use Cell::as_slice_of_cells in +use Cell::as_slice_of_cells in conjunction with windows to accomplish something similar:

use std::cell::Cell;
@@ -435,32 +545,32 @@ 
Examples
Cell::swap(&w[0], &w[2]); } assert_eq!(array, ['s', 't', ' ', '2', '0', '1', '5', 'u', 'R']);
-
1.0.0 · source

pub fn chunks(&self, chunk_size: usize) -> Chunks<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the +

1.0.0 · source

pub fn chunks(&self, chunk_size: usize) -> Chunks<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the beginning of the slice.

The chunks are slices and do not overlap. If chunk_size does not divide the length of the slice, then the last chunk will not have length chunk_size.

-

See chunks_exact for a variant of this iterator that returns chunks of always exactly -chunk_size elements, and rchunks for the same iterator but starting at the end of the +

See chunks_exact for a variant of this iterator that returns chunks of always exactly +chunk_size elements, and rchunks for the same iterator but starting at the end of the slice.

-
Panics
+
Panics

Panics if chunk_size is 0.

-
Examples
+
Examples
let slice = ['l', 'o', 'r', 'e', 'm'];
 let mut iter = slice.chunks(2);
 assert_eq!(iter.next().unwrap(), &['l', 'o']);
 assert_eq!(iter.next().unwrap(), &['r', 'e']);
 assert_eq!(iter.next().unwrap(), &['m']);
 assert!(iter.next().is_none());
-
1.0.0 · source

pub fn chunks_mut(&mut self, chunk_size: usize) -> ChunksMut<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the +

1.0.0 · source

pub fn chunks_mut(&mut self, chunk_size: usize) -> ChunksMut<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the beginning of the slice.

The chunks are mutable slices, and do not overlap. If chunk_size does not divide the length of the slice, then the last chunk will not have length chunk_size.

-

See chunks_exact_mut for a variant of this iterator that returns chunks of always -exactly chunk_size elements, and rchunks_mut for the same iterator but starting at +

See chunks_exact_mut for a variant of this iterator that returns chunks of always +exactly chunk_size elements, and rchunks_mut for the same iterator but starting at the end of the slice.

-
Panics
+
Panics

Panics if chunk_size is 0.

-
Examples
+
Examples
let v = &mut [0, 0, 0, 0, 0];
 let mut count = 1;
 
@@ -471,37 +581,37 @@ 
Examples
count += 1; } assert_eq!(v, &[1, 1, 2, 2, 3]);
-
1.31.0 · source

pub fn chunks_exact(&self, chunk_size: usize) -> ChunksExact<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the +

1.31.0 · source

pub fn chunks_exact(&self, chunk_size: usize) -> ChunksExact<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the beginning of the slice.

The chunks are slices and do not overlap. If chunk_size does not divide the length of the slice, then the last up to chunk_size-1 elements will be omitted and can be retrieved from the remainder function of the iterator.

Due to each chunk having exactly chunk_size elements, the compiler can often optimize the -resulting code better than in the case of chunks.

-

See chunks for a variant of this iterator that also returns the remainder as a smaller -chunk, and rchunks_exact for the same iterator but starting at the end of the slice.

-
Panics
+resulting code better than in the case of chunks.

+

See chunks for a variant of this iterator that also returns the remainder as a smaller +chunk, and rchunks_exact for the same iterator but starting at the end of the slice.

+
Panics

Panics if chunk_size is 0.

-
Examples
+
Examples
let slice = ['l', 'o', 'r', 'e', 'm'];
 let mut iter = slice.chunks_exact(2);
 assert_eq!(iter.next().unwrap(), &['l', 'o']);
 assert_eq!(iter.next().unwrap(), &['r', 'e']);
 assert!(iter.next().is_none());
 assert_eq!(iter.remainder(), &['m']);
-
1.31.0 · source

pub fn chunks_exact_mut(&mut self, chunk_size: usize) -> ChunksExactMut<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the +

1.31.0 · source

pub fn chunks_exact_mut(&mut self, chunk_size: usize) -> ChunksExactMut<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the beginning of the slice.

The chunks are mutable slices, and do not overlap. If chunk_size does not divide the length of the slice, then the last up to chunk_size-1 elements will be omitted and can be retrieved from the into_remainder function of the iterator.

Due to each chunk having exactly chunk_size elements, the compiler can often optimize the -resulting code better than in the case of chunks_mut.

-

See chunks_mut for a variant of this iterator that also returns the remainder as a -smaller chunk, and rchunks_exact_mut for the same iterator but starting at the end of +resulting code better than in the case of chunks_mut.

+

See chunks_mut for a variant of this iterator that also returns the remainder as a +smaller chunk, and rchunks_exact_mut for the same iterator but starting at the end of the slice.

-
Panics
+
Panics

Panics if chunk_size is 0.

-
Examples
+
Examples
let v = &mut [0, 0, 0, 0, 0];
 let mut count = 1;
 
@@ -512,15 +622,15 @@ 
Examples
count += 1; } assert_eq!(v, &[1, 1, 2, 2, 0]);
-
source

pub unsafe fn as_chunks_unchecked<const N: usize>(&self) -> &[[T; N]]

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +

source

pub unsafe fn as_chunks_unchecked<const N: usize>(&self) -> &[[T; N]]

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, assuming that there’s no remainder.

-
Safety
+
Safety

This may only be called when

  • The slice splits exactly into N-element chunks (aka self.len() % N == 0).
  • N != 0.
-
Examples
+
Examples
#![feature(slice_as_chunks)]
 let slice: &[char] = &['l', 'o', 'r', 'e', 'm', '!'];
 let chunks: &[[char; 1]] =
@@ -535,13 +645,13 @@ 
Examples
// These would be unsound: // let chunks: &[[_; 5]] = slice.as_chunks_unchecked() // The slice length is not a multiple of 5 // let chunks: &[[_; 0]] = slice.as_chunks_unchecked() // Zero-length chunks are never allowed
-
source

pub fn as_chunks<const N: usize>(&self) -> (&[[T; N]], &[T])

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +

source

pub fn as_chunks<const N: usize>(&self) -> (&[[T; N]], &[T])

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, starting at the beginning of the slice, and a remainder slice with length strictly less than N.

-
Panics
+
Panics

Panics if N is 0. This check will most probably get changed to a compile time error before this method gets stabilized.

-
Examples
+
Examples
#![feature(slice_as_chunks)]
 let slice = ['l', 'o', 'r', 'e', 'm'];
 let (chunks, remainder) = slice.as_chunks();
@@ -556,28 +666,28 @@ 
Examples
panic!("slice didn't have even length") }; assert_eq!(chunks, &[['R', 'u'], ['s', 't']]);
-
source

pub fn as_rchunks<const N: usize>(&self) -> (&[T], &[[T; N]])

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +

source

pub fn as_rchunks<const N: usize>(&self) -> (&[T], &[[T; N]])

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, starting at the end of the slice, and a remainder slice with length strictly less than N.

-
Panics
+
Panics

Panics if N is 0. This check will most probably get changed to a compile time error before this method gets stabilized.

-
Examples
+
Examples
#![feature(slice_as_chunks)]
 let slice = ['l', 'o', 'r', 'e', 'm'];
 let (remainder, chunks) = slice.as_rchunks();
 assert_eq!(remainder, &['l']);
 assert_eq!(chunks, &[['o', 'r'], ['e', 'm']]);
-
source

pub fn array_chunks<const N: usize>(&self) -> ArrayChunks<'_, T, N>

🔬This is a nightly-only experimental API. (array_chunks)

Returns an iterator over N elements of the slice at a time, starting at the +

source

pub fn array_chunks<const N: usize>(&self) -> ArrayChunks<'_, T, N>

🔬This is a nightly-only experimental API. (array_chunks)

Returns an iterator over N elements of the slice at a time, starting at the beginning of the slice.

The chunks are array references and do not overlap. If N does not divide the length of the slice, then the last up to N-1 elements will be omitted and can be retrieved from the remainder function of the iterator.

-

This method is the const generic equivalent of chunks_exact.

-
Panics
+

This method is the const generic equivalent of chunks_exact.

+
Panics

Panics if N is 0. This check will most probably get changed to a compile time error before this method gets stabilized.

-
Examples
+
Examples
#![feature(array_chunks)]
 let slice = ['l', 'o', 'r', 'e', 'm'];
 let mut iter = slice.array_chunks();
@@ -585,17 +695,17 @@ 
Examples
assert_eq!(iter.next().unwrap(), &['r', 'e']); assert!(iter.next().is_none()); assert_eq!(iter.remainder(), &['m']);
-
source

pub unsafe fn as_chunks_unchecked_mut<const N: usize>( +

source

pub unsafe fn as_chunks_unchecked_mut<const N: usize>( &mut self -) -> &mut [[T; N]]

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +) -> &mut [[T; N]]

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, assuming that there’s no remainder.

-
Safety
+
Safety

This may only be called when

  • The slice splits exactly into N-element chunks (aka self.len() % N == 0).
  • N != 0.
-
Examples
+
Examples
#![feature(slice_as_chunks)]
 let slice: &mut [char] = &mut ['l', 'o', 'r', 'e', 'm', '!'];
 let chunks: &mut [[char; 1]] =
@@ -612,13 +722,13 @@ 
Examples
// These would be unsound: // let chunks: &[[_; 5]] = slice.as_chunks_unchecked_mut() // The slice length is not a multiple of 5 // let chunks: &[[_; 0]] = slice.as_chunks_unchecked_mut() // Zero-length chunks are never allowed
-
source

pub fn as_chunks_mut<const N: usize>(&mut self) -> (&mut [[T; N]], &mut [T])

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +

source

pub fn as_chunks_mut<const N: usize>(&mut self) -> (&mut [[T; N]], &mut [T])

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, starting at the beginning of the slice, and a remainder slice with length strictly less than N.

-
Panics
+
Panics

Panics if N is 0. This check will most probably get changed to a compile time error before this method gets stabilized.

-
Examples
+
Examples
#![feature(slice_as_chunks)]
 let v = &mut [0, 0, 0, 0, 0];
 let mut count = 1;
@@ -630,13 +740,13 @@ 
Examples
count += 1; } assert_eq!(v, &[1, 1, 2, 2, 9]);
-
source

pub fn as_rchunks_mut<const N: usize>(&mut self) -> (&mut [T], &mut [[T; N]])

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +

source

pub fn as_rchunks_mut<const N: usize>(&mut self) -> (&mut [T], &mut [[T; N]])

🔬This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, starting at the end of the slice, and a remainder slice with length strictly less than N.

-
Panics
+
Panics

Panics if N is 0. This check will most probably get changed to a compile time error before this method gets stabilized.

-
Examples
+
Examples
#![feature(slice_as_chunks)]
 let v = &mut [0, 0, 0, 0, 0];
 let mut count = 1;
@@ -648,16 +758,16 @@ 
Examples
count += 1; } assert_eq!(v, &[9, 1, 1, 2, 2]);
-
source

pub fn array_chunks_mut<const N: usize>(&mut self) -> ArrayChunksMut<'_, T, N>

🔬This is a nightly-only experimental API. (array_chunks)

Returns an iterator over N elements of the slice at a time, starting at the +

source

pub fn array_chunks_mut<const N: usize>(&mut self) -> ArrayChunksMut<'_, T, N>

🔬This is a nightly-only experimental API. (array_chunks)

Returns an iterator over N elements of the slice at a time, starting at the beginning of the slice.

The chunks are mutable array references and do not overlap. If N does not divide the length of the slice, then the last up to N-1 elements will be omitted and can be retrieved from the into_remainder function of the iterator.

-

This method is the const generic equivalent of chunks_exact_mut.

-
Panics
+

This method is the const generic equivalent of chunks_exact_mut.

+
Panics

Panics if N is 0. This check will most probably get changed to a compile time error before this method gets stabilized.

-
Examples
+
Examples
#![feature(array_chunks)]
 let v = &mut [0, 0, 0, 0, 0];
 let mut count = 1;
@@ -667,14 +777,14 @@ 
Examples
count += 1; } assert_eq!(v, &[1, 1, 2, 2, 0]);
-
source

pub fn array_windows<const N: usize>(&self) -> ArrayWindows<'_, T, N>

🔬This is a nightly-only experimental API. (array_windows)

Returns an iterator over overlapping windows of N elements of a slice, +

source

pub fn array_windows<const N: usize>(&self) -> ArrayWindows<'_, T, N>

🔬This is a nightly-only experimental API. (array_windows)

Returns an iterator over overlapping windows of N elements of a slice, starting at the beginning of the slice.

-

This is the const generic equivalent of windows.

+

This is the const generic equivalent of windows.

If N is greater than the size of the slice, it will return no windows.

-
Panics
+
Panics

Panics if N is 0. This check will most probably get changed to a compile time error before this method gets stabilized.

-
Examples
+
Examples
#![feature(array_windows)]
 let slice = [0, 1, 2, 3];
 let mut iter = slice.array_windows();
@@ -682,32 +792,32 @@ 
Examples
assert_eq!(iter.next().unwrap(), &[1, 2]); assert_eq!(iter.next().unwrap(), &[2, 3]); assert!(iter.next().is_none());
-
1.31.0 · source

pub fn rchunks(&self, chunk_size: usize) -> RChunks<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the end +

1.31.0 · source

pub fn rchunks(&self, chunk_size: usize) -> RChunks<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the end of the slice.

The chunks are slices and do not overlap. If chunk_size does not divide the length of the slice, then the last chunk will not have length chunk_size.

-

See rchunks_exact for a variant of this iterator that returns chunks of always exactly -chunk_size elements, and chunks for the same iterator but starting at the beginning +

See rchunks_exact for a variant of this iterator that returns chunks of always exactly +chunk_size elements, and chunks for the same iterator but starting at the beginning of the slice.

-
Panics
+
Panics

Panics if chunk_size is 0.

-
Examples
+
Examples
let slice = ['l', 'o', 'r', 'e', 'm'];
 let mut iter = slice.rchunks(2);
 assert_eq!(iter.next().unwrap(), &['e', 'm']);
 assert_eq!(iter.next().unwrap(), &['o', 'r']);
 assert_eq!(iter.next().unwrap(), &['l']);
 assert!(iter.next().is_none());
-
1.31.0 · source

pub fn rchunks_mut(&mut self, chunk_size: usize) -> RChunksMut<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the end +

1.31.0 · source

pub fn rchunks_mut(&mut self, chunk_size: usize) -> RChunksMut<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the end of the slice.

The chunks are mutable slices, and do not overlap. If chunk_size does not divide the length of the slice, then the last chunk will not have length chunk_size.

-

See rchunks_exact_mut for a variant of this iterator that returns chunks of always -exactly chunk_size elements, and chunks_mut for the same iterator but starting at the +

See rchunks_exact_mut for a variant of this iterator that returns chunks of always +exactly chunk_size elements, and chunks_mut for the same iterator but starting at the beginning of the slice.

-
Panics
+
Panics

Panics if chunk_size is 0.

-
Examples
+
Examples
let v = &mut [0, 0, 0, 0, 0];
 let mut count = 1;
 
@@ -718,38 +828,38 @@ 
Examples
count += 1; } assert_eq!(v, &[3, 2, 2, 1, 1]);
-
1.31.0 · source

pub fn rchunks_exact(&self, chunk_size: usize) -> RChunksExact<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the +

1.31.0 · source

pub fn rchunks_exact(&self, chunk_size: usize) -> RChunksExact<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the end of the slice.

The chunks are slices and do not overlap. If chunk_size does not divide the length of the slice, then the last up to chunk_size-1 elements will be omitted and can be retrieved from the remainder function of the iterator.

Due to each chunk having exactly chunk_size elements, the compiler can often optimize the -resulting code better than in the case of rchunks.

-

See rchunks for a variant of this iterator that also returns the remainder as a smaller -chunk, and chunks_exact for the same iterator but starting at the beginning of the +resulting code better than in the case of rchunks.

+

See rchunks for a variant of this iterator that also returns the remainder as a smaller +chunk, and chunks_exact for the same iterator but starting at the beginning of the slice.

-
Panics
+
Panics

Panics if chunk_size is 0.

-
Examples
+
Examples
let slice = ['l', 'o', 'r', 'e', 'm'];
 let mut iter = slice.rchunks_exact(2);
 assert_eq!(iter.next().unwrap(), &['e', 'm']);
 assert_eq!(iter.next().unwrap(), &['o', 'r']);
 assert!(iter.next().is_none());
 assert_eq!(iter.remainder(), &['l']);
-
1.31.0 · source

pub fn rchunks_exact_mut(&mut self, chunk_size: usize) -> RChunksExactMut<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the end +

1.31.0 · source

pub fn rchunks_exact_mut(&mut self, chunk_size: usize) -> RChunksExactMut<'_, T>

Returns an iterator over chunk_size elements of the slice at a time, starting at the end of the slice.

The chunks are mutable slices, and do not overlap. If chunk_size does not divide the length of the slice, then the last up to chunk_size-1 elements will be omitted and can be retrieved from the into_remainder function of the iterator.

Due to each chunk having exactly chunk_size elements, the compiler can often optimize the -resulting code better than in the case of chunks_mut.

-

See rchunks_mut for a variant of this iterator that also returns the remainder as a -smaller chunk, and chunks_exact_mut for the same iterator but starting at the beginning +resulting code better than in the case of chunks_mut.

+

See rchunks_mut for a variant of this iterator that also returns the remainder as a +smaller chunk, and chunks_exact_mut for the same iterator but starting at the beginning of the slice.

-
Panics
+
Panics

Panics if chunk_size is 0.

-
Examples
+
Examples
let v = &mut [0, 0, 0, 0, 0];
 let mut count = 1;
 
@@ -760,13 +870,13 @@ 
Examples
count += 1; } assert_eq!(v, &[0, 2, 2, 1, 1]);
-
source

pub fn group_by<F>(&self, pred: F) -> GroupBy<'_, T, F>where - F: FnMut(&T, &T) -> bool,

🔬This is a nightly-only experimental API. (slice_group_by)

Returns an iterator over the slice producing non-overlapping runs +

source

pub fn group_by<F>(&self, pred: F) -> GroupBy<'_, T, F>where + F: FnMut(&T, &T) -> bool,

🔬This is a nightly-only experimental API. (slice_group_by)

Returns an iterator over the slice producing non-overlapping runs of elements using the predicate to separate them.

The predicate is called on two elements following themselves, it means the predicate is called on slice[0] and slice[1] then on slice[1] and slice[2] and so on.

-
Examples
+
Examples
#![feature(slice_group_by)]
 
 let slice = &[1, 1, 1, 3, 3, 2, 2, 2];
@@ -789,13 +899,13 @@ 
Examples
assert_eq!(iter.next(), Some(&[2, 3][..])); assert_eq!(iter.next(), Some(&[2, 3, 4][..])); assert_eq!(iter.next(), None);
-
source

pub fn group_by_mut<F>(&mut self, pred: F) -> GroupByMut<'_, T, F>where - F: FnMut(&T, &T) -> bool,

🔬This is a nightly-only experimental API. (slice_group_by)

Returns an iterator over the slice producing non-overlapping mutable +

source

pub fn group_by_mut<F>(&mut self, pred: F) -> GroupByMut<'_, T, F>where + F: FnMut(&T, &T) -> bool,

🔬This is a nightly-only experimental API. (slice_group_by)

Returns an iterator over the slice producing non-overlapping mutable runs of elements using the predicate to separate them.

The predicate is called on two elements following themselves, it means the predicate is called on slice[0] and slice[1] then on slice[1] and slice[2] and so on.

-
Examples
+
Examples
#![feature(slice_group_by)]
 
 let slice = &mut [1, 1, 1, 3, 3, 2, 2, 2];
@@ -818,13 +928,13 @@ 
Examples
assert_eq!(iter.next(), Some(&mut [2, 3][..])); assert_eq!(iter.next(), Some(&mut [2, 3, 4][..])); assert_eq!(iter.next(), None);
-
1.0.0 · source

pub fn split_at(&self, mid: usize) -> (&[T], &[T])

Divides one slice into two at an index.

+
1.0.0 · source

pub fn split_at(&self, mid: usize) -> (&[T], &[T])

Divides one slice into two at an index.

The first will contain all indices from [0, mid) (excluding the index mid itself) and the second will contain all indices from [mid, len) (excluding the index len itself).

-
Panics
+
Panics

Panics if mid > len.

-
Examples
+
Examples
let v = [1, 2, 3, 4, 5, 6];
 
 {
@@ -844,13 +954,13 @@ 
Examples
assert_eq!(left, [1, 2, 3, 4, 5, 6]); assert_eq!(right, []); }
-
1.0.0 · source

pub fn split_at_mut(&mut self, mid: usize) -> (&mut [T], &mut [T])

Divides one mutable slice into two at an index.

+
1.0.0 · source

pub fn split_at_mut(&mut self, mid: usize) -> (&mut [T], &mut [T])

Divides one mutable slice into two at an index.

The first will contain all indices from [0, mid) (excluding the index mid itself) and the second will contain all indices from [mid, len) (excluding the index len itself).

-
Panics
+
Panics

Panics if mid > len.

-
Examples
+
Examples
let mut v = [1, 0, 3, 0, 5, 6];
 let (left, right) = v.split_at_mut(2);
 assert_eq!(left, [1, 0]);
@@ -858,16 +968,16 @@ 
Examples
left[1] = 2; right[1] = 4; assert_eq!(v, [1, 2, 3, 4, 5, 6]);
-
source

pub unsafe fn split_at_unchecked(&self, mid: usize) -> (&[T], &[T])

🔬This is a nightly-only experimental API. (slice_split_at_unchecked)

Divides one slice into two at an index, without doing bounds checking.

+
source

pub unsafe fn split_at_unchecked(&self, mid: usize) -> (&[T], &[T])

🔬This is a nightly-only experimental API. (slice_split_at_unchecked)

Divides one slice into two at an index, without doing bounds checking.

The first will contain all indices from [0, mid) (excluding the index mid itself) and the second will contain all indices from [mid, len) (excluding the index len itself).

-

For a safe alternative see split_at.

-
Safety
+

For a safe alternative see split_at.

+
Safety

Calling this method with an out-of-bounds index is undefined behavior even if the resulting reference is not used. The caller has to ensure that 0 <= mid <= self.len().

-
Examples
+
Examples
#![feature(slice_split_at_unchecked)]
 
 let v = [1, 2, 3, 4, 5, 6];
@@ -889,19 +999,19 @@ 
Examples
assert_eq!(left, [1, 2, 3, 4, 5, 6]); assert_eq!(right, []); }
-
source

pub unsafe fn split_at_mut_unchecked( +

source

pub unsafe fn split_at_mut_unchecked( &mut self, - mid: usize -) -> (&mut [T], &mut [T])

🔬This is a nightly-only experimental API. (slice_split_at_unchecked)

Divides one mutable slice into two at an index, without doing bounds checking.

+ mid: usize +) -> (&mut [T], &mut [T])
🔬This is a nightly-only experimental API. (slice_split_at_unchecked)

Divides one mutable slice into two at an index, without doing bounds checking.

The first will contain all indices from [0, mid) (excluding the index mid itself) and the second will contain all indices from [mid, len) (excluding the index len itself).

-

For a safe alternative see split_at_mut.

-
Safety
+

For a safe alternative see split_at_mut.

+
Safety

Calling this method with an out-of-bounds index is undefined behavior even if the resulting reference is not used. The caller has to ensure that 0 <= mid <= self.len().

-
Examples
+
Examples
#![feature(slice_split_at_unchecked)]
 
 let mut v = [1, 0, 3, 0, 5, 6];
@@ -914,13 +1024,13 @@ 
Examples
right[1] = 4; } assert_eq!(v, [1, 2, 3, 4, 5, 6]);
-
source

pub fn split_array_ref<const N: usize>(&self) -> (&[T; N], &[T])

🔬This is a nightly-only experimental API. (split_array)

Divides one slice into an array and a remainder slice at an index.

+
source

pub fn split_array_ref<const N: usize>(&self) -> (&[T; N], &[T])

🔬This is a nightly-only experimental API. (split_array)

Divides one slice into an array and a remainder slice at an index.

The array will contain all indices from [0, N) (excluding the index N itself) and the slice will contain all indices from [N, len) (excluding the index len itself).

-
Panics
+
Panics

Panics if N > len.

-
Examples
+
Examples
#![feature(split_array)]
 
 let v = &[1, 2, 3, 4, 5, 6][..];
@@ -942,13 +1052,13 @@ 
Examples
assert_eq!(left, &[1, 2, 3, 4, 5, 6]); assert_eq!(right, []); }
-
source

pub fn split_array_mut<const N: usize>(&mut self) -> (&mut [T; N], &mut [T])

🔬This is a nightly-only experimental API. (split_array)

Divides one mutable slice into an array and a remainder slice at an index.

+
source

pub fn split_array_mut<const N: usize>(&mut self) -> (&mut [T; N], &mut [T])

🔬This is a nightly-only experimental API. (split_array)

Divides one mutable slice into an array and a remainder slice at an index.

The array will contain all indices from [0, N) (excluding the index N itself) and the slice will contain all indices from [N, len) (excluding the index len itself).

-
Panics
+
Panics

Panics if N > len.

-
Examples
+
Examples
#![feature(split_array)]
 
 let mut v = &mut [1, 0, 3, 0, 5, 6][..];
@@ -958,14 +1068,14 @@ 
Examples
left[1] = 2; right[1] = 4; assert_eq!(v, [1, 2, 3, 4, 5, 6]);
-
source

pub fn rsplit_array_ref<const N: usize>(&self) -> (&[T], &[T; N])

🔬This is a nightly-only experimental API. (split_array)

Divides one slice into an array and a remainder slice at an index from +

source

pub fn rsplit_array_ref<const N: usize>(&self) -> (&[T], &[T; N])

🔬This is a nightly-only experimental API. (split_array)

Divides one slice into an array and a remainder slice at an index from the end.

The slice will contain all indices from [0, len - N) (excluding the index len - N itself) and the array will contain all indices from [len - N, len) (excluding the index len itself).

-
Panics
+
Panics

Panics if N > len.

-
Examples
+
Examples
#![feature(split_array)]
 
 let v = &[1, 2, 3, 4, 5, 6][..];
@@ -987,14 +1097,14 @@ 
Examples
assert_eq!(left, []); assert_eq!(right, &[1, 2, 3, 4, 5, 6]); }
-
source

pub fn rsplit_array_mut<const N: usize>(&mut self) -> (&mut [T], &mut [T; N])

🔬This is a nightly-only experimental API. (split_array)

Divides one mutable slice into an array and a remainder slice at an +

source

pub fn rsplit_array_mut<const N: usize>(&mut self) -> (&mut [T], &mut [T; N])

🔬This is a nightly-only experimental API. (split_array)

Divides one mutable slice into an array and a remainder slice at an index from the end.

The slice will contain all indices from [0, len - N) (excluding the index N itself) and the array will contain all indices from [len - N, len) (excluding the index len itself).

-
Panics
+
Panics

Panics if N > len.

-
Examples
+
Examples
#![feature(split_array)]
 
 let mut v = &mut [1, 0, 3, 0, 5, 6][..];
@@ -1004,10 +1114,10 @@ 
Examples
left[1] = 2; right[1] = 4; assert_eq!(v, [1, 2, 3, 4, 5, 6]);
-
1.0.0 · source

pub fn split<F>(&self, pred: F) -> Split<'_, T, F>where - F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match +

1.0.0 · source

pub fn split<F>(&self, pred: F) -> Split<'_, T, F>where + F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match pred. The matched element is not contained in the subslices.

-
Examples
+
Examples
let slice = [10, 40, 33, 20];
 let mut iter = slice.split(|num| num % 3 == 0);
 
@@ -1035,21 +1145,21 @@ 
Examples
assert_eq!(iter.next().unwrap(), &[]); assert_eq!(iter.next().unwrap(), &[20]); assert!(iter.next().is_none());
-
1.0.0 · source

pub fn split_mut<F>(&mut self, pred: F) -> SplitMut<'_, T, F>where - F: FnMut(&T) -> bool,

Returns an iterator over mutable subslices separated by elements that +

1.0.0 · source

pub fn split_mut<F>(&mut self, pred: F) -> SplitMut<'_, T, F>where + F: FnMut(&T) -> bool,

Returns an iterator over mutable subslices separated by elements that match pred. The matched element is not contained in the subslices.

-
Examples
+
Examples
let mut v = [10, 40, 30, 20, 60, 50];
 
 for group in v.split_mut(|num| *num % 3 == 0) {
     group[0] = 1;
 }
 assert_eq!(v, [1, 40, 30, 1, 60, 1]);
-
1.51.0 · source

pub fn split_inclusive<F>(&self, pred: F) -> SplitInclusive<'_, T, F>where - F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match +

1.51.0 · source

pub fn split_inclusive<F>(&self, pred: F) -> SplitInclusive<'_, T, F>where + F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match pred. The matched element is contained in the end of the previous subslice as a terminator.

-
Examples
+
Examples
let slice = [10, 40, 33, 20];
 let mut iter = slice.split_inclusive(|num| num % 3 == 0);
 
@@ -1066,11 +1176,11 @@ 
Examples
assert_eq!(iter.next().unwrap(), &[3]); assert_eq!(iter.next().unwrap(), &[10, 40, 33]); assert!(iter.next().is_none());
-
1.51.0 · source

pub fn split_inclusive_mut<F>(&mut self, pred: F) -> SplitInclusiveMut<'_, T, F>where - F: FnMut(&T) -> bool,

Returns an iterator over mutable subslices separated by elements that +

1.51.0 · source

pub fn split_inclusive_mut<F>(&mut self, pred: F) -> SplitInclusiveMut<'_, T, F>where + F: FnMut(&T) -> bool,

Returns an iterator over mutable subslices separated by elements that match pred. The matched element is contained in the previous subslice as a terminator.

-
Examples
+
Examples
let mut v = [10, 40, 30, 20, 60, 50];
 
 for group in v.split_inclusive_mut(|num| *num % 3 == 0) {
@@ -1078,11 +1188,11 @@ 
Examples
group[terminator_idx] = 1; } assert_eq!(v, [10, 40, 1, 20, 1, 1]);
-
1.27.0 · source

pub fn rsplit<F>(&self, pred: F) -> RSplit<'_, T, F>where - F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match +

1.27.0 · source

pub fn rsplit<F>(&self, pred: F) -> RSplit<'_, T, F>where + F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match pred, starting at the end of the slice and working backwards. The matched element is not contained in the subslices.

-
Examples
+
Examples
let slice = [11, 22, 33, 0, 44, 55];
 let mut iter = slice.rsplit(|num| *num == 0);
 
@@ -1099,11 +1209,11 @@ 
Examples
assert_eq!(it.next().unwrap(), &[1, 1]); assert_eq!(it.next().unwrap(), &[]); assert_eq!(it.next(), None);
-
1.27.0 · source

pub fn rsplit_mut<F>(&mut self, pred: F) -> RSplitMut<'_, T, F>where - F: FnMut(&T) -> bool,

Returns an iterator over mutable subslices separated by elements that +

1.27.0 · source

pub fn rsplit_mut<F>(&mut self, pred: F) -> RSplitMut<'_, T, F>where + F: FnMut(&T) -> bool,

Returns an iterator over mutable subslices separated by elements that match pred, starting at the end of the slice and working backwards. The matched element is not contained in the subslices.

-
Examples
+
Examples
let mut v = [100, 400, 300, 200, 600, 500];
 
 let mut count = 0;
@@ -1112,13 +1222,13 @@ 
Examples
group[0] = count; } assert_eq!(v, [3, 400, 300, 2, 600, 1]);
-
1.0.0 · source

pub fn splitn<F>(&self, n: usize, pred: F) -> SplitN<'_, T, F>where - F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match +

1.0.0 · source

pub fn splitn<F>(&self, n: usize, pred: F) -> SplitN<'_, T, F>where + F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match pred, limited to returning at most n items. The matched element is not contained in the subslices.

The last element returned, if any, will contain the remainder of the slice.

-
Examples
+
Examples

Print the slice split once by numbers divisible by 3 (i.e., [10, 40], [20, 60, 50]):

@@ -1127,27 +1237,27 @@
Examples
for group in v.splitn(2, |num| *num % 3 == 0) { println!("{group:?}"); }
-
1.0.0 · source

pub fn splitn_mut<F>(&mut self, n: usize, pred: F) -> SplitNMut<'_, T, F>where - F: FnMut(&T) -> bool,

Returns an iterator over mutable subslices separated by elements that match +

1.0.0 · source

pub fn splitn_mut<F>(&mut self, n: usize, pred: F) -> SplitNMut<'_, T, F>where + F: FnMut(&T) -> bool,

Returns an iterator over mutable subslices separated by elements that match pred, limited to returning at most n items. The matched element is not contained in the subslices.

The last element returned, if any, will contain the remainder of the slice.

-
Examples
+
Examples
let mut v = [10, 40, 30, 20, 60, 50];
 
 for group in v.splitn_mut(2, |num| *num % 3 == 0) {
     group[0] = 1;
 }
 assert_eq!(v, [1, 40, 30, 1, 60, 50]);
-
1.0.0 · source

pub fn rsplitn<F>(&self, n: usize, pred: F) -> RSplitN<'_, T, F>where - F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match +

1.0.0 · source

pub fn rsplitn<F>(&self, n: usize, pred: F) -> RSplitN<'_, T, F>where + F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match pred limited to returning at most n items. This starts at the end of the slice and works backwards. The matched element is not contained in the subslices.

The last element returned, if any, will contain the remainder of the slice.

-
Examples
+
Examples

Print the slice split once, starting from the end, by numbers divisible by 3 (i.e., [50], [10, 40, 30, 20]):

@@ -1156,25 +1266,25 @@
Examples
for group in v.rsplitn(2, |num| *num % 3 == 0) { println!("{group:?}"); }
-
1.0.0 · source

pub fn rsplitn_mut<F>(&mut self, n: usize, pred: F) -> RSplitNMut<'_, T, F>where - F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match +

1.0.0 · source

pub fn rsplitn_mut<F>(&mut self, n: usize, pred: F) -> RSplitNMut<'_, T, F>where + F: FnMut(&T) -> bool,

Returns an iterator over subslices separated by elements that match pred limited to returning at most n items. This starts at the end of the slice and works backwards. The matched element is not contained in the subslices.

The last element returned, if any, will contain the remainder of the slice.

-
Examples
+
Examples
let mut s = [10, 40, 30, 20, 60, 50];
 
 for group in s.rsplitn_mut(2, |num| *num % 3 == 0) {
     group[0] = 1;
 }
 assert_eq!(s, [1, 40, 30, 20, 60, 1]);
-
1.0.0 · source

pub fn contains(&self, x: &T) -> boolwhere - T: PartialEq<T>,

Returns true if the slice contains an element with the given value.

+
1.0.0 · source

pub fn contains(&self, x: &T) -> boolwhere + T: PartialEq<T>,

Returns true if the slice contains an element with the given value.

This operation is O(n).

-

Note that if you have a sorted slice, binary_search may be faster.

-
Examples
+

Note that if you have a sorted slice, binary_search may be faster.

+
Examples
let v = [10, 40, 30];
 assert!(v.contains(&30));
 assert!(!v.contains(&50));
@@ -1185,9 +1295,9 @@
Examples
let v = [String::from("hello"), String::from("world")]; // slice of `String`
 assert!(v.iter().any(|e| e == "hello")); // search with `&str`
 assert!(!v.iter().any(|e| e == "hi"));
-
1.0.0 · source

pub fn starts_with(&self, needle: &[T]) -> boolwhere - T: PartialEq<T>,

Returns true if needle is a prefix of the slice.

-
Examples
+
1.0.0 · source

pub fn starts_with(&self, needle: &[T]) -> boolwhere + T: PartialEq<T>,

Returns true if needle is a prefix of the slice.

+
Examples
let v = [10, 40, 30];
 assert!(v.starts_with(&[10]));
 assert!(v.starts_with(&[10, 40]));
@@ -1199,9 +1309,9 @@ 
Examples
assert!(v.starts_with(&[])); let v: &[u8] = &[]; assert!(v.starts_with(&[]));
-
1.0.0 · source

pub fn ends_with(&self, needle: &[T]) -> boolwhere - T: PartialEq<T>,

Returns true if needle is a suffix of the slice.

-
Examples
+
1.0.0 · source

pub fn ends_with(&self, needle: &[T]) -> boolwhere + T: PartialEq<T>,

Returns true if needle is a suffix of the slice.

+
Examples
let v = [10, 40, 30];
 assert!(v.ends_with(&[30]));
 assert!(v.ends_with(&[40, 30]));
@@ -1213,13 +1323,13 @@ 
Examples
assert!(v.ends_with(&[])); let v: &[u8] = &[]; assert!(v.ends_with(&[]));
-
1.51.0 · source

pub fn strip_prefix<P>(&self, prefix: &P) -> Option<&[T]>where - P: SlicePattern<Item = T> + ?Sized, - T: PartialEq<T>,

Returns a subslice with the prefix removed.

+
1.51.0 · source

pub fn strip_prefix<P>(&self, prefix: &P) -> Option<&[T]>where + P: SlicePattern<Item = T> + ?Sized, + T: PartialEq<T>,

Returns a subslice with the prefix removed.

If the slice starts with prefix, returns the subslice after the prefix, wrapped in Some. If prefix is empty, simply returns the original slice.

If the slice does not start with prefix, returns None.

-
Examples
+
Examples
let v = &[10, 40, 30];
 assert_eq!(v.strip_prefix(&[10]), Some(&[40, 30][..]));
 assert_eq!(v.strip_prefix(&[10, 40]), Some(&[30][..]));
@@ -1229,31 +1339,31 @@ 
Examples
let prefix : &str = "he"; assert_eq!(b"hello".strip_prefix(prefix.as_bytes()), Some(b"llo".as_ref()));
-
1.51.0 · source

pub fn strip_suffix<P>(&self, suffix: &P) -> Option<&[T]>where - P: SlicePattern<Item = T> + ?Sized, - T: PartialEq<T>,

Returns a subslice with the suffix removed.

+
1.51.0 · source

pub fn strip_suffix<P>(&self, suffix: &P) -> Option<&[T]>where + P: SlicePattern<Item = T> + ?Sized, + T: PartialEq<T>,

Returns a subslice with the suffix removed.

If the slice ends with suffix, returns the subslice before the suffix, wrapped in Some. If suffix is empty, simply returns the original slice.

If the slice does not end with suffix, returns None.

-
Examples
+
Examples
let v = &[10, 40, 30];
 assert_eq!(v.strip_suffix(&[30]), Some(&[10, 40][..]));
 assert_eq!(v.strip_suffix(&[40, 30]), Some(&[10][..]));
 assert_eq!(v.strip_suffix(&[50]), None);
 assert_eq!(v.strip_suffix(&[50, 30]), None);
-

Binary searches this slice for a given element. +

Binary searches this slice for a given element. If the slice is not sorted, the returned result is unspecified and meaningless.

-

If the value is found then Result::Ok is returned, containing the +

If the value is found then Result::Ok is returned, containing the index of the matching element. If there are multiple matches, then any one of the matches could be returned. The index is chosen deterministically, but is subject to change in future versions of Rust. -If the value is not found then Result::Err is returned, containing +If the value is not found then Result::Err is returned, containing the index where a matching element could be inserted while maintaining sorted order.

-

See also binary_search_by, binary_search_by_key, and partition_point.

-
Examples
+

See also binary_search_by, binary_search_by_key, and partition_point.

+
Examples

Looks up a series of four elements. The first is found, with a uniquely determined position; the second and third are not found; the fourth could match any position in [1, 4].

@@ -1266,7 +1376,7 @@
Examples
let r = s.binary_search(&1); assert!(match r { Ok(1..=4) => true, _ => false, });

If you want to find that whole range of matching items, rather than -an arbitrary matching one, that can be done using partition_point:

+an arbitrary matching one, that can be done using partition_point:

let s = [0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55];
 
@@ -1286,7 +1396,7 @@ 
Examples
assert_eq!(s.partition_point(|x| x <= &11), 9); assert_eq!(s.binary_search(&11), Err(9));

If you want to insert an item to a sorted vector, while maintaining -sort order, consider using partition_point:

+sort order, consider using partition_point:

let mut s = vec![0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55];
 let num = 42;
@@ -1294,23 +1404,23 @@ 
Examples
// The above is equivalent to `let idx = s.binary_search(&num).unwrap_or_else(|x| x);` s.insert(idx, num); assert_eq!(s, [0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 42, 55]);
-
1.0.0 · source

pub fn binary_search_by<'a, F>(&'a self, f: F) -> Result<usize, usize>where - F: FnMut(&'a T) -> Ordering,

Binary searches this slice with a comparator function.

+
1.0.0 · source

pub fn binary_search_by<'a, F>(&'a self, f: F) -> Result<usize, usize>where + F: FnMut(&'a T) -> Ordering,

Binary searches this slice with a comparator function.

The comparator function should return an order code that indicates whether its argument is Less, Equal or Greater the desired target. If the slice is not sorted or if the comparator function does not implement an order consistent with the sort order of the underlying slice, the returned result is unspecified and meaningless.

-

If the value is found then Result::Ok is returned, containing the +

If the value is found then Result::Ok is returned, containing the index of the matching element. If there are multiple matches, then any one of the matches could be returned. The index is chosen deterministically, but is subject to change in future versions of Rust. -If the value is not found then Result::Err is returned, containing +If the value is not found then Result::Err is returned, containing the index where a matching element could be inserted while maintaining sorted order.

-

See also binary_search, binary_search_by_key, and partition_point.

-
Examples
+

See also binary_search, binary_search_by_key, and partition_point.

+
Examples

Looks up a series of four elements. The first is found, with a uniquely determined position; the second and third are not found; the fourth could match any position in [1, 4].

@@ -1326,26 +1436,26 @@
Examples
let seek = 1; let r = s.binary_search_by(|probe| probe.cmp(&seek)); assert!(match r { Ok(1..=4) => true, _ => false, });
-
1.10.0 · source

pub fn binary_search_by_key<'a, B, F>( +

1.10.0 · source

pub fn binary_search_by_key<'a, B, F>( &'a self, - b: &B, + b: &B, f: F -) -> Result<usize, usize>where - F: FnMut(&'a T) -> B, - B: Ord,

Binary searches this slice with a key extraction function.

+) -> Result<usize, usize>where + F: FnMut(&'a T) -> B, + B: Ord,

Binary searches this slice with a key extraction function.

Assumes that the slice is sorted by the key, for instance with -sort_by_key using the same key extraction function. +sort_by_key using the same key extraction function. If the slice is not sorted by the key, the returned result is unspecified and meaningless.

-

If the value is found then Result::Ok is returned, containing the +

If the value is found then Result::Ok is returned, containing the index of the matching element. If there are multiple matches, then any one of the matches could be returned. The index is chosen deterministically, but is subject to change in future versions of Rust. -If the value is not found then Result::Err is returned, containing +If the value is not found then Result::Err is returned, containing the index where a matching element could be inserted while maintaining sorted order.

-

See also binary_search, binary_search_by, and partition_point.

-
Examples
+

See also binary_search, binary_search_by, and partition_point.

+
Examples

Looks up a series of four elements in a slice of pairs sorted by their second elements. The first is found, with a uniquely determined position; the second and third are not found; the @@ -1360,11 +1470,11 @@

Examples
assert_eq!(s.binary_search_by_key(&100, |&(a, b)| b), Err(13)); let r = s.binary_search_by_key(&1, |&(a, b)| b); assert!(match r { Ok(1..=4) => true, _ => false, });
-
1.20.0 · source

pub fn sort_unstable(&mut self)where - T: Ord,

Sorts the slice, but might not preserve the order of equal elements.

+
1.20.0 · source

pub fn sort_unstable(&mut self)where + T: Ord,

Sorts the slice, but might not preserve the order of equal elements.

This sort is unstable (i.e., may reorder equal elements), in-place (i.e., does not allocate), and O(n * log(n)) worst-case.

-
Current implementation
+
Current implementation

The current algorithm is based on pattern-defeating quicksort by Orson Peters, which combines the fast average case of randomized quicksort with the fast worst case of heapsort, while achieving linear time on slices with certain patterns. It uses some @@ -1372,13 +1482,13 @@

Current im deterministic behavior.

It is typically faster than stable sorting, except in a few special cases, e.g., when the slice consists of several concatenated sorted sequences.

-
Examples
+
Examples
let mut v = [-5, 4, 1, -3, 2];
 
 v.sort_unstable();
 assert!(v == [-5, -3, 1, 2, 4]);
-
1.20.0 · source

pub fn sort_unstable_by<F>(&mut self, compare: F)where - F: FnMut(&T, &T) -> Ordering,

Sorts the slice with a comparator function, but might not preserve the order of equal +

1.20.0 · source

pub fn sort_unstable_by<F>(&mut self, compare: F)where + F: FnMut(&T, &T) -> Ordering,

Sorts the slice with a comparator function, but might not preserve the order of equal elements.

This sort is unstable (i.e., may reorder equal elements), in-place (i.e., does not allocate), and O(n * log(n)) worst-case.

@@ -1389,13 +1499,13 @@
Examples
  • total and antisymmetric: exactly one of a < b, a == b or a > b is true, and
  • transitive, a < b and b < c implies a < c. The same must hold for both == and >.
  • -

    For example, while f64 doesn’t implement Ord because NaN != NaN, we can use +

    For example, while f64 doesn’t implement Ord because NaN != NaN, we can use partial_cmp as our sort function when we know the slice doesn’t contain a NaN.

    let mut floats = [5f64, 4.0, 1.0, 3.0, 2.0];
     floats.sort_unstable_by(|a, b| a.partial_cmp(b).unwrap());
     assert_eq!(floats, [1.0, 2.0, 3.0, 4.0, 5.0]);
    -
    Current implementation
    +
    Current implementation

    The current algorithm is based on pattern-defeating quicksort by Orson Peters, which combines the fast average case of randomized quicksort with the fast worst case of heapsort, while achieving linear time on slices with certain patterns. It uses some @@ -1403,7 +1513,7 @@

    Current im deterministic behavior.

    It is typically faster than stable sorting, except in a few special cases, e.g., when the slice consists of several concatenated sorted sequences.

    -
    Examples
    +
    Examples
    let mut v = [5, 4, 1, 3, 2];
     v.sort_unstable_by(|a, b| a.cmp(b));
     assert!(v == [1, 2, 3, 4, 5]);
    @@ -1411,14 +1521,14 @@ 
    Examples
    // reverse sorting v.sort_unstable_by(|a, b| b.cmp(a)); assert!(v == [5, 4, 3, 2, 1]);
    -
    1.20.0 · source

    pub fn sort_unstable_by_key<K, F>(&mut self, f: F)where - F: FnMut(&T) -> K, - K: Ord,

    Sorts the slice with a key extraction function, but might not preserve the order of equal +

    1.20.0 · source

    pub fn sort_unstable_by_key<K, F>(&mut self, f: F)where + F: FnMut(&T) -> K, + K: Ord,

    Sorts the slice with a key extraction function, but might not preserve the order of equal elements.

    This sort is unstable (i.e., may reorder equal elements), in-place (i.e., does not allocate), and O(m * n * log(n)) worst-case, where the key function is O(m).

    -
    Current implementation
    +
    Current implementation

    The current algorithm is based on pattern-defeating quicksort by Orson Peters, which combines the fast average case of randomized quicksort with the fast worst case of heapsort, while achieving linear time on slices with certain patterns. It uses some @@ -1427,32 +1537,32 @@

    Current im

    Due to its key calling strategy, sort_unstable_by_key is likely to be slower than sort_by_cached_key in cases where the key function is expensive.

    -
    Examples
    +
    Examples
    let mut v = [-5i32, 4, 1, -3, 2];
     
     v.sort_unstable_by_key(|k| k.abs());
     assert!(v == [1, 2, -3, 4, -5]);
    -
    1.49.0 · source

    pub fn select_nth_unstable( +

    1.49.0 · source

    pub fn select_nth_unstable( &mut self, - index: usize -) -> (&mut [T], &mut T, &mut [T])where - T: Ord,

    Reorder the slice such that the element at index is at its final sorted position.

    + index: usize +) -> (&mut [T], &mut T, &mut [T])where + T: Ord,

    Reorder the slice such that the element at index is at its final sorted position.

    This reordering has the additional property that any value at position i < index will be less than or equal to any value at a position j > index. Additionally, this reordering is unstable (i.e. any number of equal elements may end up at position index), in-place -(i.e. does not allocate), and O(n) on average. The worst-case performance is O(n log n). +(i.e. does not allocate), and runs in O(n) time. This function is also known as “kth element” in other libraries.

    It returns a triplet of the following from the reordered slice: the subslice prior to index, the element at index, and the subslice after index; accordingly, the values in those two subslices will respectively all be less-than-or-equal-to and greater-than-or-equal-to the value of the element at index.

    -
    Current implementation
    +
    Current implementation

    The current algorithm is an introselect implementation based on Pattern Defeating Quicksort, which is also -the basis for sort_unstable. The fallback algorithm is Median of Medians using Tukey’s Ninther for +the basis for sort_unstable. The fallback algorithm is Median of Medians using Tukey’s Ninther for pivot selection, which guarantees linear runtime for all inputs.

    -
    Panics
    +
    Panics

    Panics when index >= len(), meaning it always panics on empty slices.

    -
    Examples
    +
    Examples
    let mut v = [-5i32, 4, 1, -3, 2];
     
     // Find the median
    @@ -1464,31 +1574,30 @@ 
    Examples
    v == [-5, -3, 1, 2, 4] || v == [-3, -5, 1, 4, 2] || v == [-5, -3, 1, 4, 2]);
    -
    1.49.0 · source

    pub fn select_nth_unstable_by<F>( +

    1.49.0 · source

    pub fn select_nth_unstable_by<F>( &mut self, - index: usize, + index: usize, compare: F -) -> (&mut [T], &mut T, &mut [T])where - F: FnMut(&T, &T) -> Ordering,

    Reorder the slice with a comparator function such that the element at index is at its +) -> (&mut [T], &mut T, &mut [T])where + F: FnMut(&T, &T) -> Ordering,

    Reorder the slice with a comparator function such that the element at index is at its final sorted position.

    This reordering has the additional property that any value at position i < index will be less than or equal to any value at a position j > index using the comparator function. Additionally, this reordering is unstable (i.e. any number of equal elements may end up at -position index), in-place (i.e. does not allocate), and O(n) on average. -The worst-case performance is O(n log n). This function is also known as -“kth element” in other libraries.

    +position index), in-place (i.e. does not allocate), and runs in O(n) time. +This function is also known as “kth element” in other libraries.

    It returns a triplet of the following from the slice reordered according to the provided comparator function: the subslice prior to index, the element at index, and the subslice after index; accordingly, the values in those two subslices will respectively all be less-than-or-equal-to and greater-than-or-equal-to the value of the element at index.

    -
    Current implementation
    +
    Current implementation

    The current algorithm is an introselect implementation based on Pattern Defeating Quicksort, which is also -the basis for sort_unstable. The fallback algorithm is Median of Medians using Tukey’s Ninther for +the basis for sort_unstable. The fallback algorithm is Median of Medians using Tukey’s Ninther for pivot selection, which guarantees linear runtime for all inputs.

    -
    Panics
    +
    Panics

    Panics when index >= len(), meaning it always panics on empty slices.

    -
    Examples
    +
    Examples
    let mut v = [-5i32, 4, 1, -3, 2];
     
     // Find the median as if the slice were sorted in descending order.
    @@ -1500,31 +1609,31 @@ 
    Examples
    v == [2, 4, 1, -3, -5] || v == [4, 2, 1, -5, -3] || v == [4, 2, 1, -3, -5]);
    -
    1.49.0 · source

    pub fn select_nth_unstable_by_key<K, F>( +

    1.49.0 · source

    pub fn select_nth_unstable_by_key<K, F>( &mut self, - index: usize, + index: usize, f: F -) -> (&mut [T], &mut T, &mut [T])where - F: FnMut(&T) -> K, - K: Ord,

    Reorder the slice with a key extraction function such that the element at index is at its +) -> (&mut [T], &mut T, &mut [T])where + F: FnMut(&T) -> K, + K: Ord,

    Reorder the slice with a key extraction function such that the element at index is at its final sorted position.

    This reordering has the additional property that any value at position i < index will be less than or equal to any value at a position j > index using the key extraction function. Additionally, this reordering is unstable (i.e. any number of equal elements may end up at -position index), in-place (i.e. does not allocate), and O(n) on average. -The worst-case performance is O(n log n). +position index), in-place (i.e. does not allocate), and runs in O(n) time. This function is also known as “kth element” in other libraries.

    It returns a triplet of the following from the slice reordered according to the provided key extraction function: the subslice prior to index, the element at index, and the subslice after index; accordingly, the values in those two subslices will respectively all be less-than-or-equal-to and greater-than-or-equal-to the value of the element at index.

    -
    Current implementation
    -

    The current algorithm is based on the quickselect portion of the same quicksort algorithm -used for sort_unstable.

    -
    Panics
    +
    Current implementation
    +

    The current algorithm is an introselect implementation based on Pattern Defeating Quicksort, which is also +the basis for sort_unstable. The fallback algorithm is Median of Medians using Tukey’s Ninther for +pivot selection, which guarantees linear runtime for all inputs.

    +
    Panics

    Panics when index >= len(), meaning it always panics on empty slices.

    -
    Examples
    +
    Examples
    let mut v = [-5i32, 4, 1, -3, 2];
     
     // Return the median as if the array were sorted according to absolute value.
    @@ -1536,13 +1645,13 @@ 
    Examples
    v == [1, 2, -3, -5, 4] || v == [2, 1, -3, 4, -5] || v == [2, 1, -3, -5, 4]);
    -
    source

    pub fn partition_dedup(&mut self) -> (&mut [T], &mut [T])where - T: PartialEq<T>,

    🔬This is a nightly-only experimental API. (slice_partition_dedup)

    Moves all consecutive repeated elements to the end of the slice according to the -PartialEq trait implementation.

    +
    source

    pub fn partition_dedup(&mut self) -> (&mut [T], &mut [T])where + T: PartialEq<T>,

    🔬This is a nightly-only experimental API. (slice_partition_dedup)

    Moves all consecutive repeated elements to the end of the slice according to the +PartialEq trait implementation.

    Returns two slices. The first contains no consecutive repeated elements. The second contains all the duplicates in no specified order.

    If the slice is sorted, the first returned slice contains no duplicates.

    -
    Examples
    +
    Examples
    #![feature(slice_partition_dedup)]
     
     let mut slice = [1, 2, 2, 3, 3, 2, 1, 1];
    @@ -1551,8 +1660,8 @@ 
    Examples
    assert_eq!(dedup, [1, 2, 3, 2, 1]); assert_eq!(duplicates, [2, 3, 1]);
    -
    source

    pub fn partition_dedup_by<F>(&mut self, same_bucket: F) -> (&mut [T], &mut [T])where - F: FnMut(&mut T, &mut T) -> bool,

    🔬This is a nightly-only experimental API. (slice_partition_dedup)

    Moves all but the first of consecutive elements to the end of the slice satisfying +

    source

    pub fn partition_dedup_by<F>(&mut self, same_bucket: F) -> (&mut [T], &mut [T])where + F: FnMut(&mut T, &mut T) -> bool,

    🔬This is a nightly-only experimental API. (slice_partition_dedup)

    Moves all but the first of consecutive elements to the end of the slice satisfying a given equality relation.

    Returns two slices. The first contains no consecutive repeated elements. The second contains all the duplicates in no specified order.

    @@ -1561,7 +1670,7 @@
    Examples
    from their order in the slice, so if same_bucket(a, b) returns true, a is moved at the end of the slice.

    If the slice is sorted, the first returned slice contains no duplicates.

    -
    Examples
    +
    Examples
    #![feature(slice_partition_dedup)]
     
     let mut slice = ["foo", "Foo", "BAZ", "Bar", "bar", "baz", "BAZ"];
    @@ -1570,14 +1679,14 @@ 
    Examples
    assert_eq!(dedup, ["foo", "BAZ", "Bar", "baz"]); assert_eq!(duplicates, ["bar", "Foo", "BAZ"]);
    -
    source

    pub fn partition_dedup_by_key<K, F>(&mut self, key: F) -> (&mut [T], &mut [T])where - F: FnMut(&mut T) -> K, - K: PartialEq<K>,

    🔬This is a nightly-only experimental API. (slice_partition_dedup)

    Moves all but the first of consecutive elements to the end of the slice that resolve +

    source

    pub fn partition_dedup_by_key<K, F>(&mut self, key: F) -> (&mut [T], &mut [T])where + F: FnMut(&mut T) -> K, + K: PartialEq<K>,

    🔬This is a nightly-only experimental API. (slice_partition_dedup)

    Moves all but the first of consecutive elements to the end of the slice that resolve to the same key.

    Returns two slices. The first contains no consecutive repeated elements. The second contains all the duplicates in no specified order.

    If the slice is sorted, the first returned slice contains no duplicates.

    -
    Examples
    +
    Examples
    #![feature(slice_partition_dedup)]
     
     let mut slice = [10, 20, 21, 30, 30, 20, 11, 13];
    @@ -1586,17 +1695,17 @@ 
    Examples
    assert_eq!(dedup, [10, 20, 30, 20, 11]); assert_eq!(duplicates, [21, 30, 13]);
    -
    1.26.0 · source

    pub fn rotate_left(&mut self, mid: usize)

    Rotates the slice in-place such that the first mid elements of the +

    1.26.0 · source

    pub fn rotate_left(&mut self, mid: usize)

    Rotates the slice in-place such that the first mid elements of the slice move to the end while the last self.len() - mid elements move to the front. After calling rotate_left, the element previously at index mid will become the first element in the slice.

    -
    Panics
    +
    Panics

    This function will panic if mid is greater than the length of the slice. Note that mid == self.len() does not panic and is a no-op rotation.

    Complexity

    Takes linear (in self.len()) time.

    -
    Examples
    +
    Examples
    let mut a = ['a', 'b', 'c', 'd', 'e', 'f'];
     a.rotate_left(2);
     assert_eq!(a, ['c', 'd', 'e', 'f', 'a', 'b']);
    @@ -1605,17 +1714,17 @@
    Examples
    let mut a = ['a', 'b', 'c', 'd', 'e', 'f'];
     a[1..5].rotate_left(1);
     assert_eq!(a, ['a', 'c', 'd', 'e', 'b', 'f']);
    -
    1.26.0 · source

    pub fn rotate_right(&mut self, k: usize)

    Rotates the slice in-place such that the first self.len() - k +

    1.26.0 · source

    pub fn rotate_right(&mut self, k: usize)

    Rotates the slice in-place such that the first self.len() - k elements of the slice move to the end while the last k elements move to the front. After calling rotate_right, the element previously at index self.len() - k will become the first element in the slice.

    -
    Panics
    +
    Panics

    This function will panic if k is greater than the length of the slice. Note that k == self.len() does not panic and is a no-op rotation.

    Complexity

    Takes linear (in self.len()) time.

    -
    Examples
    +
    Examples
    let mut a = ['a', 'b', 'c', 'd', 'e', 'f'];
     a.rotate_right(2);
     assert_eq!(a, ['e', 'f', 'a', 'b', 'c', 'd']);
    @@ -1624,28 +1733,28 @@
    Examples
    let mut a = ['a', 'b', 'c', 'd', 'e', 'f'];
     a[1..5].rotate_right(1);
     assert_eq!(a, ['a', 'e', 'b', 'c', 'd', 'f']);
    -
    1.50.0 · source

    pub fn fill(&mut self, value: T)where - T: Clone,

    Fills self with elements by cloning value.

    -
    Examples
    +
    1.50.0 · source

    pub fn fill(&mut self, value: T)where + T: Clone,

    Fills self with elements by cloning value.

    +
    Examples
    let mut buf = vec![0; 10];
     buf.fill(1);
     assert_eq!(buf, vec![1; 10]);
    -
    1.51.0 · source

    pub fn fill_with<F>(&mut self, f: F)where - F: FnMut() -> T,

    Fills self with elements returned by calling a closure repeatedly.

    +
    1.51.0 · source

    pub fn fill_with<F>(&mut self, f: F)where + F: FnMut() -> T,

    Fills self with elements returned by calling a closure repeatedly.

    This method uses a closure to create new values. If you’d rather -Clone a given value, use fill. If you want to use the Default -trait to generate values, you can pass Default::default as the +Clone a given value, use fill. If you want to use the Default +trait to generate values, you can pass Default::default as the argument.

    -
    Examples
    +
    Examples
    let mut buf = vec![1; 10];
     buf.fill_with(Default::default);
     assert_eq!(buf, vec![0; 10]);
    -
    1.7.0 · source

    pub fn clone_from_slice(&mut self, src: &[T])where - T: Clone,

    Copies the elements from src into self.

    +
    1.7.0 · source

    pub fn clone_from_slice(&mut self, src: &[T])where + T: Clone,

    Copies the elements from src into self.

    The length of src must be the same as self.

    -
    Panics
    +
    Panics

    This function will panic if the two slices have different lengths.

    -
    Examples
    +
    Examples

    Cloning two elements from a slice into another:

    let src = [1, 2, 3, 4];
    @@ -1666,7 +1775,7 @@ 
    Examples
    let mut slice = [1, 2, 3, 4, 5];
     
     slice[..2].clone_from_slice(&slice[3..]); // compile fail!
    -

    To work around this, we can use split_at_mut to create two distinct +

    To work around this, we can use split_at_mut to create two distinct sub-slices from a slice:

    let mut slice = [1, 2, 3, 4, 5];
    @@ -1677,13 +1786,13 @@ 
    Examples
    } assert_eq!(slice, [4, 5, 3, 4, 5]);
    -
    1.9.0 · source

    pub fn copy_from_slice(&mut self, src: &[T])where - T: Copy,

    Copies all elements from src into self, using a memcpy.

    +
    1.9.0 · source

    pub fn copy_from_slice(&mut self, src: &[T])where + T: Copy,

    Copies all elements from src into self, using a memcpy.

    The length of src must be the same as self.

    -

    If T does not implement Copy, use clone_from_slice.

    -
    Panics
    +

    If T does not implement Copy, use clone_from_slice.

    +
    Panics

    This function will panic if the two slices have different lengths.

    -
    Examples
    +
    Examples

    Copying two elements from a slice into another:

    let src = [1, 2, 3, 4];
    @@ -1704,7 +1813,7 @@ 
    Examples
    let mut slice = [1, 2, 3, 4, 5];
     
     slice[..2].copy_from_slice(&slice[3..]); // compile fail!
    -

    To work around this, we can use split_at_mut to create two distinct +

    To work around this, we can use split_at_mut to create two distinct sub-slices from a slice:

    let mut slice = [1, 2, 3, 4, 5];
    @@ -1715,18 +1824,18 @@ 
    Examples
    } assert_eq!(slice, [4, 5, 3, 4, 5]);
    -
    1.37.0 · source

    pub fn copy_within<R>(&mut self, src: R, dest: usize)where - R: RangeBounds<usize>, - T: Copy,

    Copies elements from one part of the slice to another part of itself, +

    1.37.0 · source

    pub fn copy_within<R>(&mut self, src: R, dest: usize)where + R: RangeBounds<usize>, + T: Copy,

    Copies elements from one part of the slice to another part of itself, using a memmove.

    src is the range within self to copy from. dest is the starting index of the range within self to copy to, which will have the same length as src. The two ranges may overlap. The ends of the two ranges must be less than or equal to self.len().

    -
    Panics
    +
    Panics

    This function will panic if either range exceeds the end of the slice, or if the end of src is before the start.

    -
    Examples
    +
    Examples

    Copying four bytes within a slice:

    let mut bytes = *b"Hello, World!";
    @@ -1734,9 +1843,9 @@ 
    Examples
    bytes.copy_within(1..5, 8); assert_eq!(&bytes, b"Hello, Wello!");
    -
    1.27.0 · source

    pub fn swap_with_slice(&mut self, other: &mut [T])

    Swaps all elements in self with those in other.

    +
    1.27.0 · source

    pub fn swap_with_slice(&mut self, other: &mut [T])

    Swaps all elements in self with those in other.

    The length of other must be the same as self.

    -
    Panics
    +
    Panics

    This function will panic if the two slices have different lengths.

    Example

    Swapping two elements across slices:

    @@ -1755,7 +1864,7 @@
    Example
    let mut slice = [1, 2, 3, 4, 5];
     slice[..2].swap_with_slice(&mut slice[3..]); // compile fail!
    -

    To work around this, we can use split_at_mut to create two distinct +

    To work around this, we can use split_at_mut to create two distinct mutable sub-slices from a slice:

    let mut slice = [1, 2, 3, 4, 5];
    @@ -1766,7 +1875,7 @@ 
    Example
    } assert_eq!(slice, [4, 5, 3, 1, 2]);
    -
    1.30.0 · source

    pub unsafe fn align_to<U>(&self) -> (&[T], &[U], &[T])

    Transmute the slice to a slice of another type, ensuring alignment of the types is +

    1.30.0 · source

    pub unsafe fn align_to<U>(&self) -> (&[T], &[U], &[T])

    Transmute the slice to a slice of another type, ensuring alignment of the types is maintained.

    This method splits the slice into three distinct slices: prefix, correctly aligned middle slice of a new type, and the suffix slice. How exactly the slice is split up is not @@ -1776,10 +1885,10 @@

    Example
    in a default (debug or release) execution will return a maximal middle part.

    This method has no purpose when either input element T or output element U are zero-sized and will return the original slice without splitting anything.

    -
    Safety
    +
    Safety

    This method is essentially a transmute with respect to the elements in the returned middle slice, so all the usual caveats pertaining to transmute::<T, U> also apply here.

    -
    Examples
    +
    Examples

    Basic usage:

    unsafe {
    @@ -1789,7 +1898,7 @@ 
    Examples
    // more_efficient_algorithm_for_aligned_shorts(shorts); // less_efficient_algorithm_for_bytes(suffix); }
    -
    1.30.0 · source

    pub unsafe fn align_to_mut<U>(&mut self) -> (&mut [T], &mut [U], &mut [T])

    Transmute the mutable slice to a mutable slice of another type, ensuring alignment of the +

    1.30.0 · source

    pub unsafe fn align_to_mut<U>(&mut self) -> (&mut [T], &mut [U], &mut [T])

    Transmute the mutable slice to a mutable slice of another type, ensuring alignment of the types is maintained.

    This method splits the slice into three distinct slices: prefix, correctly aligned middle slice of a new type, and the suffix slice. How exactly the slice is split up is not @@ -1799,10 +1908,10 @@

    Examples
    in a default (debug or release) execution will return a maximal middle part.

    This method has no purpose when either input element T or output element U are zero-sized and will return the original slice without splitting anything.

    -
    Safety
    +
    Safety

    This method is essentially a transmute with respect to the elements in the returned middle slice, so all the usual caveats pertaining to transmute::<T, U> also apply here.

    -
    Examples
    +
    Examples

    Basic usage:

    unsafe {
    @@ -1812,11 +1921,11 @@ 
    Examples
    // more_efficient_algorithm_for_aligned_shorts(shorts); // less_efficient_algorithm_for_bytes(suffix); }
    -
    source

    pub fn as_simd<const LANES: usize>(&self) -> (&[T], &[Simd<T, LANES>], &[T])where - Simd<T, LANES>: AsRef<[T; LANES]>, - T: SimdElement, - LaneCount<LANES>: SupportedLaneCount,

    🔬This is a nightly-only experimental API. (portable_simd)

    Split a slice into a prefix, a middle of aligned SIMD types, and a suffix.

    -

    This is a safe wrapper around slice::align_to, so has the same weak +

    source

    pub fn as_simd<const LANES: usize>(&self) -> (&[T], &[Simd<T, LANES>], &[T])where + Simd<T, LANES>: AsRef<[T; LANES]>, + T: SimdElement, + LaneCount<LANES>: SupportedLaneCount,

    🔬This is a nightly-only experimental API. (portable_simd)

    Split a slice into a prefix, a middle of aligned SIMD types, and a suffix.

    +

    This is a safe wrapper around slice::align_to, so has the same weak postconditions as that method. You’re only assured that self.len() == prefix.len() + middle.len() * LANES + suffix.len().

    Notably, all of the following are possible:

    @@ -1827,7 +1936,7 @@
    Examples

    That said, this is a safe method, so if you’re only writing safe code, then this can at most cause incorrect logic, not unsoundness.

    -
    Panics
    +
    Panics

    This will panic if the size of the SIMD type is different from LANES times that of the scalar.

    At the time of writing, the trait restrictions on Simd<T, LANES> keeps @@ -1835,7 +1944,7 @@

    Panics
    supported. It’s possible that, in the future, those restrictions might be lifted in a way that would make it possible to see panics from this method for something like LANES == 3.

    -
    Examples
    +
    Examples
    #![feature(portable_simd)]
     use core::simd::SimdFloat;
     
    @@ -1863,14 +1972,14 @@ 
    Examples
    let numbers: Vec<f32> = (1..101).map(|x| x as _).collect(); assert_eq!(basic_simd_sum(&numbers[1..99]), 4949.0);
    -
    source

    pub fn as_simd_mut<const LANES: usize>( +

    source

    pub fn as_simd_mut<const LANES: usize>( &mut self -) -> (&mut [T], &mut [Simd<T, LANES>], &mut [T])where - Simd<T, LANES>: AsMut<[T; LANES]>, - T: SimdElement, - LaneCount<LANES>: SupportedLaneCount,

    🔬This is a nightly-only experimental API. (portable_simd)

    Split a mutable slice into a mutable prefix, a middle of aligned SIMD types, +) -> (&mut [T], &mut [Simd<T, LANES>], &mut [T])where + Simd<T, LANES>: AsMut<[T; LANES]>, + T: SimdElement, + LaneCount<LANES>: SupportedLaneCount,

    🔬This is a nightly-only experimental API. (portable_simd)

    Split a mutable slice into a mutable prefix, a middle of aligned SIMD types, and a mutable suffix.

    -

    This is a safe wrapper around slice::align_to_mut, so has the same weak +

    This is a safe wrapper around slice::align_to_mut, so has the same weak postconditions as that method. You’re only assured that self.len() == prefix.len() + middle.len() * LANES + suffix.len().

    Notably, all of the following are possible:

    @@ -1881,8 +1990,8 @@
    Examples

    That said, this is a safe method, so if you’re only writing safe code, then this can at most cause incorrect logic, not unsoundness.

    -

    This is the mutable version of slice::as_simd; see that for examples.

    -
    Panics
    +

    This is the mutable version of slice::as_simd; see that for examples.

    +
    Panics

    This will panic if the size of the SIMD type is different from LANES times that of the scalar.

    At the time of writing, the trait restrictions on Simd<T, LANES> keeps @@ -1890,14 +1999,14 @@

    Panics
    supported. It’s possible that, in the future, those restrictions might be lifted in a way that would make it possible to see panics from this method for something like LANES == 3.

    -
    source

    pub fn is_sorted(&self) -> boolwhere - T: PartialOrd<T>,

    🔬This is a nightly-only experimental API. (is_sorted)

    Checks if the elements of this slice are sorted.

    +
    source

    pub fn is_sorted(&self) -> boolwhere + T: PartialOrd<T>,

    🔬This is a nightly-only experimental API. (is_sorted)

    Checks if the elements of this slice are sorted.

    That is, for each element a and its following element b, a <= b must hold. If the slice yields exactly zero or one element, true is returned.

    Note that if Self::Item is only PartialOrd, but not Ord, the above definition implies that this function returns false if any two consecutive items are not comparable.

    -
    Examples
    +
    Examples
    #![feature(is_sorted)]
     let empty: [i32; 0] = [];
     
    @@ -1906,24 +2015,24 @@ 
    Examples
    assert!([0].is_sorted()); assert!(empty.is_sorted()); assert!(![0.0, 1.0, f32::NAN].is_sorted());
    -
    source

    pub fn is_sorted_by<'a, F>(&'a self, compare: F) -> boolwhere - F: FnMut(&'a T, &'a T) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (is_sorted)

    Checks if the elements of this slice are sorted using the given comparator function.

    +
    source

    pub fn is_sorted_by<'a, F>(&'a self, compare: F) -> boolwhere + F: FnMut(&'a T, &'a T) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (is_sorted)

    Checks if the elements of this slice are sorted using the given comparator function.

    Instead of using PartialOrd::partial_cmp, this function uses the given compare function to determine the ordering of two elements. Apart from that, it’s equivalent to -is_sorted; see its documentation for more information.

    -
    source

    pub fn is_sorted_by_key<'a, F, K>(&'a self, f: F) -> boolwhere - F: FnMut(&'a T) -> K, - K: PartialOrd<K>,

    🔬This is a nightly-only experimental API. (is_sorted)

    Checks if the elements of this slice are sorted using the given key extraction function.

    +is_sorted; see its documentation for more information.

    +
    source

    pub fn is_sorted_by_key<'a, F, K>(&'a self, f: F) -> boolwhere + F: FnMut(&'a T) -> K, + K: PartialOrd<K>,

    🔬This is a nightly-only experimental API. (is_sorted)

    Checks if the elements of this slice are sorted using the given key extraction function.

    Instead of comparing the slice’s elements directly, this function compares the keys of the -elements, as determined by f. Apart from that, it’s equivalent to is_sorted; see its +elements, as determined by f. Apart from that, it’s equivalent to is_sorted; see its documentation for more information.

    -
    Examples
    +
    Examples
    #![feature(is_sorted)]
     
     assert!(["c", "bb", "aaa"].is_sorted_by_key(|s| s.len()));
     assert!(![-2i32, -1, 0, 3].is_sorted_by_key(|n| n.abs()));
    -
    1.52.0 · source

    pub fn partition_point<P>(&self, pred: P) -> usizewhere - P: FnMut(&T) -> bool,

    Returns the index of the partition point according to the given predicate +

    1.52.0 · source

    pub fn partition_point<P>(&self, pred: P) -> usizewhere + P: FnMut(&T) -> bool,

    Returns the index of the partition point according to the given predicate (the index of the first element of the second partition).

    The slice is assumed to be partitioned according to the given predicate. This means that all elements for which the predicate returns true are at the start of the slice @@ -1932,8 +2041,8 @@

    Examples
    (all odd numbers are at the start, all even at the end).

    If this slice is not partitioned, the returned result is unspecified and meaningless, as this method performs a kind of binary search.

    -

    See also binary_search, binary_search_by, and binary_search_by_key.

    -
    Examples
    +

    See also binary_search, binary_search_by, and binary_search_by_key.

    +
    Examples
    let v = [1, 2, 3, 3, 5, 6, 7];
     let i = v.partition_point(|&x| x < 5);
     
    @@ -1955,14 +2064,14 @@ 
    Examples
    let idx = s.partition_point(|&x| x < num); s.insert(idx, num); assert_eq!(s, [0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 42, 55]);
    -
    source

    pub fn take<R, 'a>(self: &mut &'a [T], range: R) -> Option<&'a [T]>where - R: OneSidedRange<usize>,

    🔬This is a nightly-only experimental API. (slice_take)

    Removes the subslice corresponding to the given range +

    source

    pub fn take<R, 'a>(self: &mut &'a [T], range: R) -> Option<&'a [T]>where + R: OneSidedRange<usize>,

    🔬This is a nightly-only experimental API. (slice_take)

    Removes the subslice corresponding to the given range and returns a reference to it.

    Returns None and does not modify the slice if the given range is out of bounds.

    Note that this method only accepts one-sided ranges such as 2.. or ..6, but not 2..6.

    -
    Examples
    +
    Examples

    Taking the first three elements of a slice:

    #![feature(slice_take)]
    @@ -1992,14 +2101,14 @@ 
    Examples
    assert_eq!(None, slice.take(..=4)); let expected: &[char] = &['a', 'b', 'c', 'd']; assert_eq!(Some(expected), slice.take(..4));
    -
    source

    pub fn take_mut<R, 'a>(self: &mut &'a mut [T], range: R) -> Option<&'a mut [T]>where - R: OneSidedRange<usize>,

    🔬This is a nightly-only experimental API. (slice_take)

    Removes the subslice corresponding to the given range +

    source

    pub fn take_mut<R, 'a>(self: &mut &'a mut [T], range: R) -> Option<&'a mut [T]>where + R: OneSidedRange<usize>,

    🔬This is a nightly-only experimental API. (slice_take)

    Removes the subslice corresponding to the given range and returns a mutable reference to it.

    Returns None and does not modify the slice if the given range is out of bounds.

    Note that this method only accepts one-sided ranges such as 2.. or ..6, but not 2..6.

    -
    Examples
    +
    Examples

    Taking the first three elements of a slice:

    #![feature(slice_take)]
    @@ -2029,10 +2138,10 @@ 
    Examples
    assert_eq!(None, slice.take_mut(..=4)); let expected: &mut [_] = &mut ['a', 'b', 'c', 'd']; assert_eq!(Some(expected), slice.take_mut(..4));
    -
    source

    pub fn take_first<'a>(self: &mut &'a [T]) -> Option<&'a T>

    🔬This is a nightly-only experimental API. (slice_take)

    Removes the first element of the slice and returns a reference +

    source

    pub fn take_first<'a>(self: &mut &'a [T]) -> Option<&'a T>

    🔬This is a nightly-only experimental API. (slice_take)

    Removes the first element of the slice and returns a reference to it.

    Returns None if the slice is empty.

    -
    Examples
    +
    Examples
    #![feature(slice_take)]
     
     let mut slice: &[_] = &['a', 'b', 'c'];
    @@ -2040,10 +2149,10 @@ 
    Examples
    assert_eq!(slice, &['b', 'c']); assert_eq!(first, &'a');
    -
    source

    pub fn take_first_mut<'a>(self: &mut &'a mut [T]) -> Option<&'a mut T>

    🔬This is a nightly-only experimental API. (slice_take)

    Removes the first element of the slice and returns a mutable +

    source

    pub fn take_first_mut<'a>(self: &mut &'a mut [T]) -> Option<&'a mut T>

    🔬This is a nightly-only experimental API. (slice_take)

    Removes the first element of the slice and returns a mutable reference to it.

    Returns None if the slice is empty.

    -
    Examples
    +
    Examples
    #![feature(slice_take)]
     
     let mut slice: &mut [_] = &mut ['a', 'b', 'c'];
    @@ -2052,10 +2161,10 @@ 
    Examples
    assert_eq!(slice, &['b', 'c']); assert_eq!(first, &'d');
    -
    source

    pub fn take_last<'a>(self: &mut &'a [T]) -> Option<&'a T>

    🔬This is a nightly-only experimental API. (slice_take)

    Removes the last element of the slice and returns a reference +

    source

    pub fn take_last<'a>(self: &mut &'a [T]) -> Option<&'a T>

    🔬This is a nightly-only experimental API. (slice_take)

    Removes the last element of the slice and returns a reference to it.

    Returns None if the slice is empty.

    -
    Examples
    +
    Examples
    #![feature(slice_take)]
     
     let mut slice: &[_] = &['a', 'b', 'c'];
    @@ -2063,10 +2172,10 @@ 
    Examples
    assert_eq!(slice, &['a', 'b']); assert_eq!(last, &'c');
    -
    source

    pub fn take_last_mut<'a>(self: &mut &'a mut [T]) -> Option<&'a mut T>

    🔬This is a nightly-only experimental API. (slice_take)

    Removes the last element of the slice and returns a mutable +

    source

    pub fn take_last_mut<'a>(self: &mut &'a mut [T]) -> Option<&'a mut T>

    🔬This is a nightly-only experimental API. (slice_take)

    Removes the last element of the slice and returns a mutable reference to it.

    Returns None if the slice is empty.

    -
    Examples
    +
    Examples
    #![feature(slice_take)]
     
     let mut slice: &mut [_] = &mut ['a', 'b', 'c'];
    @@ -2075,15 +2184,15 @@ 
    Examples
    assert_eq!(slice, &['a', 'b']); assert_eq!(last, &'d');
    -
    source

    pub unsafe fn get_many_unchecked_mut<const N: usize>( +

    source

    pub unsafe fn get_many_unchecked_mut<const N: usize>( &mut self, - indices: [usize; N] -) -> [&mut T; N]

    🔬This is a nightly-only experimental API. (get_many_mut)

    Returns mutable references to many indices at once, without doing any checks.

    -

    For a safe alternative see get_many_mut.

    -
    Safety
    + indices: [usize; N] +) -> [&mut T; N]
    🔬This is a nightly-only experimental API. (get_many_mut)

    Returns mutable references to many indices at once, without doing any checks.

    +

    For a safe alternative see get_many_mut.

    +
    Safety

    Calling this method with overlapping or out-of-bounds indices is undefined behavior even if the resulting references are not used.

    -
    Examples
    +
    Examples
    #![feature(get_many_mut)]
     
     let x = &mut [1, 2, 4];
    @@ -2094,13 +2203,13 @@ 
    Examples
    *b *= 100; } assert_eq!(x, &[10, 2, 400]);
    -
    source

    pub fn get_many_mut<const N: usize>( +

    source

    pub fn get_many_mut<const N: usize>( &mut self, - indices: [usize; N] -) -> Result<[&mut T; N], GetManyMutError<N>>

    🔬This is a nightly-only experimental API. (get_many_mut)

    Returns mutable references to many indices at once.

    + indices: [usize; N] +) -> Result<[&mut T; N], GetManyMutError<N>>
    🔬This is a nightly-only experimental API. (get_many_mut)

    Returns mutable references to many indices at once.

    Returns an error if any index is out-of-bounds, or if the same index was passed more than once.

    -
    Examples
    +
    Examples
    #![feature(get_many_mut)]
     
     let v = &mut [1, 2, 3];
    @@ -2109,121 +2218,22 @@ 
    Examples
    *b = 612; } assert_eq!(v, &[413, 2, 612]);
    -
    source

    pub fn sort_floats(&mut self)

    🔬This is a nightly-only experimental API. (sort_floats)

    Sorts the slice of floats.

    -

    This sort is in-place (i.e. does not allocate), O(n * log(n)) worst-case, and uses -the ordering defined by f64::total_cmp.

    -
    Current implementation
    -

    This uses the same sorting algorithm as sort_unstable_by.

    -
    Examples
    -
    #![feature(sort_floats)]
    -let mut v = [2.6, -5e-8, f64::NAN, 8.29, f64::INFINITY, -1.0, 0.0, -f64::INFINITY, -0.0];
    -
    -v.sort_floats();
    -let sorted = [-f64::INFINITY, -1.0, -5e-8, -0.0, 0.0, 2.6, 8.29, f64::INFINITY, f64::NAN];
    -assert_eq!(&v[..8], &sorted[..8]);
    -assert!(v[8].is_nan());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all bytes in this slice are within the ASCII range.

    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this slice is_ascii, returns it as a slice of -ASCII characters, otherwise returns None.

    -
    source

    pub unsafe fn as_ascii_unchecked(&self) -> &[AsciiChar]

    🔬This is a nightly-only experimental API. (ascii_char)

    Converts this slice of bytes into a slice of ASCII characters, -without checking whether they’re valid.

    -
    Safety
    -

    Every byte in the slice must be in 0..=127, or else this is UB.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &[u8]) -> bool

    Checks that two slices are an ASCII case-insensitive match.

    -

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), -but without allocating and copying temporaries.

    -
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this slice to its ASCII upper case equivalent in-place.

    +
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> Vec<u8, Global>

    Returns a vector containing a copy of this slice where each byte +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 return a new uppercased value without modifying the existing one, use -to_ascii_uppercase.

    -
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this slice to its ASCII lower case equivalent in-place.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    +
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> Vec<u8, Global>

    Returns a vector containing a copy of this slice where each byte +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 return a new lowercased value without modifying the existing one, use -to_ascii_lowercase.

    -
    1.60.0 · source

    pub fn escape_ascii(&self) -> EscapeAscii<'_>

    Returns an iterator that produces an escaped version of this slice, -treating it as an ASCII string.

    -
    Examples
    -
    
    -let s = b"0\t\r\n'\"\\\x9d";
    -let escaped = s.escape_ascii().to_string();
    -assert_eq!(escaped, "0\\t\\r\\n\\'\\\"\\\\\\x9d");
    -
    source

    pub fn trim_ascii_start(&self) -> &[u8]

    🔬This is a nightly-only experimental API. (byte_slice_trim_ascii)

    Returns a byte slice with leading ASCII whitespace bytes removed.

    -

    ‘Whitespace’ refers to the definition used by -u8::is_ascii_whitespace.

    -
    Examples
    -
    #![feature(byte_slice_trim_ascii)]
    -
    -assert_eq!(b" \t hello world\n".trim_ascii_start(), b"hello world\n");
    -assert_eq!(b"  ".trim_ascii_start(), b"");
    -assert_eq!(b"".trim_ascii_start(), b"");
    -
    source

    pub fn trim_ascii_end(&self) -> &[u8]

    🔬This is a nightly-only experimental API. (byte_slice_trim_ascii)

    Returns a byte slice with trailing ASCII whitespace bytes removed.

    -

    ‘Whitespace’ refers to the definition used by -u8::is_ascii_whitespace.

    -
    Examples
    -
    #![feature(byte_slice_trim_ascii)]
    -
    -assert_eq!(b"\r hello world\n ".trim_ascii_end(), b"\r hello world");
    -assert_eq!(b"  ".trim_ascii_end(), b"");
    -assert_eq!(b"".trim_ascii_end(), b"");
    -
    source

    pub fn trim_ascii(&self) -> &[u8]

    🔬This is a nightly-only experimental API. (byte_slice_trim_ascii)

    Returns a byte slice with leading and trailing ASCII whitespace bytes -removed.

    -

    ‘Whitespace’ refers to the definition used by -u8::is_ascii_whitespace.

    -
    Examples
    -
    #![feature(byte_slice_trim_ascii)]
    -
    -assert_eq!(b"\r hello world\n ".trim_ascii(), b"hello world");
    -assert_eq!(b"  ".trim_ascii(), b"");
    -assert_eq!(b"".trim_ascii(), b"");
    -
    source

    pub fn flatten(&self) -> &[T]

    🔬This is a nightly-only experimental API. (slice_flatten)

    Takes a &[[T; N]], and flattens it to a &[T].

    -
    Panics
    -

    This panics if the length of the resulting slice would overflow a usize.

    -

    This is only possible when flattening a slice of arrays of zero-sized -types, and thus tends to be irrelevant in practice. If -size_of::<T>() > 0, this will never panic.

    -
    Examples
    -
    #![feature(slice_flatten)]
    -
    -assert_eq!([[1, 2, 3], [4, 5, 6]].flatten(), &[1, 2, 3, 4, 5, 6]);
    -
    -assert_eq!(
    -    [[1, 2, 3], [4, 5, 6]].flatten(),
    -    [[1, 2], [3, 4], [5, 6]].flatten(),
    -);
    -
    -let slice_of_empty_arrays: &[[i32; 0]] = &[[], [], [], [], []];
    -assert!(slice_of_empty_arrays.flatten().is_empty());
    -
    -let empty_slice_of_arrays: &[[u32; 10]] = &[];
    -assert!(empty_slice_of_arrays.flatten().is_empty());
    -
    source

    pub fn flatten_mut(&mut self) -> &mut [T]

    🔬This is a nightly-only experimental API. (slice_flatten)

    Takes a &mut [[T; N]], and flattens it to a &mut [T].

    -
    Panics
    -

    This panics if the length of the resulting slice would overflow a usize.

    -

    This is only possible when flattening a slice of arrays of zero-sized -types, and thus tends to be irrelevant in practice. If -size_of::<T>() > 0, this will never panic.

    -
    Examples
    -
    #![feature(slice_flatten)]
    -
    -fn add_5_to_all(slice: &mut [i32]) {
    -    for i in slice {
    -        *i += 5;
    -    }
    -}
    -
    -let mut array = [[1, 2, 3], [4, 5, 6], [7, 8, 9]];
    -add_5_to_all(array.flatten_mut());
    -assert_eq!(array, [[6, 7, 8], [9, 10, 11], [12, 13, 14]]);
    -
    source

    pub fn as_str(&self) -> &str

    🔬This is a nightly-only experimental API. (ascii_char)

    Views this slice of ASCII characters as a UTF-8 str.

    -
    source

    pub fn as_bytes(&self) -> &[u8]

    🔬This is a nightly-only experimental API. (ascii_char)

    Views this slice of ASCII characters as a slice of u8 bytes.

    -
    1.0.0 · source

    pub fn sort(&mut self)where - T: Ord,

    Sorts the slice.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    +
    1.0.0 · source

    pub fn sort(&mut self)where + T: Ord,

    Sorts the slice.

    This sort is stable (i.e., does not reorder equal elements) and O(n * log(n)) worst-case.

    When applicable, unstable sorting is preferred because it is generally faster than stable sorting and it doesn’t allocate auxiliary memory. -See sort_unstable.

    +See sort_unstable.

    Current implementation

    The current algorithm is an adaptive, iterative merge sort inspired by timsort. @@ -2236,8 +2246,8 @@

    Examples
    v.sort(); assert!(v == [-5, -3, 1, 2, 4]);
    -
    1.0.0 · source

    pub fn sort_by<F>(&mut self, compare: F)where - F: FnMut(&T, &T) -> Ordering,

    Sorts the slice with a comparator function.

    +
    1.0.0 · source

    pub fn sort_by<F>(&mut self, compare: F)where + F: FnMut(&T, &T) -> Ordering,

    Sorts the slice with a comparator function.

    This sort is stable (i.e., does not reorder equal elements) and O(n * log(n)) worst-case.

    The comparator function must define a total ordering for the elements in the slice. If the ordering is not total, the order of the elements is unspecified. An order is a @@ -2246,7 +2256,7 @@

    Examples
  • total and antisymmetric: exactly one of a < b, a == b or a > b is true, and
  • transitive, a < b and b < c implies a < c. The same must hold for both == and >.
  • -

    For example, while f64 doesn’t implement Ord because NaN != NaN, we can use +

    For example, while f64 doesn’t implement Ord because NaN != NaN, we can use partial_cmp as our sort function when we know the slice doesn’t contain a NaN.

    let mut floats = [5f64, 4.0, 1.0, 3.0, 2.0];
    @@ -2254,7 +2264,7 @@ 
    Examples
    assert_eq!(floats, [1.0, 2.0, 3.0, 4.0, 5.0]);

    When applicable, unstable sorting is preferred because it is generally faster than stable sorting and it doesn’t allocate auxiliary memory. -See sort_unstable_by.

    +See sort_unstable_by.

    Current implementation

    The current algorithm is an adaptive, iterative merge sort inspired by timsort. @@ -2270,17 +2280,17 @@

    Examples
    // reverse sorting v.sort_by(|a, b| b.cmp(a)); assert!(v == [5, 4, 3, 2, 1]);
    -
    1.7.0 · source

    pub fn sort_by_key<K, F>(&mut self, f: F)where - F: FnMut(&T) -> K, - K: Ord,

    Sorts the slice with a key extraction function.

    +
    1.7.0 · source

    pub fn sort_by_key<K, F>(&mut self, f: F)where + F: FnMut(&T) -> K, + K: Ord,

    Sorts the slice with a key extraction function.

    This sort is stable (i.e., does not reorder equal elements) and O(m * n * log(n)) worst-case, where the key function is O(m).

    For expensive key functions (e.g. functions that are not simple property accesses or -basic operations), sort_by_cached_key is likely to be +basic operations), sort_by_cached_key is likely to be significantly faster, as it does not recompute element keys.

    When applicable, unstable sorting is preferred because it is generally faster than stable sorting and it doesn’t allocate auxiliary memory. -See sort_unstable_by_key.

    +See sort_unstable_by_key.

    Current implementation

    The current algorithm is an adaptive, iterative merge sort inspired by timsort. @@ -2293,9 +2303,9 @@

    Examples
    v.sort_by_key(|k| k.abs()); assert!(v == [1, 2, -3, 4, -5]);
    -
    1.34.0 · source

    pub fn sort_by_cached_key<K, F>(&mut self, f: F)where - F: FnMut(&T) -> K, - K: Ord,

    Sorts the slice with a key extraction function.

    +
    1.34.0 · source

    pub fn sort_by_cached_key<K, F>(&mut self, f: F)where + F: FnMut(&T) -> K, + K: Ord,

    Sorts the slice with a key extraction function.

    During sorting, the key function is called at most once per element, by using temporary storage to remember the results of key evaluation. The order of calls to the key function is unspecified and may change in future versions @@ -2303,7 +2313,7 @@

    Examples

    This sort is stable (i.e., does not reorder equal elements) and O(m * n + n * log(n)) worst-case, where the key function is O(m).

    For simple key functions (e.g., functions that are property accesses or -basic operations), sort_by_key is likely to be +basic operations), sort_by_key is likely to be faster.

    Current implementation

    The current algorithm is based on pattern-defeating quicksort by Orson Peters, @@ -2318,15 +2328,15 @@

    Examples
    v.sort_by_cached_key(|k| k.to_string()); assert!(v == [-3, -5, 2, 32, 4]);
    -
    1.0.0 · source

    pub fn to_vec(&self) -> Vec<T, Global>where - T: Clone,

    Copies self into a new Vec.

    +
    1.0.0 · source

    pub fn to_vec(&self) -> Vec<T, Global>where + T: Clone,

    Copies self into a new Vec.

    Examples
    let s = [10, 40, 30];
     let x = s.to_vec();
     // Here, `s` and `x` can be modified independently.
    -
    source

    pub fn to_vec_in<A>(&self, alloc: A) -> Vec<T, A>where - A: Allocator, - T: Clone,

    🔬This is a nightly-only experimental API. (allocator_api)

    Copies self into a new Vec with an allocator.

    +
    source

    pub fn to_vec_in<A>(&self, alloc: A) -> Vec<T, A>where + A: Allocator, + T: Clone,

    🔬This is a nightly-only experimental API. (allocator_api)

    Copies self into a new Vec with an allocator.

    Examples
    #![feature(allocator_api)]
     
    @@ -2335,8 +2345,8 @@ 
    Examples
    let s = [10, 40, 30]; let x = s.to_vec_in(System); // Here, `s` and `x` can be modified independently.
    -
    1.40.0 · source

    pub fn repeat(&self, n: usize) -> Vec<T, Global>where - T: Copy,

    Creates a vector by copying a slice n times.

    +
    1.40.0 · source

    pub fn repeat(&self, n: usize) -> Vec<T, Global>where + T: Copy,

    Creates a vector by copying a slice n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -2347,64 +2357,54 @@
    Examples
    // this will panic at runtime
     b"0123456789abcdef".repeat(usize::MAX);
    -
    1.0.0 · source

    pub fn concat<Item>(&self) -> <[T] as Concat<Item>>::Output where - [T]: Concat<Item>, - Item: ?Sized,

    Flattens a slice of T into a single value Self::Output.

    +
    1.0.0 · source

    pub fn concat<Item>(&self) -> <[T] as Concat<Item>>::Output where + [T]: Concat<Item>, + Item: ?Sized,

    Flattens a slice of T into a single value Self::Output.

    Examples
    assert_eq!(["hello", "world"].concat(), "helloworld");
     assert_eq!([[1, 2], [3, 4]].concat(), [1, 2, 3, 4]);
    -
    1.3.0 · source

    pub fn join<Separator>( +

    1.3.0 · source

    pub fn join<Separator>( &self, sep: Separator -) -> <[T] as Join<Separator>>::Output where - [T]: Join<Separator>,

    Flattens a slice of T into a single value Self::Output, placing a +) -> <[T] as Join<Separator>>::Output where + [T]: Join<Separator>,

    Flattens a slice of T into a single value Self::Output, placing a given separator between each.

    Examples
    assert_eq!(["hello", "world"].join(" "), "hello world");
     assert_eq!([[1, 2], [3, 4]].join(&0), [1, 2, 0, 3, 4]);
     assert_eq!([[1, 2], [3, 4]].join(&[0, 0][..]), [1, 2, 0, 0, 3, 4]);
    -
    1.0.0 · source

    pub fn connect<Separator>( +

    1.0.0 · source

    pub fn connect<Separator>( &self, sep: Separator -) -> <[T] as Join<Separator>>::Output where - [T]: Join<Separator>,

    👎Deprecated since 1.3.0: renamed to join

    Flattens a slice of T into a single value Self::Output, placing a +) -> <[T] as Join<Separator>>::Output where + [T]: Join<Separator>,

    👎Deprecated since 1.3.0: renamed to join

    Flattens a slice of T into a single value Self::Output, placing a given separator between each.

    Examples
    assert_eq!(["hello", "world"].connect(" "), "hello world");
     assert_eq!([[1, 2], [3, 4]].connect(&0), [1, 2, 0, 3, 4]);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> Vec<u8, Global>

    Returns a vector containing a copy of this slice where each byte -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.

    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> Vec<u8, Global>

    Returns a vector containing a copy of this slice where each byte -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.

    -

    Trait Implementations§

    source§

    impl Clone for Tuple

    source§

    fn clone(&self) -> Tuple

    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 Tuple

    source§

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

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

    impl Deref for Tuple

    §

    type Target = Vec<Type, Global>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'de> Deserialize<'de> for Tuple

    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 Tuple

    source§

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

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

    impl Hash for Tuple

    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<Tuple> for Tuple

    source§

    fn eq(&self, other: &Tuple) -> 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 Tuple

    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 Tuple

    source§

    impl StructuralEq for Tuple

    source§

    impl StructuralPartialEq for Tuple

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Tuple

    §

    impl Send for Tuple

    §

    impl Sync for Tuple

    §

    impl Unpin for Tuple

    §

    impl UnwindSafe for Tuple

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> 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 Tuple

    source§

    fn clone(&self) -> Tuple

    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 Tuple

    source§

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

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

    impl Deref for Tuple

    §

    type Target = Vec<Type, Global>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'de> Deserialize<'de> for Tuple

    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 Tuple

    source§

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

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

    impl Hash for Tuple

    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<Tuple> for Tuple

    source§

    fn eq(&self, other: &Tuple) -> 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 Tuple

    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 Tuple

    source§

    impl StructuralEq for Tuple

    source§

    impl StructuralPartialEq for Tuple

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Tuple

    §

    impl Send for Tuple

    §

    impl Sync for Tuple

    §

    impl Unpin for Tuple

    §

    impl UnwindSafe for Tuple

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> 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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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 39aa5f267d..fa3a4d7532 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<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).

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

    -
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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 = mem::align_of::<T>()

    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 3a8e4822d2..c867930905 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 673550fad6..dfcd349580 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<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).

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

    -
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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 = mem::align_of::<T>()

    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 4c697b46c0..6808484cd9 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 50f759727e..c6c5aed1be 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 7792d64cd0..822bdfdb22 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 4866dc0e44..adc17e9371 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 a30fd61f49..5435fb979c 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 cfe1294a3d..4712f53e88 100644 --- a/leo_compiler/compiler/struct.Ast.html +++ b/leo_compiler/compiler/struct.Ast.html @@ -1,42 +1,42 @@ -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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_compiler/compiler/struct.Compiler.html b/leo_compiler/compiler/struct.Compiler.html index 16d25d414f..7b9d8a32c5 100644 --- a/leo_compiler/compiler/struct.Compiler.html +++ b/leo_compiler/compiler/struct.Compiler.html @@ -1,41 +1,41 @@ -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,
     }
    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.

    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, @@ -48,31 +48,31 @@

    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 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 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.

    -

    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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    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.

    +

    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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_compiler/compiler/struct.InputAst.html b/leo_compiler/compiler/struct.InputAst.html index e3ec122d02..44fe57c1b1 100644 --- a/leo_compiler/compiler/struct.InputAst.html +++ b/leo_compiler/compiler/struct.InputAst.html @@ -1,47 +1,47 @@ -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, Global>,
     }
    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, Global>

    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, 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.

    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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    + 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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    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 e1bd117be3..0f0a3fbdbc 100644 --- a/leo_compiler/compiler/struct.SymbolTable.html +++ b/leo_compiler/compiler/struct.SymbolTable.html @@ -1,62 +1,62 @@ -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, 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. This field is populated at a first pass.

    -
    §structs: IndexMap<Symbol, Struct, RandomState>

    Maps struct names to struct definitions. +

    §structs: IndexMap<Symbol, Struct, RandomState>

    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§

    §

    impl SymbolTable

    pub fn check_shadowing( +

    §variables: IndexMap<Symbol, VariableSymbol, RandomState>§scope_index: usize§scopes: Vec<RefCell<SymbolTable>, Global>

    Implementations§

    §

    impl SymbolTable

    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.

    -

    pub fn scope_index(&mut self) -> usize

    Returns the current scope index. +

    pub fn scope_index(&mut self) -> usize

    Returns the current scope index. Increments the scope index.

    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.

    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.

    pub fn insert_variable( &mut self, symbol: Symbol, insert: VariableSymbol -) -> Result<(), LeoError>

    Inserts a variable into the symbol table.

    -

    pub fn insert_block(&mut self) -> usize

    Creates a new scope for the block and stores it in the symbol table.

    -

    pub fn lookup_fn_symbol(&self, symbol: Symbol) -> Option<&FunctionSymbol>

    Attempts to lookup a function in the symbol table.

    -

    pub fn lookup_struct(&self, symbol: Symbol) -> Option<&Struct>

    Attempts to lookup a struct in the symbol table.

    -

    pub fn lookup_variable(&self, symbol: Symbol) -> Option<&VariableSymbol>

    Attempts to lookup a variable in the symbol table.

    -

    pub fn variable_in_local_scope(&self, symbol: Symbol) -> bool

    Returns true if the variable exists in the local scope

    -

    pub fn variable_in_parent_scope(&self, symbol: Symbol) -> bool

    Returns true if the variable exists in any parent scope

    +) -> Result<(), LeoError>

    Inserts a variable into the symbol table.

    +

    pub fn insert_block(&mut self) -> usize

    Creates a new scope for the block and stores it in the symbol table.

    +

    pub fn lookup_fn_symbol(&self, symbol: Symbol) -> Option<&FunctionSymbol>

    Attempts to lookup a function in the symbol table.

    +

    pub fn lookup_struct(&self, symbol: Symbol) -> Option<&Struct>

    Attempts to lookup a struct in the symbol table.

    +

    pub fn lookup_variable(&self, symbol: Symbol) -> Option<&VariableSymbol>

    Attempts to lookup a variable in the symbol table.

    +

    pub fn variable_in_local_scope(&self, symbol: Symbol) -> bool

    Returns true if the variable exists in the local scope

    +

    pub fn variable_in_parent_scope(&self, symbol: Symbol) -> bool

    Returns true if the variable exists in any parent scope

    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.

    -

    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.

    +

    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.

    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.

    -

    Trait Implementations§

    §

    impl Clone for SymbolTable

    §

    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
    §

    impl Debug for SymbolTable

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for SymbolTable

    §

    fn default() -> SymbolTable

    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).

    + index: usize +) -> Option<&RefCell<SymbolTable>>

    Returns the scope associated with index, if it exists in the symbol table.

    +

    Trait Implementations§

    §

    impl Clone for SymbolTable

    §

    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
    §

    impl Debug for SymbolTable

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for SymbolTable

    §

    fn default() -> SymbolTable

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_compiler/index.html b/leo_compiler/index.html index 6e05b4ccae..b58883c591 100644 --- a/leo_compiler/index.html +++ b/leo_compiler/index.html @@ -1,4 +1,4 @@ -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 f34cf980d4..1b2b1ab587 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 2527aef8e1..bba636d1ca 100644 --- a/leo_compiler/options/struct.BuildOptions.html +++ b/leo_compiler/options/struct.BuildOptions.html @@ -1,16 +1,16 @@ -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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_compiler/options/struct.CompilerOptions.html b/leo_compiler/options/struct.CompilerOptions.html index 20c2af82fa..ca5ee2e247 100644 --- a/leo_compiler/options/struct.CompilerOptions.html +++ b/leo_compiler/options/struct.CompilerOptions.html @@ -1,18 +1,18 @@ -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.

    -
    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 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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_compiler/options/struct.OutputOptions.html b/leo_compiler/options/struct.OutputOptions.html index 30ec63017d..2df03f583d 100644 --- a/leo_compiler/options/struct.OutputOptions.html +++ b/leo_compiler/options/struct.OutputOptions.html @@ -1,30 +1,30 @@ -OutputOptions in leo_compiler::options - Rust
    pub struct OutputOptions {
    -    pub 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 inlined_ast: bool,
    -    pub dce_ast: bool,
    -}

    Fields§

    §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.

    -
    §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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +OutputOptions in leo_compiler::options - Rust
    pub struct OutputOptions {
    +    pub 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 inlined_ast: bool,
    +    pub dce_ast: bool,
    +}

    Fields§

    §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.

    +
    §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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_compiler/struct.Ast.html b/leo_compiler/struct.Ast.html index aef1131156..71d63e6897 100644 --- a/leo_compiler/struct.Ast.html +++ b/leo_compiler/struct.Ast.html @@ -1,42 +1,42 @@ -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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_compiler/struct.BuildOptions.html b/leo_compiler/struct.BuildOptions.html index 7cd9d37be1..496865163b 100644 --- a/leo_compiler/struct.BuildOptions.html +++ b/leo_compiler/struct.BuildOptions.html @@ -1,16 +1,16 @@ -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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_compiler/struct.Compiler.html b/leo_compiler/struct.Compiler.html index 1aabbc47dd..c2228b725d 100644 --- a/leo_compiler/struct.Compiler.html +++ b/leo_compiler/struct.Compiler.html @@ -1,41 +1,41 @@ -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,
     }
    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.

    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, @@ -48,31 +48,31 @@

    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 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 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.

    -

    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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    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.

    +

    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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_compiler/struct.CompilerOptions.html b/leo_compiler/struct.CompilerOptions.html index a981eafec8..081ea0c7d9 100644 --- a/leo_compiler/struct.CompilerOptions.html +++ b/leo_compiler/struct.CompilerOptions.html @@ -1,18 +1,18 @@ -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.

    -
    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 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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_compiler/struct.InputAst.html b/leo_compiler/struct.InputAst.html index 6d76cdafe5..512e1a3452 100644 --- a/leo_compiler/struct.InputAst.html +++ b/leo_compiler/struct.InputAst.html @@ -1,47 +1,47 @@ -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, Global>,
     }
    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, Global>

    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, 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.

    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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    + 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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    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 2028f5d0a1..6fb6b81380 100644 --- a/leo_compiler/struct.OutputOptions.html +++ b/leo_compiler/struct.OutputOptions.html @@ -1,30 +1,30 @@ -OutputOptions in leo_compiler - Rust
    pub struct OutputOptions {
    -    pub 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 inlined_ast: bool,
    -    pub dce_ast: bool,
    -}

    Fields§

    §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.

    -
    §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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +OutputOptions in leo_compiler - Rust
    pub struct OutputOptions {
    +    pub 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 inlined_ast: bool,
    +    pub dce_ast: bool,
    +}

    Fields§

    §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.

    +
    §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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_compiler/struct.SymbolTable.html b/leo_compiler/struct.SymbolTable.html index 91ba9e6766..f77016ccf7 100644 --- a/leo_compiler/struct.SymbolTable.html +++ b/leo_compiler/struct.SymbolTable.html @@ -1,62 +1,62 @@ -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, 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. This field is populated at a first pass.

    -
    §structs: IndexMap<Symbol, Struct, RandomState>

    Maps struct names to struct definitions. +

    §structs: IndexMap<Symbol, Struct, RandomState>

    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§

    §

    impl SymbolTable

    pub fn check_shadowing( +

    §variables: IndexMap<Symbol, VariableSymbol, RandomState>§scope_index: usize§scopes: Vec<RefCell<SymbolTable>, Global>

    Implementations§

    §

    impl SymbolTable

    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.

    -

    pub fn scope_index(&mut self) -> usize

    Returns the current scope index. +

    pub fn scope_index(&mut self) -> usize

    Returns the current scope index. Increments the scope index.

    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.

    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.

    pub fn insert_variable( &mut self, symbol: Symbol, insert: VariableSymbol -) -> Result<(), LeoError>

    Inserts a variable into the symbol table.

    -

    pub fn insert_block(&mut self) -> usize

    Creates a new scope for the block and stores it in the symbol table.

    -

    pub fn lookup_fn_symbol(&self, symbol: Symbol) -> Option<&FunctionSymbol>

    Attempts to lookup a function in the symbol table.

    -

    pub fn lookup_struct(&self, symbol: Symbol) -> Option<&Struct>

    Attempts to lookup a struct in the symbol table.

    -

    pub fn lookup_variable(&self, symbol: Symbol) -> Option<&VariableSymbol>

    Attempts to lookup a variable in the symbol table.

    -

    pub fn variable_in_local_scope(&self, symbol: Symbol) -> bool

    Returns true if the variable exists in the local scope

    -

    pub fn variable_in_parent_scope(&self, symbol: Symbol) -> bool

    Returns true if the variable exists in any parent scope

    +) -> Result<(), LeoError>

    Inserts a variable into the symbol table.

    +

    pub fn insert_block(&mut self) -> usize

    Creates a new scope for the block and stores it in the symbol table.

    +

    pub fn lookup_fn_symbol(&self, symbol: Symbol) -> Option<&FunctionSymbol>

    Attempts to lookup a function in the symbol table.

    +

    pub fn lookup_struct(&self, symbol: Symbol) -> Option<&Struct>

    Attempts to lookup a struct in the symbol table.

    +

    pub fn lookup_variable(&self, symbol: Symbol) -> Option<&VariableSymbol>

    Attempts to lookup a variable in the symbol table.

    +

    pub fn variable_in_local_scope(&self, symbol: Symbol) -> bool

    Returns true if the variable exists in the local scope

    +

    pub fn variable_in_parent_scope(&self, symbol: Symbol) -> bool

    Returns true if the variable exists in any parent scope

    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.

    -

    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.

    +

    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.

    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.

    -

    Trait Implementations§

    §

    impl Clone for SymbolTable

    §

    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
    §

    impl Debug for SymbolTable

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for SymbolTable

    §

    fn default() -> SymbolTable

    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).

    + index: usize +) -> Option<&RefCell<SymbolTable>>

    Returns the scope associated with index, if it exists in the symbol table.

    +

    Trait Implementations§

    §

    impl Clone for SymbolTable

    §

    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
    §

    impl Debug for SymbolTable

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for SymbolTable

    §

    fn default() -> SymbolTable

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_errors/all.html b/leo_errors/all.html index 28238c09a4..74e52b719c 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 315098b503..8eb1f0d886 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 817ea4e145..0759e29523 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, demand: &mut Demand<'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 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, demand: &mut Demand<'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 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).

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

    -
    source§

    impl<E> Provider for Ewhere - E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. 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.

    +
    source§

    impl<E> Provider for Ewhere + E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. 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_errors/common/formatted/index.html b/leo_errors/common/formatted/index.html index 886a0a825e..d226bf9cd7 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, demand: &mut Demand<'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 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<Formatted> 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<E> Provider for Ewhere - E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. 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.

    +
    source§

    impl<E> Provider for Ewhere + E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. 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_errors/common/index.html b/leo_errors/common/index.html index 9f7d5be38c..68e075dea3 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 6b481a3868..e1a354c714 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 42a0de4316..331443ae8b 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 911db03351..1a464e0662 100644 --- a/leo_errors/common/traits/trait.LeoMessageCode.html +++ b/leo_errors/common/traits/trait.LeoMessageCode.html @@ -1,22 +1,22 @@ -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.

    diff --git a/leo_errors/emitter/index.html b/leo_errors/emitter/index.html index 6a272af153..5c198349d0 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 Definitions

    \ No newline at end of file diff --git a/leo_errors/emitter/struct.Buffer.html b/leo_errors/emitter/struct.Buffer.html index 90c448d1a7..50cd0a2d09 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 ecd1622a7d..ebb11c2284 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 5d8a4dc773..d8bfbd869c 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 0b64e91da5..0c810fed1a 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 dec893c7ee..1537649277 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 877d075f62..9e3c6d422e 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 diff --git a/leo_errors/emitter/type.ErrBuffer.html b/leo_errors/emitter/type.ErrBuffer.html index 90101666e9..df75255543 100644 --- a/leo_errors/emitter/type.ErrBuffer.html +++ b/leo_errors/emitter/type.ErrBuffer.html @@ -1,2 +1,2 @@ -ErrBuffer in leo_errors::emitter - Rust

    Type Definition leo_errors::emitter::ErrBuffer

    source ·
    pub type ErrBuffer = Buffer<LeoError>;
    Expand description

    A buffer of LeoErrors.

    +ErrBuffer in leo_errors::emitter - Rust

    Type Definition leo_errors::emitter::ErrBuffer

    source ·
    pub type ErrBuffer = Buffer<LeoError>;
    Expand description

    A buffer of LeoErrors.

    \ No newline at end of file diff --git a/leo_errors/emitter/type.WarningBuffer.html b/leo_errors/emitter/type.WarningBuffer.html index 22ef49517c..f947165466 100644 --- a/leo_errors/emitter/type.WarningBuffer.html +++ b/leo_errors/emitter/type.WarningBuffer.html @@ -1,2 +1,2 @@ -WarningBuffer in leo_errors::emitter - Rust

    Type Definition leo_errors::emitter::WarningBuffer

    source ·
    pub type WarningBuffer = Buffer<LeoWarning>;
    Expand description

    A buffer of LeoWarnings.

    +WarningBuffer in leo_errors::emitter - Rust

    Type Definition leo_errors::emitter::WarningBuffer

    source ·
    pub type WarningBuffer = Buffer<LeoWarning>;
    Expand description

    A buffer of LeoWarnings.

    \ 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 c06b45f46a..f3596f4bb2 100644 --- a/leo_errors/errors/ast/ast_errors/enum.AstError.html +++ b/leo_errors/errors/ast/ast_errors/enum.AstError.html @@ -1,38 +1,38 @@ -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 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, demand: &mut Demand<'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 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 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, demand: &mut Demand<'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<E> Provider for Ewhere - E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. 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.

    +
    source§

    impl<E> Provider for Ewhere + E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. 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_errors/errors/ast/ast_errors/index.html b/leo_errors/errors/ast/ast_errors/index.html index f3a2faadfc..1b83d2f800 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 be76700eb2..da11bdb5e3 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 6c5a4603eb..a9dac9d8f3 100644 --- a/leo_errors/errors/cli/cli_errors/enum.CliError.html +++ b/leo_errors/errors/cli/cli_errors/enum.CliError.html @@ -1,28 +1,28 @@ -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, demand: &mut Demand<'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, demand: &mut Demand<'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<E> Provider for Ewhere - E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. 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.

    +
    source§

    impl<E> Provider for Ewhere + E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. 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_errors/errors/cli/cli_errors/index.html b/leo_errors/errors/cli/cli_errors/index.html index 0648dc09e9..ef7399b998 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 871bd566c7..e037904096 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 d63e36c404..71bb494144 100644 --- a/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html +++ b/leo_errors/errors/compiler/compiler_errors/enum.CompilerError.html @@ -1,35 +1,35 @@ -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, demand: &mut Demand<'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, demand: &mut Demand<'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<E> Provider for Ewhere - E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. 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.

    +
    source§

    impl<E> Provider for Ewhere + E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. 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_errors/errors/compiler/compiler_errors/index.html b/leo_errors/errors/compiler/compiler_errors/index.html index 9b26821065..02b0da418f 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 6ca338b527..6126d877fd 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 274de7a03c..3cf88bde0b 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),
    @@ -7,7 +7,7 @@
         ParserError(ParserError),
         TypeCheckerError(TypeCheckerError),
         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.

    @@ -19,22 +19,22 @@
    §

    ParserError(ParserError)

    Represents an Parser Error in a Leo Error.

    §

    TypeCheckerError(TypeCheckerError)

    Represents a Type Checker 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, demand: &mut Demand<'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<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, demand: &mut Demand<'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<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<E> Provider for Ewhere - E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. 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<E> Provider for Ewhere + E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. 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/enum.LeoWarning.html b/leo_errors/errors/enum.LeoWarning.html index 3485d62020..2528c3f6ef 100644 --- a/leo_errors/errors/enum.LeoWarning.html +++ b/leo_errors/errors/enum.LeoWarning.html @@ -1,20 +1,20 @@ -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, demand: &mut Demand<'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, demand: &mut Demand<'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<E> Provider for Ewhere - E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. 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<E> Provider for Ewhere + E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. 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/enum.FlattenError.html b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html index 0d3143f464..b573b9a580 100644 --- a/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html +++ b/leo_errors/errors/flattener/flattener_errors/enum.FlattenError.html @@ -1,31 +1,31 @@ -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, demand: &mut Demand<'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, demand: &mut Demand<'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<E> Provider for Ewhere - E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. 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.

    +
    source§

    impl<E> Provider for Ewhere + E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. 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_errors/errors/flattener/flattener_errors/fn.type_name.html b/leo_errors/errors/flattener/flattener_errors/fn.type_name.html index b5285a8113..e2eab7a0ab 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 e779d76eaa..9bb5a923d9 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 2e255c3fea..f61b29ee4e 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 1d1c783ca5..fad51e0b4e 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 Definitions

    • 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 598f25e42f..d23937e097 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 18711ee046..4186d70e9a 100644 --- a/leo_errors/errors/input/input_errors/enum.InputError.html +++ b/leo_errors/errors/input/input_errors/enum.InputError.html @@ -1,33 +1,33 @@ -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, demand: &mut Demand<'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, demand: &mut Demand<'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<E> Provider for Ewhere - E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. 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.

    +
    source§

    impl<E> Provider for Ewhere + E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. 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_errors/errors/input/input_errors/index.html b/leo_errors/errors/input/input_errors/index.html index 09410e07f2..68278afda5 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/package/index.html b/leo_errors/errors/package/index.html index 31b661346c..dd8cfa25d6 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 4e1fb038a8..4e609795de 100644 --- a/leo_errors/errors/package/package_errors/enum.PackageError.html +++ b/leo_errors/errors/package/package_errors/enum.PackageError.html @@ -1,65 +1,65 @@ -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, demand: &mut Demand<'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, demand: &mut Demand<'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<E> Provider for Ewhere - E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. 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.

    +
    source§

    impl<E> Provider for Ewhere + E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. 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_errors/errors/package/package_errors/index.html b/leo_errors/errors/package/package_errors/index.html index 65d8821cbc..c7eecdf569 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 d30bc295ab..1af32db189 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 b043204855..04a45aaa7b 100644 --- a/leo_errors/errors/parser/parser_errors/enum.ParserError.html +++ b/leo_errors/errors/parser/parser_errors/enum.ParserError.html @@ -1,74 +1,74 @@ -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 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, demand: &mut Demand<'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 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 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, demand: &mut Demand<'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<E> Provider for Ewhere - E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. 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.

    +
    source§

    impl<E> Provider for Ewhere + E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. 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_errors/errors/parser/parser_errors/index.html b/leo_errors/errors/parser/parser_errors/index.html index a40649034b..1ef4a75082 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 bd07ea23d0..31522d8157 100644 --- a/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html +++ b/leo_errors/errors/parser/parser_warnings/enum.ParserWarning.html @@ -1,24 +1,24 @@ -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, demand: &mut Demand<'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, demand: &mut Demand<'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<E> Provider for Ewhere - E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. 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.

    +
    source§

    impl<E> Provider for Ewhere + E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. 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_errors/errors/parser/parser_warnings/index.html b/leo_errors/errors/parser/parser_warnings/index.html index aeeb37b401..2f9d7545bb 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 76fd64aa85..0c7c535a21 100644 --- a/leo_errors/errors/type.Result.html +++ b/leo_errors/errors/type.Result.html @@ -1,2 +1,2 @@ -Result in leo_errors::errors - Rust

    Type Definition 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 Definition 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.

    \ 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 f4c7413dea..1030fdf589 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 ccf9e6f5c4..9187afc8c9 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,121 +1,121 @@ -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 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, demand: &mut Demand<'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 operation_must_be_in_finalize_block(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, demand: &mut Demand<'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<E> Provider for Ewhere - E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. 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.

    +
    source§

    impl<E> Provider for Ewhere + E: Error + ?Sized,

    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. 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_errors/errors/type_checker/type_checker_error/index.html b/leo_errors/errors/type_checker/type_checker_error/index.html index b5fa6692e6..1c471995cc 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 e54253754e..ecc96db9e7 100644 --- a/leo_errors/index.html +++ b/leo_errors/index.html @@ -1,4 +1,4 @@ -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 6dfb2365fe..1790dd1533 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 3dc74235c7..b80d0d41b5 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 82a6f03307..392111942e 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 41c56a1499..9e2fafbb13 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 b480c93d2a..e18f3c5898 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 b2adff30ce..2a448d7e38 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, RandomState>)

    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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 f4287a5c7d..41cc0e2e00 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 750d6869d6..26683a0220 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 63dc66bed0..8eeaa00a3f 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 c7198624a6..bab0130c75 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 6bdbfee074..04ef690904 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 168944a5b3..841d32ccb1 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 f0efdf0d3b..21865da48e 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 4a873bba55..3c5aee8cfa 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 2e04ab7c40..ccf8abe9c4 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 d7f595487c..f978be5d2f 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 4388094412..a61812e252 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 1c24998b58..ca2cdb63a6 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 33e5691cf9..7dabaa6d23 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 340bd48c51..3920314044 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, RandomState>)

    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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 d8c439fe21..be9fc5acd3 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 dad2740dca..7d5d93aabf 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 53af2b4300..b35cf64c34 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 86d43a9ef3..30a092d753 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 d9bb537d49..b60a116457 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 b26ed6edcd..166d463e88 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 a5b7c16147..95c879e560 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<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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 4158f0fb5a..e8e5e12d4b 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 77c9a24fb6..e3800783b6 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 6a7a7cc095..90c8f4f4c9 100644 --- a/leo_lang/cli/commands/struct.BuildOptions.html +++ b/leo_lang/cli/commands/struct.BuildOptions.html @@ -1,48 +1,48 @@ -BuildOptions in leo_lang::cli::commands - Rust
    pub struct BuildOptions {
    -    pub offline: bool,
    -    pub enable_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_inlined_ast_snapshot: bool,
    -    pub enable_dce_ast_snapshot: bool,
    +BuildOptions in leo_lang::cli::commands - Rust
    pub struct BuildOptions {
    +    pub offline: bool,
    +    pub enable_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_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_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_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_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_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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 0052be6384..24beeff01a 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 263e1d22b0..d6b9b8f03e 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 3bf8067e50..5a3d8d6b9d 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 bd63874ce3..09d2c3ccb8 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 a80e9a39f0..463974d648 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

    \ No newline at end of file diff --git a/leo_lang/cli/enum.Account.html b/leo_lang/cli/enum.Account.html index d9a34e2467..65dfc09b11 100644 --- a/leo_lang/cli/enum.Account.html +++ b/leo_lang/cli/enum.Account.html @@ -1,64 +1,64 @@ -Account in leo_lang::cli - Rust

    Enum leo_lang::cli::Account

    source ·
    pub enum Account {
    +Account in leo_lang::cli - Rust

    Enum leo_lang::cli::Account

    source ·
    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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 1d404becf2..dd2a40aa7d 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 8af13c3314..be5972cb0c 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 24e4b323cc..ee1ce13001 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 f4844e2a66..be93ba0b1e 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 ad83839af3..54b4de9c1d 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 81dd84008b..0eb18d826f 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 cd7dfcda2d..713d6e31b3 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 0465595cef..75733f1fe7 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

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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/index.html b/leo_lang/cli/helpers/index.html index f975a8109a..c404647b5f 100644 --- a/leo_lang/cli/helpers/index.html +++ b/leo_lang/cli/helpers/index.html @@ -1 +1 @@ -leo_lang::cli::helpers - Rust
    \ No newline at end of file +leo_lang::cli::helpers - Rust
    \ No newline at end of file diff --git a/leo_lang/cli/helpers/logger/fn.init_logger.html b/leo_lang/cli/helpers/logger/fn.init_logger.html index 03b5a03f28..16c0248d6c 100644 --- a/leo_lang/cli/helpers/logger/fn.init_logger.html +++ b/leo_lang/cli/helpers/logger/fn.init_logger.html @@ -1,2 +1,2 @@ -init_logger in leo_lang::cli::helpers::logger - Rust
    pub fn init_logger(_app_name: &'static str, verbosity: usize) -> Result<()>
    Expand description

    Initialize logger with custom format and verbosity.

    +init_logger in leo_lang::cli::helpers::logger - Rust
    pub fn init_logger(_app_name: &'static str, verbosity: usize) -> Result<()>
    Expand description

    Initialize logger with custom format and verbosity.

    \ No newline at end of file diff --git a/leo_lang/cli/helpers/logger/index.html b/leo_lang/cli/helpers/logger/index.html index f014990819..de139ed746 100644 --- a/leo_lang/cli/helpers/logger/index.html +++ b/leo_lang/cli/helpers/logger/index.html @@ -1 +1 @@ -leo_lang::cli::helpers::logger - Rust

    Module leo_lang::cli::helpers::logger

    source ·

    Structs

    Statics

    Functions

    • Initialize logger with custom format and verbosity.
    \ No newline at end of file +leo_lang::cli::helpers::logger - Rust

    Module leo_lang::cli::helpers::logger

    source ·

    Structs

    Statics

    Functions

    • Initialize logger with custom format and verbosity.
    \ No newline at end of file diff --git a/leo_lang/cli/helpers/logger/static.START.html b/leo_lang/cli/helpers/logger/static.START.html index 7dce42aa61..5d15ec214a 100644 --- a/leo_lang/cli/helpers/logger/static.START.html +++ b/leo_lang/cli/helpers/logger/static.START.html @@ -1 +1 @@ -START in leo_lang::cli::helpers::logger - Rust

    Static leo_lang::cli::helpers::logger::START

    source ·
    static START: Once
    \ No newline at end of file +START in leo_lang::cli::helpers::logger - Rust

    Static leo_lang::cli::helpers::logger::START

    source ·
    static START: Once
    \ No newline at end of file diff --git a/leo_lang/cli/helpers/logger/struct.Format.html b/leo_lang/cli/helpers/logger/struct.Format.html index 1b2468c286..046c8d6326 100644 --- a/leo_lang/cli/helpers/logger/struct.Format.html +++ b/leo_lang/cli/helpers/logger/struct.Format.html @@ -1,24 +1,24 @@ -Format in leo_lang::cli::helpers::logger - Rust

    Struct leo_lang::cli::helpers::logger::Format

    source ·
    pub struct Format<F = Full, T = SystemTime> {
    +Format in leo_lang::cli::helpers::logger - Rust

    Struct leo_lang::cli::helpers::logger::Format

    source ·
    pub struct Format<F = Full, T = SystemTime> {
         format: F,
         pub timer: T,
    -    pub ansi: bool,
    -    pub display_target: bool,
    -    pub display_level: bool,
    -    pub display_thread_id: bool,
    -    pub display_thread_name: bool,
    -}

    Fields§

    §format: F§timer: T§ansi: bool§display_target: bool§display_level: bool§display_thread_id: bool§display_thread_name: bool

    Implementations§

    source§

    impl<F, T> Format<F, T>

    source

    pub fn with_timer<T2>(self, timer: T2) -> Format<F, T2>

    Use the given timer for log message timestamps.

    + pub ansi: bool, + pub display_target: bool, + pub display_level: bool, + pub display_thread_id: bool, + pub display_thread_name: bool, +}

    Fields§

    §format: F§timer: T§ansi: bool§display_target: bool§display_level: bool§display_thread_id: bool§display_thread_name: bool

    Implementations§

    source§

    impl<F, T> Format<F, T>

    source

    pub fn with_timer<T2>(self, timer: T2) -> Format<F, T2>

    Use the given timer for log message timestamps.

    See time for the provided timer implementations.

    Note that using the chrono feature flag enables the additional time formatters ChronoUtc and ChronoLocal.

    -
    source

    pub fn without_time(self) -> Format<F, ()>

    Do not emit timestamps with log messages.

    -
    source

    pub fn with_ansi(self, ansi: bool) -> Format<F, T>

    Enable ANSI terminal colors for formatted output.

    -
    source

    pub fn with_target(self, display_target: bool) -> Format<F, T>

    Sets whether or not an event’s target is displayed.

    -
    source

    pub fn with_level(self, display_level: bool) -> Format<F, T>

    Sets whether or not an event’s level is displayed.

    -
    source

    pub fn with_thread_ids(self, display_thread_id: bool) -> Format<F, T>

    Sets whether or not the thread ID of the current thread is displayed +

    source

    pub fn without_time(self) -> Format<F, ()>

    Do not emit timestamps with log messages.

    +
    source

    pub fn with_ansi(self, ansi: bool) -> Format<F, T>

    Enable ANSI terminal colors for formatted output.

    +
    source

    pub fn with_target(self, display_target: bool) -> Format<F, T>

    Sets whether or not an event’s target is displayed.

    +
    source

    pub fn with_level(self, display_level: bool) -> Format<F, T>

    Sets whether or not an event’s level is displayed.

    +
    source

    pub fn with_thread_ids(self, display_thread_id: bool) -> Format<F, T>

    Sets whether or not the thread ID of the current thread is displayed when formatting events

    -
    source

    pub fn with_thread_names(self, display_thread_name: bool) -> Format<F, T>

    Sets whether or not the name of the current thread is displayed +

    source

    pub fn with_thread_names(self, display_thread_name: bool) -> Format<F, T>

    Sets whether or not the name of the current thread is displayed when formatting events

    -

    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 +

    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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 b971510e38..dcebd59414 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 56217f7d56..7666b76b24 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.

    +

    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> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 f43d792beb..dc88c70695 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

    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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 83972d92de..db6ea08c09 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 5ffbee252a..8aa2825a9b 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 23f5458d86..4a568f63e0 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 934438561b..61d70c5014 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 afc5f430a4..cc1edc0850 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, RandomState>)

    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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 0b4698682e..2a954fe48f 100644 --- a/leo_lang/cli/struct.BuildOptions.html +++ b/leo_lang/cli/struct.BuildOptions.html @@ -1,48 +1,48 @@ -BuildOptions in leo_lang::cli - Rust

    Struct leo_lang::cli::BuildOptions

    source ·
    pub struct BuildOptions {
    -    pub offline: bool,
    -    pub enable_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_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 {
    +    pub offline: bool,
    +    pub enable_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_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_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_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_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_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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 fe9f26aba8..ce67d39bfb 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 1c204ee469..310032f224 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 be8dc1a603..777bbb898e 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 9feffdce1f..6716f00a3b 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 99dd15646a..17eb02f3f2 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 73f06e9194..67501de40f 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 6917e68ef2..51a1f44007 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 02d7ec5523..ac7355922b 100644 --- a/leo_lang/cli/type.CurrentNetwork.html +++ b/leo_lang/cli/type.CurrentNetwork.html @@ -1 +1 @@ -CurrentNetwork in leo_lang::cli - Rust

    Type Definition leo_lang::cli::CurrentNetwork

    source ·
    pub(crate) type CurrentNetwork = Testnet3;
    \ No newline at end of file +CurrentNetwork in leo_lang::cli - Rust

    Type Definition leo_lang::cli::CurrentNetwork

    source ·
    pub(crate) type CurrentNetwork = Testnet3;
    \ No newline at end of file diff --git a/leo_lang/cli/update/index.html b/leo_lang/cli/update/index.html index b058540c78..04df690979 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 e9cbd8bbb8..664c2a23fa 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.

    +) -> 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 c6da314f29..17f77411c4 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 6483ceba2b..9909dea2f2 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.

    +

    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> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 e8c86a4300..bc62db0556 100644 --- a/leo_lang/index.html +++ b/leo_lang/index.html @@ -1,4 +1,4 @@ -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 c4bdf9400f..d2515ab646 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 b7b2851695..a0a2998b55 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 a9f33ccbbd..c084354b9f 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 d193251a5a..c8f3d8c167 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.

    +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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 c9490481af..dc7d4f0707 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 ed7dbb3073..0558a701cc 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 9b3c3eda01..ac2eed945c 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 95aac0dcc5..4c27cc2823 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 1ffe02fadb..7b42f40f13 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.

    +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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 9d8804020c..09d93a76d4 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 5f38445a9a..f6d5b63867 100644 --- a/leo_package/index.html +++ b/leo_package/index.html @@ -1,4 +1,4 @@ -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 b524ebe3bf..808e6e8ef9 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 9f0863aeed..773036f85f 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 3ba77f2614..091710ab1b 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 67e27cd887..0b87ca872f 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.

    +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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 aa3598cff7..b3b7660af0 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 c1a9e34b80..c120b409a2 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 ff276d44be..9417fd1054 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 581e3dca7e..a172e3cc5f 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.

    + 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 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 ff32a2d83c..9cb35032d4 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.

    + 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 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 1ccc19bd46..004c465132 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 125a5d3122..5d79768698 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 532e699199..dfa45d5f14 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.

    + 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 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 d237e754a8..2fe904873f 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 e539e37a8a..4d128c5a2e 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 123173adb4..5a67313b05 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.

    + 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 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 c052ef00da..2f23fbb235 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 bc31c141cf..344f860176 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 e554e8254b..488b0b19ee 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.

    + 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 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 466a495279..a9bb9989b8 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 9852d0b4e8..9ee2e64d15 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 06fcec729c..48031980e9 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.

    +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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 b59bc333b6..7d882277dc 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 202bd1aa94..cf738168dd 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 f6ce90b814..cc96719ba4 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 0fd5e395ea..0a052cefd1 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.

    + 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 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 97b1774b17..80efc70868 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 df19ee5e9a..45d0efde5c 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 36227e57da..d8d94376cf 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.

    + 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 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 b2479de044..7238405c77 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 fa3d500fdd..02422b4a7a 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 20a0dfa3dc..7740a099f1 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.

    + 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 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 721a4afd37..a35786d8ef 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 7fc6f818be..f67d097318 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 03ea0b7235..bba553737b 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 d7e9209d9c..f099be3b74 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.

    +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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 6d6510ff5b..58e09aa54d 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 a04aa711c1..8ca7d7963b 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 e7458c2c39..7b40eed2a2 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 d292678af5..67dba57e6c 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.

    + 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.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    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 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 84ddcee427..57151a902d 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 0a0675a977..790d3dd11c 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 59c5ee248c..eef610793d 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 d0f36b10db..114793e7db 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 44a86484b7..595683ff48 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 18e046107a..8a2485aa84 100644 --- a/leo_parser/index.html +++ b/leo_parser/index.html @@ -1,4 +1,4 @@ -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 a4644de095..8cc39a194b 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 14892a3f66..1fbc9b254f 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.

    -
    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 parens.

    +
    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 @@ -75,7 +75,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 @@ -84,7 +84,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].

    @@ -131,16 +131,16 @@ 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 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 @@ -158,7 +158,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 { ... }.

    @@ -167,7 +167,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.

    @@ -188,20 +188,20 @@
    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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 bb89f92f15..bb6382230e 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 bfd7c526c3..f87790f226 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 3134a04c7c..831fbabd8d 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 04a04b6b5a..4d7582a91f 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 58aee40eba..075c6581d1 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 e9741d2e8d..859bbc3bbe 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 441937931d..2e32e9a3ca 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 75cb2743f0..3519914772 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 8f0370d528..7c6daac505 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 354d1bd5c4..5909a8bb62 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 88ebbb0b9f..29c1c9617c 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 c4063c034b..1da097f613 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 3aaeb3659d..7065a16e6a 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 f0b46c6d80..587b639c2d 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 e7b0abbe9a..b8103519eb 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 bea165db04..a08fdf9cc6 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 f5342c0d94..947ed684a1 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 b6cd1437eb..38666e5446 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 bd4d2e622d..6782a258c7 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 ec44d15673..848362733f 100644 --- a/leo_parser/tokenizer/lexer/struct.SpannedToken.html +++ b/leo_parser/tokenizer/lexer/struct.SpannedToken.html @@ -1,26 +1,26 @@ -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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    + 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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    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 33d93a0aeb..c3192eb633 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 7b40c4c983..aefc1a7bc3 100644 --- a/leo_parser/tokenizer/token/enum.Delimiter.html +++ b/leo_parser/tokenizer/token/enum.Delimiter.html @@ -1,20 +1,20 @@ -Delimiter in leo_parser::tokenizer::token - Rust
    pub enum Delimiter {
    +Delimiter in leo_parser::tokenizer::token - Rust
    pub enum Delimiter {
         Parenthesis,
         Brace,
     }
    Expand description

    Describes delimiters of a token sequence.

    Variants§

    §

    Parenthesis

    ( ... )

    §

    Brace

    { ... }

    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.

    -
    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 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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 c8dacc68c9..fa3b4e6583 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 104 variants CommentLine(String), - CommentBlock(String), - StaticString(String), +Token in leo_parser::tokenizer::token - Rust
    pub enum Token {
    +
    Show 104 variants CommentLine(String), + CommentBlock(String), + StaticString(String), Identifier(Symbol), - Integer(String), + Integer(String), True, False, - AddressLit(String), + AddressLit(String), WhiteSpace, Not, And, @@ -104,41 +104,41 @@ 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

    §

    String

    §

    I8

    §

    I16

    §

    I32

    §

    I64

    §

    I128

    §

    U8

    §

    U16

    §

    U32

    §

    U64

    §

    U128

    §

    Record

    §

    As

    §

    Assert

    §

    AssertEq

    §

    AssertNeq

    §

    Console

    §

    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

    §

    String

    §

    I8

    §

    I16

    §

    I32

    §

    I64

    §

    I128

    §

    U8

    §

    U16

    §

    U32

    §

    U64

    §

    U128

    §

    Record

    §

    As

    §

    Assert

    §

    AssertEq

    §

    AssertNeq

    §

    Console

    §

    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<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 T: DeserializeOwned,

    §

    fn take_from_value<D>( value: &mut Value, - field: &str -) -> Result<T, <D as Deserializer<'de>>::Error>where + 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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    + 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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    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 2ad13326da..12cae444af 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 d3edb156b7..e79a117d93 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 69dcc5f0bb..f98813b26f 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 28d96d4507..ed5691e8f2 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 3cdc841722..e068c10d67 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 7bda95f5ab..dd4c68130b 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 c888506dde..3e8bcabae2 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/assigner/struct.AssignerInner.html b/leo_passes/common/assigner/struct.AssignerInner.html index 4088d86dca..ac851d6a9a 100644 --- a/leo_passes/common/assigner/struct.AssignerInner.html +++ b/leo_passes/common/assigner/struct.AssignerInner.html @@ -1,12 +1,12 @@ -AssignerInner in leo_passes::common::assigner - Rust
    pub struct AssignerInner {
    -    pub(crate) counter: usize,
    +AssignerInner in leo_passes::common::assigner - Rust
    pub struct AssignerInner {
    +    pub(crate) counter: usize,
     }
    Expand description

    Contains the actual data for Assigner. Modeled this way to afford an API using interior mutability.

    -

    Fields§

    §counter: usize

    A strictly increasing counter, used to ensure that new variable names are unique.

    +

    Fields§

    §counter: usize

    A strictly increasing counter, used to ensure that new variable names are unique.

    Implementations§

    source§

    impl AssignerInner

    source

    fn unique_symbol( &mut self, - arg: impl Display, - separator: impl Display + arg: impl Display, + separator: impl Display ) -> Symbol

    Return a new unique Symbol from a &str.

    source

    fn simple_assign_statement( &mut self, @@ -15,16 +15,16 @@ id: NodeID ) -> Statement

    Constructs the assignment statement place = expr;. This function should be the only place where AssignStatements are constructed.

    -

    Trait Implementations§

    source§

    impl Clone for AssignerInner

    source§

    fn clone(&self) -> AssignerInner

    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 AssignerInner

    source§

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

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

    impl Default for AssignerInner

    source§

    fn default() -> AssignerInner

    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 AssignerInner

    source§

    fn clone(&self) -> AssignerInner

    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 AssignerInner

    source§

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

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

    impl Default for AssignerInner

    source§

    fn default() -> AssignerInner

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 e2bc4fdd1d..8ba69ae48c 100644 --- a/leo_passes/common/graph/enum.DiGraphError.html +++ b/leo_passes/common/graph/enum.DiGraphError.html @@ -1,21 +1,21 @@ -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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_passes/common/graph/index.html b/leo_passes/common/graph/index.html index 010a60f23d..55c577a49c 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 Definitions

    \ 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 Definitions

    \ 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 81c13b3a25..e905574434 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,28 +7,28 @@ 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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +) -> 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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 1b4067a86d..669b18ae85 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.

    +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 diff --git a/leo_passes/common/graph/type.CallGraph.html b/leo_passes/common/graph/type.CallGraph.html index eff9b9e8d5..89cb39b42e 100644 --- a/leo_passes/common/graph/type.CallGraph.html +++ b/leo_passes/common/graph/type.CallGraph.html @@ -1,2 +1,2 @@ -CallGraph in leo_passes::common::graph - Rust

    Type Definition leo_passes::common::graph::CallGraph

    source ·
    pub type CallGraph = DiGraph<Symbol>;
    Expand description

    A call graph.

    +CallGraph in leo_passes::common::graph - Rust

    Type Definition leo_passes::common::graph::CallGraph

    source ·
    pub type CallGraph = DiGraph<Symbol>;
    Expand description

    A call graph.

    \ 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 f65ddc2135..53759df6ad 100644 --- a/leo_passes/common/graph/type.ImportGraph.html +++ b/leo_passes/common/graph/type.ImportGraph.html @@ -1,2 +1,2 @@ -ImportGraph in leo_passes::common::graph - Rust

    Type Definition 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 Definition leo_passes::common::graph::ImportGraph

    source ·
    pub type ImportGraph = DiGraph<Symbol>;
    Expand description

    An import dependency graph.

    \ 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 18c2b2c745..c504ae7d7a 100644 --- a/leo_passes/common/graph/type.StructGraph.html +++ b/leo_passes/common/graph/type.StructGraph.html @@ -1,2 +1,2 @@ -StructGraph in leo_passes::common::graph - Rust

    Type Definition 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 Definition leo_passes::common::graph::StructGraph

    source ·
    pub type StructGraph = DiGraph<Symbol>;
    Expand description

    A struct dependency graph.

    \ No newline at end of file diff --git a/leo_passes/common/index.html b/leo_passes/common/index.html index 8de4e8fe57..95bbb761f0 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 f0d0752a5c..0d0445642a 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 cf6bd475ab..56fa944590 100644 --- a/leo_passes/common/rename_table/struct.RenameTable.html +++ b/leo_passes/common/rename_table/struct.RenameTable.html @@ -1,32 +1,32 @@ -RenameTable in leo_passes::common::rename_table - Rust

    Fields§

    §parent: Option<Box<RenameTable>>

    The RenameTable of the parent scope.

    §mapping: IndexMap<Symbol, Symbol>

    The mapping from names in the original AST to new names in the renamed AST.

    -

    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)

    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.

    -

    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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    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.

    +

    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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_passes/common/replacer/index.html b/leo_passes/common/replacer/index.html index 1f26beef21..bb6caedc5b 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

    Auto Trait Implementations§

    §

    impl<F> RefUnwindSafe for Replacer<F>where + F: RefUnwindSafe,

    §

    impl<F> Send for Replacer<F>where + F: Send,

    §

    impl<F> Sync for Replacer<F>where + F: Sync,

    §

    impl<F> Unpin for Replacer<F>where + F: Unpin,

    §

    impl<F> UnwindSafe for Replacer<F>where + F: 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.

    -
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 a5c709ac53..462b22c2ae 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 01416deecf..4e27d7f61f 100644 --- a/leo_passes/common/symbol_table/function_symbol/struct.FinalizeData.html +++ b/leo_passes/common/symbol_table/function_symbol/struct.FinalizeData.html @@ -1,19 +1,19 @@ -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

    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 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

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 62ff5168b4..9f74660272 100644 --- a/leo_passes/common/symbol_table/function_symbol/struct.FunctionSymbol.html +++ b/leo_passes/common/symbol_table/function_symbol/struct.FunctionSymbol.html @@ -1,27 +1,27 @@ -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

    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).

    +
    §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

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 d99858daec..663ee4055b 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 79310e2844..d77b0011c2 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,41 +13,41 @@ 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.

    -
    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

    +) -> Result<()>

    Inserts a variable into 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 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.

    -

    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

    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).

    +) -> 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.

    +

    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

    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 2cfcaaa75f..14aa4a7a5c 100644 --- a/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html +++ b/leo_passes/common/symbol_table/variable_symbol/enum.VariableType.html @@ -1,27 +1,27 @@ -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 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 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
    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).

    +

    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 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 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
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 5c91134841..497b3893d0 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 a20cd6f1a1..8472fa77e9 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,25 +6,25 @@
     

    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 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 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
    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 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 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 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
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 3c26e656b5..8ffd9e2d78 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 88a464be75..57b39733b5 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_access( &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_binary( @@ -50,7 +50,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.

    @@ -84,15 +84,15 @@ ) -> (Statement, Self::AdditionalOutput)
    source§

    fn reconstruct_statement( &mut self, input: Statement -) -> (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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +) -> (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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 54b2f2c84c..bb096c0e1d 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 89ff79487e..00d4836569 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 a16b1904ec..406dc31255 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 69dad0614f..e45aba2dad 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/flattening/flatten_expression/index.html b/leo_passes/flattening/flatten_expression/index.html index 6d5a77bd6a..4dbf8ddbef 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 e216e385cc..212f62f313 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 f7fe452a3f..a82b2f5356 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 3c765d5c13..dd45762785 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 0cb03ac603..71921c837c 100644 --- a/leo_passes/flattening/flattener/struct.Flattener.html +++ b/leo_passes/flattening/flattener/struct.Flattener.html @@ -1,17 +1,17 @@ -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) node_builder: &'a NodeBuilder,
         pub(crate) assigner: &'a Assigner,
         pub(crate) structs: IndexMap<Symbol, Symbol>,
    -    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)>,
         pub(crate) tuples: IndexMap<Symbol, TupleExpression>,
     }

    Fields§

    §symbol_table: &'a SymbolTable

    The symbol table associated with the program.

    §node_builder: &'a NodeBuilder

    A counter used to generate unique node IDs.

    §assigner: &'a Assigner

    A struct used to construct (unique) assignment statements.

    §structs: IndexMap<Symbol, Symbol>

    The set of variables that are structs.

    -
    §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.

    @@ -22,18 +22,18 @@ 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 lookup_struct_symbol( &self, expression: &Expression -) -> Option<Symbol>

    Looks up the name of the struct associated with an identifier or access expression, if it exists.

    +) -> Option<Symbol>

    Looks up the name of the struct associated with an identifier or access expression, if it exists.

    source

    pub(crate) fn update_structs(&mut self, lhs: &Identifier, rhs: &Expression)

    Updates self.structs for new assignment statements. Expects the left hand side of the assignment to be an identifier.

    source

    pub(crate) fn unique_simple_assign_statement( @@ -48,7 +48,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.

    Trait Implementations§

    source§

    impl ExpressionReconstructor for Flattener<'_>

    source§

    fn reconstruct_access( &mut self, @@ -73,7 +73,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, Global>

    source§

    fn reconstruct_expression( &mut self, input: Expression ) -> (Expression, Self::AdditionalOutput)

    source§

    fn reconstruct_binary( @@ -103,8 +103,8 @@ ) -> (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 NodeBuilder, &'a Assigner)

    §

    type Output = Result<Ast, LeoError>

    source§

    fn do_pass((ast, st, 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§

    impl<'a> Pass for Flattener<'a>

    §

    type Input = (Ast, &'a SymbolTable, &'a NodeBuilder, &'a Assigner)

    §

    type Output = Result<Ast, LeoError>

    source§

    fn do_pass((ast, st, 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 ) -> (Statement, Self::AdditionalOutput)

    Rewrites an assert statement into a flattened form. @@ -122,32 +122,32 @@

    assert(!(condition1 && condition2) || foo);
     

    which is equivalent to the logical formula (condition1 /\ condition2) ==> foo.

    -
    source§

    fn reconstruct_assign( +

    source§

    fn reconstruct_assign( &mut self, assign: AssignStatement ) -> (Statement, Self::AdditionalOutput)

    Flattens an assign statement, if necessary. Marks variables as structs as necessary. Note that new statements are only produced if the right hand side is a ternary expression over structs. Otherwise, the statement is returned as is.

    -
    source§

    fn reconstruct_block(&mut self, block: Block) -> (Block, Self::AdditionalOutput)

    Flattens the statements inside a basic block. +

    source§

    fn reconstruct_block(&mut self, block: Block) -> (Block, Self::AdditionalOutput)

    Flattens the statements inside a basic block. The resulting block does not contain any conditional statements.

    -
    source§

    fn reconstruct_conditional( +

    source§

    fn reconstruct_conditional( &mut self, conditional: ConditionalStatement ) -> (Statement, Self::AdditionalOutput)

    Flatten a conditional statement into a list of statements.

    -
    source§

    fn reconstruct_definition( +

    source§

    fn reconstruct_definition( &mut self, _definition: DefinitionStatement ) -> (Statement, Self::AdditionalOutput)

    Static single assignment converts definition statements into assignment statements.

    -
    source§

    fn reconstruct_return( +

    source§

    fn reconstruct_return( &mut self, input: ReturnStatement ) -> (Statement, Self::AdditionalOutput)

    Transforms a return statement into an empty block statement. Stores the arguments to the return statement, which are later folded into a single return statement at the end of the function.

    -
    source§

    fn reconstruct_console( +
    source§

    fn reconstruct_console( &mut self, _: ConsoleStatement -) -> (Statement, Self::AdditionalOutput)

    source§

    fn reconstruct_iteration( +) -> (Statement, Self::AdditionalOutput)

    source§

    fn reconstruct_iteration( &mut self, _input: IterationStatement ) -> (Statement, Self::AdditionalOutput)

    source§

    fn reconstruct_statement( @@ -156,15 +156,15 @@ ) -> (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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +) -> (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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_passes/flattening/index.html b/leo_passes/flattening/index.html index a577eec5e4..e76e126db1 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 0e24304668..bfb21a3682 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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 90a38187e8..ab6efa5efd 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 f5b2c2d8f6..4bb41ba195 100644 --- a/leo_passes/function_inlining/function_inliner/struct.FunctionInliner.html +++ b/leo_passes/function_inlining/function_inliner/struct.FunctionInliner.html @@ -1,4 +1,4 @@ -FunctionInliner in leo_passes::function_inlining::function_inliner - Rust

    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)

    §

    type Output = Result<Ast, LeoError>

    source§

    fn do_pass( (ast, node_builder, call_graph, assigner): Self::Input ) -> Self::Output

    Runs the compiler pass.
    source§

    impl ProgramReconstructor for FunctionInliner<'_>

    source§

    impl StatementReconstructor for FunctionInliner<'_>

    source§

    fn reconstruct_assign( &mut self, @@ -88,15 +88,15 @@ ) -> (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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +) -> (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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_passes/function_inlining/index.html b/leo_passes/function_inlining/index.html index e677046259..c1e8ac3c13 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 91ff6adcc1..b1e8e320c0 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 f6ecae5d84..aef37d88b5 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 9786828ee6..c84a98ba34 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 c55e602f1f..cab30c3534 100644 --- a/leo_passes/index.html +++ b/leo_passes/index.html @@ -1,4 +1,4 @@ -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 64a13f0802..3afc790229 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 64a24b2c0d..281b831afb 100644 --- a/leo_passes/loop_unrolling/range_iterator/enum.Clusivity.html +++ b/leo_passes/loop_unrolling/range_iterator/enum.Clusivity.html @@ -1,16 +1,16 @@ -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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 2047be0460..8328306eb0 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 f12aad88ff..5c20fb99b2 100644 --- a/leo_passes/loop_unrolling/range_iterator/struct.RangeIterator.html +++ b/leo_passes/loop_unrolling/range_iterator/struct.RangeIterator.html @@ -1,710 +1,710 @@ -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
    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
    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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +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.

    +
    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 +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>( + 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>( 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<K>,
    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<Self::Item>, + 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<<Self::Item as IntoIterator>::Item>,

    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<Self::Item>,

    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<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( &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<Self::Item>,
    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, 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 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 + 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 +) -> 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 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, 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 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, RandomState>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, RandomState>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, 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, 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, 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, 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, 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( +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, 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, 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, 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, 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, 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, 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>,

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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 +) -> (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 = mem::align_of::<T>()

    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

    \ 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 38286709b7..2faa03fef9 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 i128

    source§

    impl LoopBound for u128

    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.

    +

    Implementations on Foreign Types§

    source§

    impl LoopBound for u128

    source§

    impl LoopBound for i128

    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 4c5a8a78e2..4f51134c6f 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 f86add0b15..a30657881e 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 cb7ef5ac43..d8b8924350 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 439751d387..ecc6ce66d2 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 b80dba5b66..7478fd56b5 100644 --- a/leo_passes/loop_unrolling/unroller/struct.Unroller.html +++ b/leo_passes/loop_unrolling/unroller/struct.Unroller.html @@ -1,22 +1,22 @@ -Unroller in leo_passes::loop_unrolling::unroller - Rust
    pub struct Unroller<'a> {
    -    pub(crate) symbol_table: RefCell<SymbolTable>,
    -    pub(crate) scope_index: usize,
    +Unroller in leo_passes::loop_unrolling::unroller - Rust
    pub struct Unroller<'a> {
    +    pub(crate) symbol_table: RefCell<SymbolTable>,
    +    pub(crate) scope_index: usize,
         pub(crate) handler: &'a Handler,
         pub(crate) node_builder: &'a NodeBuilder,
    -    pub(crate) is_unrolling: bool,
    -}

    Fields§

    §symbol_table: RefCell<SymbolTable>

    The symbol table for the function being processed.

    -
    §scope_index: usize

    The index of the current scope.

    + pub(crate) is_unrolling: bool, +}

    Fields§

    §symbol_table: RefCell<SymbolTable>

    The symbol table for the function being processed.

    +
    §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, 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 unroll_iteration_statement<I: LoopBound>( &mut self, input: IterationStatement, @@ -28,7 +28,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)

    §

    type Output = Result<(Ast, SymbolTable), LeoError>

    source§

    fn do_pass((ast, handler, node_builder, st): 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)

    §

    type Output = Result<(Ast, SymbolTable), LeoError>

    source§

    fn do_pass((ast, handler, node_builder, st): 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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +) -> (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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_passes/pass/index.html b/leo_passes/pass/index.html index 471159f2b2..8d0f4f136b 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 7facb9e7c4..722b69264c 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 +

    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 e0732fda31..426b70c1ec 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 28946fe1ed..34237de885 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 c5a264480d..7efc1cb427 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 b79dcfacf6..75a3808cfb 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 33bde6a43c..1c6619d7c6 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 496302d761..80b4f120ce 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,13 +1,13 @@ -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) 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.

    §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, @@ -22,20 +22,20 @@ ) -> (Identifier, Statement)

    Constructs a simple assign statement for expr with a unique name. For example, expr is transformed into $var$0 = expr;. The lhs is guaranteed to be unique with respect to the Assigner.

    -

    Trait Implementations§

    source§

    impl ExpressionConsumer for StaticSingleAssigner<'_>

    source§

    fn consume_access(&mut self, input: AccessExpression) -> Self::Output

    Consumes an access expression, accumulating any statements that are generated.

    -
    source§

    fn consume_binary(&mut self, input: BinaryExpression) -> Self::Output

    Consumes a binary expression, accumulating any statements that are generated.

    -
    source§

    fn consume_call(&mut self, input: CallExpression) -> Self::Output

    Consumes a call expression without visiting the function name, accumulating any statements that are generated.

    -
    source§

    fn consume_cast(&mut self, input: CastExpression) -> Self::Output

    Consumes a cast expression, accumulating any statements that are generated.

    -
    source§

    fn consume_struct_init(&mut self, input: StructExpression) -> Self::Output

    Consumes a struct initialization expression with renamed variables, accumulating any statements that are generated.

    -
    source§

    fn consume_identifier(&mut self, identifier: Identifier) -> Self::Output

    Produces a new Identifier with a unique name.

    -
    source§

    fn consume_literal(&mut self, input: Literal) -> Self::Output

    Consumes and returns the literal without making any modifications.

    -
    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>

    Trait Implementations§

    source§

    impl ExpressionConsumer for StaticSingleAssigner<'_>

    source§

    fn consume_access(&mut self, input: AccessExpression) -> Self::Output

    Consumes an access expression, accumulating any statements that are generated.

    +
    source§

    fn consume_binary(&mut self, input: BinaryExpression) -> Self::Output

    Consumes a binary expression, accumulating any statements that are generated.

    +
    source§

    fn consume_call(&mut self, input: CallExpression) -> Self::Output

    Consumes a call expression without visiting the function name, accumulating any statements that are generated.

    +
    source§

    fn consume_cast(&mut self, input: CastExpression) -> Self::Output

    Consumes a cast expression, accumulating any statements that are generated.

    +
    source§

    fn consume_struct_init(&mut self, input: StructExpression) -> Self::Output

    Consumes a struct initialization expression with renamed variables, accumulating any statements that are generated.

    +
    source§

    fn consume_identifier(&mut self, identifier: Identifier) -> Self::Output

    Produces a new Identifier with a unique name.

    +
    source§

    fn consume_literal(&mut self, input: Literal) -> Self::Output

    Consumes and returns the literal without making any modifications.

    +
    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 Input = (Ast, &'a NodeBuilder, &'a Assigner, &'a SymbolTable)

    §

    type Output = Result<Ast, LeoError>

    source§

    fn do_pass( (ast, node_builder, assigner, symbol_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( @@ -61,16 +61,16 @@ ) -> 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_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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    §

    type Output = Vec<Statement, Global>

    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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ 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 7389456e1b..6415f659f1 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

    Emits an error if the struct is not a core library struct. Emits an error if the function is not supported by the struct.

    source

    pub(crate) fn check_core_function_call( &self, core_function: CoreFunction, - arguments: &[(Option<Type>, Span)], + arguments: &[(Option<Type>, Span)], function_span: Span -) -> Option<Type>

    Type checks the inputs to a core function call and returns the expected output type. +) -> Option<Type>

    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( @@ -115,13 +115,13 @@ parent: Symbol, type_: &Type )

    Emits an error if the struct member is a record type.

    -
    source

    pub(crate) fn assert_type_is_defined(&self, type_: &Type, span: Span) -> bool

    Emits an error if the type or its constituent types are not defined.

    +
    source

    pub(crate) fn assert_type_is_defined(&self, type_: &Type, span: Span) -> bool

    Emits an error if the type or its constituent types are not defined.

    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.

    -

    Trait Implementations§

    source§

    impl<'a> ExpressionVisitor<'a> for TypeChecker<'a>

    §

    type AdditionalInput = Option<Type>

    §

    type Output = Option<Type>

    source§

    fn visit_access( +) -> Option<MappingType>

    Emits an error if the type is not a mapping.

    +

    Trait Implementations§

    source§

    impl<'a> ExpressionVisitor<'a> for TypeChecker<'a>

    §

    type AdditionalInput = Option<Type>

    §

    type Output = Option<Type>

    source§

    fn visit_access( &mut self, input: &'a AccessExpression, expected: &Self::AdditionalInput @@ -133,39 +133,39 @@ &mut self, input: &'a CallExpression, expected: &Self::AdditionalInput -) -> Self::Output

    source§

    fn visit_cast( +) -> Self::Output

    source§

    fn visit_cast( &mut self, input: &'a CastExpression, expected: &Self::AdditionalInput -) -> Self::Output

    source§

    fn visit_struct_init( +) -> Self::Output

    source§

    fn visit_struct_init( &mut self, input: &'a StructExpression, additional: &Self::AdditionalInput -) -> Self::Output

    source§

    fn visit_err( +) -> Self::Output

    source§

    fn visit_err( &mut self, _input: &'a ErrExpression, _additional: &Self::AdditionalInput -) -> Self::Output

    source§

    fn visit_identifier( +) -> Self::Output

    source§

    fn visit_identifier( &mut self, input: &'a Identifier, expected: &Self::AdditionalInput -) -> Self::Output

    source§

    fn visit_literal( +) -> Self::Output

    source§

    fn visit_literal( &mut self, input: &'a Literal, expected: &Self::AdditionalInput -) -> Self::Output

    source§

    fn visit_ternary( +) -> Self::Output

    source§

    fn visit_ternary( &mut self, input: &'a TernaryExpression, expected: &Self::AdditionalInput -) -> Self::Output

    source§

    fn visit_tuple( +) -> Self::Output

    source§

    fn visit_tuple( &mut self, input: &'a TupleExpression, expected: &Self::AdditionalInput -) -> Self::Output

    source§

    fn visit_unary( +) -> Self::Output

    source§

    fn visit_unary( &mut self, input: &'a UnaryExpression, destination: &Self::AdditionalInput -) -> Self::Output

    source§

    fn visit_unit( +) -> Self::Output

    source§

    fn visit_unit( &mut self, input: &'a UnitExpression, _additional: &Self::AdditionalInput @@ -173,15 +173,15 @@ &mut self, input: &'a Expression, additional: &Self::AdditionalInput -) -> Self::Output

    source§

    impl<'a> Pass for TypeChecker<'a>

    §

    type Input = (&'a Ast, &'a Handler, SymbolTable)

    §

    type Output = Result<(SymbolTable, DiGraph<Symbol>, DiGraph<Symbol>), LeoError>

    source§

    fn do_pass((ast, handler, st): 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_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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +) -> Self::Output
    source§

    impl<'a> Pass for TypeChecker<'a>

    §

    type Input = (&'a Ast, &'a Handler, SymbolTable)

    §

    type Output = Result<(SymbolTable, DiGraph<Symbol>, DiGraph<Symbol>), LeoError>

    source§

    fn do_pass((ast, handler, st): 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_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.

    +
    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 = mem::align_of::<T>()

    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 +From<T> for U chooses to do.

    +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = mem::align_of::<T>()

    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

    \ No newline at end of file diff --git a/leo_passes/type_checking/index.html b/leo_passes/type_checking/index.html index 4042779dbd..174c5bd63c 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 e81d0a1d1a..5a9051bc85 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 487f3068a3..e07396ee54 100644 --- a/leo_span/index.html +++ b/leo_span/index.html @@ -1 +1 @@ -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 d12e52adde..a16c0b704a 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 42d64dbfa1..633d263531 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 f6992a8e74..45addff2ba 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 8120ee6a2e..fba164dedc 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 a8de8628b3..1c53223c2c 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 ed03c65a6a..ef7851e49c 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 87c70c5c11..e841610953 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 428ecf9794..b71f06bcad 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<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).

    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 df8837430a..45121c5c88 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 ef7b76df50..7ee1466323 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 46ba218854..ace1117a06 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 9f0eac1085..303d2c339e 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 57e2a50f5c..a834961141 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 1f20371c4d..82df7ca93d 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 e990b1dce2..cc92b1c821 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<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).

    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 247a6a9a4e..4d76aabfe8 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<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).

    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 3b4066a0b2..17b9a14fa7 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<&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. 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<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).

    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 5fbe1178f0..034eac33ab 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

    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 6ed1960b24..5b2386594b 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 de3c20863c..62915a374a 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 30bbfbdf57..33642b4518 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, Global>) -> 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 662f3a5627..e59fb69300 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 8a36846d65..833de75136 100644 --- a/leo_span/symbol/enum.InternedStr.html +++ b/leo_span/symbol/enum.InternedStr.html @@ -1,32 +1,28 @@ -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
    -

    Basic usage:

    -
    let len = "foo".len();
     assert_eq!(3, len);
     
     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
    -

    Basic usage:

    -
    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.

    @@ -43,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 @@ -58,8 +54,8 @@

    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.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    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.

    +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Panics

    Panics if index > self.len().

    @@ -72,28 +68,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
    -

    Basic usage:

    -
    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
    -

    Basic usage:

    -
    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("🗻∈🌏");
     
    @@ -105,8 +97,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 @@ -125,14 +117,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:

    @@ -142,8 +134,6 @@
    Safety
  • begin and end must lie on UTF-8 sequence boundaries.
  • Examples
    -

    Basic usage:

    -
    let s = "Löwe 老虎 Léopard";
     
     unsafe {
    @@ -155,29 +145,27 @@ 
    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 past the end of the last code point of the string slice.

    Examples
    -

    Basic usage:

    -
    let s = "Per Martin-Löf";
     
     let (first, last) = s.split_at(3);
     
     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.

    @@ -200,7 +188,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̆";
     
    @@ -210,12 +198,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:

    @@ -236,7 +224,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";
     
    @@ -250,12 +238,10 @@ 
    Examples
    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
    -

    Basic usage:

    -
    let mut bytes = "bors".bytes();
     
     assert_eq!(Some(b'b'), bytes.next());
    @@ -264,12 +250,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:

    @@ -294,10 +280,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:

    @@ -322,7 +308,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.

    @@ -352,62 +338,54 @@
    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
    -

    Basic usage:

    -
    let text = "Zażółć gęślą jaźń";
     
     let utf8_len = text.len();
     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
    -

    Basic usage:

    -
    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
    -

    Basic usage:

    -
    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
    -

    Basic usage:

    -
    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:

    @@ -431,12 +409,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:

    @@ -458,17 +436,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:

    @@ -531,13 +509,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."
    @@ -550,17 +528,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:

    @@ -579,24 +557,22 @@
    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
    -

    Basic usage:

    -
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
     
    @@ -605,13 +581,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.

    @@ -619,7 +595,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();
    @@ -630,17 +606,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:

    @@ -660,19 +636,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:

    @@ -688,76 +664,70 @@
    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
    -

    Basic usage:

    -
    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
    -

    Basic usage:

    -
    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
    -

    Basic usage:

    -
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
     
    @@ -766,22 +736,20 @@ 
    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
    -

    Basic usage:

    -
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
     
    @@ -790,16 +758,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
    -

    Basic usage:

    -
    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
    @@ -819,7 +785,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
    @@ -839,7 +805,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
    @@ -860,7 +826,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
    @@ -881,11 +847,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:

    @@ -898,10 +864,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 @@ -909,41 +875,39 @@

    Text directional Russian, this will be left side, and for right-to-left languages like Arabic or Hebrew, this will be the right side.

    Examples
    -

    Basic usage:

    -
    assert_eq!("11foo1bar11".trim_start_matches('1'), "foo1bar11");
     assert_eq!("123foo1bar123".trim_start_matches(char::is_numeric), "foo1bar123");
     
     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 @@ -961,10 +925,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 @@ -972,18 +936,16 @@

    Text directional which are ‘right to left’ rather than ‘left to right’, this will be the right side, not the left.

    Examples
    -

    Basic usage:

    -
    assert_eq!("11foo1bar11".trim_left_matches('1'), "foo1bar11");
     assert_eq!("123foo1bar123".trim_left_matches(char::is_numeric), "foo1bar123");
     
     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 @@ -1001,16 +963,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

    @@ -1028,23 +990,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
    @@ -1063,7 +1025,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:

    @@ -1080,7 +1042,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:

    @@ -1097,9 +1059,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
    @@ -1109,13 +1071,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
    @@ -1125,15 +1087,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:

    @@ -1156,11 +1118,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:

    @@ -1178,7 +1140,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
    @@ -1189,42 +1151,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<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).

    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 a617e246e0..695a8431ca 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 f4c0c8a609..d341fa0e84 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 201e3ed3b1..f2bfa42ea6 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 060af55894..5f7a374c98 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 23a05ce326..5bddff798d 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 63f1dab678..ee42fb993d 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<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).

    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 3a15ad6309..88f591cdee 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 dfcb31e1ad..206a9804d8 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 5d8279c411..9bb9d9f955 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 e64d93a882..4f1af88e7d 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 33f698660f..49651ab4ee 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 659d46c169..45885a69db 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.Else.html b/leo_span/symbol/sym/constant.Else.html index ede2a39f34..3e42530746 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 3ae995e04d..1d26ba9afc 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 47fd264d8f..b051be05b8 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 2a2de3b193..b4ba32016e 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 eb6734392e..676fa42a1f 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 9baf93ac6c..38dd775018 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.Let.html b/leo_span/symbol/sym/constant.Let.html index b170fd0f27..765ac326f4 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 536f370da2..3d06b4e46c 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 c23705e3e6..aef1324713 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 1e0b01825a..6d3afce790 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 8298030d40..5c8fef2c6a 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 1a1dbd0624..c372dd084c 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 903004af1a..bb7db1a205 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 2a0baf2220..3bb83ae50f 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 7829a9b80a..5f5e9e3f7d 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 e58c93c42d..bbaaf443f5 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.SelfLower.html b/leo_span/symbol/sym/constant.SelfLower.html index 0e596efe9c..b01eb3b575 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 dcc8cb60e0..39d24c3d16 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 ce8d67212e..c364ba9682 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 8523cd852f..56382cdff8 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 8857599522..674d2b62b5 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 8eb3af7f99..ec7a2792c7 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 e962bfd479..f1dab3ea14 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 a6f5a14e18..587623f94e 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 ea60b42ef9..ebc2f805a0 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 18b3ad2f6a..06d8b94029 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 234331a683..fe7212e4c1 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 0fad3fbb19..f2c4b7ba60 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 e174b38803..acf0197ee2 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 8c6bd97a01..21d6f3c80e 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 c9e9e06584..bc322e7d39 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 23eda1c3c3..ba5909fd96 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 be3ed14adf..048c2fa185 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 5d5e40e924..3474d66308 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 9fc60b4394..4c4e85d857 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 441f0c55c5..3aae6156e3 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 9ef667cf8a..55bf9ef331 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 bc0cee9204..8fd0b72d4e 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 d0326f0f1f..14af193381 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 2104dcae2f..03aac43b1a 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 ef61bd6950..1ff2c13195 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 e7dfa678f4..ef63bf41f8 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 2aaecb2d59..3dbe56368f 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 b9e2a2e4d5..eceb47a046 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 c6fd23984c..4cc70d01fd 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 5d04176ab9..2b8c89d49d 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 4021e9a11e..3e0f7780ac 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 c85d28e069..b759235988 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 76a52a32ee..6a4fcad2b1 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 4a452990a9..f2b9fe97cc 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 df0a7fb698..d83ef0dd14 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 6bb9ded677..0c6afabb2f 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 0bba6f1af8..78a150a804 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 eb4d9bfb5a..5996642dee 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 24235ce233..d33720a492 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 29a8fea373..7306fa4d90 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 42efb58f0f..af990c6c34 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 4cbd0e6523..cc8bc69791 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 88e40225bb..d9f121de8a 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 8035b05e65..f88fec9dd8 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 098fc48e2e..57d7d3f619 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 713fdff056..97c828dde3 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 3fd7f0a2e1..f30296396e 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 779213635c..0b1efd075d 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 ec24bc2cc9..f634c50a6d 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 fdda1198aa..f4790ac694 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 d960de8002..c256875b33 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 9b76bf73b4..0d418087ba 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 d5dd1b16b4..b7b3729cab 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 752e857ead..1427feb0f7 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 f6cf642cc4..7d032d13d8 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 4c6eeb876c..263d64a47e 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 7c9e590b00..d40dd7f8c3 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 85278f3366..99129d285f 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 6b7bb2e76d..ff09315a52 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 119dc4de51..7ad0175edf 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 04ebc3dc5e..2c7e1927b1 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 b4e07baa7b..8f1eb28e31 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 0dab615f53..84a88758a4 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 19dcabdb9a..5e83e90d1f 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 1612f8d7ea..8d200d0181 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 0f4e9e11c5..6f68b2f105 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 250a979cfa..2228ed6a7b 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 ad024ba66f..14f9feac95 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 e931430f23..1ae53da382 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 9fe0aac4f7..c7c704f6e0 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 78a8f3f441..ce730202a9 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 c706974e1e..661dd2069e 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 4a5d457d03..473b42d039 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 b832a03d83..201ca49421 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 048ddcdcc1..965e59abc8 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 b918e73390..a02ae64316 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 5434c42737..4c8aee661f 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 7780d0dbcb..92cf80d542 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 d3fbb7f920..98a760f397 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 0ba371a9e7..382828f776 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 0da89a555c..84b637ba17 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 53b8baea9f..522ec250bd 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 d406dc267c..de030d9596 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 4e8d459f76..7efc5b9e35 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 60255190e4..6e72282c77 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 07bf4f2148..f1bbd96dad 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 6a537d1172..a2538f4a82 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 d7104b066e..6ca7616429 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 0544efa0e2..bd2b677ff7 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 ed32bd89a7..7ce2910e78 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 b660faee4b..78345fdccf 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 8b08aa9510..b1602ca6d3 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 8a0e6caf04..5e99e1a361 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 e11c835304..61e0020fd0 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 0ce9a95d8d..8568c6cd7c 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 8ea6988d24..d269c012b1 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 d6117c41af..2802afee03 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 aa1ac7de56..80c38577a0 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 90907b1c5b..3fca566de4 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 463cd82c49..aa25266688 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 697f5c818b..98e44bf4d0 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 2223a04451..67d7fda078 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 4f9a294ec0..8ba238cc91 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 b257016496..65e9640540 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 7062df6f96..5980280b36 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 a48fe14f11..f9aec4b2f1 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 b9590f865b..0c29a55cd2 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 d99eb33cd3..bdffe25e85 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.square.html b/leo_span/symbol/sym/constant.square.html index ef532d8a35..86e0e8ccfc 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 f8a0913c33..05ff2cba08 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 e441112e00..d0d20db88c 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 a7cb7d364a..630ab1afba 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 4e67d50a4d..d80e1221ae 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 0137e909fc..2ca2a9e904 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 a454c9aaba..ef80500a10 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 c6a7570bd0..b4cfb3f696 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 4ac3bf7040..cacb1832a4 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 eb4b44f50e..0d42bf706b 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 a7daf9254d..8380ba5530 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 3c646f2cdf..7a46187080 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 e7433b728c..e0318fb173 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 e9511ddc48..b9a9ff3419 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.xor.html b/leo_span/symbol/sym/constant.xor.html index 88383a6ed3..f88609dfe2 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 fabae31420..9d412ae244 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 665ffb5141..8e216d150f 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 e873531687..4e5a73a2c6 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 3dcac8f9db..8e648f1576 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 13909d382f..d11b5dfae8 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 f70a03cae4..301ee6a5dc 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 75164dfb64..c2f1900a86 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 7a2d055486..e251bd53af 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 0b984f7933..b5c9fc8cc3 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 d2625b9124..c15f09e6d0 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 16028308b9..13edd31a7b 100644 --- a/leo_test_framework/index.html +++ b/leo_test_framework/index.html @@ -1,4 +1,4 @@ -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 e44680054d..bab304285c 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 8544823ae7..f7f0610719 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 52ca2e6e59..2b795b5668 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<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).

    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 bca2cda18b..6780cfd20d 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 417d16c730..a09897f246 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 892fda59bb..62f85519da 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 df45293487..a14111e629 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 c22c013d50..98e7da3980 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 d76b7043c0..ebf7a6fd42 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 1e29a5493f..2ba9aa3309 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 69942a9ab0..58a112ed10 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 b0759c972a..deb5123706 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 bf0b0b0ef3..da371277b1 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 af5c2fd708..c9df39353a 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<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).

    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 b413d843dc..b0f0954599 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 5562f3671e..c0268748ff 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 a4367433b7..5f63265671 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 ad276e6c6f..93276fdfbb 100644 --- a/search-index.js +++ b/search-index.js @@ -2,14 +2,14 @@ var searchIndex = JSON.parse('{\ "errcov":{"doc":"","t":"F","n":["main"],"q":[[0,"errcov"]],"d":[""],"i":[0],"f":[[[]]],"c":[],"p":[]},\ "leo":{"doc":"","t":"FF","n":["main","set_panic_hook"],"q":[[0,"leo"]],"d":["",""],"i":[0,0],"f":[[[]],[[]]],"c":[],"p":[]},\ "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"]],"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":[3,3,3,0,0,1,3,1,3,1,3,1,3,1,1,3,1,3,1,1,3,1,1,0,1,1,0,1,1,1,3,1,3,1,3,1,3,1],"f":[0,0,0,0,0,[[1,2]],[[]],[[]],[[]],[[]],[3,3],[1,1],[[]],[[]],[[1,3]],[[3,4],5],[[1,4],5],[[]],[[]],0,[[]],[[]],0,[[],6],[[2,[8,[7]]],1],0,[[9,[8,[10]]]],[1],0,0,[[]],[[]],[[],11],[[],11],[[],11],[[],11],[[],12],[[],12]],"c":[],"p":[[3,"Processor"],[15,"str"],[4,"Scope"],[3,"Formatter"],[6,"Result"],[6,"Result"],[3,"Rule"],[3,"Vec"],[4,"Node"],[3,"String"],[4,"Result"],[3,"TypeId"]]},\ -"leo_ast":{"doc":"The abstract syntax tree (ast) for a Leo program.","t":"DALLMLLLLALLLLLLLLLALLLLAALALLALFAAFOAALLLLLLLLAADDDDMAAMMMMMMAMMMMMMMMAMMDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLDMLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLDLLLLLLLLLLLLLLLLLMLMLMLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLMLAAAAAADLLLLLLLLLLLLLLLLLLMLLLMLLLLLMLLLLLFFIGKKKKDDLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLLLLMDLLLLLLLLLLLLLLLLLLLLLLLLLLNNNENNNNNNNDENNNNDNDNNNNNDENNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNDDNNNDNNNNDNDENDNAMALLAALLMLLLLMLLLLLAMMMLLLMLMMMMMMMMMMMMMLLMAMMMMMMLLLLMMMMMMMMMMAALLLLAMLAAENNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNDENNNNNNNNNNNNNNNNNNNNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMMMLLLLLMLLLLLLLLLLDMLLLLLLLLLLLLLMLLLMLMLLLLLLMLLLLLDLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLMLDLLLLLLLLLLLLLLLLLMLLLLLLMLLLLLNNNNNENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLMMMLLLLMMLLLLLLLLMMLLLLLLLLLLLDLLLLMLLLLLLLLLLLLLMMMLLLLLLMLLLLLDLLLLLLLLMLLLLLLLLLMLLLLLLMLLLLLNNNNNNNNNNDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMMLLLLLMLLLLLLLLLDLLLLLLLLLLLLLLLLLMLLLLLLMLLLLLDAMMLLLLALLLLLLLLLAAMLLLLLMMLAMLLALLAMMLLLLMLLLLLAMDLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLLNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLMMLLMMLLLLMLLLLLLDMLLLLLLLLLLLLLLLLLMMLMLLMMLLLLMLLLLLNDENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLLLLMLLLLLLLLMLLLLLLLLLMLLNENNNLLLLLLLLLLLLLLLLLLLLLLLLNDNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLMLLLLLLLLMLLLLLLLLLMLLNNNELLLLLLLLLLLLLLLLLLLLLLAAENNNNLLLLLLLLLLLLLLLLLLLLLLLLEDNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLMLLLLLLLLLMMGAAAAADLLLLLLLLLLLLLLLLLMMLMLLLMLMDDLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLLLLLLLLLLLLLNNNNENLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLMLLLLLLDLLLLMLLLLLLLLLMLMLLLLDLLLLLLLLLLLLLLLLLMMLLMLLLLMLLLLLMAAAIIIIQQQQQQQQIIIIKKKKKKKKKKLLKKKKKKKKKKLKKKKKKQIIILLLLLLLLLLLLLLLLLLLLLLLLLLLLLQIQIILLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLMLLAAMLLLLLLDLLLLLLLLLLLLLLLLLLLMMLLLLLLDLLLLLLLLLLLLLLLLMLLMMLMMLLLLLNNNNNNNNNEAAALLLLAAALLLLLLLLLLALLLLLLAALLLLLLLLLNNNDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLMLLLLLLLLLMDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLLMDLLLLLLLLLLLLLLLLLMLLLLLLMMLLLLLDLLLLMLLLLLLLLLLLLLMLLMLLLLMMLLLLLAANNNELLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLMLMLLLLLLMLLLLLNEDNLLLLAMLLLLLLLLLLLLLMLLMLLLLMLLLLMLMNENLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLLDMLLLLLLLLLLLLLLLLLMMLLLLLLMMMMMLLLLMLMDLLLLLLLLLLLLLMMLLLLMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLMAMLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLMLLLLLMLLLLMLAAAAAENLLLLLLLLLLLLLLLLLLLLLNNNNNENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLMLLLLLLMDLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNNNNNNENLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNNNNNNNNNNNNNELLLLLLLLLLLLLLLLLLLLLLLLLLLOOLLLLLLLLLLLLLLLLLLLLLLLL","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","AssociatedConstant","AssociatedFunction","MemberAccess","TupleAccess","arguments","associated_constant_access","associated_function_access","id","id","id","id","index","inner","member_access","name","name","name","span","span","span","span","tuple","tuple_access","ty","ty","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","PositiveNumber","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","is_zero","serialize","to_owned","to_string","to_usize","try_from","try_into","type_id","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","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","binary","borrow","borrow_mut","call","cast","clone","clone_into","condition","deref","deref_mut","deserialize","drop","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","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","struct_init","ternary","to_owned","to_string","try_from","try_into","tuple","type_","type_id","unary","unit","AccessExpression","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","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","is_main","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","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","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","definition","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_assert","consume_assign","consume_binary","consume_block","consume_call","consume_cast","consume_conditional","consume_console","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_assert","reconstruct_assign","reconstruct_binary","reconstruct_block","reconstruct_call","reconstruct_cast","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_err","reconstruct_expression","reconstruct_expression_statement","reconstruct_function","reconstruct_identifier","reconstruct_import","reconstruct_iteration","reconstruct_literal","reconstruct_mapping","reconstruct_program","reconstruct_program_scope","reconstruct_return","reconstruct_statement","reconstruct_struct","reconstruct_struct_init","reconstruct_ternary","reconstruct_tuple","reconstruct_unary","reconstruct_unit","AdditionalInput","ExpressionVisitor","Output","ProgramVisitor","StatementVisitor","visit_access","visit_assert","visit_assign","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_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","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","Definition","Expression","Iteration","Return","Statement","assert","assign","block","borrow","borrow_mut","clone","clone_into","conditional","console","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","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","core_constant","integer_type","mapping","tuple","type_","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","Tuple","borrow","borrow_mut","clone","clone_into","deref","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","Address","Boolean","Err","Field","Group","Identifier","Integer","Mapping","Scalar","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"],[74,"leo_ast::access::associated_constant_access"],[107,"leo_ast::access::associated_function_access"],[141,"leo_ast::access::member_access"],[174,"leo_ast::access::tuple_access"],[207,"leo_ast::common"],[213,"leo_ast::common::identifier"],[248,"leo_ast::common::imported_modules"],[250,"leo_ast::common::node"],[256,"leo_ast::common::node_builder"],[295,"leo_ast::common::positive_number"],[324,"leo_ast::common::static_string"],[351,"leo_ast::expressions"],[506,"leo_ast::expressions::access"],[539,"leo_ast::expressions::binary"],[629,"leo_ast::expressions::call"],[663,"leo_ast::expressions::cast"],[696,"leo_ast::expressions::err"],[727,"leo_ast::expressions::literal"],[764,"leo_ast::expressions::struct_init"],[832,"leo_ast::expressions::ternary"],[866,"leo_ast::expressions::tuple"],[898,"leo_ast::expressions::unary"],[966,"leo_ast::expressions::unit"],[997,"leo_ast::functions"],[1048,"leo_ast::functions::annotation"],[1080,"leo_ast::functions::core_function"],[1269,"leo_ast::functions::external"],[1304,"leo_ast::functions::finalize"],[1341,"leo_ast::functions::input"],[1410,"leo_ast::functions::mode"],[1439,"leo_ast::functions::output"],[1505,"leo_ast::functions::variant"],[1531,"leo_ast::groups"],[1533,"leo_ast::groups::group_coordinate"],[1562,"leo_ast::groups::group_literal"],[1620,"leo_ast::input"],[1626,"leo_ast::input::definition"],[1654,"leo_ast::input::input_ast"],[1698,"leo_ast::input::input_value"],[1729,"leo_ast::input::program_input"],[1750,"leo_ast::input::section"],[1772,"leo_ast::mapping"],[1806,"leo_ast::passes"],[1809,"leo_ast::passes::consumer"],[1854,"leo_ast::passes::reconstructor"],[1887,"leo_ast::passes::visitor"],[1921,"leo_ast::program"],[1951,"leo_ast::program::program_id"],[1979,"leo_ast::program::program_scope"],[2009,"leo_ast::statement"],[2057,"leo_ast::statement::assert"],[2115,"leo_ast::statement::assign"],[2148,"leo_ast::statement::block"],[2180,"leo_ast::statement::conditional"],[2214,"leo_ast::statement::console"],[2216,"leo_ast::statement::console::console_function"],[2244,"leo_ast::statement::console::console_statement"],[2276,"leo_ast::statement::definition"],[2315,"leo_ast::statement::definition::declaration_type"],[2342,"leo_ast::statement::expression"],[2374,"leo_ast::statement::iteration"],[2413,"leo_ast::statement::return_"],[2446,"leo_ast::struct"],[2482,"leo_ast::struct::member"],[2517,"leo_ast::types"],[2522,"leo_ast::types::core_constant"],[2545,"leo_ast::types::integer_type"],[2583,"leo_ast::types::mapping"],[2611,"leo_ast::types::tuple"],[2638,"leo_ast::types::type_"],[2679,"leo_ast::value"]],"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 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.","","","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 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::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 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 positive.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Returns true if this number is zero.","","","","Converts the positive number into a usize or panics if it …","","","","The string representation of the positive 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. &&.","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 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 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 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 …","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).","","","","","","","","","","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 true if the function name is main.","","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.","","","","","","","","","","","","","","","","Returns the argument unchanged.","A map from function names to function definitions.","","Calls U::from(self).","A map from mapping names to mapping definitions.","The program id of the program scope.","","The span associated with the program scope.","A map from struct names to struct definitions.","","","","","","An assert statement.","An assignment statement.","A block statement.","An if statement.","A console logging statement.","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.","","","","","","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.","","","","","","","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 argument unchanged.","","","Calls U::from(self).","","","","","","","The address 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 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,20,0,0,15,20,21,22,22,21,0,15,20,21,15,20,21,22,22,0,15,20,0,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,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,0,0,0,0,0,0,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,23,23,0,0,0,0,92,92,92,92,0,0,28,29,28,29,28,29,28,29,28,28,29,28,29,28,29,28,29,28,29,28,29,28,28,29,28,29,29,28,29,28,29,28,29,28,29,28,29,0,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,46,46,32,0,34,34,40,34,33,33,32,0,0,34,34,40,32,0,32,0,34,34,46,34,32,0,0,40,40,34,34,32,40,46,0,32,34,34,33,34,34,34,34,46,34,34,46,34,34,34,34,34,40,34,34,34,34,46,46,40,32,0,0,34,34,32,0,46,46,33,32,0,32,0,0,32,0,34,0,37,0,32,32,0,0,32,32,44,32,32,32,32,45,32,32,32,32,32,0,38,43,37,32,32,32,37,32,35,37,38,43,42,39,44,45,47,48,43,44,44,32,32,35,0,42,42,35,47,47,35,32,32,32,32,35,37,38,43,42,39,44,45,47,48,0,0,32,32,32,32,0,38,32,0,0,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,34,34,34,0,0,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,35,34,35,34,35,34,35,34,35,34,35,34,35,34,35,34,35,34,34,34,34,35,35,35,35,34,34,35,35,34,35,34,35,35,34,35,34,35,35,35,35,34,35,35,35,35,35,34,35,34,35,34,35,34,35,34,35,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,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,38,38,38,38,38,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,40,40,40,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,40,40,40,40,40,40,0,0,43,42,43,42,42,43,42,43,42,43,42,43,42,43,42,43,42,43,42,43,43,43,43,42,42,42,42,43,43,43,42,42,43,42,43,42,43,42,43,43,42,43,42,42,42,43,42,43,42,43,42,43,42,43,42,43,42,42,43,42,43,42,43,42,43,42,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,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,45,45,45,45,45,45,46,46,46,46,46,46,46,46,46,46,0,0,46,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,46,46,46,47,47,47,47,46,47,47,46,47,46,47,47,46,47,46,47,47,47,46,47,47,47,47,47,46,47,47,46,47,46,47,46,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,0,0,49,49,49,49,49,49,0,49,49,49,49,49,49,49,49,49,0,0,49,49,49,49,49,49,49,49,49,0,49,49,49,0,49,49,0,49,49,49,49,49,49,49,49,49,49,49,49,0,49,0,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,0,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,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,57,57,57,0,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,52,0,0,52,52,59,52,59,52,59,52,59,52,59,52,59,52,59,52,59,52,59,52,52,52,52,59,59,59,59,52,52,59,59,59,52,59,52,59,59,52,59,52,59,52,59,52,59,52,59,52,59,52,59,52,59,59,52,59,52,59,52,59,52,59,52,59,52,59,60,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,53,0,53,0,53,61,53,61,53,61,53,61,53,61,53,61,53,61,53,61,53,61,53,53,53,53,61,61,61,61,53,53,61,61,53,61,53,61,61,53,61,53,61,53,61,53,61,53,61,53,61,53,61,61,53,61,53,61,53,61,53,61,53,61,53,61,51,51,51,0,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,0,0,0,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,0,0,63,63,63,64,63,64,63,64,63,64,63,64,63,64,63,64,63,64,63,64,63,63,63,63,64,64,64,64,63,63,64,63,64,63,64,63,64,63,64,63,64,63,63,63,64,63,64,63,63,64,63,64,63,64,64,64,0,0,0,0,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,0,0,66,67,66,67,66,67,66,67,66,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,67,67,66,67,67,67,66,67,66,67,66,67,66,67,66,67,69,69,69,69,0,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,0,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,0,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,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,72,72,72,72,72,72,72,0,0,0,0,0,0,0,93,94,95,96,97,98,99,100,0,0,0,0,93,94,94,93,94,93,93,94,94,94,93,93,94,95,93,97,94,93,98,100,99,94,94,96,93,93,93,93,93,101,0,0,0,101,102,102,101,102,101,101,102,102,102,101,101,102,103,101,103,102,101,103,103,103,102,102,103,101,101,101,101,101,104,0,104,0,0,104,105,105,104,105,104,104,105,105,105,104,104,105,106,104,106,105,104,106,106,106,105,105,106,104,104,104,104,104,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,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,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,82,82,82,82,82,82,82,82,82,0,0,0,0,82,82,82,82,0,0,0,82,82,82,82,82,82,82,82,82,82,0,82,82,82,82,82,82,0,0,82,82,82,82,82,82,82,82,82,84,84,84,0,0,84,73,84,73,84,73,84,73,84,73,84,73,84,73,84,73,84,73,84,84,84,84,73,73,73,73,84,73,73,84,73,73,73,84,73,84,73,84,73,73,73,73,73,84,73,73,84,73,84,73,84,73,73,0,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,0,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,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,85,85,85,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,0,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,86,0,0,86,77,77,77,77,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,86,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,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,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,79,79,79,79,79,79,79,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,81,81,0,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,0,68,68,68,68,68,68,68,68,68,68,68,68,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,87,87,87,87,87,87,0,0,0,0,0,0,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,89,89,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,89,89,89,89,89,89,89,89,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,90,90,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,58,58,58,58,58,58,58,58,58,58,58,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,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,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,41,0,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],"f":[0,0,[1,2],[1,2],0,[[]],[[]],[1,1],[[]],0,[[],1],[3],[3],[3],[[1,1],4],[[],4],[[],4],[[],4],[[],4],0,[[1,5],6],[[]],[7,[[8,[1]]]],[9,[[8,[1]]]],0,0,[[],3],0,[[]],[1,2],0,[2,1],[10,10],0,0,[[10,9],10],0,0,0,[[1,7,9],8],[[1,7,9,[11,[9]]],8],[1,[[8,[12]]]],[1,[[8,[10]]]],[[]],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[15,15],[[]],[3],[3],[16,[[13,[15]]]],[3],[[15,15],4],[[],4],[[],4],[[],4],[[],4],[[15,5],6],[[15,5],6],[[]],[15,17],0,[[],3],[[]],0,[[15,18],13],[[15,17]],[[15,19]],[15,19],0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,0,[[]],[[]],[20,20],[[]],[3],[3],[16,[[13,[20]]]],[3],[[20,20],4],[[],4],[[],4],[[],4],[[],4],[[20,5],6],[[20,5],6],[[]],[20,17],0,[[],3],[[]],0,[[20,18],13],[[20,17]],[[20,19]],[20,19],0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,[[]],[[]],[21,21],[[]],[3],[3],[16,[[13,[21]]]],[3],[[21,21],4],[[],4],[[],4],[[],4],[[],4],[[21,5],6],[[21,5],6],[[]],[21,17],0,[[],3],0,[[]],0,[[21,18],13],[[21,17]],[[21,19]],[21,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[22,22],[[]],[3],[3],[16,[[13,[22]]]],[3],[[22,22],4],[[],4],[[],4],[[],4],[[],4],[[22,5],6],[[22,5],6],[[]],[22,17],0,0,[[],3],[[]],[[22,18],13],[[22,17]],[[22,19]],[22,19],0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,0,0,0,0,0,0,[[]],[[]],[23,23],[[]],[3],[3],[16,[[8,[23]]]],[3],[[23,23],4],[[],4],[[],4],[[],4],[[],4],[[23,5],6],[[23,5],6],[[]],[[23,24]],[23,17],0,[[],3],[[]],[[23,23],4],0,[[25,17],23],[[23,18],8],[[23,17]],[[23,19]],[23,19],0,[[]],[[],12],[[],13],[[],13],[[],14],[16,[[13,[[27,[[26,[25]],2]]]]]],[[[27,[[26,[25]],2]],18],13],0,0,[[],17],[17],[19],[[],19],0,0,[[]],[[]],[[]],[[]],[28,28],[29,29],[[]],[[]],[[],28],[3],[3],[3],[3],[3],[3],[[28,5],6],[[29,5],6],[[]],[[]],[[],3],[[],3],0,[[]],[[]],[17,28],[17,29],0,[28,17],[29,17],[[]],[[]],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,[[]],[[]],[30,30],[[]],[3],[3],[16,[[13,[30]]]],[3],[[30,30],4],[[],4],[[],4],[[],4],[[],4],[[30,5],6],[[30,5],6],[[]],[[30,24]],[[],3],[[]],[30,4],[[30,18],13],[[]],[[],12],[30,3],[[],13],[[],13],[[],14],0,0,[[]],[[]],[31,31],[[]],[[],31],[3],[3],[16,[[13,[31]]]],[3],[[31,31],4],[[],4],[[],4],[[],4],[[],4],[[31,5],6],[[31,5],6],[[]],[[],3],[[]],[12,31],[[31,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],0,0,[32,32],[[]],0,[3],[3],[16,[[13,[32]]]],[3],0,[[32,32],4],[[],4],[[],4],[[],4],[[],4],0,0,0,0,[[32,5],6],[[32,5],6],[[]],0,[32,17],0,0,0,0,0,0,0,0,0,0,0,0,0,[[],3],[[]],0,0,0,0,0,0,0,0,[[32,18],13],[[32,17]],[[32,19]],[32,19],0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[],12],[[],13],[[],13],0,0,[[],14],0,0,0,0,0,0,0,[[]],[[]],[33,33],[[]],[3],[3],[16,[[13,[33]]]],[3],[[33,33],4],[[],4],[[],4],[[],4],[[],4],[[33,5],6],[[33,5],6],[[]],[33,17],[[],3],[[]],[[33,18],13],[[33,17]],[[33,19]],[33,19],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[34,34],[35,35],[[]],[[]],[3],[3],[3],[3],[16,[[13,[34]]]],[16,[[13,[35]]]],[3],[3],[[34,34],4],[[35,35],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[34,5],6],[[34,5],6],[[35,5],6],[[35,5],6],[[]],[[]],[25,[[36,[34]]]],[35,17],0,[[],3],[[],3],[[]],[[]],0,0,0,[[34,18],13],[[35,18],13],[[35,17]],[[35,19]],[35,19],0,[[]],[[]],[[],12],[[],12],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,0,[[]],[[]],[37,37],[[]],[3],[3],[16,[[13,[37]]]],[3],[[37,37],4],[[],4],[[],4],[[],4],[[],4],0,[[37,5],6],[[37,5],6],[[]],0,[37,17],0,[[],3],[[]],[[37,18],13],[[37,17]],[[37,19]],[37,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[38,38],[[]],[3],[3],[16,[[13,[38]]]],[3],[[38,38],4],[[],4],[[],4],[[],4],[[],4],0,[[38,5],6],[[38,5],6],[[]],[38,17],0,[[],3],[[]],[[38,18],13],[[38,17]],[[38,19]],[38,19],0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,[[]],[[]],[39,39],[[]],[3],[3],[16,[[13,[39]]]],[3],[[39,39],4],[[],4],[[],4],[[],4],[[],4],[[39,5],6],[[39,5],6],[[]],[39,17],0,[[],3],[[]],[[39,18],13],[[39,17]],[[39,19]],[39,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,[[]],[[]],[40,40],[[]],[3],[3],[16,[[13,[40]]]],[3],[[40,40],4],[[],4],[[],4],[[],4],[[],4],[[40,5],6],[[40,5],6],[[]],[[41,17],40],[40,17],[[],3],[[]],[[40,18],13],[[40,17]],[[40,19]],[40,19],[[]],[[],12],[[],13],[[],13],[[],14],0,0,[[]],[[]],[[]],[[]],[42,4],[43,43],[42,42],[[]],[[]],[3],[3],[3],[3],[16,[[13,[43]]]],[16,[[13,[42]]]],[3],[3],[[43,43],4],[[42,42],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],0,[[43,5],6],[[43,5],6],[[42,5],6],[[42,5],6],[[]],[[]],[43,17],[42,17],0,0,0,[[],3],[[],3],[[]],[[]],0,0,[[43,18],13],[[42,18],13],[[43,17]],[[42,17]],[[43,19]],[[42,19]],[43,19],[42,19],0,0,[[]],[[]],[42,12],[[],12],[[],12],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,[[]],[[]],[44,44],[[]],0,[3],[3],[16,[[13,[44]]]],[3],[[44,44],4],[[],4],[[],4],[[],4],[[],4],[[44,5],6],[[44,5],6],[[]],[44,17],0,0,0,[[],3],[[]],[[44,18],13],[[44,17]],[[44,19]],[44,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[45,45],[[]],[3],[3],[16,[[13,[45]]]],[3],0,[[45,45],4],[[],4],[[],4],[[],4],[[],4],[[45,5],6],[[45,5],6],[[]],[45,17],0,[[],3],[[]],[[45,18],13],[[45,17]],[[45,19]],[45,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,[46,9],[[]],[[]],[[]],[[]],[46,46],[47,47],[[]],[[]],[3],[3],[3],[3],[16,[[13,[46]]]],[16,[[13,[47]]]],[3],[3],[[46,46],4],[[47,47],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[46,5],6],[[47,5],6],[[47,5],6],[[]],[[]],[25,[[36,[46]]]],[47,17],0,[[],3],[[],3],[[]],[[]],0,0,[[46,18],13],[[47,18],13],[[47,17]],[[47,19]],[47,19],0,[[]],[[]],[[],12],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,[[]],[[]],[48,48],[[]],[3],[3],[16,[[13,[48]]]],[3],[[48,48],4],[[],4],[[],4],[[],4],[[],4],[[48,5],6],[[48,5],6],[[]],[48,17],0,[[],3],[[]],[[48,18],13],[[48,17]],[[48,19]],[48,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,[[]],[[]],[49,49],[[]],0,[3],[3],[16,[[13,[49]]]],[3],[[49,49],4],[[],4],[[],4],[[],4],[[],4],0,0,0,[[49,5],6],[[49,5],6],[[49,5],6],[[]],[49,17],0,0,[[],3],0,0,[[]],[49,4],0,[49,25],[[[26,[50]],51,23,[26,[52]],[26,[53]],54,[36,[55]],19,17],49],0,0,0,[[49,18],13],[[49,17]],[[49,19]],[49,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,[[]],[[]],[50,50],[[]],[3],[3],[16,[[13,[50]]]],[3],[[50,50],4],[[],4],[[],4],[[],4],[[],4],[[50,5],6],[[50,5],6],[[]],[50,17],0,0,[[],3],[[]],[[50,18],13],[[50,17]],[[50,19]],[50,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[56,56],[[]],[3],[3],[3],[[56,56],4],[[],4],[[],4],[[],4],[[],4],[[]],[[25,25],[[36,[56]]]],[[],3],[[]],[56,4],[56,3],[[]],[[],13],[[],13],[[],14],0,[[]],[[]],[57,57],[[]],[3],[3],[16,[[13,[57]]]],[3],[[57,57],4],[[],4],[[],4],[[],4],[[],4],[[57,5],6],[[57,5],6],[[]],[57,17],0,0,[[],3],[[]],0,0,[[57,18],13],[[57,17]],[[57,19]],[57,19],0,[[]],[[],12],[[],13],[[],13],[57,58],[[],14],0,0,[[]],[[]],[55,55],[[]],[3],[3],[16,[[13,[55]]]],[3],[[55,55],4],[[],4],[[],4],[[],4],[[],4],[[55,5],6],[[55,5],6],[[]],[55,17],0,0,[[],3],0,[[]],[[23,[26,[52]],[26,[53]],54,19,17],55],0,0,[[55,18],13],[[55,17]],[[55,19]],[55,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,[[]],[[]],[[]],[[]],[52,52],[59,59],[[]],[[]],[3],[3],[3],[3],[16,[[13,[52]]]],[16,[[13,[59]]]],[3],[3],[[52,52],4],[[59,59],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[52,5],6],[[52,5],6],[[59,5],6],[[59,5],6],[[59,5],6],[[]],[[]],[52,3],[59,17],0,[52,23],0,[[],3],[[],3],[[]],[[]],[52,60],0,[[52,18],13],[[59,18],13],[[52,3]],[[59,17]],[[52,19]],[[59,19]],[52,19],[59,19],0,[[]],[[]],[[],12],[[],12],[[],13],[[],13],[[],13],[[],13],[52,58],0,[[],14],[[],14],0,0,0,0,0,[[]],[[]],[60,60],[[]],[3],[3],[16,[[13,[60]]]],[3],[[60,60],4],[[],4],[[],4],[[],4],[[],4],[[60,5],6],[[60,5],6],[[]],[[],3],[[]],[[60,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,[[]],[[]],[[]],[[]],[53,53],[61,61],[[]],[[]],[3],[3],[3],[3],[16,[[13,[53]]]],[16,[[13,[61]]]],[3],[3],[[53,53],4],[[61,61],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[53,5],6],[[53,5],6],[[61,5],6],[[61,5],6],[[]],[[]],[53,17],[61,17],0,[[],3],[[],3],[[]],[[]],[53,60],0,[[53,18],13],[[61,18],13],[[53,17]],[[61,17]],[[53,19]],[[61,19]],[53,19],[61,19],0,[[]],[[]],[[],12],[[],12],[[],13],[[],13],[[],13],[[],13],[53,58],0,[[],14],[[],14],0,0,0,0,[[]],[[]],[51,51],[[]],[3],[3],[16,[[13,[51]]]],[3],[[51,51],4],[[],4],[[],4],[[],4],[[],4],[[51,5],6],[[]],[[],3],[[]],[[51,18],13],[[]],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,[[]],[[]],[62,62],[[]],[3],[3],[16,[[13,[62]]]],[3],[[62,62],4],[[],4],[[],4],[[],4],[[],4],[[62,5],6],[[62,5],6],[[]],[[],3],[[]],[[62,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,[[]],[[]],[[]],[[]],[63,63],[64,64],[[]],[[]],[3],[3],[3],[3],[16,[[13,[63]]]],[16,[[13,[64]]]],[3],[3],[[63,63],4],[[64,64],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[63,5],6],[[63,5],6],[[64,5],6],[[]],[[]],[63,17],0,[[],3],[[],3],[[]],[[]],[[63,18],13],[[64,18],13],[[63,17]],[[63,19]],[63,19],0,[[]],[[]],[[],12],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,0,0,0,0,0,0,0,0,[[]],[[]],[65,65],[[]],[3],[3],[16,[[13,[65]]]],[3],[[65,65],4],[[],4],[[],4],[[],4],[[],4],[[65,5],6],[[]],[[],3],[[]],0,0,[[65,18],13],0,[[]],[[],13],[[],13],0,[[],14],0,0,0,[[]],[[]],[[]],[[]],[66,66],[67,67],[[]],[[]],[[],66],[3],[3],[3],[3],[16,[[13,[66]]]],[16,[[13,[67]]]],[3],[3],[[66,5],6],[[67,5],6],[[]],[[]],[[],3],[[],3],[[]],[[]],0,[[67,9,[27,[25,68]]],[[26,[12]]]],0,[[66,18],13],[[67,18],13],[[67,7,9],8],[[67,7,9,[11,[9]]],8],[66,[[8,[12]]]],[67,[[8,[10]]]],[[]],[[]],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,0,0,0,0,0,[[]],[[]],[69,69],[[]],[3],[3],[16,[[13,[69]]]],[3],[[69,69],4],[[],4],[[],4],[[],4],[[],4],[[69,5],6],[[69,5],6],[[]],[[],3],[[]],[[69,18],13],[[]],[[],12],[[],13],[[],[[8,[69]]]],[[],13],[[],14],0,[[]],[[]],[70,70],[[]],[[],70],[3],[3],[16,[[13,[70]]]],[3],[[70,5],6],[[]],[[],3],[[]],0,[[70,18],13],[[]],[[],13],[67,[[8,[70]]]],[[],13],[[],14],0,[[]],[[]],[71,71],[[]],0,[3],[3],[16,[[13,[71]]]],[3],[[71,5],6],[[]],[[],3],[[]],[71,12],0,[[71,18],13],0,[[]],[[],13],[[],13],[[],14],0,[[]],[[]],[72,72],[[]],[3],[3],[16,[[13,[72]]]],[3],[[72,72],4],[[],4],[[],4],[[],4],[[],4],[[72,5],6],[[72,5],6],[[]],[72,17],0,0,[[],3],[[]],0,[[72,18],13],[[72,17]],[[72,19]],[72,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[33],[73],[74],[35],[54],[37],[38],[75],[76],[77],[39],[32],[78],[49],[23],[2],[79],[40],[72],[2],[80],[81],[82],[68],[42],[44],[45],[47],[48],0,0,0,0,[33],[73],[74],[35],[54],[37],[38],[75],[76],[77],[39],[32],[78],[49,49],[23],[2,2],[79],[40],[72,72],[2,2],[80,80],[81],[82],[68,68],[42],[44],[45],[47],[48],0,0,0,0,0,[33],[73],[74],[35],[54],[37],[38],[75],[76],[77],[39],[32],[78],[49],[23],[2],[79],[40],[72],[2],[80],[81],[82],[68],[42],[44],[45],[47],[48],0,[[]],[[]],[2,2],[[]],[[],2],[3],[3],[16,[[13,[2]]]],[3],[[2,2],4],[[],4],[[],4],[[],4],[[],4],[[2,5],6],[[2,5],6],[[]],0,[[],3],[[]],0,0,0,[[2,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[83,83],[[]],[3],[3],[16,[[13,[83]]]],[3],[[83,83],4],[[],4],[[],4],[[],4],[[],4],[[83,5],6],[[83,5],6],[[]],[[83,24]],[[],3],[[]],0,0,[[83,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[80,80],[[]],[3],[3],[16,[[13,[80]]]],[3],[[80,80],4],[[],4],[[],4],[[],4],[[],4],[[80,5],6],[[80,5],6],[[]],0,[[],3],[[]],0,0,[[80,18],13],0,0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[82,82],[[]],0,0,0,[3],[3],[16,[[13,[82]]]],[3],[[19,17],82],[[82,82],4],[[],4],[[],4],[[],4],[[],4],0,[[82,5],6],[[82,5],6],[[]],[82,17],[[],3],[[]],0,0,[[82,18],13],[[82,17]],[[82,19]],[82,19],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,[[]],[[]],[[]],[[]],[84,84],[73,73],[[]],[[]],[3],[3],[3],[3],[16,[[13,[84]]]],[16,[[13,[73]]]],[3],[3],[[84,84],4],[[73,73],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[84,5],6],[[73,5],6],[[73,5],6],[[]],[[]],[73,17],0,[[],3],[[],3],[[]],[[]],[[84,18],13],[[73,18],13],[[73,17]],[[73,19]],[73,19],0,[[]],[[]],[[],12],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,0,[[]],[[]],[74,74],[[]],[3],[3],[16,[[13,[74]]]],[3],[[74,74],4],[[],4],[[],4],[[],4],[[],4],[[74,5],6],[[74,5],6],[[]],[74,17],0,[[],3],[[]],0,[[74,18],13],[[74,17]],[[74,19]],[74,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,[[]],[[]],[54,54],[[]],[3],[3],[16,[[13,[54]]]],[3],[[54,54],4],[[],4],[[],4],[[],4],[[],4],[[54,5],6],[[54,5],6],[[]],[54,17],0,[[],3],[[]],[[54,18],13],[[54,17]],[[54,19]],[54,19],0,0,[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[75,75],[[]],0,[3],[3],[16,[[13,[75]]]],[3],[[75,75],4],[[],4],[[],4],[[],4],[[],4],[[75,5],6],[[75,5],6],[[]],[75,17],0,[[],3],[[]],0,[[75,18],13],[[75,17]],[[75,19]],[75,19],0,0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,[[]],[[]],[85,85],[[]],[3],[3],[16,[[13,[85]]]],[3],[[85,85],4],[[],4],[[],4],[[],4],[[],4],[[85,5],6],[[85,5],6],[[]],[[],3],[[]],[[85,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[76,76],[[]],[3],[3],[16,[[13,[76]]]],[3],[[76,76],4],[[],4],[[],4],[[],4],[[],4],[[76,5],6],[[76,5],6],[[]],0,[76,17],0,[[],3],[[]],[[76,18],13],[[76,17]],[[76,19]],[76,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,[[]],[[]],[77,77],[[]],0,0,[3],[3],[16,[[13,[77]]]],[3],[[77,77],4],[[],4],[[],4],[[],4],[[],4],[[77,5],6],[[77,5],6],[[]],[77,17],0,[[],3],[[]],0,[[77,18],13],[[77,17]],[[77,19]],[77,19],0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,0,0,0,[[]],[[]],[86,86],[[]],[3],[3],[16,[[13,[86]]]],[3],[[86,86],4],[[],4],[[],4],[[],4],[[],4],[[86,5],6],[[86,5],6],[[]],[[],3],[[]],[[86,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[78,78],[[]],[3],[3],[16,[[13,[78]]]],[3],[[78,78],4],[[],4],[[],4],[[],4],[[],4],0,[[78,5],6],[[78,5],6],[[]],[78,17],0,[[],3],[[]],[[78,18],13],[[78,17]],[[78,19]],[78,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,[[]],[[]],[79,79],[[]],[3],[3],[16,[[13,[79]]]],[3],[[79,79],4],[[],4],[[],4],[[],4],[[],4],[[79,5],6],[[79,5],6],[[]],[79,17],0,0,[[],3],[[]],[[79,18],13],[[79,17]],[[79,19]],[79,19],0,0,0,0,0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,0,[[]],[[]],[81,81],[[]],[3],[3],[16,[[13,[81]]]],[3],[[81,81],4],[[],4],[[],4],[[],4],[[],4],0,0,[[81,5],6],[[81,5],6],[[]],[81,17],0,[[],3],[[]],[[81,18],13],[[81,17]],[[81,19]],[81,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[68,68],[[]],[3],[3],[16,[[13,[68]]]],[3],[[68,68],4],[[],4],[[],4],[[],4],[[],4],[[68,5],6],[[68,5],6],[[]],[68,17],0,0,[[],3],[[]],0,0,0,[68,25],[[68,18],13],[[68,17]],[[68,19]],[68,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[87,87],[[]],[3],[3],[16,[[13,[87]]]],[3],[[87,87],4],[[],4],[[],4],[[],4],[[],4],[[87,5],6],[[87,5],6],[[]],[87,17],0,0,[[],3],[[]],0,[87,25],[[87,18],13],[[87,17]],[[87,19]],[87,19],0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,0,0,0,0,0,0,[[]],[[]],[88,88],[[]],[3],[3],[3],[[88,88],4],[[],4],[[],4],[[],4],[[],4],[[]],[[25,25],[[36,[88]]]],[[],3],[[]],[[]],[88,58],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[89,89],[[]],[3],[3],[16,[[13,[89]]]],[3],[[89,89],4],[[],4],[[],4],[[],4],[[],4],[[89,5],6],[[89,5],6],[[]],[[89,24]],[[],3],[[]],[89,4],[[89,18],13],[89,25],[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[90,90],[[]],[3],[3],[16,[[13,[90]]]],[3],[[90,90],4],[[],4],[[],4],[[],4],[[],4],[[90,5],6],[[90,5],6],[[]],[[90,24]],[[],3],[[]],0,[[90,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,0,[[]],[[]],[91,91],[[]],[91],[3],[3],[16,[[13,[91]]]],[3],[[91,91],4],[[],4],[[],4],[[],4],[[],4],[[91,5],6],[[91,5],6],[[]],[[91,24]],[[],3],[[]],[[91,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[58,58],[[]],[3],[3],[16,[[13,[58]]]],[3],[[58,58],4],[[58,58],4],[[],4],[[],4],[[],4],[[],4],[[58,5],6],[[58,5],6],[[]],[41,58],[41,58],[[58,24]],[[],3],[[]],[[58,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[41,19],[[8,[41]]]],[[41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[41,41],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[]],[[]],[41,41],[[]],[3],[3],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[3],[[41,41,19],[[8,[41]]]],[[41,41],4],[[],4],[[],4],[[],4],[[],4],[[41,5],6],[[41,5],6],[[]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],0,0,[[],3],[[]],[41,4],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,19],[[8,[41]]]],[[41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[]],[[],12],[40,[[8,[41]]]],[[],13],[[],13],[[],14],[[41,41,19],[[8,[41]]]]],"c":[],"p":[[3,"Ast"],[3,"Program"],[15,"usize"],[15,"bool"],[3,"Formatter"],[6,"Result"],[3,"PathBuf"],[6,"Result"],[15,"str"],[4,"Value"],[15,"slice"],[3,"String"],[4,"Result"],[3,"TypeId"],[3,"AssociatedConstant"],[8,"Deserializer"],[6,"NodeID"],[8,"Serializer"],[3,"Span"],[3,"AssociatedFunction"],[3,"MemberAccess"],[3,"TupleAccess"],[3,"Identifier"],[8,"Hasher"],[3,"Symbol"],[3,"Vec"],[3,"IndexMap"],[3,"NodeBuilder"],[3,"NodeBuilderInner"],[3,"PositiveNumber"],[3,"StaticString"],[4,"Expression"],[4,"AccessExpression"],[4,"BinaryOperation"],[3,"BinaryExpression"],[4,"Option"],[3,"CallExpression"],[3,"CastExpression"],[3,"ErrExpression"],[4,"Literal"],[4,"Value"],[3,"StructExpression"],[3,"StructVariableInitializer"],[3,"TernaryExpression"],[3,"TupleExpression"],[4,"UnaryOperation"],[3,"UnaryExpression"],[3,"UnitExpression"],[3,"Function"],[3,"Annotation"],[4,"Variant"],[4,"Input"],[4,"Output"],[3,"Block"],[3,"Finalize"],[4,"CoreFunction"],[3,"External"],[4,"Type"],[3,"FunctionInput"],[4,"Mode"],[3,"FunctionOutput"],[4,"GroupCoordinate"],[4,"GroupLiteral"],[3,"GroupTuple"],[3,"Definition"],[3,"InputData"],[3,"InputAst"],[3,"Struct"],[4,"InputValue"],[3,"ProgramInput"],[3,"Section"],[3,"Mapping"],[3,"AssertStatement"],[3,"AssignStatement"],[3,"ConditionalStatement"],[3,"ConsoleStatement"],[3,"DefinitionStatement"],[3,"ExpressionStatement"],[3,"IterationStatement"],[3,"ProgramScope"],[3,"ReturnStatement"],[4,"Statement"],[3,"ProgramId"],[4,"AssertVariant"],[4,"ConsoleFunction"],[4,"DeclarationType"],[3,"Member"],[4,"CoreConstant"],[4,"IntegerType"],[3,"MappingType"],[3,"Tuple"],[8,"Node"],[8,"ExpressionConsumer"],[8,"StatementConsumer"],[8,"FunctionConsumer"],[8,"StructConsumer"],[8,"ImportConsumer"],[8,"MappingConsumer"],[8,"ProgramScopeConsumer"],[8,"ProgramConsumer"],[8,"ExpressionReconstructor"],[8,"StatementReconstructor"],[8,"ProgramReconstructor"],[8,"ExpressionVisitor"],[8,"StatementVisitor"],[8,"ProgramVisitor"]]},\ +"leo_ast":{"doc":"The abstract syntax tree (ast) for a Leo program.","t":"DALLMLLLLALLLLLLLLLALLLLAALALLALFAAFOAALLLLLLLLAADDDDMAAMMMMMMAMMMMMMMMAMMDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLDMLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLMLDLLLLLLLLLLLLLLLLLMLMLMLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLMLAAAAAADLLLLLLLLLLLLLLLLLLMLLLMLLLLLMLLLLLFFIGKKKKDDLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLLLLMDLLLLLLLLLLLLLLLLLLLLLLLLLLNNNENNNNNNNDENNNNDNDNNNNNDENNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNDDNNNDNNNNDNDENDNAMALLAALLMLLLLMLLLLLAMMMLLLMLMMMMMMMMMMMMMLLMAMMMMMMLLLLMMMMMMMMMMAALLLLAMLAAENNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNDENNNNNNNNNNNNNNNNNNNNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMMMLLLLLMLLLLLLLLLLDMLLLLLLLLLLLLLMLLLMLMLLLLLLMLLLLLDLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLMLDLLLLLLLLLLLLLLLLLMLLLLLLMLLLLLNNNNNENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLMMMLLLLMMLLLLLLLLMMLLLLLLLLLLLDLLLLMLLLLLLLLLLLLLMMMLLLLLLMLLLLLDLLLLLLLLMLLLLLLLLLMLLLLLLMLLLLLNNNNNNNNNNDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMMLLLLLMLLLLLLLLLDLLLLLLLLLLLLLLLLLMLLLLLLMLLLLLDAMMLLLLALLLLLLLLLAAMLLLLLMMLAMLLALLAMMLLLLMLLLLLAMDLLLLLLLLLLLLLLLLLMMLLLLLLMLLLLLNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLMMLLMMLLLLMLLLLLLDMLLLLLLLLLLLLLLLLLMMLMLLMMLLLLMLLLLLNDENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLLLLMLLLLLLLLMLLLLLLLLLMLLNENNNLLLLLLLLLLLLLLLLLLLLLLLLNDNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLMLLLLLLLLMLLLLLLLLLMLLNNNELLLLLLLLLLLLLLLLLLLLLLAAENNNNLLLLLLLLLLLLLLLLLLLLLLLLEDNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLMLLLLLLLLLMMGAAAAADLLLLLLLLLLLLLLLLLMMLMLLLMLMDDLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLLLLLLLLLLLLLNNNNENLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLMLLLLLLDLLLLMLLLLLLLLLMLMLLLLDLLLLLLLLLLLLLLLLLMMLLMLLLLMLLLLLMAAAIIIIQQQQQQQQIIIIKKKKKKKKKKLLKKKKKKKKKKLKKKKKKQIIILLLLLLLLLLLLLLLLLLLLLLLLLLLLLQIQIILLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLMLLAAMLLLLLLDLLLLLLLLLLLLLLLLLLLMMLLLLLLDLLLLLLLLLLLLLLLLMLLMMLMMLLLLLNNNNNNNNNEAAALLLLAAALLLLLLLLLLALLLLLLAALLLLLLLLLNNNDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLMLLLLLLLLLMDLLLLLLLLLLLLLLLLLMLLMLLLLMLLLLLMDLLLLLLLLLLLLLLLLLMLLLLLLMMLLLLLDLLLLMLLLLLLLLLLLLLMLLMLLLLMMLLLLLAANNNELLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLMLMLLLLLLMLLLLLNEDNLLLLAMLLLLLLLLLLLLLMLLMLLLLMLLLLMLMNENLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLMLLLLMLLLLLLMLLLLLDMLLLLLLLLLLLLLLLLLMMLLLLLLMMMMMLLLLMLMDLLLLLLLLLLLLLMMLLLLMLLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLMAMLLLLLMLLLLLDLLLLLLLLLLLLLLLLLMMLLMLLLLLMLLLLMLAAAAAENLLLLLLLLLLLLLLLLLLLLLNNNNNENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLLLLMLLLLLLMDLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNNNNNNENLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNNNNNNNNNNNNNELLLLLLLLLLLLLLLLLLLLLLLLLLLOOLLLLLLLLLLLLLLLLLLLLLLLL","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","AssociatedConstant","AssociatedFunction","MemberAccess","TupleAccess","arguments","associated_constant_access","associated_function_access","id","id","id","id","index","inner","member_access","name","name","name","span","span","span","span","tuple","tuple_access","ty","ty","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","PositiveNumber","borrow","borrow_mut","clone","clone_into","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","is_zero","serialize","to_owned","to_string","to_usize","try_from","try_into","type_id","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","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","binary","borrow","borrow_mut","call","cast","clone","clone_into","condition","deref","deref_mut","deserialize","drop","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","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","struct_init","ternary","to_owned","to_string","try_from","try_into","tuple","type_","type_id","unary","unit","AccessExpression","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","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","is_main","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","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","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","definition","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_assert","consume_assign","consume_binary","consume_block","consume_call","consume_cast","consume_conditional","consume_console","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_assert","reconstruct_assign","reconstruct_binary","reconstruct_block","reconstruct_call","reconstruct_cast","reconstruct_conditional","reconstruct_console","reconstruct_definition","reconstruct_err","reconstruct_expression","reconstruct_expression_statement","reconstruct_function","reconstruct_identifier","reconstruct_import","reconstruct_iteration","reconstruct_literal","reconstruct_mapping","reconstruct_program","reconstruct_program_scope","reconstruct_return","reconstruct_statement","reconstruct_struct","reconstruct_struct_init","reconstruct_ternary","reconstruct_tuple","reconstruct_unary","reconstruct_unit","AdditionalInput","ExpressionVisitor","Output","ProgramVisitor","StatementVisitor","visit_access","visit_assert","visit_assign","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_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","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","Definition","Expression","Iteration","Return","Statement","assert","assign","block","borrow","borrow_mut","clone","clone_into","conditional","console","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","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","core_constant","integer_type","mapping","tuple","type_","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","Tuple","borrow","borrow_mut","clone","clone_into","deref","deref","deref_mut","deserialize","drop","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","hash","init","into","serialize","to_owned","to_string","try_from","try_into","type_id","Address","Boolean","Err","Field","Group","Identifier","Integer","Mapping","Scalar","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"],[74,"leo_ast::access::associated_constant_access"],[107,"leo_ast::access::associated_function_access"],[141,"leo_ast::access::member_access"],[174,"leo_ast::access::tuple_access"],[207,"leo_ast::common"],[213,"leo_ast::common::identifier"],[248,"leo_ast::common::imported_modules"],[250,"leo_ast::common::node"],[256,"leo_ast::common::node_builder"],[295,"leo_ast::common::positive_number"],[324,"leo_ast::common::static_string"],[351,"leo_ast::expressions"],[506,"leo_ast::expressions::access"],[539,"leo_ast::expressions::binary"],[629,"leo_ast::expressions::call"],[663,"leo_ast::expressions::cast"],[696,"leo_ast::expressions::err"],[727,"leo_ast::expressions::literal"],[764,"leo_ast::expressions::struct_init"],[832,"leo_ast::expressions::ternary"],[866,"leo_ast::expressions::tuple"],[898,"leo_ast::expressions::unary"],[966,"leo_ast::expressions::unit"],[997,"leo_ast::functions"],[1048,"leo_ast::functions::annotation"],[1080,"leo_ast::functions::core_function"],[1269,"leo_ast::functions::external"],[1304,"leo_ast::functions::finalize"],[1341,"leo_ast::functions::input"],[1410,"leo_ast::functions::mode"],[1439,"leo_ast::functions::output"],[1505,"leo_ast::functions::variant"],[1531,"leo_ast::groups"],[1533,"leo_ast::groups::group_coordinate"],[1562,"leo_ast::groups::group_literal"],[1620,"leo_ast::input"],[1626,"leo_ast::input::definition"],[1654,"leo_ast::input::input_ast"],[1698,"leo_ast::input::input_value"],[1729,"leo_ast::input::program_input"],[1750,"leo_ast::input::section"],[1772,"leo_ast::mapping"],[1806,"leo_ast::passes"],[1809,"leo_ast::passes::consumer"],[1854,"leo_ast::passes::reconstructor"],[1887,"leo_ast::passes::visitor"],[1921,"leo_ast::program"],[1951,"leo_ast::program::program_id"],[1979,"leo_ast::program::program_scope"],[2009,"leo_ast::statement"],[2057,"leo_ast::statement::assert"],[2115,"leo_ast::statement::assign"],[2148,"leo_ast::statement::block"],[2180,"leo_ast::statement::conditional"],[2214,"leo_ast::statement::console"],[2216,"leo_ast::statement::console::console_function"],[2244,"leo_ast::statement::console::console_statement"],[2276,"leo_ast::statement::definition"],[2315,"leo_ast::statement::definition::declaration_type"],[2342,"leo_ast::statement::expression"],[2374,"leo_ast::statement::iteration"],[2413,"leo_ast::statement::return_"],[2446,"leo_ast::struct"],[2482,"leo_ast::struct::member"],[2517,"leo_ast::types"],[2522,"leo_ast::types::core_constant"],[2545,"leo_ast::types::integer_type"],[2583,"leo_ast::types::mapping"],[2611,"leo_ast::types::tuple"],[2638,"leo_ast::types::type_"],[2679,"leo_ast::value"]],"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 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.","","","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 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::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 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 positive.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Returns true if this number is zero.","","","","Converts the positive number into a usize or panics if it …","","","","The string representation of the positive 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. &&.","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 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 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 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 …","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).","","","","","","","","","","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 true if the function name is main.","","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.","","","","","","","","","","","","","","","","Returns the argument unchanged.","A map from function names to function definitions.","","Calls U::from(self).","A map from mapping names to mapping definitions.","The program id of the program scope.","","The span associated with the program scope.","A map from struct names to struct definitions.","","","","","","An assert statement.","An assignment statement.","A block statement.","An if statement.","A console logging statement.","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.","","","","","","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.","","","","","","","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 argument unchanged.","","","Calls U::from(self).","","","","","","","The address 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 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,20,0,0,15,20,21,22,22,21,0,15,20,21,15,20,21,22,22,0,15,20,0,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,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,0,0,0,0,0,0,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,23,23,0,0,0,0,92,92,92,92,0,0,28,29,28,29,28,29,28,29,28,28,29,28,29,28,29,28,29,28,29,28,29,28,28,29,28,29,29,28,29,28,29,28,29,28,29,28,29,0,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,46,46,32,0,34,34,40,34,33,33,32,0,0,34,34,40,32,0,32,0,34,34,46,34,32,0,0,40,40,34,34,32,40,46,0,32,34,34,33,34,34,34,34,46,34,34,46,34,34,34,34,34,40,34,34,34,34,46,46,40,32,0,0,34,34,32,0,46,46,33,32,0,32,0,0,32,0,34,0,37,0,32,32,0,0,32,32,44,32,32,32,32,45,32,32,32,32,32,0,38,43,37,32,32,32,37,32,35,37,38,43,42,39,44,45,47,48,43,44,44,32,32,35,0,42,42,35,47,47,35,32,32,32,32,35,37,38,43,42,39,44,45,47,48,0,0,32,32,32,32,0,38,32,0,0,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,34,34,34,0,0,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,35,34,35,34,35,34,35,34,35,34,35,34,35,34,35,34,35,34,34,34,34,35,35,35,35,34,34,35,35,34,35,34,35,35,34,35,34,35,35,35,35,34,35,35,35,35,35,34,35,34,35,34,35,34,35,34,35,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,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,38,38,38,38,38,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,40,40,40,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,40,40,40,40,40,40,0,0,43,42,43,42,42,43,42,43,42,43,42,43,42,43,42,43,42,43,42,43,43,43,43,42,42,42,42,43,43,43,42,42,43,42,43,42,43,42,43,43,42,43,42,42,42,43,42,43,42,43,42,43,42,43,42,43,42,42,43,42,43,42,43,42,43,42,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,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,45,45,45,45,45,45,46,46,46,46,46,46,46,46,46,46,0,0,46,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,47,46,46,46,46,47,47,47,47,46,47,47,46,47,46,47,47,46,47,46,47,47,47,46,47,47,47,47,47,46,47,47,46,47,46,47,46,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,0,0,49,49,49,49,49,49,0,49,49,49,49,49,49,49,49,49,0,0,49,49,49,49,49,49,49,49,49,0,49,49,49,0,49,49,0,49,49,49,49,49,49,49,49,49,49,49,49,0,49,0,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,0,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,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,57,57,57,0,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,52,0,0,52,52,59,52,59,52,59,52,59,52,59,52,59,52,59,52,59,52,59,52,52,52,52,59,59,59,59,52,52,59,59,59,52,59,52,59,59,52,59,52,59,52,59,52,59,52,59,52,59,52,59,52,59,59,52,59,52,59,52,59,52,59,52,59,52,59,60,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,53,0,53,0,53,61,53,61,53,61,53,61,53,61,53,61,53,61,53,61,53,61,53,53,53,53,61,61,61,61,53,53,61,61,53,61,53,61,61,53,61,53,61,53,61,53,61,53,61,53,61,53,61,61,53,61,53,61,53,61,53,61,53,61,53,61,51,51,51,0,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,0,0,0,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,0,0,63,63,63,64,63,64,63,64,63,64,63,64,63,64,63,64,63,64,63,64,63,63,63,63,64,64,64,64,63,63,64,63,64,63,64,63,64,63,64,63,64,63,63,63,64,63,64,63,63,64,63,64,63,64,64,64,0,0,0,0,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,0,0,66,67,66,67,66,67,66,67,66,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,67,66,67,67,66,67,67,67,66,67,66,67,66,67,66,67,66,67,69,69,69,69,0,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,0,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,0,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,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,72,72,72,72,72,72,72,0,0,0,0,0,0,0,93,94,95,96,97,98,99,100,0,0,0,0,93,94,94,93,94,93,93,94,94,94,93,93,94,95,93,97,94,93,98,100,99,94,94,96,93,93,93,93,93,101,0,0,0,101,102,102,101,102,101,101,102,102,102,101,101,102,103,101,103,102,101,103,103,103,102,102,103,101,101,101,101,101,104,0,104,0,0,104,105,105,104,105,104,104,105,105,105,104,104,105,106,104,106,105,104,106,106,106,105,105,106,104,104,104,104,104,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,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,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,82,82,82,82,82,82,82,82,82,0,0,0,0,82,82,82,82,0,0,0,82,82,82,82,82,82,82,82,82,82,0,82,82,82,82,82,82,0,0,82,82,82,82,82,82,82,82,82,84,84,84,0,0,84,73,84,73,84,73,84,73,84,73,84,73,84,73,84,73,84,73,84,84,84,84,73,73,73,73,84,73,73,84,73,73,73,84,73,84,73,84,73,73,73,73,73,84,73,73,84,73,84,73,84,73,73,0,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,0,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,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,85,85,85,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,0,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,76,86,0,0,86,77,77,77,77,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,86,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,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,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,79,79,79,79,79,79,79,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,81,81,0,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,0,68,68,68,68,68,68,68,68,68,68,68,68,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,87,87,87,87,87,87,0,0,0,0,0,0,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,89,89,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,89,89,89,89,89,89,89,89,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,90,90,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,58,58,58,58,58,58,58,58,58,58,58,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,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,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,41,0,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],"f":[0,0,[1,2],[1,2],0,[[]],[[]],[1,1],[[]],0,[[],1],[3],[3],[3],[[1,1],4],[[],4],[[],4],[[],4],[[],4],0,[[1,5],6],[[]],[7,[[8,[1]]]],[9,[[8,[1]]]],0,0,[[],3],0,[[]],[1,2],0,[2,1],[10,10],0,0,[[10,9],10],0,0,0,[[1,7,9],8],[[1,7,9,[11,[9]]],8],[1,[[8,[12]]]],[1,[[8,[10]]]],[[]],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[15,15],[[]],[3],[3],[16,[[13,[15]]]],[3],[[15,15],4],[[],4],[[],4],[[],4],[[],4],[[15,5],6],[[15,5],6],[[]],[15,17],0,[[],3],[[]],0,[[15,18],13],[[15,17]],[[15,19]],[15,19],0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,0,[[]],[[]],[20,20],[[]],[3],[3],[16,[[13,[20]]]],[3],[[20,20],4],[[],4],[[],4],[[],4],[[],4],[[20,5],6],[[20,5],6],[[]],[20,17],0,[[],3],[[]],0,[[20,18],13],[[20,17]],[[20,19]],[20,19],0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,[[]],[[]],[21,21],[[]],[3],[3],[16,[[13,[21]]]],[3],[[21,21],4],[[],4],[[],4],[[],4],[[],4],[[21,5],6],[[21,5],6],[[]],[21,17],0,[[],3],0,[[]],0,[[21,18],13],[[21,17]],[[21,19]],[21,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[22,22],[[]],[3],[3],[16,[[13,[22]]]],[3],[[22,22],4],[[],4],[[],4],[[],4],[[],4],[[22,5],6],[[22,5],6],[[]],[22,17],0,0,[[],3],[[]],[[22,18],13],[[22,17]],[[22,19]],[22,19],0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,0,0,0,0,0,0,[[]],[[]],[23,23],[[]],[3],[3],[16,[[8,[23]]]],[3],[[23,23],4],[[],4],[[],4],[[],4],[[],4],[[23,5],6],[[23,5],6],[[]],[[23,24]],[23,17],0,[[],3],[[]],[[23,23],4],0,[[25,17],23],[[23,18],8],[[23,17]],[[23,19]],[23,19],0,[[]],[[],12],[[],13],[[],13],[[],14],[16,[[13,[[27,[[26,[25]],2]]]]]],[[[27,[[26,[25]],2]],18],13],0,0,[[],17],[17],[19],[[],19],0,0,[[]],[[]],[[]],[[]],[28,28],[29,29],[[]],[[]],[[],28],[3],[3],[3],[3],[3],[3],[[28,5],6],[[29,5],6],[[]],[[]],[[],3],[[],3],0,[[]],[[]],[17,28],[17,29],0,[28,17],[29,17],[[]],[[]],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,[[]],[[]],[30,30],[[]],[3],[3],[16,[[13,[30]]]],[3],[[30,30],4],[[],4],[[],4],[[],4],[[],4],[[30,5],6],[[30,5],6],[[]],[[30,24]],[[],3],[[]],[30,4],[[30,18],13],[[]],[[],12],[30,3],[[],13],[[],13],[[],14],0,0,[[]],[[]],[31,31],[[]],[[],31],[3],[3],[16,[[13,[31]]]],[3],[[31,31],4],[[],4],[[],4],[[],4],[[],4],[[31,5],6],[[31,5],6],[[]],[[],3],[[]],[12,31],[[31,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],0,0,[32,32],[[]],0,[3],[3],[16,[[13,[32]]]],[3],0,[[32,32],4],[[],4],[[],4],[[],4],[[],4],0,0,0,0,[[32,5],6],[[32,5],6],[[]],0,[32,17],0,0,0,0,0,0,0,0,0,0,0,0,0,[[],3],[[]],0,0,0,0,0,0,0,0,[[32,18],13],[[32,17]],[[32,19]],[32,19],0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[],12],[[],13],[[],13],0,0,[[],14],0,0,0,0,0,0,0,[[]],[[]],[33,33],[[]],[3],[3],[16,[[13,[33]]]],[3],[[33,33],4],[[],4],[[],4],[[],4],[[],4],[[33,5],6],[[33,5],6],[[]],[33,17],[[],3],[[]],[[33,18],13],[[33,17]],[[33,19]],[33,19],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[34,34],[35,35],[[]],[[]],[3],[3],[3],[3],[16,[[13,[34]]]],[16,[[13,[35]]]],[3],[3],[[34,34],4],[[35,35],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[34,5],6],[[34,5],6],[[35,5],6],[[35,5],6],[[]],[[]],[25,[[36,[34]]]],[35,17],0,[[],3],[[],3],[[]],[[]],0,0,0,[[34,18],13],[[35,18],13],[[35,17]],[[35,19]],[35,19],0,[[]],[[]],[[],12],[[],12],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,0,[[]],[[]],[37,37],[[]],[3],[3],[16,[[13,[37]]]],[3],[[37,37],4],[[],4],[[],4],[[],4],[[],4],0,[[37,5],6],[[37,5],6],[[]],0,[37,17],0,[[],3],[[]],[[37,18],13],[[37,17]],[[37,19]],[37,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[38,38],[[]],[3],[3],[16,[[13,[38]]]],[3],[[38,38],4],[[],4],[[],4],[[],4],[[],4],0,[[38,5],6],[[38,5],6],[[]],[38,17],0,[[],3],[[]],[[38,18],13],[[38,17]],[[38,19]],[38,19],0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,[[]],[[]],[39,39],[[]],[3],[3],[16,[[13,[39]]]],[3],[[39,39],4],[[],4],[[],4],[[],4],[[],4],[[39,5],6],[[39,5],6],[[]],[39,17],0,[[],3],[[]],[[39,18],13],[[39,17]],[[39,19]],[39,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,[[]],[[]],[40,40],[[]],[3],[3],[16,[[13,[40]]]],[3],[[40,40],4],[[],4],[[],4],[[],4],[[],4],[[40,5],6],[[40,5],6],[[]],[[41,17],40],[40,17],[[],3],[[]],[[40,18],13],[[40,17]],[[40,19]],[40,19],[[]],[[],12],[[],13],[[],13],[[],14],0,0,[[]],[[]],[[]],[[]],[42,4],[43,43],[42,42],[[]],[[]],[3],[3],[3],[3],[16,[[13,[43]]]],[16,[[13,[42]]]],[3],[3],[[43,43],4],[[42,42],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],0,[[43,5],6],[[43,5],6],[[42,5],6],[[42,5],6],[[]],[[]],[43,17],[42,17],0,0,0,[[],3],[[],3],[[]],[[]],0,0,[[43,18],13],[[42,18],13],[[43,17]],[[42,17]],[[43,19]],[[42,19]],[43,19],[42,19],0,0,[[]],[[]],[42,12],[[],12],[[],12],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,[[]],[[]],[44,44],[[]],0,[3],[3],[16,[[13,[44]]]],[3],[[44,44],4],[[],4],[[],4],[[],4],[[],4],[[44,5],6],[[44,5],6],[[]],[44,17],0,0,0,[[],3],[[]],[[44,18],13],[[44,17]],[[44,19]],[44,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[45,45],[[]],[3],[3],[16,[[13,[45]]]],[3],0,[[45,45],4],[[],4],[[],4],[[],4],[[],4],[[45,5],6],[[45,5],6],[[]],[45,17],0,[[],3],[[]],[[45,18],13],[[45,17]],[[45,19]],[45,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,[46,9],[[]],[[]],[[]],[[]],[46,46],[47,47],[[]],[[]],[3],[3],[3],[3],[16,[[13,[46]]]],[16,[[13,[47]]]],[3],[3],[[46,46],4],[[47,47],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[46,5],6],[[47,5],6],[[47,5],6],[[]],[[]],[25,[[36,[46]]]],[47,17],0,[[],3],[[],3],[[]],[[]],0,0,[[46,18],13],[[47,18],13],[[47,17]],[[47,19]],[47,19],0,[[]],[[]],[[],12],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,[[]],[[]],[48,48],[[]],[3],[3],[16,[[13,[48]]]],[3],[[48,48],4],[[],4],[[],4],[[],4],[[],4],[[48,5],6],[[48,5],6],[[]],[48,17],0,[[],3],[[]],[[48,18],13],[[48,17]],[[48,19]],[48,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,[[]],[[]],[49,49],[[]],0,[3],[3],[16,[[13,[49]]]],[3],[[49,49],4],[[],4],[[],4],[[],4],[[],4],0,0,0,[[49,5],6],[[49,5],6],[[49,5],6],[[]],[49,17],0,0,[[],3],0,0,[[]],[49,4],0,[49,25],[[[26,[50]],51,23,[26,[52]],[26,[53]],54,[36,[55]],19,17],49],0,0,0,[[49,18],13],[[49,17]],[[49,19]],[49,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,[[]],[[]],[50,50],[[]],[3],[3],[16,[[13,[50]]]],[3],[[50,50],4],[[],4],[[],4],[[],4],[[],4],[[50,5],6],[[50,5],6],[[]],[50,17],0,0,[[],3],[[]],[[50,18],13],[[50,17]],[[50,19]],[50,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[56,56],[[]],[3],[3],[3],[[56,56],4],[[],4],[[],4],[[],4],[[],4],[[]],[[25,25],[[36,[56]]]],[[],3],[[]],[56,4],[56,3],[[]],[[],13],[[],13],[[],14],0,[[]],[[]],[57,57],[[]],[3],[3],[16,[[13,[57]]]],[3],[[57,57],4],[[],4],[[],4],[[],4],[[],4],[[57,5],6],[[57,5],6],[[]],[57,17],0,0,[[],3],[[]],0,0,[[57,18],13],[[57,17]],[[57,19]],[57,19],0,[[]],[[],12],[[],13],[[],13],[57,58],[[],14],0,0,[[]],[[]],[55,55],[[]],[3],[3],[16,[[13,[55]]]],[3],[[55,55],4],[[],4],[[],4],[[],4],[[],4],[[55,5],6],[[55,5],6],[[]],[55,17],0,0,[[],3],0,[[]],[[23,[26,[52]],[26,[53]],54,19,17],55],0,0,[[55,18],13],[[55,17]],[[55,19]],[55,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,[[]],[[]],[[]],[[]],[52,52],[59,59],[[]],[[]],[3],[3],[3],[3],[16,[[13,[52]]]],[16,[[13,[59]]]],[3],[3],[[52,52],4],[[59,59],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[52,5],6],[[52,5],6],[[59,5],6],[[59,5],6],[[59,5],6],[[]],[[]],[52,3],[59,17],0,[52,23],0,[[],3],[[],3],[[]],[[]],[52,60],0,[[52,18],13],[[59,18],13],[[52,3]],[[59,17]],[[52,19]],[[59,19]],[52,19],[59,19],0,[[]],[[]],[[],12],[[],12],[[],13],[[],13],[[],13],[[],13],[52,58],0,[[],14],[[],14],0,0,0,0,0,[[]],[[]],[60,60],[[]],[3],[3],[16,[[13,[60]]]],[3],[[60,60],4],[[],4],[[],4],[[],4],[[],4],[[60,5],6],[[60,5],6],[[]],[[],3],[[]],[[60,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,[[]],[[]],[[]],[[]],[53,53],[61,61],[[]],[[]],[3],[3],[3],[3],[16,[[13,[53]]]],[16,[[13,[61]]]],[3],[3],[[53,53],4],[[61,61],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[53,5],6],[[53,5],6],[[61,5],6],[[61,5],6],[[]],[[]],[53,17],[61,17],0,[[],3],[[],3],[[]],[[]],[53,60],0,[[53,18],13],[[61,18],13],[[53,17]],[[61,17]],[[53,19]],[[61,19]],[53,19],[61,19],0,[[]],[[]],[[],12],[[],12],[[],13],[[],13],[[],13],[[],13],[53,58],0,[[],14],[[],14],0,0,0,0,[[]],[[]],[51,51],[[]],[3],[3],[16,[[13,[51]]]],[3],[[51,51],4],[[],4],[[],4],[[],4],[[],4],[[51,5],6],[[]],[[],3],[[]],[[51,18],13],[[]],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,[[]],[[]],[62,62],[[]],[3],[3],[16,[[13,[62]]]],[3],[[62,62],4],[[],4],[[],4],[[],4],[[],4],[[62,5],6],[[62,5],6],[[]],[[],3],[[]],[[62,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,[[]],[[]],[[]],[[]],[63,63],[64,64],[[]],[[]],[3],[3],[3],[3],[16,[[13,[63]]]],[16,[[13,[64]]]],[3],[3],[[63,63],4],[[64,64],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[63,5],6],[[63,5],6],[[64,5],6],[[]],[[]],[63,17],0,[[],3],[[],3],[[]],[[]],[[63,18],13],[[64,18],13],[[63,17]],[[63,19]],[63,19],0,[[]],[[]],[[],12],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,0,0,0,0,0,0,0,0,[[]],[[]],[65,65],[[]],[3],[3],[16,[[13,[65]]]],[3],[[65,65],4],[[],4],[[],4],[[],4],[[],4],[[65,5],6],[[]],[[],3],[[]],0,0,[[65,18],13],0,[[]],[[],13],[[],13],0,[[],14],0,0,0,[[]],[[]],[[]],[[]],[66,66],[67,67],[[]],[[]],[[],66],[3],[3],[3],[3],[16,[[13,[66]]]],[16,[[13,[67]]]],[3],[3],[[66,5],6],[[67,5],6],[[]],[[]],[[],3],[[],3],[[]],[[]],0,[[67,9,[27,[25,68]]],[[26,[12]]]],0,[[66,18],13],[[67,18],13],[[67,7,9],8],[[67,7,9,[11,[9]]],8],[66,[[8,[12]]]],[67,[[8,[10]]]],[[]],[[]],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,0,0,0,0,0,[[]],[[]],[69,69],[[]],[3],[3],[16,[[13,[69]]]],[3],[[69,69],4],[[],4],[[],4],[[],4],[[],4],[[69,5],6],[[69,5],6],[[]],[[],3],[[]],[[69,18],13],[[]],[[],12],[[],[[8,[69]]]],[[],13],[[],13],[[],14],0,[[]],[[]],[70,70],[[]],[[],70],[3],[3],[16,[[13,[70]]]],[3],[[70,5],6],[[]],[[],3],[[]],0,[[70,18],13],[[]],[[],13],[67,[[8,[70]]]],[[],13],[[],14],0,[[]],[[]],[71,71],[[]],0,[3],[3],[16,[[13,[71]]]],[3],[[71,5],6],[[]],[[],3],[[]],[71,12],0,[[71,18],13],0,[[]],[[],13],[[],13],[[],14],0,[[]],[[]],[72,72],[[]],[3],[3],[16,[[13,[72]]]],[3],[[72,72],4],[[],4],[[],4],[[],4],[[],4],[[72,5],6],[[72,5],6],[[]],[72,17],0,0,[[],3],[[]],0,[[72,18],13],[[72,17]],[[72,19]],[72,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[33],[73],[74],[35],[54],[37],[38],[75],[76],[77],[39],[32],[78],[49],[23],[2],[79],[40],[72],[2],[80],[81],[82],[68],[42],[44],[45],[47],[48],0,0,0,0,[33],[73],[74],[35],[54],[37],[38],[75],[76],[77],[39],[32],[78],[49,49],[23],[2,2],[79],[40],[72,72],[2,2],[80,80],[81],[82],[68,68],[42],[44],[45],[47],[48],0,0,0,0,0,[33],[73],[74],[35],[54],[37],[38],[75],[76],[77],[39],[32],[78],[49],[23],[2],[79],[40],[72],[2],[80],[81],[82],[68],[42],[44],[45],[47],[48],0,[[]],[[]],[2,2],[[]],[[],2],[3],[3],[16,[[13,[2]]]],[3],[[2,2],4],[[],4],[[],4],[[],4],[[],4],[[2,5],6],[[2,5],6],[[]],0,[[],3],[[]],0,0,0,[[2,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[83,83],[[]],[3],[3],[16,[[13,[83]]]],[3],[[83,83],4],[[],4],[[],4],[[],4],[[],4],[[83,5],6],[[83,5],6],[[]],[[83,24]],[[],3],[[]],0,0,[[83,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[80,80],[[]],[3],[3],[16,[[13,[80]]]],[3],[[80,80],4],[[],4],[[],4],[[],4],[[],4],[[80,5],6],[[80,5],6],[[]],0,[[],3],[[]],0,0,[[80,18],13],0,0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[82,82],[[]],0,0,0,[3],[3],[16,[[13,[82]]]],[3],[[19,17],82],[[82,82],4],[[],4],[[],4],[[],4],[[],4],0,[[82,5],6],[[82,5],6],[[]],[82,17],[[],3],[[]],0,0,[[82,18],13],[[82,17]],[[82,19]],[82,19],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,[[]],[[]],[[]],[[]],[84,84],[73,73],[[]],[[]],[3],[3],[3],[3],[16,[[13,[84]]]],[16,[[13,[73]]]],[3],[3],[[84,84],4],[[73,73],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[84,5],6],[[73,5],6],[[73,5],6],[[]],[[]],[73,17],0,[[],3],[[],3],[[]],[[]],[[84,18],13],[[73,18],13],[[73,17]],[[73,19]],[73,19],0,[[]],[[]],[[],12],[[],13],[[],13],[[],13],[[],13],[[],14],[[],14],0,0,[[]],[[]],[74,74],[[]],[3],[3],[16,[[13,[74]]]],[3],[[74,74],4],[[],4],[[],4],[[],4],[[],4],[[74,5],6],[[74,5],6],[[]],[74,17],0,[[],3],[[]],0,[[74,18],13],[[74,17]],[[74,19]],[74,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,[[]],[[]],[54,54],[[]],[3],[3],[16,[[13,[54]]]],[3],[[54,54],4],[[],4],[[],4],[[],4],[[],4],[[54,5],6],[[54,5],6],[[]],[54,17],0,[[],3],[[]],[[54,18],13],[[54,17]],[[54,19]],[54,19],0,0,[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[75,75],[[]],0,[3],[3],[16,[[13,[75]]]],[3],[[75,75],4],[[],4],[[],4],[[],4],[[],4],[[75,5],6],[[75,5],6],[[]],[75,17],0,[[],3],[[]],0,[[75,18],13],[[75,17]],[[75,19]],[75,19],0,0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,[[]],[[]],[85,85],[[]],[3],[3],[16,[[13,[85]]]],[3],[[85,85],4],[[],4],[[],4],[[],4],[[],4],[[85,5],6],[[85,5],6],[[]],[[],3],[[]],[[85,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[76,76],[[]],[3],[3],[16,[[13,[76]]]],[3],[[76,76],4],[[],4],[[],4],[[],4],[[],4],[[76,5],6],[[76,5],6],[[]],0,[76,17],0,[[],3],[[]],[[76,18],13],[[76,17]],[[76,19]],[76,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,[[]],[[]],[77,77],[[]],0,0,[3],[3],[16,[[13,[77]]]],[3],[[77,77],4],[[],4],[[],4],[[],4],[[],4],[[77,5],6],[[77,5],6],[[]],[77,17],0,[[],3],[[]],0,[[77,18],13],[[77,17]],[[77,19]],[77,19],0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,0,0,0,[[]],[[]],[86,86],[[]],[3],[3],[16,[[13,[86]]]],[3],[[86,86],4],[[],4],[[],4],[[],4],[[],4],[[86,5],6],[[86,5],6],[[]],[[],3],[[]],[[86,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[78,78],[[]],[3],[3],[16,[[13,[78]]]],[3],[[78,78],4],[[],4],[[],4],[[],4],[[],4],0,[[78,5],6],[[78,5],6],[[]],[78,17],0,[[],3],[[]],[[78,18],13],[[78,17]],[[78,19]],[78,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,0,[[]],[[]],[79,79],[[]],[3],[3],[16,[[13,[79]]]],[3],[[79,79],4],[[],4],[[],4],[[],4],[[],4],[[79,5],6],[[79,5],6],[[]],[79,17],0,0,[[],3],[[]],[[79,18],13],[[79,17]],[[79,19]],[79,19],0,0,0,0,0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,0,[[]],[[]],[81,81],[[]],[3],[3],[16,[[13,[81]]]],[3],[[81,81],4],[[],4],[[],4],[[],4],[[],4],0,0,[[81,5],6],[[81,5],6],[[]],[81,17],0,[[],3],[[]],[[81,18],13],[[81,17]],[[81,19]],[81,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[68,68],[[]],[3],[3],[16,[[13,[68]]]],[3],[[68,68],4],[[],4],[[],4],[[],4],[[],4],[[68,5],6],[[68,5],6],[[]],[68,17],0,0,[[],3],[[]],0,0,0,[68,25],[[68,18],13],[[68,17]],[[68,19]],[68,19],0,[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[87,87],[[]],[3],[3],[16,[[13,[87]]]],[3],[[87,87],4],[[],4],[[],4],[[],4],[[],4],[[87,5],6],[[87,5],6],[[]],[87,17],0,0,[[],3],[[]],0,[87,25],[[87,18],13],[[87,17]],[[87,19]],[87,19],0,[[]],[[],12],[[],13],[[],13],0,[[],14],0,0,0,0,0,0,0,[[]],[[]],[88,88],[[]],[3],[3],[3],[[88,88],4],[[],4],[[],4],[[],4],[[],4],[[]],[[25,25],[[36,[88]]]],[[],3],[[]],[[]],[88,58],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[89,89],[[]],[3],[3],[16,[[13,[89]]]],[3],[[89,89],4],[[],4],[[],4],[[],4],[[],4],[[89,5],6],[[89,5],6],[[]],[[89,24]],[[],3],[[]],[89,4],[[89,18],13],[89,25],[[]],[[],12],[[],13],[[],13],[[],14],0,[[]],[[]],[90,90],[[]],[3],[3],[16,[[13,[90]]]],[3],[[90,90],4],[[],4],[[],4],[[],4],[[],4],[[90,5],6],[[90,5],6],[[]],[[90,24]],[[],3],[[]],0,[[90,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,0,[[]],[[]],[91,91],[[]],[91],[3],[3],[16,[[13,[91]]]],[3],[[91,91],4],[[],4],[[],4],[[],4],[[],4],[[91,5],6],[[91,5],6],[[]],[[91,24]],[[],3],[[]],[[91,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[58,58],[[]],[3],[3],[16,[[13,[58]]]],[3],[[58,58],4],[[58,58],4],[[],4],[[],4],[[],4],[[],4],[[58,5],6],[[58,5],6],[[]],[41,58],[41,58],[[58,24]],[[],3],[[]],[[58,18],13],[[]],[[],12],[[],13],[[],13],[[],14],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[41,19],[[8,[41]]]],[[41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[41,41],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[]],[[]],[41,41],[[]],[3],[3],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[3],[[41,41],4],[[41,41,19],[[8,[41]]]],[[],4],[[],4],[[],4],[[],4],[[41,5],6],[[41,5],6],[[]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],0,0,[[],3],[[]],[41,4],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,19],[[8,[41]]]],[[41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[41,41,19],[[8,[41]]]],[[]],[[],12],[40,[[8,[41]]]],[[],13],[[],13],[[],14],[[41,41,19],[[8,[41]]]]],"c":[],"p":[[3,"Ast"],[3,"Program"],[15,"usize"],[15,"bool"],[3,"Formatter"],[6,"Result"],[3,"PathBuf"],[6,"Result"],[15,"str"],[4,"Value"],[15,"slice"],[3,"String"],[4,"Result"],[3,"TypeId"],[3,"AssociatedConstant"],[8,"Deserializer"],[6,"NodeID"],[8,"Serializer"],[3,"Span"],[3,"AssociatedFunction"],[3,"MemberAccess"],[3,"TupleAccess"],[3,"Identifier"],[8,"Hasher"],[3,"Symbol"],[3,"Vec"],[3,"IndexMap"],[3,"NodeBuilder"],[3,"NodeBuilderInner"],[3,"PositiveNumber"],[3,"StaticString"],[4,"Expression"],[4,"AccessExpression"],[4,"BinaryOperation"],[3,"BinaryExpression"],[4,"Option"],[3,"CallExpression"],[3,"CastExpression"],[3,"ErrExpression"],[4,"Literal"],[4,"Value"],[3,"StructExpression"],[3,"StructVariableInitializer"],[3,"TernaryExpression"],[3,"TupleExpression"],[4,"UnaryOperation"],[3,"UnaryExpression"],[3,"UnitExpression"],[3,"Function"],[3,"Annotation"],[4,"Variant"],[4,"Input"],[4,"Output"],[3,"Block"],[3,"Finalize"],[4,"CoreFunction"],[3,"External"],[4,"Type"],[3,"FunctionInput"],[4,"Mode"],[3,"FunctionOutput"],[4,"GroupCoordinate"],[4,"GroupLiteral"],[3,"GroupTuple"],[3,"Definition"],[3,"InputData"],[3,"InputAst"],[3,"Struct"],[4,"InputValue"],[3,"ProgramInput"],[3,"Section"],[3,"Mapping"],[3,"AssertStatement"],[3,"AssignStatement"],[3,"ConditionalStatement"],[3,"ConsoleStatement"],[3,"DefinitionStatement"],[3,"ExpressionStatement"],[3,"IterationStatement"],[3,"ProgramScope"],[3,"ReturnStatement"],[4,"Statement"],[3,"ProgramId"],[4,"AssertVariant"],[4,"ConsoleFunction"],[4,"DeclarationType"],[3,"Member"],[4,"CoreConstant"],[4,"IntegerType"],[3,"MappingType"],[3,"Tuple"],[8,"Node"],[8,"ExpressionConsumer"],[8,"StatementConsumer"],[8,"FunctionConsumer"],[8,"StructConsumer"],[8,"ImportConsumer"],[8,"MappingConsumer"],[8,"ProgramScopeConsumer"],[8,"ProgramConsumer"],[8,"ExpressionReconstructor"],[8,"StatementReconstructor"],[8,"ProgramReconstructor"],[8,"ExpressionVisitor"],[8,"StatementVisitor"],[8,"ProgramVisitor"]]},\ "leo_compiler":{"doc":"leo-compiler","t":"DDDDDDDLLMMMLLLLLLMLLLLLLLAMMMLLLLLLLLLLLLLLLLLMLLLLLLLLMMLLLMMMMLLLLLLLLLLLLLLMMLMAMMMLMLMMMLMMMLLLLLLLLLLLLLLLLLLLLMLLMLLLDDDDMMMLLLLLLLMLLLLLLLLMMLMLLMMLMMMLLLMMMMLMLLLLLLMLLDDDLLLLLLMLLLLLLMMLLLLLLLLLLLLMLLLLLLMMMLLLMMMLLLLLLLLLLLLMLLL","n":["Ast","BuildOptions","Compiler","CompilerOptions","InputAst","OutputOptions","SymbolTable","as_ref","as_repr","assigner","ast","ast","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","drop","drop","drop","eq","equivalent","equivalent","equivalent","equivalent","flattened_ast","fmt","fmt","fmt","from","from","from","from_json_file","from_json_string","functions","handler","init","init","init","initial_ast","initial_input_ast","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","scope_index","scope_index","scopes","sections","serialize","spans_enabled","ssa_ast","structs","take_from_value","to_json_file","to_json_file","to_json_file_without_keys","to_json_file_without_keys","to_json_string","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_id","type_id","type_id","unrolled_ast","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","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","variables","vzip","write_ast_to_json","BuildOptions","CompilerOptions","OutputOptions","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","drop","drop","drop","flattened_ast","from","from","from","init","init","init","initial_ast","initial_input_ast","inlined_ast","into","into","into","output","spans_enabled","ssa_ast","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","unrolled_ast","vzip","vzip","vzip"],"q":[[0,"leo_compiler"],[124,"leo_compiler::compiler"],[177,"leo_compiler::options"]],"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.","","","","","","","","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 flattening.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Deserializes the JSON string into a ast from a file.","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,","Returns the current scope index. Increments the scope …","","","","","Whether spans are enabled in the output ASTs.","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 Input into a JSON value and removes keys …","Serializes the ast into a JSON value and removes keys from …","Serializes the ast into a JSON string.","Serializes the Input into a JSON Value.","","","","","","","","","","","","","","If enabled writes the AST 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 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.","","","","Writes the AST to a JSON file.","","","","","","","","","","Build options.","","","","","","","If enabled writes the AST after dead code elimination.","Whether to enable dead code elimination.","","","","","","","","","","","","","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.","Whether spans are enabled in the output ASTs.","If enabled writes the AST after static single assignment.","","","","","","","","","","","","","If enabled writes the AST after loop unrolling.","","",""],"i":[0,0,0,0,0,0,0,1,1,31,31,1,3,8,1,3,8,1,36,3,3,8,1,3,8,1,0,31,39,38,3,1,3,8,1,3,8,1,8,3,8,1,1,1,1,1,1,39,3,8,1,3,8,1,1,1,3,31,3,8,1,39,39,39,31,3,3,3,3,3,8,1,1,3,3,3,3,3,3,31,31,1,31,0,36,31,3,8,31,3,3,3,8,8,39,39,3,8,8,1,8,1,1,8,1,3,8,1,3,8,1,3,8,1,3,8,1,39,3,3,3,3,8,1,0,0,0,0,31,31,1,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,3,31,31,31,31,31,31,31,31,31,31,3,31,31,31,31,3,3,8,31,3,31,31,31,31,31,31,3,31,31,0,0,0,36,38,39,36,38,39,36,36,38,39,36,38,39,39,38,36,38,39,36,38,39,36,38,39,36,38,39,39,36,38,39,36,38,39,39,39,39,36,38,39,36,39,39,36,38,39,36,38,39,36,38,39,36,38,39,39,36,38,39],"f":[0,0,0,0,0,0,0,[1,2],[1,2],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],0,[[3,4,5],[[7,[6]]]],[3,3],[8,8],[1,1],[[]],[[]],[[]],0,0,0,0,[[],3],[[],1],[9],[9],[9],[9],[9],[9],[10,[[7,[8]]]],[9],[9],[9],[[1,1],11],[[],11],[[],11],[[],11],[[],11],0,[[3,12],[[7,[13]]]],[[8,12],[[7,[13]]]],[[1,12],[[7,[13]]]],[[]],[[]],[[]],[14,[[7,[1,6]]]],[15,[[7,[1,6]]]],0,0,[[],9],[[],9],[[],9],0,0,0,0,[3,9],[[3,4,16],[[7,[6]]]],[[3,4,17],[[7,[6]]]],[[3,4,18],[[7,[6]]]],[[]],[[]],[[]],[1,2],[[3,4],[[20,[[19,[3]]]]]],[[3,4],[[20,[21]]]],[[3,9],[[20,[[19,[3]]]]]],[[3,4],[[20,[17]]]],[[3,4],[[20,[18]]]],[[3,4],[[20,[18]]]],0,0,[2,1],0,0,0,0,0,[[8,15,[23,[4,17,22]]],[[26,[24,25]]]],0,[3,9],0,0,0,[[8,27],7],0,0,0,[[28,15],7],[[8,14,15],[[7,[6]]]],[[1,14,15],[[7,[6]]]],[[8,14,15,[29,[15]]],[[7,[6]]]],[[1,14,15,[29,[15]]],[[7,[6]]]],[1,[[7,[24,6]]]],[8,[[7,[28,6]]]],[1,[[7,[28,6]]]],[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],30],[[],30],[[],30],0,[[3,4],11],[[3,4],11],0,[[]],[[]],[[]],0,0,0,0,0,0,0,[[]],[[]],[31,[[32,[24]]]],[31,31],[[]],[[31,3,33,34],[[32,[24]]]],[31,32],0,[31,32],[31,32],[9],[9],[9],[[31,3],32],[[]],[[31,34],32],0,0,[[],9],0,[[]],[[31,3],[[32,[3]]]],0,0,[[24,24,35,14,14,[20,[36]]],31],0,0,0,[[31,14],32],[31,32],[[31,15,37],32],0,0,0,0,[[31,3],32],0,[31,[[32,[3]]]],[[]],[[],7],[[],7],[[31,3],32],[[],30],0,[[]],[[31,15],32],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],0,[36,36],[38,38],[39,39],[[]],[[]],[[]],0,0,[[],36],[[],38],[[],39],[9],[9],[9],[9],[9],[9],[9],[9],[9],0,[[]],[[]],[[]],[[],9],[[],9],[[],9],0,0,0,[[]],[[]],[[]],0,0,0,[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],30],[[],30],[[],30],0,[[]],[[]],[[]]],"c":[],"p":[[3,"Ast"],[3,"Program"],[3,"SymbolTable"],[3,"Symbol"],[3,"Span"],[4,"LeoError"],[4,"Result"],[3,"InputAst"],[15,"usize"],[8,"Deserializer"],[15,"bool"],[3,"Formatter"],[3,"Error"],[3,"PathBuf"],[15,"str"],[3,"Function"],[3,"Struct"],[3,"VariableSymbol"],[3,"RefCell"],[4,"Option"],[3,"FunctionSymbol"],[3,"RandomState"],[3,"IndexMap"],[3,"String"],[3,"Global"],[3,"Vec"],[8,"Serializer"],[4,"Value"],[15,"slice"],[3,"TypeId"],[3,"Compiler"],[6,"Result"],[6,"StructGraph"],[6,"CallGraph"],[3,"Handler"],[3,"CompilerOptions"],[4,"FileName"],[3,"BuildOptions"],[3,"OutputOptions"]]},\ -"leo_errors":{"doc":"leo-errors","t":"AOAAAAAADRMLLLLMMLLLMLLLLLLMLMLLLLLLMLLDMLLLLLLLLLLLLLLLLMLLLLLLILKKKKKKDDIGDDDGLLLLLLLLLLLLLLLKLLLLKLLLLMLMLLLLLLLLLLLLMLLLLLLKLLLLLMLLLLLLLLLLLLLLLLLLLLLMLLNNNNNNNEENNNGNALLLLAALLLALLLLLLLLLLLLLLLLALLAALLLLLLLLLLALLAENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLFLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNELLLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","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","provide","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","provide","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","FlattenError","InputError","LastErrorCode","LeoError","LeoWarning","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","input","into","into","package","parser","provide","provide","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_create_ast_json_file","failed_to_read_json_file","failed_to_read_json_string_to_ast","failed_to_write_ast_to_json_file","fmt","fmt","from","from","from","into","is_error","message_type","num_exit_codes","provide","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","provide","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","provide","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","provide","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","provide","source","to_owned","to_string","try_from","try_into","type_id","unexpected_section","unexpected_type","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","provide","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","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","provide","source","space_in_annotation","spread_in_array_init","to_owned","to_string","try_from","try_into","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","provide","source","to_owned","to_string","try_from","try_into","type_id","warning_code","type_checker_error","Backtraced","Formatted","TypeCheckerError","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","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_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","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","provide","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"],[39,"leo_errors::common::formatted"],[64,"leo_errors::common::traits"],[72,"leo_errors::emitter"],[158,"leo_errors::errors"],[217,"leo_errors::errors::ast"],[218,"leo_errors::errors::ast::ast_errors"],[255,"leo_errors::errors::cli"],[256,"leo_errors::errors::cli::cli_errors"],[304,"leo_errors::errors::compiler"],[305,"leo_errors::errors::compiler::compiler_errors"],[338,"leo_errors::errors::flattener"],[339,"leo_errors::errors::flattener::flattener_errors"],[370,"leo_errors::errors::input"],[371,"leo_errors::errors::input::input_errors"],[401,"leo_errors::errors::package"],[402,"leo_errors::errors::package::package_errors"],[466,"leo_errors::errors::parser"],[468,"leo_errors::errors::parser::parser_errors"],[528,"leo_errors::errors::parser::parser_warnings"],[557,"leo_errors::errors::type_checker"],[558,"leo_errors::errors::type_checker::type_checker_error"]],"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.","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 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 AST fails to create the AST JSON file.","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 AST fails to write the AST JSON file.","","","","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 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 …","","","","","","","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,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,16,0,49,49,49,49,49,49,49,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,21,21,21,0,0,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,25,25,0,21,25,0,0,21,25,21,25,21,25,21,25,21,25,0,21,25,0,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,43,43,43,43,43,0,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,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,36,0,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,0,39,39,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,40,40,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,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,38,38,38,38,38,38,38,38,38,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,45,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,45,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,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],"f":[0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[1,1],[[]],0,0,[[],1],[1,2],[[1,1],3],0,[1,4],[1,5],[[1,6],7],[[1,6],7],[[]],[[1,8]],0,[[]],0,[[9,[10,[4]],5,11,4,3,12],1],[13],[[]],[[],4],[[],14],[[],14],0,[[],15],[1,4],0,0,[[]],[[]],[16,16],[[]],[[],16],[16,2],[[16,16],3],[16,4],[16,5],[[16,6],7],[[16,6],7],[[]],[[16,8]],[[]],[[9,[10,[4]],5,11,4,3,17,12],16],[13],0,[[]],[[],4],[[],14],[[],14],[[],15],[16,4],0,[[],11],[[],5],[[],4],[[],5],[[],3],[[],4],[[],4],0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[18,18],[[]],[[],19],[[],20],[[],18],[21],[[22,21]],[[23,21]],[[19,[24,[21]]]],[[18,21]],[25],[[22,25]],[[23,25]],[[19,25]],[[18,25]],0,[19,26],0,[[19,[14,[21]]],14],[18,27],[18,28],[[19,21],29],[[[20,[30]],6],7],[[[20,[31]],6],7],[[]],[[]],[[]],[[]],[[]],[19,3],0,[[]],[[]],[[]],[[]],[[]],[20,32],[[],[[10,[5]]]],[22,[[10,[5]]]],[23,[[10,[5]]]],[18,[[10,[5]]]],[20,10],[19,[[14,[[33,[21]]]]]],0,[[[33,[34]]],19],[[],18],[[]],[20],[[]],[[],4],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],15],[[],15],[[],15],[[],15],[[],15],0,[19,26],[35,[[14,[27]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],0,0,[21,4],[25,4],[21,5],0,[[21,6],7],[[21,6],7],[[25,6],7],[[25,6],7],[36,21],[37,21],[38,21],[39,21],[[]],[40,21],[41,21],[42,21],[43,21],[44,21],[[]],[45,25],0,[[]],[[]],0,0,[13],[13],[21,[[10,[46]]]],[25,[[10,[46]]]],[[],4],[[],4],[[],14],[[],14],[[],14],[[],14],0,[[],15],[[],15],0,0,0,0,[[]],[[]],[43,43],[[]],[[],5],[43,4],[43,5],[46,43],[46,43],[[31,46],43],[[31,46],43],[46,43],[[31,46],43],[[43,6],7],[[43,6],7],[1,43],[[]],[16,43],[[]],[[],3],[[],4],[[],5],[13],[[30,17],43],[[30,17],43],[[30,17],43],[[30,17],43],[43,[[10,[46]]]],[[]],[[],4],[[],14],[[],14],[[],15],[43,4],0,0,0,0,[[]],[[]],[46,37],[37,37],[[]],[[],5],[46,37],[37,4],[37,5],[[],37],[30,37],[30,37],[30,37],[30,37],[30,37],[30,37],[30,37],[30,37],[30,37],[30,37],[30,37],[30,37],[30,37],[30,37],[[37,6],7],[[37,6],7],[1,37],[[]],[16,37],[[]],[[],3],[[],4],[[],37],[[],5],[[30,30],37],[13],[46,37],[46,37],[37,[[10,[46]]]],[[]],[[],4],[[],14],[[],14],[[],15],[37,4],0,0,0,0,[[]],[[]],[[46,17],36],[36,36],[[]],[[],5],[36,4],[36,5],[[31,46],36],[[36,6],7],[[36,6],7],[1,36],[[]],[16,36],[[30,17],36],[[30,17],36],[[]],[[],3],[[],4],[[],5],[[30,30,17],36],[[30,30,17],36],[13],[36,[[10,[46]]]],[[]],[[],4],[[],14],[[],14],[[],15],[36,4],0,0,0,0,[[30,30,30,30,17],39],[[]],[[]],[39,39],[[]],[[],5],[39,4],[39,5],[[39,6],7],[[39,6],7],[1,39],[16,39],[[]],[[]],[[],3],[[30,17],39],[[],4],[[],5],[13],[39,[[10,[46]]]],[[]],[[],4],[[],14],[[],14],[[],15],[[],2],[[30,30,17],39],[39,4],0,0,0,0,[[]],[[]],[40,40],[[]],[[],5],[40,4],[40,5],[[40,6],7],[[40,6],7],[[]],[1,40],[16,40],[[30,17],40],[[]],[[],3],[[],4],[[],5],[13],[40,[[10,[46]]]],[[]],[[],4],[[],14],[[],14],[[],15],[[[47,[30]],30,17],40],[[30,30,17],40],[40,4],0,0,0,0,[[]],[[]],[38,38],[[]],[[],5],[[30,30],38],[[],38],[38,4],[38,5],[30,38],[[30,46],38],[46,38],[46,38],[[],38],[46,38],[[31,46],38],[46,38],[31,38],[[30,31],38],[30,38],[30,38],[31,38],[31,38],[[30,46],38],[31,38],[46,38],[31,38],[30,38],[31,38],[31,38],[[30,46],38],[31,38],[[30,46],38],[30,38],[[38,6],7],[[38,6],7],[1,38],[16,38],[[]],[[]],[[31,48],38],[[31,31],38],[30,38],[46,38],[46,38],[46,38],[46,38],[46,38],[46,38],[[],3],[[],4],[[],5],[13],[38,[[10,[46]]]],[[],38],[[]],[[],4],[[],14],[[],14],[[],15],[38,4],0,0,0,0,0,[17,44],[[]],[[]],[17,44],[44,44],[[]],[[],5],[17,44],[30,44],[44,4],[44,5],[17,44],[[44,6],7],[[44,6],7],[[]],[16,44],[1,44],[[30,17],44],[17,44],[[]],[[30,17],44],[[30,17],44],[17,44],[[30,30,30,17],44],[17,44],[[],3],[17,44],[[],44],[30,44],[[],44],[[],44],[30,44],[30,44],[30,44],[[],4],[17,44],[17,44],[[],5],[17,44],[13],[44,[[10,[46]]]],[17,44],[17,44],[[]],[[],4],[[],14],[[],14],[[30,17],44],[[],15],[[30,30,17],44],[17,44],[[30,[47,[30]],17],44],[[30,30,17],44],[[30,30,17],44],[[30,17],44],[[30,30,17],44],[44,4],0,0,0,[[]],[[]],[45,45],[[]],[[],5],[17,45],[[30,30,17],45],[45,4],[45,5],[[45,6],7],[[45,6],7],[[]],[1,45],[16,45],[[]],[[],3],[[],4],[[],5],[13],[45,[[10,[46]]]],[[]],[[],4],[[],14],[[],14],[[],15],[45,4],0,0,0,0,[17,42],[[]],[[]],[17,42],[[30,17],42],[[30,17],42],[17,42],[17,42],[17,42],[42,42],[[]],[[],5],[[30,17],42],[[30,17],42],[[30,17],42],[[30,17],42],[[[32,[30]]],42],[[[32,[30]]],42],[[30,17],42],[[30,17],42],[42,4],[42,5],[[30,30,17],42],[17,42],[17,42],[17,42],[17,42],[17,42],[17,42],[17,42],[17,42],[[30,30,17],42],[17,42],[17,42],[17,42],[[42,6],7],[[42,6],7],[16,42],[1,42],[[]],[17,42],[17,42],[[30,17],42],[17,42],[[30,30,17],42],[[30,30,17],42],[[30,30,17],42],[[30,30,17],42],[[]],[17,42],[[30,17],42],[17,42],[[30,30,17],42],[[30,30,17],42],[[30,17],42],[[30,30,17],42],[[30,30,17],42],[[30,17],42],[[30,17],42],[17,42],[[30,30,17],42],[17,42],[[30,17],42],[[],3],[17,42],[17,42],[17,42],[17,42],[17,42],[[],4],[17,42],[17,42],[[30,30,17],42],[17,42],[17,42],[[],5],[17,42],[17,42],[13],[[30,30,17],42],[17,42],[[30,30,17],42],[42,[[10,[46]]]],[17,42],[17,42],[[30,30,17],42],[[]],[[],4],[[30,17],42],[[30,17],42],[17,42],[[],14],[[],14],[[30,30,17],42],[[],15],[[30,30,17],42],[[30,17],42],[17,42],[[30,17],42],[[30,30,17],42],[17,42],[42,4]],"c":[],"p":[[3,"Backtraced"],[15,"str"],[15,"bool"],[3,"String"],[15,"i32"],[3,"Formatter"],[6,"Result"],[8,"Hasher"],[8,"ToString"],[4,"Option"],[15,"i8"],[3,"Backtrace"],[3,"Demand"],[4,"Result"],[3,"TypeId"],[3,"Formatted"],[3,"Span"],[3,"BufferEmitter"],[3,"Handler"],[3,"Buffer"],[4,"LeoError"],[3,"StderrEmitter"],[3,"HandlerInner"],[8,"Into"],[4,"LeoWarning"],[15,"usize"],[6,"ErrBuffer"],[6,"WarningBuffer"],[15,"never"],[8,"Display"],[8,"Debug"],[3,"Vec"],[3,"Box"],[8,"Emitter"],[8,"FnOnce"],[4,"CompilerError"],[4,"CliError"],[4,"PackageError"],[4,"FlattenError"],[4,"InputError"],[3,"Error"],[4,"TypeCheckerError"],[4,"AstError"],[4,"ParserError"],[4,"ParserWarning"],[8,"Error"],[15,"slice"],[3,"FileType"],[8,"LeoMessageCode"]]},\ +"leo_errors":{"doc":"leo-errors","t":"AOAAAAAADRMLLLLMMLLLMLLLLLLMLMLLLLLLMLLDMLLLLLLLLLLLLLLLLMLLLLLLILKKKKKKDDIGDDDGLLLLLLLLLLLLLLLKLLLLKLLLLMLMLLLLLLLLLLLLMLLLLLLKLLLLLMLLLLLLLLLLLLLLLLLLLLLMLLNNNNNNNEENNNGNALLLLAALLLALLLLLLLLLLLLLLLLALLAALLLLLLLLLLALLAENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLANENLLLLLLLLLLLLLLLLLLLLLLLLLFLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNELLLLLLLLLLLLLLLLLLLLLLLLLLANNELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","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","provide","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","provide","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","FlattenError","InputError","LastErrorCode","LeoError","LeoWarning","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","input","into","into","package","parser","provide","provide","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_create_ast_json_file","failed_to_read_json_file","failed_to_read_json_string_to_ast","failed_to_write_ast_to_json_file","fmt","fmt","from","from","from","into","is_error","message_type","num_exit_codes","provide","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","provide","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","provide","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","provide","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","provide","source","to_owned","to_string","try_from","try_into","type_id","unexpected_section","unexpected_type","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","provide","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","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","provide","source","space_in_annotation","spread_in_array_init","to_owned","to_string","try_from","try_into","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","provide","source","to_owned","to_string","try_from","try_into","type_id","warning_code","type_checker_error","Backtraced","Formatted","TypeCheckerError","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","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_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","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","provide","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"],[39,"leo_errors::common::formatted"],[64,"leo_errors::common::traits"],[72,"leo_errors::emitter"],[158,"leo_errors::errors"],[217,"leo_errors::errors::ast"],[218,"leo_errors::errors::ast::ast_errors"],[255,"leo_errors::errors::cli"],[256,"leo_errors::errors::cli::cli_errors"],[304,"leo_errors::errors::compiler"],[305,"leo_errors::errors::compiler::compiler_errors"],[338,"leo_errors::errors::flattener"],[339,"leo_errors::errors::flattener::flattener_errors"],[370,"leo_errors::errors::input"],[371,"leo_errors::errors::input::input_errors"],[401,"leo_errors::errors::package"],[402,"leo_errors::errors::package::package_errors"],[466,"leo_errors::errors::parser"],[468,"leo_errors::errors::parser::parser_errors"],[528,"leo_errors::errors::parser::parser_warnings"],[557,"leo_errors::errors::type_checker"],[558,"leo_errors::errors::type_checker::type_checker_error"]],"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.","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 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 AST fails to create the AST JSON file.","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 AST fails to write the AST JSON file.","","","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 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 …","","","","","","","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,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,16,0,49,49,49,49,49,49,49,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,21,21,21,0,0,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,25,25,0,21,25,0,0,21,25,21,25,21,25,21,25,21,25,0,21,25,0,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,41,41,41,41,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,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,0,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,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,0,42,42,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,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,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,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,45,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,45,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,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,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,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38],"f":[0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[1,1],[[]],0,0,[[],1],[1,2],[[1,1],3],0,[1,4],[1,5],[[1,6],7],[[1,6],7],[[]],[[1,8]],0,[[]],0,[[9,[10,[4]],5,11,4,3,12],1],[13],[[]],[[],4],[[],14],[[],14],0,[[],15],[1,4],0,0,[[]],[[]],[16,16],[[]],[[],16],[16,2],[[16,16],3],[16,4],[16,5],[[16,6],7],[[16,6],7],[[]],[[16,8]],[[]],[[9,[10,[4]],5,11,4,3,17,12],16],[13],0,[[]],[[],4],[[],14],[[],14],[[],15],[16,4],0,[[],11],[[],5],[[],4],[[],5],[[],3],[[],4],[[],4],0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[18,18],[[]],[[],19],[[],20],[[],18],[21],[[22,21]],[[23,21]],[[19,[24,[21]]]],[[18,21]],[25],[[22,25]],[[23,25]],[[19,25]],[[18,25]],0,[19,26],0,[[19,[14,[21]]],14],[18,27],[18,28],[[19,21],29],[[[20,[30]],6],7],[[[20,[31]],6],7],[[]],[[]],[[]],[[]],[[]],[19,3],0,[[]],[[]],[[]],[[]],[[]],[20,32],[[],[[10,[5]]]],[22,[[10,[5]]]],[23,[[10,[5]]]],[18,[[10,[5]]]],[20,10],[19,[[14,[[33,[21]]]]]],0,[[[33,[34]]],19],[[],18],[[]],[20],[[]],[[],4],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],15],[[],15],[[],15],[[],15],[[],15],0,[19,26],[35,[[14,[27]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],0,0,[21,4],[25,4],[21,5],0,[[21,6],7],[[21,6],7],[[25,6],7],[[25,6],7],[36,21],[37,21],[38,21],[39,21],[40,21],[41,21],[[]],[42,21],[43,21],[44,21],[45,25],[[]],0,[[]],[[]],0,0,[13],[13],[21,[[10,[46]]]],[25,[[10,[46]]]],[[],4],[[],4],[[],14],[[],14],[[],14],[[],14],0,[[],15],[[],15],0,0,0,0,[[]],[[]],[41,41],[[]],[[],5],[41,4],[41,5],[46,41],[46,41],[[30,46],41],[[30,46],41],[46,41],[[30,46],41],[[41,6],7],[[41,6],7],[[]],[1,41],[16,41],[[]],[[],3],[[],4],[[],5],[13],[[31,17],41],[[31,17],41],[[31,17],41],[[31,17],41],[41,[[10,[46]]]],[[]],[[],4],[[],14],[[],14],[[],15],[41,4],0,0,0,0,[[]],[[]],[46,43],[43,43],[[]],[[],5],[46,43],[43,4],[43,5],[[],43],[31,43],[31,43],[31,43],[31,43],[31,43],[31,43],[31,43],[31,43],[31,43],[31,43],[31,43],[31,43],[31,43],[31,43],[[43,6],7],[[43,6],7],[[]],[16,43],[1,43],[[]],[[],3],[[],4],[[],43],[[],5],[[31,31],43],[13],[46,43],[46,43],[43,[[10,[46]]]],[[]],[[],4],[[],14],[[],14],[[],15],[43,4],0,0,0,0,[[]],[[]],[[46,17],37],[37,37],[[]],[[],5],[37,4],[37,5],[[30,46],37],[[37,6],7],[[37,6],7],[1,37],[16,37],[[]],[[31,17],37],[[31,17],37],[[]],[[],3],[[],4],[[],5],[[31,31,17],37],[[31,31,17],37],[13],[37,[[10,[46]]]],[[]],[[],4],[[],14],[[],14],[[],15],[37,4],0,0,0,0,[[31,31,31,31,17],42],[[]],[[]],[42,42],[[]],[[],5],[42,4],[42,5],[[42,6],7],[[42,6],7],[[]],[16,42],[1,42],[[]],[[],3],[[31,17],42],[[],4],[[],5],[13],[42,[[10,[46]]]],[[]],[[],4],[[],14],[[],14],[[],15],[[],2],[[31,31,17],42],[42,4],0,0,0,0,[[]],[[]],[36,36],[[]],[[],5],[36,4],[36,5],[[36,6],7],[[36,6],7],[[]],[1,36],[16,36],[[31,17],36],[[]],[[],3],[[],4],[[],5],[13],[36,[[10,[46]]]],[[]],[[],4],[[],14],[[],14],[[],15],[[[47,[31]],31,17],36],[[31,31,17],36],[36,4],0,0,0,0,[[]],[[]],[40,40],[[]],[[],5],[[31,31],40],[[],40],[40,4],[40,5],[31,40],[[31,46],40],[46,40],[46,40],[[],40],[46,40],[[30,46],40],[46,40],[30,40],[[31,30],40],[31,40],[31,40],[30,40],[30,40],[[31,46],40],[30,40],[46,40],[30,40],[31,40],[30,40],[30,40],[[31,46],40],[30,40],[[31,46],40],[31,40],[[40,6],7],[[40,6],7],[1,40],[[]],[16,40],[[]],[[30,48],40],[[30,30],40],[31,40],[46,40],[46,40],[46,40],[46,40],[46,40],[46,40],[[],3],[[],4],[[],5],[13],[40,[[10,[46]]]],[[],40],[[]],[[],4],[[],14],[[],14],[[],15],[40,4],0,0,0,0,0,[17,39],[[]],[[]],[17,39],[39,39],[[]],[[],5],[17,39],[31,39],[39,4],[39,5],[17,39],[[39,6],7],[[39,6],7],[1,39],[16,39],[[]],[[31,17],39],[17,39],[[]],[[31,17],39],[[31,17],39],[17,39],[[31,31,31,17],39],[17,39],[[],3],[17,39],[[],39],[31,39],[[],39],[[],39],[31,39],[31,39],[31,39],[[],4],[17,39],[17,39],[[],5],[17,39],[13],[39,[[10,[46]]]],[17,39],[17,39],[[]],[[],4],[[],14],[[],14],[[31,17],39],[[],15],[[31,31,17],39],[17,39],[[31,[47,[31]],17],39],[[31,31,17],39],[[31,31,17],39],[[31,17],39],[[31,31,17],39],[39,4],0,0,0,[[]],[[]],[45,45],[[]],[[],5],[17,45],[[31,31,17],45],[45,4],[45,5],[[45,6],7],[[45,6],7],[[]],[1,45],[16,45],[[]],[[],3],[[],4],[[],5],[13],[45,[[10,[46]]]],[[]],[[],4],[[],14],[[],14],[[],15],[45,4],0,0,0,0,[17,38],[[]],[[]],[17,38],[[31,17],38],[[31,17],38],[17,38],[17,38],[17,38],[38,38],[[]],[[],5],[[31,17],38],[[31,17],38],[[31,17],38],[[31,17],38],[[[32,[31]]],38],[[[32,[31]]],38],[[31,17],38],[[31,17],38],[38,4],[38,5],[[31,31,17],38],[17,38],[17,38],[17,38],[17,38],[17,38],[17,38],[17,38],[17,38],[[31,31,17],38],[17,38],[17,38],[17,38],[[38,6],7],[[38,6],7],[[]],[16,38],[1,38],[17,38],[17,38],[[31,17],38],[17,38],[[31,31,17],38],[[31,31,17],38],[[31,31,17],38],[[31,31,17],38],[[]],[17,38],[[31,17],38],[17,38],[[31,31,17],38],[[31,31,17],38],[[31,17],38],[[31,31,17],38],[[31,31,17],38],[[31,17],38],[[31,17],38],[17,38],[[31,31,17],38],[17,38],[[31,17],38],[[],3],[17,38],[17,38],[17,38],[17,38],[17,38],[[],4],[17,38],[17,38],[[31,31,17],38],[17,38],[17,38],[[],5],[17,38],[17,38],[13],[[31,31,17],38],[17,38],[[31,31,17],38],[38,[[10,[46]]]],[17,38],[17,38],[[31,31,17],38],[[]],[[],4],[[31,17],38],[[31,17],38],[17,38],[[],14],[[],14],[[31,31,17],38],[[],15],[[31,31,17],38],[[31,17],38],[17,38],[[31,17],38],[[31,31,17],38],[17,38],[38,4]],"c":[],"p":[[3,"Backtraced"],[15,"str"],[15,"bool"],[3,"String"],[15,"i32"],[3,"Formatter"],[6,"Result"],[8,"Hasher"],[8,"ToString"],[4,"Option"],[15,"i8"],[3,"Backtrace"],[3,"Demand"],[4,"Result"],[3,"TypeId"],[3,"Formatted"],[3,"Span"],[3,"BufferEmitter"],[3,"Handler"],[3,"Buffer"],[4,"LeoError"],[3,"StderrEmitter"],[3,"HandlerInner"],[8,"Into"],[4,"LeoWarning"],[15,"usize"],[6,"ErrBuffer"],[6,"WarningBuffer"],[15,"never"],[8,"Debug"],[8,"Display"],[3,"Vec"],[3,"Box"],[8,"Emitter"],[8,"FnOnce"],[4,"InputError"],[4,"CompilerError"],[4,"TypeCheckerError"],[4,"ParserError"],[4,"PackageError"],[4,"AstError"],[4,"FlattenError"],[4,"CliError"],[3,"Error"],[4,"ParserWarning"],[8,"Error"],[15,"slice"],[3,"FileType"],[8,"LeoMessageCode"]]},\ "leo_lang":{"doc":"Leo is a functional, statically-typed programming language …","t":"AEDDDDIGEDNQNDNQDRNNDAKAAAMAMMAMMMMMMMMMMMMAAFAMMMAMMMAMMMKMMAFAAMMMMENNMMMMDMDNNDNENNNNNLLLLLLLLLLMLLMLLLLLLLLLLLLLLLFLLLLLMMFLLLLLLLLLLLLMMMMMMMMCCDCICCQCQCCAKLLLLAALLLLLLLLMMMMMMMMMMAALLLLLLLLLLLAMKALLLLLLALLLENNLLLLLLLLLLLLLLLLLLFLLLLLLFMMMMDLLLLLLLFLLLLLLLLLLLMLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLLENNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLMLLLMLLLLLLMLLMLLLLLLLDLLLLLLLLLLLLLLLLLLMLLLLLLLDLLLLLLLMLLLLLLLLLMLLMLLLLLLLDLLLLLLLLLLLLLLLLLMLLMLLLLLLDMENNNDMMMMAAADLLLLLLLLLLLLLMLLLLLDHMLLLLLLLMMMMLLMLLLFLMLLLLLLLLLLLLSSSDLLLLLLLLLLLLLLLLDMMMMMMFMDMDMMMDMMD","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_dce","enable_dce_ast_snapshot","enable_flattened_ast_snapshot","enable_initial_ast_snapshot","enable_initial_input_ast_snapshot","enable_inlined_ast_snapshot","enable_spans","enable_ssa_ast_snapshot","enable_unrolled_ast_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_dce","enable_dce_ast_snapshot","enable_flattened_ast_snapshot","enable_initial_ast_snapshot","enable_initial_input_ast_snapshot","enable_inlined_ast_snapshot","enable_spans","enable_ssa_ast_snapshot","enable_unrolled_ast_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"],[65,"leo_lang::cli::Account"],[69,"leo_lang::cli::account"],[72,"leo_lang::cli::account::Account"],[76,"leo_lang::cli::build"],[78,"leo_lang::cli::clean"],[79,"leo_lang::cli::cli"],[139,"leo_lang::cli::cli::Commands"],[147,"leo_lang::cli::commands"],[212,"leo_lang::cli::commands::account"],[241,"leo_lang::cli::commands::account::Account"],[245,"leo_lang::cli::commands::build"],[273,"leo_lang::cli::commands::clean"],[299,"leo_lang::cli::commands::example"],[332,"leo_lang::cli::commands::execute"],[362,"leo_lang::cli::commands::new"],[389,"leo_lang::cli::commands::run"],[418,"leo_lang::cli::commands::update"],[446,"leo_lang::cli::context"],[448,"leo_lang::cli::example"],[452,"leo_lang::cli::execute"],[457,"leo_lang::cli::helpers"],[460,"leo_lang::cli::helpers::context"],[480,"leo_lang::cli::helpers::logger"],[515,"leo_lang::cli::helpers::updater"],[535,"leo_lang::cli::logger"],[544,"leo_lang::cli::new"],[546,"leo_lang::cli::run"],[550,"leo_lang::cli::update"],[553,"leo_lang::cli::updater"]],"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,20,52,32,0,20,52,0,0,32,32,0,0,52,0,0,0,4,0,34,36,0,4,18,18,18,18,18,18,18,18,18,18,34,0,0,0,0,34,36,37,0,34,35,36,0,18,23,4,52,4,37,0,0,0,0,53,54,54,53,0,20,20,53,54,54,53,0,23,0,9,9,0,9,0,9,9,9,9,9,4,4,9,9,4,9,4,9,4,9,4,4,9,4,4,9,4,9,4,9,4,9,4,9,4,9,4,9,4,0,9,4,9,4,9,4,4,0,4,9,4,9,4,9,4,9,4,9,4,9,55,56,57,58,59,60,61,62,0,0,0,0,0,0,0,52,0,52,0,0,0,52,18,18,18,18,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,52,52,18,18,18,18,18,18,18,52,52,0,18,52,0,18,52,52,18,18,18,0,18,18,18,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,0,20,20,20,20,20,20,0,53,54,54,53,0,23,23,23,23,23,23,23,0,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,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,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,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,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,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,0,2,0,32,32,32,0,34,34,34,34,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,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,63,63,63,0,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,0,40,40,40,40,40,40,0,40,0,35,0,36,36,36,0,37,37,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,2],3],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[3],0,0,0,0,0,0,0,0,0,0,0,0,[[1,2],3],0,0,0,[4,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,[5,5],[5,5],[5,5],[5,5],[[]],[[]],[[]],[[]],[[],5],[[],5],0,[[],5],[[],5],0,[6],[6],[6],[6],[6],[6],[[4,7],8],[[9,7],8],[[]],[[]],[10,[[12,[4,11]]]],[10,[[12,[9,11]]]],[10,[[12,[4,11]]]],[10,[[12,[9,11]]]],[[],[[14,[13]]]],[3],[15,16],[[],6],[[],6],[[]],[[]],0,0,[4,3],[[],12],[[],12],[[],12],[[],12],[[],17],[[],17],[[4,10],[[12,[11]]]],[[9,10],[[12,[11]]]],[[4,10],[[12,[11]]]],[[9,10],[[12,[11]]]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[1,2],3],[5,5],[5,5],[[]],[[]],0,0,[18,18],[[]],[[],5],[[],5],[[],18],[6],[6],[6],0,0,0,0,0,0,0,0,0,0,0,0,[[1,2],3],[[1,2],3],[[18,7],8],[[]],[10,[[12,[18,11]]]],[10,[[12,[18,11]]]],[[],[[14,[13]]]],[[],6],[[]],[[],19],[[],19],0,0,[[1,2],3],0,[[]],[[1,2],3],[[1,2],3],[[],12],[[],12],[[],17],0,[[18,10],[[12,[11]]]],[[18,10],[[12,[11]]]],[[]],0,0,0,[[20,2],3],[5,5],[5,5],[[]],[[]],[[],5],[[],5],[6],[6],[6],[[20,7],8],[[]],[10,[[12,[20,11]]]],[10,[[12,[20,11]]]],[15,16],[[],6],[[]],[[20,2],3],[[[22,[21]]],3],[[],12],[[],12],[[],17],[[20,10],[[12,[11]]]],[[20,10],[[12,[11]]]],[[]],[[[22,[21]],2],3],0,0,0,0,0,[[23,2],3],[5,5],[5,5],[[]],[[]],[[],5],[[],5],[[24,25,[26,[21]],25,25,27,18,16],[[3,[[30,[28,29]]]]]],[6],[6],[6],[[23,7],8],[[]],[10,[[12,[23,11]]]],[10,[[12,[23,11]]]],[[],[[14,[13]]]],[[],6],[[]],[23,19],0,[[23,2],3],[[],12],[[],12],[[],17],[[23,10],[[12,[11]]]],[[23,10],[[12,[11]]]],[[]],0,[[31,2],3],[5,5],[5,5],[[]],[[]],[[],5],[[],5],[6],[6],[6],[[31,7],8],[[]],[10,[[12,[31,11]]]],[10,[[12,[31,11]]]],[[],[[14,[13]]]],[[],6],[[]],[31,19],[[31,2],3],[[],12],[[],12],[[],17],[[31,10],[[12,[11]]]],[[31,10],[[12,[11]]]],[[]],0,0,0,0,[[32,2],3],[5,5],[5,5],[[]],[[]],[[],5],[[],5],[6],[6],[6],[[32,7],8],[[]],[10,[[12,[32,11]]]],[10,[[12,[32,11]]]],[15,16],[[],6],[32,33],[[]],[32,33],[32,33],[[32,2],3],[32,33],[32,33],[[],12],[[],12],[[],17],[[32,10],[[12,[11]]]],[[32,10],[[12,[11]]]],[[]],0,[[34,2],3],[5,5],[5,5],[[]],[[]],[[],5],[[],5],0,[6],[6],[6],0,[[34,7],8],[[]],[10,[[12,[34,11]]]],[10,[[12,[34,11]]]],[[],[[14,[13]]]],[[],6],0,[[]],[34,19],0,[[34,2],3],[[],12],[[],12],[[],17],[[34,10],[[12,[11]]]],[[34,10],[[12,[11]]]],[[]],0,[[35,2],3],[5,5],[5,5],[[]],[[]],[[],5],[[],5],[6],[6],[6],[[35,7],8],[[]],[10,[[12,[35,11]]]],[10,[[12,[35,11]]]],[[],[[14,[13]]]],[[],6],[[]],[35,19],0,[[35,2],3],[[],12],[[],12],[[],17],[[35,10],[[12,[11]]]],[[35,10],[[12,[11]]]],[[]],0,[[36,2],3],[5,5],[5,5],[[]],[[]],[[],5],[[],5],0,[6],[6],[6],[[36,7],8],[[]],[10,[[12,[36,11]]]],[10,[[12,[36,11]]]],[[],[[14,[13]]]],[[],6],0,[[]],[36,19],0,[[36,2],3],[[],12],[[],12],[[],17],[[36,10],[[12,[11]]]],[[36,10],[[12,[11]]]],[[]],0,[[37,2],3],[5,5],[5,5],[[]],[[]],[[],5],[[],5],[6],[6],[6],[[37,7],8],[[]],[10,[[12,[37,11]]]],[10,[[12,[37,11]]]],[[],[[14,[13]]]],[[],6],[[]],0,[37,19],[[37,2],3],0,[[],12],[[],12],[[],17],[[37,10],[[12,[11]]]],[[37,10],[[12,[11]]]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[2,2],[[]],[6],[6],[2,[[3,[24]]]],[6],[[]],[[],6],[[]],[[[14,[24]]],[[3,[2]]]],[2,[[3,[[38,[21]]]]]],0,[[]],[[],12],[[],12],[[],17],[[]],0,0,0,[[]],[[]],[[[40,[39,39]]],[[40,[39,39]]]],[[]],[[],[[40,[41,42]]]],[6],[6],0,0,0,0,[6],[[[40,[43,43]],7],8],0,[[[40,[41,44]],[48,[[0,[45,46]],47]],49,50],8],[[]],[[],6],[[15,6],3],[[]],0,[[]],[[],12],[[],12],[[],17],[[]],[[40,16],40],[[40,16],40],[[40,16],40],[[40,16],40],[[40,16],40],[40,40],[40,40],0,0,0,0,[[]],[[]],[6],[6],[6],[[]],[[],6],[[]],[[]],[[],[[3,[33]]]],[[],12],[[],12],[[],17],[[],[[3,[33]]]],[16,[[3,[51]]]],[[]],0,0,0,0,0,0,0,[[15,6],3],0,0,0,0,0,0,0,0,0,0,0],"c":[],"p":[[8,"Sized"],[3,"Context"],[6,"Result"],[3,"CLI"],[3,"Command"],[15,"usize"],[3,"Formatter"],[6,"Result"],[4,"Commands"],[3,"ArgMatches"],[6,"Error"],[4,"Result"],[3,"Id"],[4,"Option"],[15,"str"],[15,"bool"],[3,"TypeId"],[3,"BuildOptions"],[3,"Span"],[4,"Account"],[3,"Testnet3"],[3,"PrivateKey"],[3,"Build"],[3,"PathBuf"],[3,"Path"],[3,"ProgramID"],[3,"Handler"],[3,"Symbol"],[3,"Struct"],[3,"IndexMap"],[3,"Clean"],[4,"Example"],[3,"String"],[3,"Execute"],[3,"New"],[3,"Run"],[3,"Update"],[3,"Manifest"],[8,"Clone"],[3,"Format"],[3,"Full"],[3,"SystemTime"],[8,"Debug"],[8,"FormatTime"],[8,"Subscriber"],[8,"LookupSpan"],[8,"FormatFields"],[3,"FmtContext"],[3,"Writer"],[3,"Event"],[4,"Status"],[8,"Command"],[13,"Import"],[13,"New"],[13,"Account"],[13,"New"],[13,"Example"],[13,"Build"],[13,"Clean"],[13,"Run"],[13,"Execute"],[13,"Update"],[3,"Updater"]]},\ -"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"]],"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,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,31,31,31,31,31,31,31,31,31,31,0,31,31,31,31,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,16,16,16,0,0,16,16,17,16,17,16,17,16,17,16,17,16,17,17,16,16,17,16,17,16,17,17,17,17,17,17,17,16,17,16,16,17,16,17,16,17,16,17,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,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,32,32,32,32,32,32,32,32,32,32,32,32,32,32,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,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,0,0,0,0,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,0,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],"f":[0,0,0,0,0,0,[[1,[3,[2]]],4],0,0,0,0,0,[[]],[[]],[5,[[4,[2]]]],[6],[6],[6],[[]],[[],6],[[]],[5,[[4,[2]]]],[5,[[4,[7]]]],[[],8],[[],8],[[],9],[[]],0,0,0,[[]],[[]],[5,[[4,[2]]]],[6],[6],[6],[5,[[4,[[3,[2]]]]]],[[]],[[],6],[[]],[5,[[4,[10]]]],[5,[[4,[7]]]],[[],8],[[],8],[[],9],[[]],0,0,0,0,[[]],[[]],[5,4],[6],[6],[6],[5,[[4,[[3,[2]]]]]],[[]],[[],6],[[]],[[1,[3,[2]]],4],[[],8],[[],8],[[],9],[[]],0,0,[[]],[[]],[6],[6],[11,[[8,[12]]]],[6],[[12,5],10],[12,7],[[]],[[],6],[[]],[13,12],0,[[12,5],4],[[12,5],[[14,[5]]]],[[15,13],8],[12,7],[[],8],[[],8],[[],9],[[]],[[12,5],4],0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[6],[6],[6],[6],[11,[[8,[16]]]],[11,[[8,[17]]]],[6],[6],[[17,5],10],[[16,18],19],[[]],[[]],[[],6],[[],6],[[]],[[]],[[13,16],17],0,[[17,5],[[4,[7]]]],[[17,5],[[4,[10]]]],0,[[17,5],[[14,[5]]]],[[15,13],8],[[15,13],8],[[],7],[[],8],[[],8],[[],8],[[],8],[[],9],[[],9],[[]],[[]],0,0,[[]],[[]],[6],[6],[11,[[8,[20]]]],[6],[[20,5],10],[[]],[[],6],[[]],[13,20],0,[[20,5],[[4,[7]]]],[[20,5],[[4,[10]]]],[[20,5],[[14,[5]]]],[[15,13],8],[[],8],[[],8],[[],9],[[]],[[20,5,7],4],0,0,[[]],[[]],[6],[6],[11,[[8,[21]]]],[6],[[21,5],10],[[]],[[],6],[[]],[13,21],0,[[21,5],[[4,[7]]]],[[21,5],[[4,[10]]]],[[21,5],[[14,[5]]]],[[15,13],8],[[],8],[[],8],[[],9],[[]],[[21,5,7],4],0,0,[[]],[[]],[5,[[4,[2]]]],[6],[6],[6],[[]],[[],6],[[]],[5,[[4,[7]]]],[[],8],[[],8],[[],9],[[]],0,0,[[]],[[]],[[13,5],10],[6],[6],0,[11,[[8,[[23,[22]]]]]],[6],[[]],[[],6],[[13,5],4],[[]],[[13,5],10],[13,10],0,0,[13,[[4,[[23,[22]]]]]],[[15,13],8],[[],8],[[],8],[[],9],0,[[]],0,0,0,0,0,[[]],[[]],0,[[],[[25,[[0,[24,22]]]]]],[6],[6],[11,[[8,[[25,[22]]]]]],[6],[5,10],[[]],[7,[[25,[22]]]],[[],6],[[]],[[],[[4,[[25,[22]]]]]],[[15,13],8],[[],[[4,[7]]]],[[],8],[[],8],[[],9],[[]],[[[25,[22]],5],4],0,0,[[]],[[]],[[],26],[6],[6],[11,[[8,[26]]]],[6],[5,10],[[]],[[],6],[[]],[[],26],[[15,13],8],[26,7],[[],8],[[],8],[[],9],[[]],[[26,5],4],0,0,0,0,[[]],[[]],[[[27,[2]]],4],[5,4],[6],[6],[6],[5,[[4,[[3,[2]]]]]],[[]],[[],6],[[]],[[],8],[[],8],[[],9],[[]],0,0,[[]],[[]],[6],[6],[11,[[8,[28]]]],[6],[5,10],[[],7],[[]],[[],6],[[]],[13,28],0,[[15,13],8],[28,7],[[],8],[[],8],[[],9],[[]],[[28,5],4]],"c":[],"p":[[3,"ReadDir"],[3,"PathBuf"],[3,"Vec"],[6,"Result"],[3,"Path"],[15,"usize"],[3,"String"],[4,"Result"],[3,"TypeId"],[15,"bool"],[8,"Deserializer"],[3,"InputFile"],[15,"str"],[4,"Cow"],[4,"Value"],[4,"Snapshot"],[3,"SnapshotFile"],[3,"Formatter"],[6,"Result"],[3,"ChecksumFile"],[3,"CircuitFile"],[8,"Network"],[3,"Package"],[8,"Default"],[3,"Env"],[3,"Gitignore"],[15,"slice"],[3,"MainFile"],[3,"BuildDirectory"],[3,"ImportsDirectory"],[3,"InputsDirectory"],[3,"OutputsDirectory"],[3,"SourceDirectory"]]},\ +"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"]],"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,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,0,0,0,0,31,31,31,31,31,31,31,31,31,31,0,31,31,31,31,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,16,16,16,0,0,16,16,17,16,17,16,17,16,17,16,17,16,17,17,16,16,17,16,17,16,17,17,17,17,17,17,17,16,17,16,16,17,16,17,16,17,16,17,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,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,32,32,32,32,32,32,32,32,32,32,32,32,32,32,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,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,0,0,0,0,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,0,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],"f":[0,0,0,0,0,0,[[1,[3,[2]]],4],0,0,0,0,0,[[]],[[]],[5,[[4,[2]]]],[6],[6],[6],[[]],[[],6],[[]],[5,[[4,[2]]]],[5,[[4,[7]]]],[[],8],[[],8],[[],9],[[]],0,0,0,[[]],[[]],[5,[[4,[2]]]],[6],[6],[6],[5,[[4,[[3,[2]]]]]],[[]],[[],6],[[]],[5,[[4,[10]]]],[5,[[4,[7]]]],[[],8],[[],8],[[],9],[[]],0,0,0,0,[[]],[[]],[5,4],[6],[6],[6],[5,[[4,[[3,[2]]]]]],[[]],[[],6],[[]],[[1,[3,[2]]],4],[[],8],[[],8],[[],9],[[]],0,0,[[]],[[]],[6],[6],[11,[[8,[12]]]],[6],[[12,5],10],[12,7],[[]],[[],6],[[]],[13,12],0,[[12,5],4],[[12,5],[[14,[5]]]],[[15,13],8],[12,7],[[],8],[[],8],[[],9],[[]],[[12,5],4],0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[6],[6],[6],[6],[11,[[8,[16]]]],[11,[[8,[17]]]],[6],[6],[[17,5],10],[[16,18],19],[[]],[[]],[[],6],[[],6],[[]],[[]],[[13,16],17],0,[[17,5],[[4,[7]]]],[[17,5],[[4,[10]]]],0,[[17,5],[[14,[5]]]],[[15,13],8],[[15,13],8],[[],7],[[],8],[[],8],[[],8],[[],8],[[],9],[[],9],[[]],[[]],0,0,[[]],[[]],[6],[6],[11,[[8,[20]]]],[6],[[20,5],10],[[]],[[],6],[[]],[13,20],0,[[20,5],[[4,[7]]]],[[20,5],[[4,[10]]]],[[20,5],[[14,[5]]]],[[15,13],8],[[],8],[[],8],[[],9],[[]],[[20,5,7],4],0,0,[[]],[[]],[6],[6],[11,[[8,[21]]]],[6],[[21,5],10],[[]],[[],6],[[]],[13,21],0,[[21,5],[[4,[7]]]],[[21,5],[[4,[10]]]],[[21,5],[[14,[5]]]],[[15,13],8],[[],8],[[],8],[[],9],[[]],[[21,5,7],4],0,0,[[]],[[]],[5,[[4,[2]]]],[6],[6],[6],[[]],[[],6],[[]],[5,[[4,[7]]]],[[],8],[[],8],[[],9],[[]],0,0,[[]],[[]],[[13,5],10],[6],[6],0,[11,[[8,[[23,[22]]]]]],[6],[[]],[[],6],[[13,5],4],[[]],[[13,5],10],[13,10],0,0,[13,[[4,[[23,[22]]]]]],[[15,13],8],[[],8],[[],8],[[],9],0,[[]],0,0,0,0,0,[[]],[[]],0,[[],[[25,[[0,[24,22]]]]]],[6],[6],[11,[[8,[[25,[22]]]]]],[6],[5,10],[7,[[25,[22]]]],[[]],[[],6],[[]],[[],[[4,[[25,[22]]]]]],[[15,13],8],[[],[[4,[7]]]],[[],8],[[],8],[[],9],[[]],[[[25,[22]],5],4],0,0,[[]],[[]],[[],26],[6],[6],[11,[[8,[26]]]],[6],[5,10],[[]],[[],6],[[]],[[],26],[[15,13],8],[26,7],[[],8],[[],8],[[],9],[[]],[[26,5],4],0,0,0,0,[[]],[[]],[[[27,[2]]],4],[5,4],[6],[6],[6],[5,[[4,[[3,[2]]]]]],[[]],[[],6],[[]],[[],8],[[],8],[[],9],[[]],0,0,[[]],[[]],[6],[6],[11,[[8,[28]]]],[6],[5,10],[[],7],[[]],[[],6],[[]],[13,28],0,[[15,13],8],[28,7],[[],8],[[],8],[[],9],[[]],[[28,5],4]],"c":[],"p":[[3,"ReadDir"],[3,"PathBuf"],[3,"Vec"],[6,"Result"],[3,"Path"],[15,"usize"],[3,"String"],[4,"Result"],[3,"TypeId"],[15,"bool"],[8,"Deserializer"],[3,"InputFile"],[15,"str"],[4,"Cow"],[4,"Value"],[4,"Snapshot"],[3,"SnapshotFile"],[3,"Formatter"],[6,"Result"],[3,"ChecksumFile"],[3,"CircuitFile"],[8,"Network"],[3,"Package"],[8,"Default"],[3,"Env"],[3,"Gitignore"],[15,"slice"],[3,"MainFile"],[3,"BuildDirectory"],[3,"ImportsDirectory"],[3,"InputsDirectory"],[3,"OutputsDirectory"],[3,"SourceDirectory"]]},\ "leo_parser":{"doc":"The parser to convert Leo code text into an [AST] type.","t":"RFFAAAAAAFFAARDMLLLLLLLLMLLLLLLLLLLLLLMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLMLLLLLLRFRRCAAFFDLLLLLLLLLFFLLLLLFLMLLLMLLLLNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNNRNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","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_integer","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_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_cast_expression","parse_conditional_expression","parse_conditional_statement","parse_console_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","Colon","Comma","CommentBlock","CommentLine","Console","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","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"],[113,"leo_parser::parser::expression"],[115,"leo_parser::parser::statement"],[116,"leo_parser::parser::type_"],[117,"leo_parser::tokenizer"],[122,"leo_parser::tokenizer::lexer"],[150,"leo_parser::tokenizer::token"]],"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 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","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 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,0,0,0,0,0,0,0,0,0,0,25,25,25,25,25,25,25,25,25,0,0,25,25,25,25,25,0,25,25,25,25,25,25,25,25,25,25,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,37,13,13,13,13,13,13,0,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,0,13,13,13,13,13,13,13,13,13,13,13,13,13,13,37,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,0,13,13,13,13,13,13,13,13,13,13,37,13,37,13,37,13,37,13,37,13,37,13,13,37,13,13,13,13,13,13,13,13,13,13,37,13,37,13,37,13,13,37,13,13,13,37,13,13,37,13,37,13,37,13,37],"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],[[]],[[]],[12],[[12,13],14],[12,14],[15],[15],0,[15],[[12,13],14],[[12,[16,[13]]],14],[[12,[16,[13]]],[[17,[11]]]],[12,[[17,[[6,[18]]]]]],[12,[[17,[19]]]],[12,6],[[12,20]],[[12,21]],[[12,13],[[6,[22]]]],[[12,[16,[13]]],[[6,[22]]]],[12,[[6,[19]]]],[[]],0,[12,14],[[],15],[[]],[[12,15,23]],[[12,24],19],[[1,2,[26,[25]]],12],0,[12,[[6,[10]]]],[12,[[6,[27]]]],[12,[[6,[28]]]],[12,[[6,[28]]]],[[12,10],[[6,[10]]]],[[12,[16,[13]],29],[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[30]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[31]]]],[12,[[6,[32]]]],[12,[[6,[33]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,6],[12,[[6,[10]]]],[12,6],[12,[[6,[34]]]],[12,6],[12,[[6,[35]]]],[12,[[6,[36]]]],[12,[[6,[9]]]],[[12,37,[17,[13]],29],6],[12,[[6,[38]]]],[12,6],[12,[[6,[39]]]],[[12,10,19],[[6,[10]]]],[12,[[6,[40]]]],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,[[6,[41]]]],[[12,29],6],[12,[[6,[10]]]],[12,[[6,[10]]]],[12,6],[12,[[6,[8]]]],[12,[[6,[42]]]],[12,[[6,[43]]]],[12,[[6,[44]]]],[12,[[6,[10]]]],[12,[[6,[28]]]],[12,6],[[12,19],[[6,[10]]]],[12,[[6,[45]]]],[12,6],[12,[[6,[10]]]],[12,6],[12,6],[12,[[6,[10]]]],[[12,15],[[17,[46]]]],[12,14],[12,14],0,0,[13,[[17,[47]]]],0,[[],48],[[],48],[[],49],[[12,50],6],[[25,[16,[13]]],20],[[]],0,[[22,22,3,3],6],0,0,0,0,0,[[3,4],[[6,[[26,[25]]]]]],[[3,4],51],0,[[]],[[]],[25,25],[[]],[15],[15],[52,[[48,[25]]]],[15],[[],25],[[[53,[51]]],[[17,[54]]]],[3,6],[[25,55],56],[[25,55],56],[[]],[[],15],[[]],[57,14],[[25,58],48],0,[[59,3],48],[[]],[[],54],0,[[],48],[[],48],[[],49],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[13,13],[37,37],[[]],[[]],[15],[15],[15],[15],[52,[[48,[13]]]],[15],[15],[3,6],[[[53,[51]]],6],[[13,13],14],[[],14],[[],14],[[],14],[[],14],[[13,55],56],[[13,55],56],[[]],[[]],[[],15],[[],15],[[]],[[]],[13,14],[13,[[17,[24]]]],[37],[[13,58],48],[[59,3],48],[[]],[[]],[[],54],[[],48],[[],48],[[],48],[[],48],[[],49],[[],49],[[]],[[]]],"c":[],"p":[[3,"Handler"],[3,"NodeBuilder"],[15,"str"],[3,"BytePos"],[3,"Ast"],[6,"Result"],[3,"InputData"],[3,"Program"],[3,"InputAst"],[4,"Expression"],[4,"BinaryOperation"],[3,"ParserContext"],[4,"Token"],[15,"bool"],[15,"usize"],[15,"slice"],[4,"Option"],[3,"GroupTuple"],[3,"Identifier"],[4,"ParserError"],[4,"ParserWarning"],[3,"Span"],[8,"FnOnce"],[3,"Symbol"],[3,"SpannedToken"],[3,"Vec"],[3,"Annotation"],[4,"Statement"],[8,"FnMut"],[3,"Block"],[3,"ConditionalStatement"],[3,"ConsoleStatement"],[3,"DefinitionStatement"],[3,"FunctionOutput"],[4,"Input"],[3,"Definition"],[4,"Delimiter"],[3,"IterationStatement"],[3,"Member"],[4,"Mode"],[4,"Output"],[3,"ProgramScope"],[3,"ReturnStatement"],[3,"Section"],[3,"StructVariableInitializer"],[4,"GroupCoordinate"],[4,"IntegerType"],[4,"Result"],[3,"TypeId"],[8,"Display"],[8,"Iterator"],[8,"Deserializer"],[3,"Peekable"],[3,"String"],[3,"Formatter"],[6,"Result"],[15,"char"],[8,"Serializer"],[4,"Value"]]},\ "leo_passes":{"doc":"leo-passes","t":"AAAAAAAAAAAAAAADMLLMMLLLLLMMLLMLMMMLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAAAAADDLLLLLLLLMLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLGNDEGIGLLLLLLLLLLLLLMLLLLLLLLLMLLLLLLLLLDLLLLLLLLLLLLLLLLLLLMLMLLLLLLDLLLLLLLLLLMLLLLDLLLLLLLLLLLAMLLLLLLLLLLLLLMLMMMLLLLLLAMLDDMLLLLLLLLLLLLLLMLLLLMLLMMLLMMLLLLLLLLMLLNNNDELLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLMLLLLAAAADLLLLLLLLLMLMLLLLLLLLLLLLLLLLMLAAAADMLLLMLLLLLLLLLLLLMLLLLLLLLLLLLMLMMLLMLLLLAAAAADMLLLLLLLLLMLLLLLLLLLMLLLLDMLLMLLLLLLLLMLLLLLLLLLMLLLLAAAAAENNIDLLLLMMLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLMLLMLMLLLLMMLLLLLLQQIKAAAADMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMLLMMLLLLLADLLLLLLLMLLLMLLLLLLLLAAAAFRRRRRRRRDRLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLMLLMMMLLMMMLMMLLLFMLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["code_generation","common","dead_code_elimination","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","global_mapping","in_finalize","init","into","is_transition_function","new","next_register","struct_graph","symbol_table","try_from","try_into","type_id","variable_mapping","visit_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","graph","rename_table","replacer","symbol_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","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","fmt","fmt","from","from","init","init","into","into","new","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","init","into","local_names","lookup","mapping","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","drop","fmt","from","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","scope_index","scope_index","scopes","structs","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","drop","drop","finalize","fmt","fmt","from","from","id","init","init","input","input","into","into","output_type","output_type","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","drop","drop","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","init","init","into","into","span","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_","type_id","type_id","vzip","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_access","reconstruct_assert","reconstruct_assign","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","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","lookup_struct_symbol","new","node_builder","reconstruct_access","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","structs","symbol_table","try_from","try_into","tuples","type_id","unique_simple_assign_statement","update_structs","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","vzip","range_iterator","unroll_expression","unroll_program","unroll_statement","unroller","Clusivity","Exclusive","Inclusive","LoopBound","RangeIterator","borrow","borrow","borrow_mut","borrow_mut","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","new","next","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Unroller","borrow","borrow_mut","current_scope_index","deref","deref_mut","do_pass","drop","enter_scope","exit_scope","from","handler","init","into","is_unrolling","new","node_builder","reconstruct_block","reconstruct_definition","reconstruct_function","reconstruct_iteration","scope_index","symbol_table","try_from","try_into","type_id","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_assert","consume_assign","consume_binary","consume_block","consume_call","consume_cast","consume_conditional","consume_console","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","symbol_table","try_from","try_into","type_id","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","SIGNED_INT_TYPES","TypeChecker","UNSIGNED_INT_TYPES","assert_and_return_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_signed_int_type","assert_type","assert_type_is_defined","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","types_to_string","variant","visit_access","visit_assert","visit_assign","visit_binary","visit_block","visit_call","visit_cast","visit_conditional","visit_console","visit_definition","visit_err","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"],[10,"leo_passes::code_generation"],[15,"leo_passes::code_generation::generator"],[75,"leo_passes::common"],[80,"leo_passes::common::assigner"],[122,"leo_passes::common::graph"],[162,"leo_passes::common::rename_table"],[191,"leo_passes::common::replacer"],[207,"leo_passes::common::symbol_table"],[248,"leo_passes::common::symbol_table::function_symbol"],[290,"leo_passes::common::symbol_table::variable_symbol"],[344,"leo_passes::dead_code_elimination"],[348,"leo_passes::dead_code_elimination::dead_code_eliminator"],[379,"leo_passes::flattening"],[383,"leo_passes::flattening::flattener"],[425,"leo_passes::function_inlining"],[430,"leo_passes::function_inlining::assignment_renamer"],[456,"leo_passes::function_inlining::function_inliner"],[484,"leo_passes::loop_unrolling"],[489,"leo_passes::loop_unrolling::range_iterator"],[537,"leo_passes::loop_unrolling::unroller"],[566,"leo_passes::pass"],[570,"leo_passes::static_single_assignment"],[574,"leo_passes::static_single_assignment::static_single_assigner"],[621,"leo_passes::symbol_table_creation"],[622,"leo_passes::symbol_table_creation::creator"],[643,"leo_passes::type_checking"],[647,"leo_passes::type_checking::check_expressions"],[648,"leo_passes::type_checking::checker"]],"d":["","","The Dead Code Elimination pass traverses the AST and …","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.","","","","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.","","","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 …","","","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.","Returns the post-order ordering of the graph. Detects if …","","","","","","","","","RenameTable tracks the names assigned by static single …","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","Returns the symbols that were renamed in the current scope.","Looks up the new name 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.","","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 …","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 …","","","","","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.","","","","","","","","","","","","","","","","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.","Reconstructs the components of an access expression.","","Reconstruct an assignment statement by eliminating 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 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.","","","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).","Looks up the name of the struct associated with an …","","A counter used to generate unique node IDs.","Replaces a tuple access expression with the appropriate …","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.","","Static single assignment converts definition 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 tuples and structs, …","A list containing tuples of guards and expressions …","A wrapper around assigner.simple_assign_statement that …","The set of variables that are structs.","The symbol table associated with the program.","","","A mapping between variables and flattened tuple …","","A wrapper around assigner.unique_simple_assign_statement …","Updates self.structs for new assignment statements. …","","","","","","","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 …","","","","","","","","","","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the index of the current scope. Note that if we …","","","","","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.","","","","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 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.","","","","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.","","","","","","","","","","","","","","","","","","","","","","","","Use this method when you know the actual type. Emits an …","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 error handler if the actual type is …","Emits an error if the type or its constituent types are …","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.","","","","","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,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,0,0,0,0,0,0,0,42,43,42,43,42,43,42,43,43,42,43,42,43,42,43,42,43,42,43,42,43,42,43,42,42,43,42,43,42,43,42,43,42,43,42,43,42,43,42,43,0,54,0,0,0,0,0,49,54,49,54,49,49,49,54,49,54,49,54,49,49,54,49,54,49,54,49,54,49,49,49,49,54,49,54,49,54,49,54,49,0,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,0,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,0,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,2,2,0,0,64,65,64,65,64,65,64,65,64,65,64,65,64,65,64,64,65,64,65,64,64,65,64,65,64,65,64,65,64,65,64,65,64,65,64,65,64,64,65,64,66,66,66,0,0,66,62,66,62,66,62,66,62,62,66,62,66,62,66,62,66,62,66,66,66,66,62,62,62,62,66,66,62,62,66,62,66,62,66,62,62,66,62,66,62,66,62,66,62,62,66,62,66,62,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,68,68,68,0,0,0,0,0,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,0,0,0,0,0,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,0,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,0,0,0,0,0,0,76,76,0,0,76,77,76,77,77,77,76,77,76,77,76,77,77,76,77,76,77,76,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,76,77,76,77,76,77,76,77,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,89,89,0,89,0,0,0,0,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,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,0,0,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,0,0,0,0,0,0,0,0,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,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,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],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],0,0,[1],[1],[[]],[1],[[]],0,0,[[],1],[[]],0,[[2,3,4],5],0,0,0,[[],6],[[],6],[[],7],0,[[5,8]],[[5,9],10],[[5,11],10],[[5,12]],[[5,13]],[[5,14]],[[5,15],10],[[5,16]],[[5,17]],[[5,18],10],[[5,19],10],[[5,20],10],[[5,21]],[[5,22]],[[5,23],10],[[5,24],10],[[5,25]],[[5,26,27],10],[[5,28],10],[[5,29],10],[[5,30]],[[5,27],10],[[5,31],10],[[5,32],10],[[5,33],10],[[5,31],10],[[5,34]],[[5,31],10],[[5,35]],[[5,36]],[[5,37],10],[[5,37,38],10],[[5,39]],[[5,40]],[[5,41]],[[]],0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[42,42],[43,43],[[]],[[]],0,[[],42],[[],43],[1],[1],[1],[1],[1],[1],[[42,44],45],[[43,44],45],[[]],[[]],[[],1],[[],1],0,[[]],[[]],[[42,25,22,46],33],[[43,25,22,46],33],[[]],[[]],[[],6],[[],6],[[],6],[[],6],[[],7],[[],7],[[42,47,47],26],[[43,47,47],26],[[]],[[]],0,0,0,0,0,0,0,[[[49,[48]],48,48]],[[]],[[]],[[]],[[]],[[[49,[48]],48,[50,[48]],[50,[48]]],[[51,[48]]]],[[[49,[48]],48],52],[1],[1],[1],[1],[1],[1],0,[[[54,[[0,[53,48]]]],44],45],[[[49,[[0,[53,48]]]],44],45],[[]],[[]],[[],1],[[],1],[[]],[[]],[[[50,[48]]],[[49,[48]]]],0,[[[49,[48]]],[[6,[[50,[48]],[54,[48]]]]]],[[],6],[[],6],[[],6],[[],6],[[],7],[[],7],[[]],[[]],0,[[]],[[]],[55,55],[[]],[[],55],[1],[1],[1],[[55,55],52],[[],52],[[],52],[[],52],[[],52],[[55,44],45],[[]],[[],1],[[]],[55,56],[[55,26],[[51,[26]]]],0,[[[51,[[57,[55]]]]],55],0,[[]],[[],6],[[],6],[[],7],[[55,26,26]],[[]],0,[[]],[[]],[1],[1],[1],[[]],[[],1],[[]],[58,[[59,[58]]]],[[[59,[58]],25]],0,[[],6],[[],6],[[],7],[[]],0,[[]],[[]],[[2,26,60],61],[2,2],[[]],[[],2],[1],[1],[1],[[2,44],45],[[]],0,0,[[],1],[2,1],[[2,26,24],61],[[2,26,31],61],[[2,26,62],61],[[]],[[2,26],[[51,[[63,[2]]]]]],[[2,26],[[51,[64]]]],[[2,1],[[51,[[63,[2]]]]]],[[2,26],[[51,[31]]]],[[2,26],[[51,[62]]]],[[2,26],[[51,[62]]]],[[1,24],64],0,[2,1],0,0,0,[[]],[[],6],[[],6],[[],7],[[2,26],52],[[2,26],52],0,0,[[]],0,0,0,[[]],[[]],[[]],[[]],[65,65],[64,64],[[]],[[]],[1],[1],[1],[1],[1],[1],0,[[65,44],45],[[64,44],45],[[]],[[]],0,[[],1],[[],1],0,0,[[]],[[]],0,0,[[]],[[]],[[],6],[[],6],[[],6],[[],6],[[],7],[[],7],0,[[]],[[]],0,0,0,0,0,[[]],[[]],[[]],[[]],[66,66],[62,62],[[]],[[]],0,[1],[1],[1],[1],[1],[1],[[66,66],52],[[62,62],52],[[],52],[[],52],[[],52],[[],52],[[],52],[[],52],[[],52],[[],52],[[66,44],45],[[66,44],45],[[62,44],45],[[62,44],45],[[]],[[]],[[],1],[[],1],[[]],[[]],0,[[]],[[]],[[],10],[[],10],[[],6],[[],6],[[],6],[[],6],0,[[],7],[[],7],[[]],[[]],0,0,0,0,0,[[]],[[]],[1],[1],[[]],[1],[[]],[[],1],[[]],0,[67,68],0,[[68,8]],[[68,9]],[[68,11]],[[68,15]],[[68,18]],[[68,19]],[[68,20]],[[68,23]],[[68,24],24],[[68,25]],[[68,28]],[[68,32]],[[68,34]],[[],6],[[],6],[[],7],0,[[]],0,0,0,0,0,0,[[]],[[]],[69,70],0,[69,[[51,[22]]]],[1],[1],[[]],[1],[[69,71,70]],[[69,15,70]],[[]],[[],1],[[]],[[69,22],[[51,[26]]]],[[2,67,42],69],0,[[69,8]],[[69,9]],[[69,11]],[[69,15]],[[69,18]],[[69,19]],[[69,20]],[[69,24],24],[[69,28]],[[69,32]],[[69,34]],[[69,35]],0,[[69,25,22],33],0,0,[[],6],[[],6],0,[[],7],[[69,22]],[[69,25,22]],[[]],0,0,0,0,0,0,0,[[]],[[]],[72],[1],[1],[1],[[]],[[],1],[[]],0,[[72,56]],[42,72],[[72,11]],[[72,18]],[[72,19]],[[72,20]],[[72,25]],[[72,28]],[[72,34]],0,[[],6],[[],6],[[],7],[[]],0,0,[[]],[[]],0,[1],[1],[[]],[1],[[]],[[],1],[[]],[[67,4,42],73],0,[[73,11]],[[73,15]],[[73,16]],[[73,18]],[[73,19]],[[73,20]],[[73,23]],[[73,28]],[[73,74],74],0,[[],6],[[],6],[[],7],[[]],0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],0,0,[1],[1],[1],[1],[1],[1],0,[[]],[[]],[[],1],[[],1],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[75,75,76],[[77,[75]]]],[[[77,[75]]],51],[[],6],[[],6],[[],6],[[],6],[[],7],[[],7],[[]],[[]],0,[[]],[[]],[78,1],[1],[1],[[]],[1],[[78,1],1],[[78,1]],[[]],0,[[],1],[[]],0,[[2,79,67],78],0,[[78,15]],[[78,20]],[[78,24],24],[[78,28]],0,0,[[],6],[[],6],[[],7],[[78,28,80,80],33],[[78,28,75],33],[[]],0,0,0,[[]],0,0,0,0,0,0,[[]],[[]],[[81,8]],[[81,9]],[[81,11]],[[81,14]],[[81,15]],[[81,16]],[[81,17]],[[81,18]],[[81,19]],[[81,20]],[[81,23]],[[81,24]],[[81,25]],[[81,28]],[[81,41]],[[81,27]],[[81,74]],[[81,32]],[[81,31]],[[81,34]],[[81,35]],[[81,36]],[[81,39]],[[81,40]],[1],[1],[[]],[1],[[]],[[],1],[[]],0,[[67,2,42],81],0,[81,55],[81],0,0,[[],6],[[],6],[[],7],[[81,22]],[[]],0,0,[[]],[[]],[1],[1],[[]],[1],[[]],0,[[],1],[[]],[79,82],0,[[],6],[[],6],[[],7],[[82,24]],[[82,27]],[[82,29]],[[82,31]],[[]],0,0,0,0,[[[51,[37]],[51,[37]],[51,[37]]],[[51,[37]]]],0,0,0,0,0,0,0,0,0,0,[[83,37,[51,[37]],60],37],[[83,[51,[37]],60]],[[83,[51,[37]],60]],[[83,[51,[37]],60]],[[83,[51,[37]],60]],[[83,[51,[37]],60]],[[83,[51,[37]],60]],[[83,[51,[37]],60]],[[83,[51,[37]],60]],[[83,[51,[37]],60]],[[83,[51,[37]],60]],[[83,[51,[37]],60]],[[83,[51,[37]],60]],[[83,[51,[37]],60]],[[83,[51,[37]],60],[[51,[84]]]],[[83,60,26,37]],[[83,[51,[37]],60]],[[83,[51,[37]],60]],[[83,[51,[37]],37,60]],[[83,37,60],52],[[83,[51,[37]],60]],[[]],[[]],0,[[83,85,86,60],[[51,[37]]]],[[83,[51,[37]],[51,[37]],60]],[[83,25,[51,[37]],60],37],[[83,58,10,[51,[37]],60]],[83,1],[1],[1],[[]],[1],[[83,87]],[[83,1]],[[83,1]],[[]],0,[[83,37,25],[[51,[88]]]],[[83,37,25],[[51,[85]]]],0,0,0,[[],1],[[]],0,0,0,[[2,79],83],0,0,[[],6],[[],6],[[],7],[[[86,[37]]],10],0,[[83,8]],[[83,9]],[[83,11]],[[83,14]],[[83,15]],[[83,16]],[[83,17]],[[83,18]],[[83,19]],[[83,20]],[[83,21]],[[83,23]],[[83,24]],[[83,25]],[[83,28]],[[83,41]],[[83,29]],[[83,27]],[[83,74]],[[83,32]],[[83,33]],[[83,31]],[[83,34]],[[83,35]],[[83,36]],[[83,39]],[[83,40]],[[]]],"c":[],"p":[[15,"usize"],[3,"SymbolTable"],[6,"StructGraph"],[6,"CallGraph"],[3,"CodeGenerator"],[4,"Result"],[3,"TypeId"],[4,"AccessExpression"],[3,"AssertStatement"],[3,"String"],[3,"AssignStatement"],[3,"AssociatedConstant"],[3,"AssociatedFunction"],[3,"BinaryExpression"],[3,"Block"],[3,"CallExpression"],[3,"CastExpression"],[3,"ConditionalStatement"],[3,"ConsoleStatement"],[3,"DefinitionStatement"],[3,"ErrExpression"],[4,"Expression"],[3,"ExpressionStatement"],[3,"Function"],[3,"Identifier"],[3,"Symbol"],[3,"Program"],[3,"IterationStatement"],[3,"Mapping"],[3,"MemberAccess"],[3,"Struct"],[3,"ReturnStatement"],[4,"Statement"],[3,"StructExpression"],[3,"TernaryExpression"],[3,"TupleExpression"],[4,"Type"],[4,"Mode"],[3,"UnaryExpression"],[3,"UnitExpression"],[4,"Literal"],[3,"Assigner"],[3,"AssignerInner"],[3,"Formatter"],[6,"Result"],[6,"NodeID"],[8,"Display"],[8,"Node"],[3,"DiGraph"],[3,"IndexSet"],[4,"Option"],[15,"bool"],[8,"Debug"],[4,"DiGraphError"],[3,"RenameTable"],[8,"Iterator"],[3,"Box"],[8,"Fn"],[3,"Replacer"],[3,"Span"],[6,"Result"],[3,"VariableSymbol"],[3,"RefCell"],[3,"FunctionSymbol"],[3,"FinalizeData"],[4,"VariableType"],[3,"NodeBuilder"],[3,"DeadCodeEliminator"],[3,"Flattener"],[3,"Vec"],[15,"str"],[3,"AssignmentRenamer"],[3,"FunctionInliner"],[3,"ProgramScope"],[8,"LoopBound"],[4,"Clusivity"],[3,"RangeIterator"],[3,"Unroller"],[3,"Handler"],[4,"Value"],[3,"StaticSingleAssigner"],[3,"SymbolTableCreator"],[3,"TypeChecker"],[3,"MappingType"],[4,"CoreFunction"],[15,"slice"],[4,"TypeCheckerError"],[4,"CoreConstant"],[8,"Pass"]]},\ -"leo_span":{"doc":"","t":"CCAAACANEDDNDDDDFLLLLLLLLLLLLLLLMLLLLMMMLLLLLMLLLLLLLLLLLLLLLMLLLLLLLFMLMMMLLLMMLLFFMFMMMLLMMLLLLLLLLLLLLLLLLLLLLLLLLLMDDIDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLKLLLLMOLLLLMLLLLLLLLLLLKLLKLLLLLLLLLLLDLLFLLLLFLLLLDEDNRHDNDLLLLLLLLLLLLLLLLOFLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLMMOAMOLLLLLLLLLLLLLLLLLFRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR","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","Else","False","For","GEN","If","In","Let","Mapping","Mod","Mut","Pedersen128","Pedersen64","Poseidon2","Poseidon4","Poseidon8","Return","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","square","square_root","string","sub","sub_wrapped","then","to_x_coordinate","to_y_coordinate","transition","u128","u16","u32","u64","u8","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"]],"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,5,0,0,0,5,0,0,0,0,0,3,12,14,9,11,5,6,3,12,14,9,11,5,6,3,6,5,6,5,6,14,12,12,3,9,9,11,12,3,6,6,6,9,9,9,5,6,3,12,14,9,11,5,6,9,3,12,14,9,11,5,6,0,14,9,12,12,3,9,3,3,3,3,3,9,0,0,6,0,12,14,11,9,9,3,3,5,6,5,11,3,12,14,9,11,5,6,3,12,14,9,11,5,6,3,12,14,9,11,5,6,11,0,0,0,0,7,7,2,4,7,2,4,7,2,4,7,2,4,7,2,4,2,4,7,2,7,2,7,7,2,4,7,7,2,2,4,4,7,7,2,4,7,2,4,38,2,4,38,2,4,7,2,7,0,7,2,4,7,7,7,2,4,7,2,2,4,7,2,4,7,38,2,4,38,2,4,7,2,4,7,2,4,7,2,4,0,28,28,0,28,28,28,28,0,28,28,28,28,0,0,0,34,0,0,0,34,0,31,31,32,39,35,31,34,34,32,39,35,31,34,31,31,31,0,0,32,34,31,31,34,31,31,34,34,31,31,32,39,35,31,34,35,31,34,35,35,31,32,39,35,31,34,31,31,35,35,31,31,31,39,32,0,0,32,0,31,31,32,39,35,31,34,32,39,35,31,34,32,39,35,31,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[3,2],4],0,[5,5],[6,6],[[]],[[]],0,0,0,[[3,7],8],[[9,7],[[10,[8]]]],[[],9],[[],11],[[],12],0,[[6,6],13],[[],13],[[],13],[[9,2],[[10,[14]]]],[[9,2],[[10,[[15,[3]]]]]],[[9,2],[[10,[16]]]],[[5,17],18],[[6,17],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],13],0,[[9,7],[[10,[8]]]],0,0,0,[[9,19],[[20,[[15,[3]]]]]],[[3,2]],[[3,2],[[10,[16]]]],0,0,[[5,8,2],3],[[9,1,5],[[15,[3]]]],[8],[8],0,[8],0,0,0,[[9,7],[[10,[12]]]],[[9,7],8],0,0,[[]],[[]],[[],8],[[11,21],[[10,[2]]]],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],23],[[],23],[[],23],[[],23],[[],23],[[],23],[[],23],0,0,0,0,0,[[7,7],7],[[7,7],7],[[2,2],2],[[4,4],4],[[]],[[]],[[]],[[]],[[]],[[]],[7,7],[2,2],[4,4],[[]],[[]],[[]],[[2,2],24],[[4,4],24],[[],7],[[],2],[25,[[22,[7]]]],[25,[[22,[2]]]],[[],7],[[7,7],13],[[2,2],13],[[4,4],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[7,17],18],[[7,17],18],[[2,17],18],[[4,17],18],[[]],[[]],[[]],[21],[21,2],[21,4],[16],[16,2],[16,4],[[7,26]],[[2,26]],0,0,[[]],[[]],[[]],[7,13],0,[[2,2],7],[[2,2],[[10,[24]]]],[[4,4],[[10,[24]]]],[[7,27],22],[[2,27],22],[[2,2],2],[[4,4],4],[[]],[[]],[[]],[[],8],[[],21],[2,21],[4,21],[[],16],[2,16],[4,16],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],23],[[],23],[[],23],0,[[]],[[]],[25,[[22,[7]]]],[[28,17],18],[17,[[22,[29]]]],[[]],[[]],[[7,27],22],[[],22],[[],22],[[],23],[[28,30],22],0,0,0,0,0,0,0,0,0,[[31,32,33]],[31,21],[[]],[[]],[[]],[[]],[[]],[34,1],[[]],[[]],[[]],[[]],[[]],[31,31],[[]],[[31,31],24],0,[33],[[],32],[34],[25,[[22,[31]]]],[[31,31],13],[[34,34],13],[[],13],[[],13],[[],13],[[],13],[[31,17],18],[[31,17],18],[[]],[[]],[[]],[[]],[[]],[[35,31,33]],[[31,26]],[[34,26]],0,[[35,1],31],[1,31],[[]],[[]],[[]],[[]],[[]],[21,31],[[31,31],[[10,[24]]]],[[[36,[1]]],35],[[],35],[[37,27],22],[25,[[22,[37]]]],[[31,27],22],0,0,0,0,0,0,[[]],[[],8],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],23],[[],23],[[],23],[[],23],[[],23],[33],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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"],[3,"SourceFile"],[3,"CharPos"],[4,"FileName"],[3,"MultiByteChar"],[3,"Span"],[3,"String"],[3,"SourceMap"],[4,"Option"],[3,"SourceMapInner"],[3,"SpanLocation"],[15,"bool"],[3,"LineCol"],[3,"Rc"],[15,"usize"],[3,"Formatter"],[6,"Result"],[3,"Path"],[6,"Result"],[15,"u32"],[4,"Result"],[3,"TypeId"],[4,"Ordering"],[8,"Deserializer"],[8,"Hasher"],[8,"Serializer"],[3,"SpanMapVisitor"],[3,"Error"],[8,"MapAccess"],[3,"Symbol"],[3,"SessionGlobals"],[8,"FnOnce"],[4,"InternedStr"],[3,"Interner"],[15,"slice"],[3,"NonZeroU32"],[8,"Pos"],[3,"InnerInterner"]]},\ +"leo_span":{"doc":"","t":"CCAAACANEDDNDDDDFLLLLLLLLLLLLLLLMLLLLMMMLLLLLMLLLLLLLLLLLLLLLMLLLLLLLFMLMMMLLLMMLLFFMFMMMLLMMLLLLLLLLLLLLLLLLLLLLLLLLLMDDIDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLKLLLLMOLLLLMLLLLLLLLLLLKLLKLLLLLLLLLLLDLLFLLLLFLLLLDEDNRHDNDLLLLLLLLLLLLLLLLOFLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLMMOAMOLLLLLLLLLLLLLLLLLFRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR","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","Else","False","For","GEN","If","In","Let","Mapping","Mod","Mut","Pedersen128","Pedersen64","Poseidon2","Poseidon4","Poseidon8","Return","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","square","square_root","string","sub","sub_wrapped","then","to_x_coordinate","to_y_coordinate","transition","u128","u16","u32","u64","u8","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"]],"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,5,0,0,0,5,0,0,0,0,0,3,12,14,9,11,5,6,3,12,14,9,11,5,6,3,6,5,6,5,6,14,12,12,3,9,9,11,12,3,6,6,6,9,9,9,5,6,3,12,14,9,11,5,6,9,3,12,14,9,11,5,6,0,14,9,12,12,3,9,3,3,3,3,3,9,0,0,6,0,12,14,11,9,9,3,3,5,6,5,11,3,12,14,9,11,5,6,3,12,14,9,11,5,6,3,12,14,9,11,5,6,11,0,0,0,0,7,7,2,4,7,2,4,7,2,4,7,2,4,7,2,4,2,4,7,2,7,2,7,7,2,4,7,7,2,2,4,4,7,7,2,4,7,2,4,38,2,4,38,2,4,7,2,7,0,7,2,4,7,7,7,2,4,7,2,2,4,7,2,4,7,38,2,4,38,2,4,7,2,4,7,2,4,7,2,4,0,28,28,0,28,28,28,28,0,28,28,28,28,0,0,0,34,0,0,0,34,0,31,31,32,39,35,31,34,34,32,39,35,31,34,31,31,31,0,0,32,34,31,31,34,31,31,34,34,31,31,32,39,35,31,34,35,31,34,35,35,31,32,39,35,31,34,31,31,35,35,31,31,31,39,32,0,0,32,0,31,31,32,39,35,31,34,32,39,35,31,34,32,39,35,31,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[3,2],4],0,[5,5],[6,6],[[]],[[]],0,0,0,[[3,7],8],[[9,7],[[10,[8]]]],[[],9],[[],11],[[],12],0,[[6,6],13],[[],13],[[],13],[[9,2],[[10,[14]]]],[[9,2],[[10,[[15,[3]]]]]],[[9,2],[[10,[16]]]],[[5,17],18],[[6,17],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],13],0,[[9,7],[[10,[8]]]],0,0,0,[[9,19],[[20,[[15,[3]]]]]],[[3,2]],[[3,2],[[10,[16]]]],0,0,[[5,8,2],3],[[9,1,5],[[15,[3]]]],[8],[8],0,[8],0,0,0,[[9,7],[[10,[12]]]],[[9,7],8],0,0,[[]],[[]],[[],8],[[11,21],[[10,[2]]]],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],23],[[],23],[[],23],[[],23],[[],23],[[],23],[[],23],0,0,0,0,0,[[7,7],7],[[7,7],7],[[2,2],2],[[4,4],4],[[]],[[]],[[]],[[]],[[]],[[]],[7,7],[2,2],[4,4],[[]],[[]],[[]],[[2,2],24],[[4,4],24],[[],7],[[],2],[25,[[22,[7]]]],[25,[[22,[2]]]],[[],7],[[7,7],13],[[2,2],13],[[4,4],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[7,17],18],[[7,17],18],[[2,17],18],[[4,17],18],[[]],[[]],[[]],[21],[21,2],[21,4],[16],[16,2],[16,4],[[7,26]],[[2,26]],0,0,[[]],[[]],[[]],[7,13],0,[[2,2],7],[[2,2],[[10,[24]]]],[[4,4],[[10,[24]]]],[[7,27],22],[[2,27],22],[[2,2],2],[[4,4],4],[[]],[[]],[[]],[[],8],[[],21],[2,21],[4,21],[[],16],[2,16],[4,16],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],23],[[],23],[[],23],0,[[]],[[]],[25,[[22,[7]]]],[[28,17],18],[17,[[22,[29]]]],[[]],[[]],[[7,27],22],[[],22],[[],22],[[],23],[[28,30],22],0,0,0,0,0,0,0,0,0,[[31,32,33]],[31,21],[[]],[[]],[[]],[[]],[34,1],[[]],[[]],[[]],[[]],[[]],[[]],[31,31],[[]],[[31,31],24],0,[33],[[],32],[34],[25,[[22,[31]]]],[[31,31],13],[[34,34],13],[[],13],[[],13],[[],13],[[],13],[[31,17],18],[[31,17],18],[[]],[[]],[[]],[[]],[[]],[[35,31,33]],[[31,26]],[[34,26]],0,[[35,1],31],[1,31],[[]],[[]],[[]],[[]],[[]],[21,31],[[31,31],[[10,[24]]]],[[[36,[1]]],35],[[],35],[[37,27],22],[25,[[22,[37]]]],[[31,27],22],0,0,0,0,0,0,[[]],[[],8],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],22],[[],23],[[],23],[[],23],[[],23],[[],23],[33],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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"],[3,"SourceFile"],[3,"CharPos"],[4,"FileName"],[3,"MultiByteChar"],[3,"Span"],[3,"String"],[3,"SourceMap"],[4,"Option"],[3,"SourceMapInner"],[3,"SpanLocation"],[15,"bool"],[3,"LineCol"],[3,"Rc"],[15,"usize"],[3,"Formatter"],[6,"Result"],[3,"Path"],[6,"Result"],[15,"u32"],[4,"Result"],[3,"TypeId"],[4,"Ordering"],[8,"Deserializer"],[8,"Hasher"],[8,"Serializer"],[3,"SpanMapVisitor"],[3,"Error"],[8,"MapAccess"],[3,"Symbol"],[3,"SessionGlobals"],[8,"FnOnce"],[4,"InternedStr"],[3,"Interner"],[15,"slice"],[3,"NonZeroU32"],[8,"Pos"],[3,"InnerInterner"]]},\ "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"]],"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,31,8,31,8,0,31,8,8,31,8,31,8,31,8,31,8,31,8,31,8,32,33,34,35,32,34,36,33,35,34,35,32,34,36,33,35,0,0,0,0,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,18,18,0,0,0,0,0,18,26,20,18,26,20,18,18,18,26,26,18,18,18,20,20,18,26,20,18,0,26,20,18,0,20,20,26,20,24,26,20,20,27,24,0,0,0,20,18,26,20,18,26,20,18,26,20,18,5,5,5,0,0,5,22,5,22,5,22,5,22,5,22,5,5,5,22,22,0,5,22,5,22,5,22,22,5,22,5,22,5,22,5,22,5,22],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[1,[4,[[4,[2,3]],3]],5,[6,[2]],7],[[6,[8]]]],0,[[8,9],10],[[8,9],10],[[]],[[]],[[]],[[]],0,[[],3],[[],4],[[],4],[[],4],[[],4],[[],11],[[],11],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[12,13],[1,[[14,[1]]]],[1,[[14,[3]]]],0,[[]],[[]],[15,15],[[]],[16,[[4,[15]]]],0,[[]],[[]],0,0,[[15,17],4],[[]],[[],4],[[],4],[[],11],0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[18,18],[[]],0,0,[[18,18],19],[[],19],[[],19],0,0,[[18,9],10],[[]],[[]],[[]],[[],14],[[]],[[]],[[]],[1,19],[[20,12]],[[20,21],[[14,[22]]]],0,[[1,21]],[[],18],0,0,[[20,[14,[22]],23],14],[1,[[6,[[25,[24]]]]]],[26,[[4,[2,3]]]],[[27,1]],[[],[[29,[[28,[[6,[3]]]]]]]],[[[4,[[4,[2,3]],[25,[30]]]],[29,[[28,[[6,[3]]]]]]],[[4,[[4,[2,3]],3]]]],0,[[]],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],11],[[],11],[[],11],0,0,0,0,0,[[]],[[]],[[]],[[]],[5,5],[22,22],[[]],[[]],[16,[[4,[5]]]],[16,[[4,[22]]]],[[5,5],19],[[],19],[[],19],0,0,[1,[[6,[22]]]],[[5,9],10],[[22,9],10],[[]],[[]],[[]],[[]],0,[[5,17],4],[[22,17],4],[[]],[[]],[[],4],[[],4],[[],4],[[],4],[[],11],[[],11]],"c":[],"p":[[15,"str"],[4,"Value"],[3,"String"],[4,"Result"],[4,"TestExpectationMode"],[4,"Option"],[15,"usize"],[4,"TestError"],[3,"Formatter"],[6,"Result"],[3,"TypeId"],[3,"Path"],[8,"Iterator"],[3,"Vec"],[3,"TestExpectation"],[8,"Deserializer"],[8,"Serializer"],[4,"ParseType"],[15,"bool"],[3,"TestCases"],[8,"Fn"],[3,"TestConfig"],[8,"FnMut"],[8,"Namespace"],[3,"Box"],[3,"Test"],[8,"Runner"],[3,"Mutex"],[3,"Arc"],[8,"Any"],[3,"TestFailure"],[13,"Panicked"],[13,"FailedAndShouldntHave"],[13,"UnexpectedOutput"],[13,"UnexpectedError"],[13,"PassedAndShouldntHave"]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; diff --git a/settings.html b/settings.html index b7a1dc8ef9..04a743caab 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Rustdoc settings

    Rustdoc settings

    Back
    \ No newline at end of file +Rustdoc 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 273c603aa9..5693708bdd 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 e0a2ea4861..086d79af41 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 23c7fed367..1ab645cc7b 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/associated_constant_access.rs.html b/src/leo_ast/access/associated_constant_access.rs.html
    index 9450fd8704..6fef6ee994 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 25a8b6f2da..c79c23cdb1 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 9b1ee4a87f..266d4099dc 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 3c877091a1..6a747114aa 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 f6df7e6e31..ed05648fff 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 0e63cb1c93..0ba337356b 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 bb5b7fc7cd..16256c75fb 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 54b1c09e53..20ed062e9f 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 de61e431c1..fe87602ff1 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 aeb4614346..98f4d5fcb4 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 2039bf9468..d657377ccc 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 abc9ec4146..a27fe08cde 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 2a9ff093d2..5ea1426328 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/binary.rs.html b/src/leo_ast/expressions/binary.rs.html
    index 72a69a3682..b5bae32160 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 0851ba2972..ce745399bb 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 b96c5a7e43..a96b7a5f08 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 cf8c6b5475..cd09a83be3 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 a20798f36b..b4e2f7293f 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 93737eb880..131200f5c3 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 7c476efd6f..3f260a8f0a 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 57c44843a6..9ca9424a4b 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 10bb29175b..cf531057c3 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 8c9bb4c192..89f0f32133 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 e7b02bd599..82fb32f078 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 826b28ad51..be6b1f6519 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 bd030429e4..41f92297ad 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 c1158a338d..1541270b08 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 36c3779ee1..78d365f254 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 f0db8f645f..d77c952fee 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 902c1f704b..e37ae48ae3 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
    @@ -259,7 +259,7 @@
             let output_type = match output.len() {
                 0 => Type::Unit,
                 1 => get_output_type(&output[0]),
    -            _ => Type::Tuple(Tuple(output.iter().map(|output| get_output_type(output)).collect())),
    +            _ => Type::Tuple(Tuple(output.iter().map(get_output_type).collect())),
             };
     
             Function { annotations, variant, identifier, input, output, output_type, block, finalize, span, id }
    diff --git a/src/leo_ast/functions/mode.rs.html b/src/leo_ast/functions/mode.rs.html
    index abb7947a1f..4b17f52deb 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 581b787a5b..05199809f0 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 b0cc0741f4..3f15eff3d0 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 289d03626d..551ede89c1 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 c16e58cf93..ffe226544b 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 6a80d1be35..358889042c 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 74043c7013..0781055b66 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 b634d08e2c..6c7657635e 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 bcccaf9e86..599337c15b 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 af4a80f755..b0fb261ca7 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 38499ca1fe..6c33ecae26 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 4ac3a9f7fa..51a78a6bc8 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 095fe47920..e65cde159f 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 55d17c8ca8..7634f4b361 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 e296b24052..7ad8530134 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 145de4a5f0..25da8d205d 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 26a0e83190..465ea898e0 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 6044898b88..e53eb00be9 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 c72c94ef1f..d3f459d719 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 749a2ccb12..b318366879 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 cf5d4cc476..0c1c831ce1 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 2d515a7610..639e26fc98 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 f390ce2416..b97c9908f7 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 cfaf8d53ca..c7bc65c8b1 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 d08bf2be1d..4a904304c8 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 34df222e31..60f4917b78 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 425d531322..39d647478d 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 72665c281b..d998afab59 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/definition/declaration_type.rs.html b/src/leo_ast/statement/definition/declaration_type.rs.html
    index 16365dbffc..0ce1a15282 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 3e9337af01..c3c5fc06a5 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 f3dd41910f..3778ea95c4 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 ac9db36fca..36828d80b2 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 f5a8604eac..5bd2e56fdd 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 f08eb5c398..97a7230355 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 cefdf26cab..9378ff7778 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 002beb821e..68bc563697 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/core_constant.rs.html b/src/leo_ast/types/core_constant.rs.html
    index 13d8d41ef5..1bf03fe88e 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 0877535403..f657b91d35 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 f0b038afcc..3c753bee2f 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 f87877d0cc..f006c2812b 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 d77c7a3f58..473ccacb33 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 a918085cb5..d6f87169cd 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 5213a748f3..d745b4115e 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 1ca31430c6..1ecf00999a 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 12511fb8a0..c028deb72b 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 9f0720f2d4..50bc926842 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 6640f19ee1..529182dbbd 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 2dc468055e..0ee0284d2b 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 9342979786..f7fedd856a 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 e72f41aff9..8b4b5a91c9 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 9d2297693d..3f116e9c4d 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 50580b7214..3ff284f3f5 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 a712e52024..0e56266a34 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 f4cacaac08..f70abce2c1 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 edf0c7842d..da21aaa358 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 a01a3ebff2..426420887f 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 cdf6a6b23e..1c65bb9a25 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 4a222d58b3..e13f628fa3 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 c637312afb..87a1028f0b 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 7ba8fb880f..fc2534cad0 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 b6bb1bb8f9..e7a4b3a94d 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 c37f307261..5bf4bdff26 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/mod.rs.html b/src/leo_errors/errors/mod.rs.html
    index b905f50be6..1d96f3d124 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 cf32e101d5..59b7c45256 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 0d3e442332..703c26e303 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 30305b2b22..4a0a322bbd 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 e4f8d98f49..f54d98c9c9 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 134147126e..f1d68b70e1 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 d7050ce406..43e49bf56d 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 ceb9d511a7..1545dff4fa 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 9878d7844c..818a2dae27 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 ed5d43c690..cfa9f47ff9 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 ae32dfcd15..bfc88827ff 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 a99bc83f23..8d79e704da 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 608d65dce4..eeb0e7569b 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 980e459938..1d54cdac9b 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 d15ba7ccc3..4c0e9af6de 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 6f40a8e94c..81654dad67 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 18e72f8e72..84d7f25337 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 85fd248c05..46a622fd5f 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 0106cca914..3620b2a12d 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 c0a14a43f3..85e8d2640c 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 9ef3db9b28..f2a145ea80 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 bdcd2e4bba..d2467c497f 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 9a4d535fa2..13cda941cc 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 b9cbd90b82..29c718b48a 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 aa58234840..b6233b3540 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 2244093ad2..e1c800711f 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 3f740cff55..a2e07a99ac 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 501452071f..907c10a574 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 471440aee4..9cf079e603 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 7e6a65366a..271c031f47 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 f6a40a1b5c..e9db1c7762 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 dd68044ed7..f3e553c35c 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 964b77b356..a78f29be19 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 6c9667faf8..c64a8a5308 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 8a14efdeef..d64606897b 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 9576eead50..0af332b9ba 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 adf89b954a..b3dce0b2e8 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 e09242776c..596996ed64 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 2b5148ff30..c79da793be 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 7d83f4f5a2..f7dd3dd6f7 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 2b1693487f..0ba85a8bd0 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 6018820338..2dccf0444f 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 b33c7ae4b7..bedd7fed4b 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 db18cb05e4..d3cbe151fe 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 2b471704f1..6bd540ab9a 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 34a119b104..3918e31689 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 3b180d6542..95f9177fb5 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 10a048a478..a69ea70988 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 583673e11f..29c25a6c8a 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 6d22c03996..6fa5f8920b 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 5793ad7dba..49a6649d53 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 31503d807d..71d8d04e4d 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 dffccf2d95..7b78f43528 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 1f02b0ea4c..d129a5b1eb 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 48503ef2b6..0b8b643e08 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 fcbe382003..fbdbb3c445 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 45f14a77bf..b1e3d6bedc 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 03ee7a807a..c3a96d7cbe 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 d44be473bc..aa5e9a10b0 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
    @@ -976,7 +976,7 @@
                 Expression::Identifier(identifier) => identifier.name,
                 _ => unreachable!("Parsing guarantees that a function name is always an identifier."),
             };
    -        let return_type = &self.symbol_table.borrow().lookup_fn_symbol(function_name).unwrap().output_type;
    +        let return_type = &self.symbol_table.lookup_fn_symbol(function_name).unwrap().output_type;
             match return_type {
                 Type::Unit => {
                     call_instruction.push(';');
    diff --git a/src/leo_passes/code_generation/visit_program.rs.html b/src/leo_passes/code_generation/visit_program.rs.html
    index a75a2c8686..2de7119235 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 d25315c014..26e54ff266 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 37f1d6b2d6..b3334a1a47 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 a691025145..65227cc26d 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/graph/mod.rs.html b/src/leo_passes/common/graph/mod.rs.html
    index 83d6ede596..19dd60e901 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 00f5ba0dd1..87aba68cca 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 64958207b5..c40370ed07 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 87ee347087..859acb3b13 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 f6b9400283..da4dd427a0 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 24696f0aaa..6f5be47e86 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 c9873ebc07..4f58d03cd6 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/dead_code_elimination/dead_code_eliminator.rs.html b/src/leo_passes/dead_code_elimination/dead_code_eliminator.rs.html
    index d6bdc40f0f..96b04d4ecc 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 68a17b88a4..1fd9c32aac 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 376e3e099e..c40c6b62a1 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 d8a9cd47a5..d2134f867a 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 dfa3f6b0bf..b6b8516bd0 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/flattening/flatten_expression.rs.html b/src/leo_passes/flattening/flatten_expression.rs.html
    index b610a42ab9..c42b2748a5 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
    @@ -517,7 +517,7 @@
                         elements: first
                             .elements
                             .into_iter()
    -                        .zip_eq(second.elements.into_iter())
    +                        .zip_eq(second.elements)
                             .map(|(if_true, if_false)| {
                                 // Reconstruct the true case.
                                 let (if_true, stmts) = self.reconstruct_expression(if_true);
    diff --git a/src/leo_passes/flattening/flatten_program.rs.html b/src/leo_passes/flattening/flatten_program.rs.html
    index 54ee6b4fc3..59dafec9d7 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 95c668be55..774f696055 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
    @@ -466,8 +466,6 @@
     466
     467
     468
    -469
    -470
     
    // Copyright (C) 2019-2023 Aleo Systems Inc.
     // This file is part of the Leo library.
     
    @@ -645,7 +643,7 @@
                         _ => unreachable!("Parsing guarantees that `function` is an identifier."),
                     };
     
    -                let function = self.symbol_table.borrow().lookup_fn_symbol(function_name).unwrap();
    +                let function = self.symbol_table.lookup_fn_symbol(function_name).unwrap();
                     match &function.output_type {
                         // If the function returns a tuple, reconstruct the assignment and add an entry to `self.tuples`.
                         Type::Tuple(tuple) => {
    @@ -726,7 +724,7 @@
                         Expression::Identifier(identifier) => {
                             // Retrieve the entry in the symbol table for the mapping.
                             // Note that this unwrap is safe since type checking ensures that the mapping exists.
    -                        let variable = self.symbol_table.borrow().lookup_variable(identifier.name).unwrap();
    +                        let variable = self.symbol_table.lookup_variable(identifier.name).unwrap();
                             match &variable.type_ {
                                 Type::Mapping(mapping_type) => &*mapping_type.value,
                                 _ => unreachable!("Type checking guarantee that `arguments[0]` is a mapping."),
    @@ -762,7 +760,7 @@
                         _ => unreachable!("Parsing guarantees that `function` is an identifier."),
                     };
     
    -                let function = self.symbol_table.borrow().lookup_fn_symbol(function_name).unwrap();
    +                let function = self.symbol_table.lookup_fn_symbol(function_name).unwrap();
     
                     let output_type = match &function.output_type {
                         Type::Tuple(tuple) => tuple.clone(),
    @@ -792,21 +790,19 @@
                 }
                 // If the lhs is a tuple and the rhs is a tuple, create a new assign statement for each tuple element.
                 (Expression::Tuple(lhs_tuple), Expression::Tuple(rhs_tuple)) => {
    -                statements.extend(lhs_tuple.elements.into_iter().zip(rhs_tuple.elements.into_iter()).map(
    -                    |(lhs, rhs)| {
    -                        let identifier = match &lhs {
    -                            Expression::Identifier(identifier) => identifier,
    -                            _ => unreachable!("Type checking guarantees that `lhs` is an identifier."),
    -                        };
    -                        self.update_structs(identifier, &rhs);
    -                        Statement::Assign(Box::new(AssignStatement {
    -                            place: lhs,
    -                            value: rhs,
    -                            span: Default::default(),
    -                            id: self.node_builder.next_id(),
    -                        }))
    -                    },
    -                ));
    +                statements.extend(lhs_tuple.elements.into_iter().zip(rhs_tuple.elements).map(|(lhs, rhs)| {
    +                    let identifier = match &lhs {
    +                        Expression::Identifier(identifier) => identifier,
    +                        _ => unreachable!("Type checking guarantees that `lhs` is an identifier."),
    +                    };
    +                    self.update_structs(identifier, &rhs);
    +                    Statement::Assign(Box::new(AssignStatement {
    +                        place: lhs,
    +                        value: rhs,
    +                        span: Default::default(),
    +                        id: self.node_builder.next_id(),
    +                    }))
    +                }));
                     (Statement::dummy(Default::default(), self.node_builder.next_id()), statements)
                 }
                 // If the lhs is a tuple and the rhs is an identifier that is a tuple, create a new assign statement for each tuple element.
    @@ -817,7 +813,7 @@
                     // Note that the `unwrap` is safe since the match arm checks that the entry exists.
                     let rhs_tuple = self.tuples.get(&identifier.name).unwrap().clone();
                     // Create a new assign statement for each tuple element.
    -                for (lhs, rhs) in lhs_tuple.elements.into_iter().zip(rhs_tuple.elements.into_iter()) {
    +                for (lhs, rhs) in lhs_tuple.elements.into_iter().zip(rhs_tuple.elements) {
                         let identifier = match &lhs {
                             Expression::Identifier(identifier) => identifier,
                             _ => unreachable!("Type checking guarantees that `lhs` is an identifier."),
    diff --git a/src/leo_passes/flattening/flattener.rs.html b/src/leo_passes/flattening/flattener.rs.html
    index 084fc3133d..ac5b65d50a 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 cd60b77eb4..41e4b91cab 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 f1803e4cd0..80e44ba98c 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 d8979ad4fe..4457e25506 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 799ee8c9fb..72cec03f88 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
    @@ -158,7 +158,7 @@
                         .input
                         .iter()
                         .map(|input| input.identifier().name)
    -                    .zip_eq(input.arguments.into_iter())
    +                    .zip_eq(input.arguments)
                         .collect::<IndexMap<_, _>>();
     
                     // Initializer `self.assignment_renamer` with the function parameters.
    diff --git a/src/leo_passes/function_inlining/inline_program.rs.html b/src/leo_passes/function_inlining/inline_program.rs.html
    index 3baeeaff67..03874cf3e6 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 cbe1b00383..e34b994622 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
    @@ -144,7 +144,7 @@
             match (input.place, value) {
                 // If the function call produces a tuple, we need to segment the tuple into multiple assignment statements.
                 (Expression::Tuple(left), Expression::Tuple(right)) if left.elements.len() == right.elements.len() => {
    -                statements.extend(left.elements.into_iter().zip(right.elements.into_iter()).map(|(lhs, rhs)| {
    +                statements.extend(left.elements.into_iter().zip(right.elements).map(|(lhs, rhs)| {
                         Statement::Assign(Box::new(AssignStatement {
                             place: lhs,
                             value: rhs,
    diff --git a/src/leo_passes/function_inlining/mod.rs.html b/src/leo_passes/function_inlining/mod.rs.html
    index 210739b908..ece1e457d1 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 873aea31ac..10795d8f39 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 b3e20730b0..f1b1726b2f 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 9cc34a56d7..a554af15da 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 f03482fc03..775348965c 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 b9fd368bb9..92255c75d8 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 a69b17fa54..6cb7d84f45 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 c7a89b9b3c..b4f2ee5191 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 961dd8916c..a5956feede 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 21ae954bfe..672307b2f4 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 f5a6bc204f..50682692ea 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
    @@ -347,7 +347,6 @@
     347
     348
     349
    -350
     
    // Copyright (C) 2019-2023 Aleo Systems Inc.
     // This file is part of the Leo library.
     
    @@ -390,7 +389,6 @@
     use leo_span::{sym, Symbol};
     
     use indexmap::IndexMap;
    -use std::borrow::Borrow;
     
     impl ExpressionConsumer for StaticSingleAssigner<'_> {
         type Output = (Expression, Vec<Statement>);
    @@ -562,7 +560,7 @@
     
             // Lookup the struct definition.
             // Note that type checking guarantees that the correct struct definition exists.
    -        let struct_definition: &Struct = self.symbol_table.borrow().lookup_struct(input.name.name).unwrap();
    +        let struct_definition: &Struct = self.symbol_table.lookup_struct(input.name.name).unwrap();
     
             // Initialize the list of reordered members.
             let mut reordered_members = Vec::with_capacity(members.len());
    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 83974f8092..363b40f500 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 623999b834..cff3f54714 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 d9c69c3de9..27fa0450f1 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 b36b3252e7..56c3aa3034 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 56b884b377..55e4cb1b61 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 3fe8b4ff8c..a6b278d5ae 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
    @@ -750,8 +750,6 @@
     750
     751
     752
    -753
    -754
     
    // Copyright (C) 2019-2023 Aleo Systems Inc.
     // This file is part of the Leo library.
     
    @@ -1274,16 +1272,14 @@
     
         fn visit_cast(&mut self, input: &'a CastExpression, expected: &Self::AdditionalInput) -> Self::Output {
             // Check that the target type of the cast expression is a castable type.
    -        let target_type = Some(input.type_.clone());
    -        self.assert_castable_type(&target_type, input.span());
    +        self.assert_castable_type(&Some(input.type_.clone()), input.span());
     
             // Check that the expression type is a primitive type.
             let expression_type = self.visit_expression(&input.expression, &None);
             self.assert_castable_type(&expression_type, input.expression.span());
     
             // Check that the expected type matches the target type.
    -        // Note that this unwrap is safe since target_type is always `Some`.
    -        Some(self.assert_and_return_type(target_type.unwrap(), expected, input.span()))
    +        Some(self.assert_and_return_type(input.type_.clone(), expected, input.span()))
         }
     
         fn visit_struct_init(&mut self, input: &'a StructExpression, additional: &Self::AdditionalInput) -> Self::Output {
    diff --git a/src/leo_passes/type_checking/check_program.rs.html b/src/leo_passes/type_checking/check_program.rs.html
    index 1f8cc4fda1..105caa1023 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 f6b4e39ddc..8cc2c6cd45 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 051e50e661..e8535d8de9 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 82a77398f3..3fea06fa95 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 d4305893a3..ac37ae68dd 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 3a80542a2e..eedef439b8 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 07e9ecf154..729021921b 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 cceb11aeab..e126dc436c 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 9f3e364a2e..ad0aaac42c 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 5f46fd8f38..6144c49146 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 5ff46e01c7..e35031c457 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 adf646530d..32992c0afb 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 f982fe7e17..2e97f4d993 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 6fd1592b87..5a3010298c 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 d30ab797c4..727bbe6d85 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-0795b7d26be81095.js b/static.files/main-0795b7d26be81095.js
    new file mode 100644
    index 0000000000..87b4338982
    --- /dev/null
    +++ b/static.files/main-0795b7d26be81095.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 mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}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 loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}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();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"));preLoadCss(getVar("static-root-path")+getVar("theme-light-css"));preLoadCss(getVar("static-root-path")+getVar("theme-dark-css"));preLoadCss(getVar("static-root-path")+getVar("theme-ayu-css"));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 Definitions");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=function(ev){if(ev.pointerType!=="mouse"){return}clearTooltipHoverTimeout(e)};wrapper.onpointerleave=function(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=function(){this.TOOLTIP_FORCE_VISIBLE=this.TOOLTIP_FORCE_VISIBLE?false:true;if(window.CURRENT_TOOLTIP_ELEMENT&&!this.TOOLTIP_FORCE_VISIBLE){hideTooltip(true)}else{showTooltip(this);window.CURRENT_TOOLTIP_ELEMENT.setAttribute("tabindex","0");window.CURRENT_TOOLTIP_ELEMENT.focus();window.CURRENT_TOOLTIP_ELEMENT.onblur=tooltipBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(this,true)};e.onpointermove=function(ev){if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(this,true)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.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=function(switchFocus){hideSidebar();window.hidePopoverMenus();hideTooltip(switchFocus)};window.hidePopoverMenus=function(){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-f0540c1d82cde29b.js b/static.files/main-f0540c1d82cde29b.js deleted file mode 100644 index 2fa290256f..0000000000 --- a/static.files/main-f0540c1d82cde29b.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict";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 mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}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 loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}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();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"));preLoadCss(getVar("static-root-path")+getVar("theme-light-css"));preLoadCss(getVar("static-root-path")+getVar("theme-dark-css"));preLoadCss(getVar("static-root-path")+getVar("theme-ayu-css"));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},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.hash)}},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 Definitions");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){return}window.hideAllModals(false);const wrapper=document.createElement("div");if(notable_ty){wrapper.innerHTML="
    "+window.NOTABLE_TRAITS[notable_ty]+"
    "}else if(e.getAttribute("title")!==undefined){const titleContent=document.createElement("div");titleContent.className="content";titleContent.appendChild(document.createTextNode(e.getAttribute("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;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideTooltip(true)}}}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);window.CURRENT_TOOLTIP_ELEMENT=null}}onEachLazy(document.getElementsByClassName("tooltip"),e=>{e.onclick=function(){this.TOOLTIP_FORCE_VISIBLE=this.TOOLTIP_FORCE_VISIBLE?false:true;if(window.CURRENT_TOOLTIP_ELEMENT&&!this.TOOLTIP_FORCE_VISIBLE){hideTooltip(true)}else{showTooltip(this);window.CURRENT_TOOLTIP_ELEMENT.setAttribute("tabindex","0");window.CURRENT_TOOLTIP_ELEMENT.focus();window.CURRENT_TOOLTIP_ELEMENT.onblur=tooltipBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showTooltip(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)){hideTooltip(true)}}});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");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=["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 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=function(switchFocus){hideSidebar();window.hidePopoverMenus();hideTooltip(switchFocus)};window.hidePopoverMenus=function(){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-9bb858ba049f1f21.css b/static.files/rustdoc-9bb858ba049f1f21.css new file mode 100644 index 0000000000..73eacd8030 --- /dev/null +++ b/static.files/rustdoc-9bb858ba049f1f21.css @@ -0,0 +1,8 @@ + :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.srclink,#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,#source-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{margin:0 0 .75em 0;}p: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;}.source 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;}.source .content pre{padding:20px;}.rustdoc.source .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.source .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,#source-sidebar{background-color:var(--sidebar-background-color);}#src-sidebar-toggle>button:hover,#src-sidebar-toggle>button:focus{background-color:var(--sidebar-background-color-hover);}.source .sidebar>*:not(#src-sidebar-toggle){visibility:hidden;}.source-sidebar-expanded .source .sidebar{overflow-y:auto;flex-basis:300px;}.source-sidebar-expanded .source .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(.source) .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.source .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;}.source 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);}@-moz-document url-prefix(){#crate-search{padding-left:0px;padding-right:19px;}}#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 span.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;}.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;}#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.source .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;}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;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;}#source-sidebar{width:100%;overflow:auto;}#source-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid var(--border-color);margin-bottom:6px;}#source-sidebar div.files>a:hover,details.dir-entry summary:hover,#source-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--source-sidebar-background-hover);}#source-sidebar div.files>a.selected{background-color:var(--source-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,') no-repeat top left;}details.toggle[open] >summary::after{content:"Collapse";}.docblock summary>*{display:inline-block;}.docblock>.example-wrap:first-child .tooltip{margin-top:16px;}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.main-heading{flex-direction:column;}.out-of-band{text-align:left;margin-left:initial;padding:initial;}.out-of-band .since::before{content:"Since ";}.sidebar .logo-container,.sidebar .location{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.source main,.rustdoc.source .sidebar{top:0;padding:0;height:100vh;border:0;}.sidebar.shown,.source-sidebar-expanded .source .sidebar,.rustdoc:not(.source) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;}.mobile-topbar h2 a{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;color:var(--main-color);}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#search-tabs .count{display:block;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#src-sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;border:1px solid;border-left:0;}.source-sidebar-expanded #src-sidebar-toggle{left:unset;top:unset;width:unset;border-top-right-radius:unset;border-bottom-right-radius:unset;position:sticky;border:0;border-bottom:1px solid;}#copy-path,#help-button{display:none;}.item-table,.item-row,.item-table>li,.item-table>li>div,.search-results>a,.search-results>a>div{display:block;}.search-results>a{padding:5px 0px;}.search-results>a>div.desc,.item-table>li>div.desc{padding-left:2em;}.search-results .result-name{display:block;}.search-results .result-name .typename{width:initial;margin-right:0;}.search-results .result-name .typename,.search-results .result-name .path{display:inline;}.source-sidebar-expanded .source .sidebar{max-width:100vw;width:100vw;}details.toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.toggle>summary:not(.hideme)::before,#main-content>details.toggle:not(.top-doc)>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}.impl-items>.item-info{margin-left:34px;}.source nav.sub{margin:0;padding:var(--nav-sub-mobile-padding);}}@media (min-width:701px){.scraped-example-title{position:absolute;z-index:10;background:var(--main-background-color);bottom:8px;right:5px;padding:2px 4px;box-shadow:0 0 4px var(--main-background-color);}}@media print{nav.sidebar,nav.sub,.out-of-band,a.srclink,#copy-path,details.toggle[open] >summary::before,details.toggle>summary::before,details.toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}nav.sub{flex-direction:column;}.search-form{align-self:stretch;}.sub-logo-container>img{height:35px;width:35px;margin-bottom:var(--nav-sub-mobile-padding);}}.variant,.implementors-toggle>summary,.impl,#implementors-list>.docblock,.impl-items>section,.impl-items>.toggle>summary,.methods>section,.methods>.toggle>summary{margin-bottom:0.75em;}.variants>.docblock,.implementors-toggle>.docblock,.impl-items>.toggle[open]:not(:last-child),.methods>.toggle[open]:not(:last-child),.implementors-toggle[open]:not(:last-child){margin-bottom:2em;}#trait-implementations-list .impl-items>.toggle:not(:last-child),#synthetic-implementations-list .impl-items>.toggle:not(:last-child),#blanket-implementations-list .impl-items>.toggle:not(:last-child){margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;border:1px solid var(--scrape-example-help-border-color);border-radius:50px;color:var(--scrape-example-help-color);}.scraped-example-list .scrape-help:hover{border-color:var(--scrape-example-help-hover-border-color);color:var(--scrape-example-help-hover-color);}.scraped-example{position:relative;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:calc(1.5em * 5 + 10px);}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;padding-bottom:0;max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper,.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper pre{max-height:calc(1.5em * 10 + 10px);}.scraped-example .code-wrapper .next,.scraped-example .code-wrapper .prev,.scraped-example .code-wrapper .expand{color:var(--main-color);position:absolute;top:0.25em;z-index:1;padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.scraped-example .code-wrapper .prev{right:2.25em;}.scraped-example .code-wrapper .next{right:1.25em;}.scraped-example .code-wrapper .expand{right:0.25em;}.scraped-example:not(.expanded) .code-wrapper::before,.scraped-example:not(.expanded) .code-wrapper::after{content:" ";width:100%;height:5px;position:absolute;z-index:1;}.scraped-example:not(.expanded) .code-wrapper::before{top:0;background:linear-gradient(to bottom,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded) .code-wrapper::after{bottom:0;background:linear-gradient(to top,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example .code-wrapper .example-wrap{width:100%;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .example-wrap .rust span.highlight{background:var(--scrape-example-code-line-highlight);}.scraped-example .example-wrap .rust span.highlight.focus{background:var(--scrape-example-code-line-highlight-focus);}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;cursor:pointer;}.more-scraped-examples{margin-left:25px;position:relative;}.toggle-line{position:absolute;top:5px;bottom:0;right:calc(100% + 10px);padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;background:var(--scrape-example-toggle-line-background);}.toggle-line:hover .toggle-line-inner{background:var(--scrape-example-toggle-line-hover-background);}.more-scraped-examples .scraped-example,.example-links{margin-top:20px;}.more-scraped-examples .scraped-example:first-child{margin-top:5px;}.example-links ul{margin-bottom:0;} \ No newline at end of file diff --git a/static.files/rustdoc-f3501f0f5ae15dfb.css b/static.files/rustdoc-f3501f0f5ae15dfb.css deleted file mode 100644 index 3681b049e0..0000000000 --- a/static.files/rustdoc-f3501f0f5ae15dfb.css +++ /dev/null @@ -1,8 +0,0 @@ - :root{--nav-sub-mobile-padding:8px;}@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.srclink,#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,#source-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name .primitive>i,.result-name .keyword>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{margin:0 0 .75em 0;}p: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;}.source 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;}.source .content pre{padding:20px;}.rustdoc.source .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.source .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,#source-sidebar{background-color:var(--sidebar-background-color);}#src-sidebar-toggle>button:hover,#src-sidebar-toggle>button:focus{background-color:var(--sidebar-background-color-hover);}.source .sidebar>*:not(#src-sidebar-toggle){visibility:hidden;}.source-sidebar-expanded .source .sidebar{overflow-y:auto;flex-basis:300px;}.source-sidebar-expanded .source .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(.source) .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.source .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;}.source 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);}@-moz-document url-prefix(){#crate-search{padding-left:0px;padding-right:19px;}}#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{flex:1;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name span.alias{color:var(--search-results-alias-color);}.search-results .result-name span.grey{color:var(--search-results-grey-color);}.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;}#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;}.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;align-items:center;white-space:pre-wrap;border-radius:3px;display:inline-flex;vertical-align:text-bottom;}.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.source .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;}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;}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}.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;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;}#source-sidebar{width:100%;overflow:auto;}#source-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid var(--border-color);margin-bottom:6px;}#source-sidebar div.files>a:hover,details.dir-entry summary:hover,#source-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--source-sidebar-background-hover);}#source-sidebar div.files>a.selected{background-color:var(--source-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,') no-repeat top left;}details.toggle[open] >summary::after{content:"Collapse";}.docblock summary>*{display:inline-block;}.docblock>.example-wrap:first-child .tooltip{margin-top:16px;}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.main-heading{flex-direction:column;}.out-of-band{text-align:left;margin-left:initial;padding:initial;}.out-of-band .since::before{content:"Since ";}.sidebar .logo-container,.sidebar .location{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.source main,.rustdoc.source .sidebar{top:0;padding:0;height:100vh;border:0;}.sidebar.shown,.source-sidebar-expanded .source .sidebar,.rustdoc:not(.source) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;}.mobile-topbar h2 a{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;color:var(--main-color);}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#search-tabs .count{display:block;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#src-sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;border:1px solid;border-left:0;}.source-sidebar-expanded #src-sidebar-toggle{left:unset;top:unset;width:unset;border-top-right-radius:unset;border-bottom-right-radius:unset;position:sticky;border:0;border-bottom:1px solid;}#copy-path,#help-button{display:none;}.item-table,.item-row,.item-table>li,.item-table>li>div,.search-results>a,.search-results>a>div{display:block;}.search-results>a{padding:5px 0px;}.search-results>a>div.desc,.item-table>li>div.desc{padding-left:2em;}.source-sidebar-expanded .source .sidebar{max-width:100vw;width:100vw;}details.toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.toggle>summary:not(.hideme)::before,#main-content>details.toggle:not(.top-doc)>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}.impl-items>.item-info{margin-left:34px;}.source nav.sub{margin:0;padding:var(--nav-sub-mobile-padding);}}@media (min-width:701px){.scraped-example-title{position:absolute;z-index:10;background:var(--main-background-color);bottom:8px;right:5px;padding:2px 4px;box-shadow:0 0 4px var(--main-background-color);}}@media print{nav.sidebar,nav.sub,.out-of-band,a.srclink,#copy-path,details.toggle[open] >summary::before,details.toggle>summary::before,details.toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}nav.sub{flex-direction:column;}.search-form{align-self:stretch;}.sub-logo-container>img{height:35px;width:35px;margin-bottom:var(--nav-sub-mobile-padding);}}.variant,.implementors-toggle>summary,.impl,#implementors-list>.docblock,.impl-items>section,.impl-items>.toggle>summary,.methods>section,.methods>.toggle>summary{margin-bottom:0.75em;}.variants>.docblock,.implementors-toggle>.docblock,.impl-items>.toggle[open]:not(:last-child),.methods>.toggle[open]:not(:last-child),.implementors-toggle[open]:not(:last-child){margin-bottom:2em;}#trait-implementations-list .impl-items>.toggle:not(:last-child),#synthetic-implementations-list .impl-items>.toggle:not(:last-child),#blanket-implementations-list .impl-items>.toggle:not(:last-child){margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;border:1px solid var(--scrape-example-help-border-color);border-radius:50px;color:var(--scrape-example-help-color);}.scraped-example-list .scrape-help:hover{border-color:var(--scrape-example-help-hover-border-color);color:var(--scrape-example-help-hover-color);}.scraped-example{position:relative;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:calc(1.5em * 5 + 10px);}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;padding-bottom:0;max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper,.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper pre{max-height:calc(1.5em * 10 + 10px);}.scraped-example .code-wrapper .next,.scraped-example .code-wrapper .prev,.scraped-example .code-wrapper .expand{color:var(--main-color);position:absolute;top:0.25em;z-index:1;padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.scraped-example .code-wrapper .prev{right:2.25em;}.scraped-example .code-wrapper .next{right:1.25em;}.scraped-example .code-wrapper .expand{right:0.25em;}.scraped-example:not(.expanded) .code-wrapper::before,.scraped-example:not(.expanded) .code-wrapper::after{content:" ";width:100%;height:5px;position:absolute;z-index:1;}.scraped-example:not(.expanded) .code-wrapper::before{top:0;background:linear-gradient(to bottom,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded) .code-wrapper::after{bottom:0;background:linear-gradient(to top,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example .code-wrapper .example-wrap{width:100%;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .example-wrap .rust span.highlight{background:var(--scrape-example-code-line-highlight);}.scraped-example .example-wrap .rust span.highlight.focus{background:var(--scrape-example-code-line-highlight-focus);}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;cursor:pointer;}.more-scraped-examples{margin-left:25px;position:relative;}.toggle-line{position:absolute;top:5px;bottom:0;right:calc(100% + 10px);padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;background:var(--scrape-example-toggle-line-background);}.toggle-line:hover .toggle-line-inner{background:var(--scrape-example-toggle-line-hover-background);}.more-scraped-examples .scraped-example,.example-links{margin-top:20px;}.more-scraped-examples .scraped-example:first-child{margin-top:5px;}.example-links ul{margin-bottom:0;} \ No newline at end of file diff --git a/static.files/search-4926e5fc22a5646a.js b/static.files/search-4926e5fc22a5646a.js deleted file mode 100644 index df0778881c..0000000000 --- a/static.files/search-4926e5fc22a5646a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(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",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");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();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 isWhitespace(c)||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===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw["You cannot have more than one element if you use quotes"]}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}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;while(parserState.pos"){extra="<"}else if(endChar===""){extra="->"}else{extra=endChar}throw["Unexpected ",c," after ",extra]}if(!foundStopChar){if(endChar!==""){throw["Expected ",",",", "," "," or ",endChar,", found ",c,]}throw["Expected ",","," or "," ",", found ",c,]}const posBefore=parserState.pos;start=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ","<"]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ","<"]}parserState.pos+=1;parserState.typeFilter=oldTypeFilter}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery;for(let pos=start;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 ",":"]}if(query.elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["You 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}if(!foundStopChar){if(parserState.typeFilter!==null){throw["Expected ",",",", "," "," or ","->",", found ",c,]}throw["Expected ",",",", "," ",", ",":"," or ","->",", 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)"]}while(parserState.pos"]}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,literalSearch:false,error:null,correction: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;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(row,elem){if(row.generics.length===0||elem.generics.length===0){return false}if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=new Map();const addEntryToElems=function addEntryToElems(entry){if(entry.id===-1){for(const inner_entry of entry.generics){addEntryToElems(inner_entry)}return}let currentEntryElems;if(elems.has(entry.id)){currentEntryElems=elems.get(entry.id)}else{currentEntryElems=[];elems.set(entry.id,currentEntryElems)}currentEntryElems.push(entry)};for(const entry of row.generics){addEntryToElems(entry)}const handleGeneric=generic=>{if(!elems.has(generic.id)){return false}const matchElems=elems.get(generic.id);const matchIdx=matchElems.findIndex(tmp_elem=>{if(generic.generics.length>0&&!checkGenerics(tmp_elem,generic)){return false}return typePassesFilter(generic.typeFilter,tmp_elem.ty)});if(matchIdx===-1){return false}matchElems.splice(matchIdx,1);if(matchElems.length===0){elems.delete(generic.id)}return true};for(const generic of elem.generics){if(generic.typeFilter!==-1&&!handleGeneric(generic)){return false}}for(const generic of elem.generics){if(generic.typeFilter===-1&&!handleGeneric(generic)){return false}}return true}return false}function checkIfInGenerics(row,elem){for(const entry of row.generics){if(checkType(entry,elem)){return true}}return false}function checkType(row,elem){if(row.id===-1){return row.generics.length>0?checkIfInGenerics(row,elem):false}if(row.id===elem.id&&typePassesFilter(elem.typeFilter,row.ty)){if(elem.generics.length>0){return checkGenerics(row,elem)}return true}return checkIfInGenerics(row,elem)}function findArg(row,elem,skipPositions){if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){let i=0;for(const input of row.type.inputs){if(skipPositions.indexOf(i)!==-1){i+=1;continue}if(checkType(input,elem)){return i}i+=1}}return-1}function checkReturned(row,elem,skipPositions){if(row&&row.type&&row.type.output.length>0){let i=0;for(const ret_ty of row.type.output){if(skipPositions.indexOf(i)!==-1){i+=1;continue}if(checkType(ret_ty,elem)){return i}i+=1}}return-1}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=findArg(row,elem,[]);if(in_args!==-1){addIntoResults(results_in_args,fullId,pos,-1,0,0,maxEditDistance)}const returned=checkReturned(row,elem,[]);if(returned!==-1){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)){return}function checkArgs(elems,callback){const skipPositions=[];for(const elem of elems){const position=callback(row,elem,skipPositions);if(position!==-1){skipPositions.push(position)}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){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);function convertNameToId(elem){if(typeNameIdMap.has(elem.name)){elem.id=typeNameIdMap.get(elem.name)}else if(!parsedQuery.literalSearch){let match=-1;let matchDist=maxEditDistance+1;let matchName="";for(const[name,id]of typeNameIdMap){const dist=editDistance(name,elem.name,maxEditDistance);if(dist<=matchDist&&dist<=maxEditDistance){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==-1){parsedQuery.correction=matchName}elem.id=match}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];length+=1;let extra="";if(type==="primitive"){extra=" (primitive type)"}else if(type==="keyword"){extra=" (keyword)"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend"," - see ");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+""+name+extra+"");link.appendChild(resultName);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){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")){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}`}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.

    `}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 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";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildTypeMapIndex(typeNameIdMap,name){if(name===""||name===null){return-1}if(typeNameIdMap.has(name)){return typeNameIdMap.get(name)}else{const id=typeNameIdMap.size;typeNameIdMap.set(name,id);return id}}function buildItemSearchTypeAll(types,lowercasePaths,typeNameIdMap){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths,typeNameIdMap)}return{id:pathIndex===0?-1:buildTypeMapIndex(typeNameIdMap,lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths,typeNameIdMap){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{id:pathIndex===0?-1:buildTypeMapIndex(typeNameIdMap,lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths,typeNameIdMap)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{id:pathIndex===0?-1:buildTypeMapIndex(typeNameIdMap,lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths,typeNameIdMap)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];typeNameIdMap=new Map();const charA="A".charCodeAt(0);let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),deprecated:null,};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const deprecatedItems=new Set(crateCorpus.c);const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(let i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths,typeNameIdMap),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 params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",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/static.files/search-f6292fe389d70017.js b/static.files/search-f6292fe389d70017.js new file mode 100644 index 0000000000..c91355a613 --- /dev/null +++ b/static.files/search-f6292fe389d70017.js @@ -0,0 +1,5 @@ +"use strict";(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",];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 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-1}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:-1,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:-1,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,literalSearch:false,error:null,correction: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;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){return unifyFunctionTypes(fnType.generics,queryElem.generics)}function unifyFunctionTypes(fnTypes,queryElems){if(queryElems.length===0){return true}if(!fnTypes||fnTypes.length===0){return false}const queryElemSet=new Map();const addQueryElemToQueryElemSet=function addQueryElemToQueryElemSet(queryElem){let currentQueryElemList;if(queryElemSet.has(queryElem.id)){currentQueryElemList=queryElemSet.get(queryElem.id)}else{currentQueryElemList=[];queryElemSet.set(queryElem.id,currentQueryElemList)}currentQueryElemList.push(queryElem)};for(const queryElem of queryElems){addQueryElemToQueryElemSet(queryElem)}const fnTypeSet=new Map();const addFnTypeToFnTypeSet=function addFnTypeToFnTypeSet(fnType){const queryContainsArrayOrSliceElem=queryElemSet.has(typeNameIdOfArrayOrSlice);if(fnType.id===-1||!(queryElemSet.has(fnType.id)||(fnType.id===typeNameIdOfSlice&&queryContainsArrayOrSliceElem)||(fnType.id===typeNameIdOfArray&&queryContainsArrayOrSliceElem))){for(const innerFnType of fnType.generics){addFnTypeToFnTypeSet(innerFnType)}return}let currentQueryElemList=queryElemSet.get(fnType.id)||[];let matchIdx=currentQueryElemList.findIndex(queryElem=>{return typePassesFilter(queryElem.typeFilter,fnType.ty)&&checkGenerics(fnType,queryElem)});if(matchIdx===-1&&(fnType.id===typeNameIdOfSlice||fnType.id===typeNameIdOfArray)&&queryContainsArrayOrSliceElem){currentQueryElemList=queryElemSet.get(typeNameIdOfArrayOrSlice)||[];matchIdx=currentQueryElemList.findIndex(queryElem=>{return typePassesFilter(queryElem.typeFilter,fnType.ty)&&checkGenerics(fnType,queryElem)})}if(matchIdx===-1){for(const innerFnType of fnType.generics){addFnTypeToFnTypeSet(innerFnType)}return}let currentFnTypeList;if(fnTypeSet.has(fnType.id)){currentFnTypeList=fnTypeSet.get(fnType.id)}else{currentFnTypeList=[];fnTypeSet.set(fnType.id,currentFnTypeList)}currentFnTypeList.push(fnType)};for(const fnType of fnTypes){addFnTypeToFnTypeSet(fnType)}const doHandleQueryElemList=(currentFnTypeList,queryElemList)=>{if(queryElemList.length===0){return true}const queryElem=queryElemList.pop();const l=currentFnTypeList.length;for(let i=0;i{if(!fnTypeSet.has(id)){if(id===typeNameIdOfArrayOrSlice){return handleQueryElemList(typeNameIdOfSlice,queryElemList)||handleQueryElemList(typeNameIdOfArray,queryElemList)}return false}const currentFnTypeList=fnTypeSet.get(id);if(currentFnTypeList.length0?checkIfInList(row.generics,elem):false}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)}return true}return checkIfInList(row.generics,elem)}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);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);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)){return}if(!unifyFunctionTypes(row.type.output,parsedQuery.returned)){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);function convertNameToId(elem){if(typeNameIdMap.has(elem.name)){elem.id=typeNameIdMap.get(elem.name)}else if(!parsedQuery.literalSearch){let match=-1;let matchDist=maxEditDistance+1;let matchName="";for(const[name,id]of typeNameIdMap){const dist=editDistance(name,elem.name,maxEditDistance);if(dist<=matchDist&&dist<=maxEditDistance){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==-1){parsedQuery.correction=matchName}elem.id=match}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";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend"," - see ");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",`\ +${typeName}\ +
    \ + ${item.displayPath}${name}\ +
    `);link.appendChild(resultName);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){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.

    `}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){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics: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"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];typeNameIdMap=new Map();const charA="A".charCodeAt(0);let currentIndex=0;let id=0;typeNameIdOfArray=buildTypeMapIndex("array");typeNameIdOfSlice=buildTypeMapIndex("slice");typeNameIdOfArrayOrSlice=buildTypeMapIndex("[]");for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),deprecated:null,};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const deprecatedItems=new Set(crateCorpus.c);const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.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 diff --git a/static.files/source-script-106908c7a7964ba4.js b/static.files/source-script-106908c7a7964ba4.js new file mode 100644 index 0000000000..191bf6d999 --- /dev/null +++ b/static.files/source-script-106908c7a7964ba4.js @@ -0,0 +1 @@ +"use strict";(function(){const rootPath=getVar("root-path");const NAME_OFFSET=0;const DIRS_OFFSET=1;const FILES_OFFSET=2;const RUSTDOC_MOBILE_BREAKPOINT=700;function closeSidebarIfMobile(){if(window.innerWidth"){addClass(document.documentElement,"source-sidebar-expanded");child.innerText="<";updateLocalStorage("source-sidebar-show","true")}else{removeClass(document.documentElement,"source-sidebar-expanded");child.innerText=">";updateLocalStorage("source-sidebar-show","false")}}function createSidebarToggle(){const sidebarToggle=document.createElement("div");sidebarToggle.id="src-sidebar-toggle";const inner=document.createElement("button");if(getCurrentValue("source-sidebar-show")==="true"){inner.innerText="<"}else{inner.innerText=">"}inner.onclick=toggleSidebar;sidebarToggle.appendChild(inner);return sidebarToggle}function createSourceSidebar(){const container=document.querySelector("nav.sidebar");const sidebarToggle=createSidebarToggle();container.insertBefore(sidebarToggle,container.firstChild);const sidebar=document.createElement("div");sidebar.id="source-sidebar";let hasFoundFile=false;const title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(sourcesIndex).forEach(key=>{sourcesIndex[key][NAME_OFFSET]=key;hasFoundFile=createDirEntry(sourcesIndex[key],sidebar,"",hasFoundFile)});container.appendChild(sidebar);const selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}const lineNumbersRegex=/^#?(\d+)(?:-(\d+))?$/;function highlightSourceLines(match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}let from=parseInt(match[1],10);let to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to{onEachLazy(e.getElementsByTagName("a"),i_e=>{removeClass(i_e,"line-highlighted")})});for(let i=from;i<=to;++i){elem=document.getElementById(i);if(!elem){break}addClass(elem,"line-highlighted")}}const handleSourceHighlight=(function(){let prev_line_id=0;const set_fragment=name=>{const x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return ev=>{let cur_line_id=parseInt(ev.target.id,10);if(isNaN(cur_line_id)||ev.ctrlKey||ev.altKey||ev.metaKey){return}ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){const tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",()=>{const match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSourceLines(match)}});onEachLazy(document.getElementsByClassName("src-line-numbers"),el=>{el.addEventListener("click",handleSourceHighlight)});highlightSourceLines();window.createSourceSidebar=createSourceSidebar})() \ No newline at end of file diff --git a/static.files/source-script-11255107d0a65077.js b/static.files/source-script-11255107d0a65077.js deleted file mode 100644 index 6afbb5a260..0000000000 --- a/static.files/source-script-11255107d0a65077.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(function(){const rootPath=document.getElementById("rustdoc-vars").attributes["data-root-path"].value;const NAME_OFFSET=0;const DIRS_OFFSET=1;const FILES_OFFSET=2;const RUSTDOC_MOBILE_BREAKPOINT=700;function closeSidebarIfMobile(){if(window.innerWidth"){addClass(document.documentElement,"source-sidebar-expanded");child.innerText="<";updateLocalStorage("source-sidebar-show","true")}else{removeClass(document.documentElement,"source-sidebar-expanded");child.innerText=">";updateLocalStorage("source-sidebar-show","false")}}function createSidebarToggle(){const sidebarToggle=document.createElement("div");sidebarToggle.id="src-sidebar-toggle";const inner=document.createElement("button");if(getCurrentValue("source-sidebar-show")==="true"){inner.innerText="<"}else{inner.innerText=">"}inner.onclick=toggleSidebar;sidebarToggle.appendChild(inner);return sidebarToggle}function createSourceSidebar(){const container=document.querySelector("nav.sidebar");const sidebarToggle=createSidebarToggle();container.insertBefore(sidebarToggle,container.firstChild);const sidebar=document.createElement("div");sidebar.id="source-sidebar";let hasFoundFile=false;const title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(sourcesIndex).forEach(key=>{sourcesIndex[key][NAME_OFFSET]=key;hasFoundFile=createDirEntry(sourcesIndex[key],sidebar,"",hasFoundFile)});container.appendChild(sidebar);const selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}const lineNumbersRegex=/^#?(\d+)(?:-(\d+))?$/;function highlightSourceLines(match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}let from=parseInt(match[1],10);let to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to{onEachLazy(e.getElementsByTagName("a"),i_e=>{removeClass(i_e,"line-highlighted")})});for(let i=from;i<=to;++i){elem=document.getElementById(i);if(!elem){break}addClass(elem,"line-highlighted")}}const handleSourceHighlight=(function(){let prev_line_id=0;const set_fragment=name=>{const x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return ev=>{let cur_line_id=parseInt(ev.target.id,10);if(isNaN(cur_line_id)||ev.ctrlKey||ev.altKey||ev.metaKey){return}ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){const tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",()=>{const match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSourceLines(match)}});onEachLazy(document.getElementsByClassName("src-line-numbers"),el=>{el.addEventListener("click",handleSourceHighlight)});highlightSourceLines();window.createSourceSidebar=createSourceSidebar})() \ No newline at end of file diff --git a/static.files/storage-59fd9b8ccb335783.js b/static.files/storage-59fd9b8ccb335783.js new file mode 100644 index 0000000000..ca5481acb2 --- /dev/null +++ b/static.files/storage-59fd9b8ccb335783.js @@ -0,0 +1 @@ +"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");return settingsElement&&settingsElement.dataset?settingsElement.dataset:null})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current===null&&settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return current}const localStoredTheme=getSettingValue("theme");function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(elem&&elem.classList){elem.classList.add(className)}}function removeClass(elem,className){if(elem&&elem.classList){elem.classList.remove(className)}}function onEach(arr,func,reversed){if(arr&&arr.length>0){if(reversed){for(let i=arr.length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}const getVar=(function getVar(name){const el=document.querySelector("head > meta[name='rustdoc-vars']");return el?el.attributes["data-"+name].value:null});function switchTheme(newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}let newHref;if(newThemeName==="light"||newThemeName==="dark"||newThemeName==="ayu"){newHref=getVar("static-root-path")+getVar("theme-"+newThemeName+"-css")}else{newHref=getVar("root-path")+newThemeName+getVar("resource-suffix")+".css"}if(!window.currentTheme){document.write(``);window.currentTheme=document.getElementById("themeStyle")}else if(newHref!==window.currentTheme.href){window.currentTheme.href=newHref}}const updateTheme=(function(){const mql=window.matchMedia("(prefers-color-scheme: dark)");function updateTheme(){if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";updateLocalStorage("use-system-theme","true");switchTheme(mql.matches?darkTheme:lightTheme,true)}else{switchTheme(getSettingValue("theme"),false)}}mql.addEventListener("change",updateTheme);return updateTheme})();if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}}updateTheme();if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(updateTheme,0)}}) \ No newline at end of file diff --git a/static.files/storage-62ce34ea385b278a.js b/static.files/storage-62ce34ea385b278a.js deleted file mode 100644 index 6f4ec2e545..0000000000 --- a/static.files/storage-62ce34ea385b278a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");return settingsElement&&settingsElement.dataset?settingsElement.dataset:null})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current===null&&settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return current}const localStoredTheme=getSettingValue("theme");function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(elem&&elem.classList){elem.classList.add(className)}}function removeClass(elem,className){if(elem&&elem.classList){elem.classList.remove(className)}}function onEach(arr,func,reversed){if(arr&&arr.length>0){if(reversed){for(let i=arr.length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}const getVar=(function getVar(name){const el=document.getElementById("rustdoc-vars");return el?el.attributes["data-"+name].value:null});function switchTheme(newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}let newHref;if(newThemeName==="light"||newThemeName==="dark"||newThemeName==="ayu"){newHref=getVar("static-root-path")+getVar("theme-"+newThemeName+"-css")}else{newHref=getVar("root-path")+newThemeName+getVar("resource-suffix")+".css"}if(!window.currentTheme){document.write(``);window.currentTheme=document.getElementById("themeStyle")}else if(newHref!==window.currentTheme.href){window.currentTheme.href=newHref}}const updateTheme=(function(){const mql=window.matchMedia("(prefers-color-scheme: dark)");function updateTheme(){if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";updateLocalStorage("use-system-theme","true");switchTheme(mql.matches?darkTheme:lightTheme,true)}else{switchTheme(getSettingValue("theme"),false)}}mql.addEventListener("change",updateTheme);return updateTheme})();if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}}updateTheme();if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(updateTheme,0)}}) \ No newline at end of file